Releases: PatOConnor43/heave
Releases · PatOConnor43/heave
Version 0.15.1 (2024-10-06)
Release Notes
Chores:
- Upgrading cargo dist to 0.21.1
Install heave 0.15.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/PatOConnor43/heave/releases/download/v0.15.1/heave-installer.sh | sh
Download heave 0.15.1
File | Platform | Checksum |
---|---|---|
heave-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
heave-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
heave-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
heave-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Version 0.15.0 (2024-10-06)
Release Notes
New Features:
- Added support for generating files for responses that do not contain an application/json mimetype. Previously, heave would skip anything that wasn't application/json. However it seems useful to generate files for these and just skip generating any asserts.
Chores: - Fixing some lints after upgrading Rust version
Install heave 0.15.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/PatOConnor43/heave/releases/download/v0.15.0/heave-installer.sh | sh
Download heave 0.15.0
File | Platform | Checksum |
---|---|---|
heave-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
heave-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
heave-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Version 0.14.0 (2024-07-16)
Release Notes
New Features:
--include-operation-ids
--include-status-codes
--include-paths
Each of these take a regex input to help you filter generation to exactly what you're looking for. Specifying multiple or all of these together can be used to target a single response from an operation. As an example you could run:
heave generate --include-paths '^/pets$' --include-operation-ids 'addPet' --include-status-codes '200' petstore.json output
This would generate a single hurl file for the 200 response of the addPet operation.
Please reference heave generate --help
for more examples.
Install heave 0.14.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/PatOConnor43/heave/releases/download/v0.14.0/heave-installer.sh | sh
Download heave 0.14.0
File | Platform | Checksum |
---|---|---|
heave-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
heave-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
heave-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Version 0.13.1 (2024-07-16)
Release Notes
Bug Fixes:
- Fixed a bug where --only-new did not filter outputs at all. This was due to how the matching of the output name and the existing file was implemented. Now we're checking that the existing file ends with the output name instead of checking if they are equal.
Install heave 0.13.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/PatOConnor43/heave/releases/download/v0.13.1/heave-installer.sh | sh
Download heave 0.13.1
File | Platform | Checksum |
---|---|---|
heave-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
heave-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
heave-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Version 0.13.0 (2024-07-15)
Release Notes
New Features:
- Added support for readOnly and writeOnly properties on schemas. This will affect how asserts and request bodies are generated. If a schema is readOnly, it will be absent from the generated request body. If a schema is writeOnly, it will be absent from the generated asserts.
Install heave 0.13.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/PatOConnor43/heave/releases/download/v0.13.0/heave-installer.sh | sh
Download heave 0.13.0
File | Platform | Checksum |
---|---|---|
heave-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
heave-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
heave-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Version 0.12.0 (2024-07-13)
Release Notes
Bug Fixes:
- This release adds cycle detection to response and request bodies. This should prevent infinite loops when a schema references itself or another schema that references the original schema. At this time, the detection only looks for the name of the field so it is possible for false positives to be detected.
Install heave 0.12.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/PatOConnor43/heave/releases/download/v0.12.0/heave-installer.sh | sh
Download heave 0.12.0
File | Platform | Checksum |
---|---|---|
heave-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
heave-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
heave-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Version 0.11.0 (2024-07-09)
Release Notes
New Features:
- Added a new flag (--only-new) prevents this tool from overwriting existing files. This is useful when you write your spec, make changes to the generated files, iterate on the spec, and only want to generate files for the changes.
Chores:
- Updated cargo-dist to 0.18.0
Install heave 0.11.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/PatOConnor43/heave/releases/download/v0.11.0/heave-installer.sh | sh
Download heave 0.11.0
File | Platform | Checksum |
---|---|---|
heave-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
heave-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
heave-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Version 0.10.1 (2024-03-11)
Release Notes
Bug Fixes:
- Fixed a panic when trying to resolve request bodies for anyOf. It was possible for the schemas involved to result in no child request bodies. This happened when an allOf referenced a schema that was
Any
but this could have happened withAnyOf
,Not
, orOneOf
as well. Now the field will be absent from the request body altogether, which matches existing behavior when an unsupported schema type is encountered.
Install heave 0.10.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/PatOConnor43/heave/releases/download/v0.10.1/heave-installer.sh | sh
Download heave 0.10.1
File | Platform | Checksum |
---|---|---|
heave-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
heave-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
heave-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Version 0.10.0 (2024-03-08)
Release Notes
New features:
- Support for the allOf attribute. This should generate a hurl request body as well as asserts.
Install heave 0.10.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/PatOConnor43/heave/releases/download/v0.10.0/heave-installer.sh | sh
Download heave 0.10.0
File | Platform | Checksum |
---|---|---|
heave-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
heave-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
heave-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Version 0.9.0 (2024-02-25)
Release Notes
New features:
- Diagnostics
- Diagnostics allow users to see issues that this application ran into while trying to parse their spec. This may include malformed references, unsupported kinds, and failing to find an application/json media type (among others). Use the new
--show-diagnostics
flag to print them. If they exist bug the flag isn't enabled, a stderr message will appear letting you know that you can re-run the command.
- Diagnostics allow users to see issues that this application ran into while trying to parse their spec. This may include malformed references, unsupported kinds, and failing to find an application/json media type (among others). Use the new
Install heave 0.9.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/PatOConnor43/heave/releases/download/v0.9.0/heave-installer.sh | sh
Download heave 0.9.0
File | Platform | Checksum |
---|---|---|
heave-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
heave-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
heave-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |