Version 1.7.0
Release Notes
This release brings support for more rust primitive types (slices and chars), as well as support for manually overriding the output type in the #[typeshare]
annotations
- Added support for the Rust slice type, which is treated as a sequence. #131
- Added support for the Rust char type, which is treated as a string. #128
- Better error messages when there's an error reading a file. #117
- It is now possible to manually override the output type for specific fields using the
#[typeshare]
annotation. #119, #118 - Fixed: in Swift, apply generic constraints to enums, in addition to structs. #122
- In an effort to ensure we don't accidentally break compatibility with our Minimum Supported Rust Version, we added a
rust-toolchain.toml
to the rust crates, forcing builds and tests to use that version of rust. #129, #135. This change should have no effect on end users.
Community contributors
Thank you to the following community contributors for your work on this release:
Install typeshare-cli 1.7.0
Install prebuilt binaries via shell script
# WARNING: this installer is experimental
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/1Password/typeshare/releases/download/v1.7.0/typeshare-cli-v1.7.0-installer.sh | sh
Install prebuilt binaries via powershell script
# WARNING: this installer is experimental
irm https://github.com/1Password/typeshare/releases/download/v1.7.0/typeshare-cli-v1.7.0-installer.ps1 | iex
Download typeshare-cli 1.7.0
target | kind | download |
---|---|---|
aarch64-apple-darwin | tarball | typeshare-cli-v1.7.0-aarch64-apple-darwin.tar.xz |
x86_64-apple-darwin | tarball | typeshare-cli-v1.7.0-x86_64-apple-darwin.tar.xz |
x86_64-pc-windows-msvc | tarball | typeshare-cli-v1.7.0-x86_64-pc-windows-msvc.zip |
x86_64-unknown-linux-gnu | tarball | typeshare-cli-v1.7.0-x86_64-unknown-linux-gnu.tar.xz |