Skip to content

Releases: 1Password/typeshare

v1.10.0-beta.4

28 May 20:17
2262a56
Compare
Choose a tag to compare
v1.10.0-beta.4 Pre-release
Pre-release

Install typeshare-cli 1.10.0-beta.4

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.10.0-beta.4/typeshare-cli-v1.10.0-beta.4-installer.sh | sh

Install prebuilt binaries via powershell script

# WARNING: this installer is experimental
irm https://github.com/1Password/typeshare/releases/download/v1.10.0-beta.4/typeshare-cli-v1.10.0-beta.4-installer.ps1 | iex

Download typeshare-cli 1.10.0-beta.4

target kind download
aarch64-apple-darwin tarball typeshare-cli-v1.10.0-beta.4-aarch64-apple-darwin.tar.xz
x86_64-apple-darwin tarball typeshare-cli-v1.10.0-beta.4-x86_64-apple-darwin.tar.xz
x86_64-pc-windows-msvc tarball typeshare-cli-v1.10.0-beta.4-x86_64-pc-windows-msvc.zip
x86_64-unknown-linux-gnu tarball typeshare-cli-v1.10.0-beta.4-x86_64-unknown-linux-gnu.tar.xz

v1.10.0-beta.1

02 May 17:08
360604c
Compare
Choose a tag to compare
v1.10.0-beta.1 Pre-release
Pre-release

Install typeshare-cli 1.10.0-beta.1

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.10.0-beta.1/typeshare-cli-v1.10.0-beta.1-installer.sh | sh

Install prebuilt binaries via powershell script

# WARNING: this installer is experimental
irm https://github.com/1Password/typeshare/releases/download/v1.10.0-beta.1/typeshare-cli-v1.10.0-beta.1-installer.ps1 | iex

Download typeshare-cli 1.10.0-beta.1

target kind download
aarch64-apple-darwin tarball typeshare-cli-v1.10.0-beta.1-aarch64-apple-darwin.tar.xz
x86_64-apple-darwin tarball typeshare-cli-v1.10.0-beta.1-x86_64-apple-darwin.tar.xz
x86_64-pc-windows-msvc tarball typeshare-cli-v1.10.0-beta.1-x86_64-pc-windows-msvc.zip
x86_64-unknown-linux-gnu tarball typeshare-cli-v1.10.0-beta.1-x86_64-unknown-linux-gnu.tar.xz

Version 1.10.0-beta.0

01 May 17:32
5ded71b
Compare
Choose a tag to compare
Version 1.10.0-beta.0 Pre-release
Pre-release

Release Notes

This release brings support for multiple file generation, allowing splitting generated
files when used in large projects. This can dramatically increase compilation speed of
the generated files and increase maintainability.

This is a pre-release version which may have bugs or break compatibility.

  • Multiple file output #166

Install typeshare-cli 1.10.0-beta.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.10.0-beta.0/typeshare-cli-v1.10.0-beta.0-installer.sh | sh

Install prebuilt binaries via powershell script

# WARNING: this installer is experimental
irm https://github.com/1Password/typeshare/releases/download/v1.10.0-beta.0/typeshare-cli-v1.10.0-beta.0-installer.ps1 | iex

Download typeshare-cli 1.10.0-beta.0

target kind download
aarch64-apple-darwin tarball typeshare-cli-v1.10.0-beta.0-aarch64-apple-darwin.tar.xz
x86_64-apple-darwin tarball typeshare-cli-v1.10.0-beta.0-x86_64-apple-darwin.tar.xz
x86_64-pc-windows-msvc tarball typeshare-cli-v1.10.0-beta.0-x86_64-pc-windows-msvc.zip
x86_64-unknown-linux-gnu tarball typeshare-cli-v1.10.0-beta.0-x86_64-unknown-linux-gnu.tar.xz

Version 1.9.2

16 Apr 13:06
22933dc
Compare
Choose a tag to compare

Release Notes

This release fixes a Cargo.lock error introduced in 1.9.1.

Install typeshare-cli 1.9.2

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.9.2/typeshare-cli-v1.9.2-installer.sh | sh

Install prebuilt binaries via powershell script

# WARNING: this installer is experimental
irm https://github.com/1Password/typeshare/releases/download/v1.9.2/typeshare-cli-v1.9.2-installer.ps1 | iex

Download typeshare-cli 1.9.2

target kind download
aarch64-apple-darwin tarball typeshare-cli-v1.9.2-aarch64-apple-darwin.tar.xz
x86_64-apple-darwin tarball typeshare-cli-v1.9.2-x86_64-apple-darwin.tar.xz
x86_64-pc-windows-msvc tarball typeshare-cli-v1.9.2-x86_64-pc-windows-msvc.zip
x86_64-unknown-linux-gnu tarball typeshare-cli-v1.9.2-x86_64-unknown-linux-gnu.tar.xz

v1.9.1

05 Apr 20:46
179cef5
Compare
Choose a tag to compare

Install typeshare-cli 1.9.1

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.9.1/typeshare-cli-v1.9.1-installer.sh | sh

Install prebuilt binaries via powershell script

# WARNING: this installer is experimental
irm https://github.com/1Password/typeshare/releases/download/v1.9.1/typeshare-cli-v1.9.1-installer.ps1 | iex

Download typeshare-cli 1.9.1

target kind download
aarch64-apple-darwin tarball typeshare-cli-v1.9.1-aarch64-apple-darwin.tar.xz
x86_64-apple-darwin tarball typeshare-cli-v1.9.1-x86_64-apple-darwin.tar.xz
x86_64-pc-windows-msvc tarball typeshare-cli-v1.9.1-x86_64-pc-windows-msvc.zip
x86_64-unknown-linux-gnu tarball typeshare-cli-v1.9.1-x86_64-unknown-linux-gnu.tar.xz

v1.9.0

03 Apr 16:26
2530cfb
Compare
Choose a tag to compare

Install typeshare-cli 1.9.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.9.0/typeshare-cli-v1.9.0-installer.sh | sh

Install prebuilt binaries via powershell script

# WARNING: this installer is experimental
irm https://github.com/1Password/typeshare/releases/download/v1.9.0/typeshare-cli-v1.9.0-installer.ps1 | iex

Download typeshare-cli 1.9.0

target kind download
aarch64-apple-darwin tarball typeshare-cli-v1.9.0-aarch64-apple-darwin.tar.xz
x86_64-apple-darwin tarball typeshare-cli-v1.9.0-x86_64-apple-darwin.tar.xz
x86_64-pc-windows-msvc tarball typeshare-cli-v1.9.0-x86_64-pc-windows-msvc.zip
x86_64-unknown-linux-gnu tarball typeshare-cli-v1.9.0-x86_64-unknown-linux-gnu.tar.xz

Version 1.8.0

28 Feb 14:44
631bf70
Compare
Choose a tag to compare

Release Notes

This release brings support for various Rust std smart pointers, as well as a CLI flag to opt-into following symbolic links. In addition, typeshare has been updated to use syn 2.0

  • Added support for various Rust std smart pointers. #134
  • Added CLI flag to opt-into following symbolic links. #156
  • Migrate to syn version 2.0. #130

Community contributors

Thank you to the following community contributors for your work on this release:

Install typeshare-cli 1.8.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.8.0/typeshare-cli-v1.8.0-installer.sh | sh

Install prebuilt binaries via powershell script

# WARNING: this installer is experimental
irm https://github.com/1Password/typeshare/releases/download/v1.8.0/typeshare-cli-v1.8.0-installer.ps1 | iex

Download typeshare-cli 1.8.0

target kind download
aarch64-apple-darwin tarball typeshare-cli-v1.8.0-aarch64-apple-darwin.tar.xz
x86_64-apple-darwin tarball typeshare-cli-v1.8.0-x86_64-apple-darwin.tar.xz
x86_64-pc-windows-msvc tarball typeshare-cli-v1.8.0-x86_64-pc-windows-msvc.zip
x86_64-unknown-linux-gnu tarball typeshare-cli-v1.8.0-x86_64-unknown-linux-gnu.tar.xz

Version 1.7.0

11 Aug 23:28
bcfa2c3
Compare
Choose a tag to compare

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

Version 1.6.0

12 May 22:46
Compare
Choose a tag to compare

Release Notes

This release brings support for more architectures for Nix and configurable generic constraints in Swift

  • The Nix flake now supports all default Nix platforms, rather than only x86_64-linux. #113
  • typeshare-core
    • It is now possible to add your own set of generic constraints to Swift generics. This is done with a field called default_generic_constraints under [swift] in typeshare.toml. #95

Install typeshare-cli 1.6.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.6.0/typeshare-cli-v1.6.0-installer.sh | sh

Install prebuilt binaries via powershell script

# WARNING: this installer is experimental
irm https://github.com/1Password/typeshare/releases/download/v1.6.0/typeshare-cli-v1.6.0-installer.ps1 | iex

Download typeshare-cli 1.6.0

target kind download
aarch64-apple-darwin tarball typeshare-cli-v1.6.0-aarch64-apple-darwin.tar.xz
x86_64-apple-darwin tarball typeshare-cli-v1.6.0-x86_64-apple-darwin.tar.xz
x86_64-pc-windows-msvc tarball typeshare-cli-v1.6.0-x86_64-pc-windows-msvc.zip
x86_64-unknown-linux-gnu tarball typeshare-cli-v1.6.0-x86_64-unknown-linux-gnu.tar.xz

Version 1.5.1

04 May 20:19
Compare
Choose a tag to compare

Release Notes

This release brings support for standalone installations into Nix, as well as corrections for certain unusual edge case behaviors.

  • Added a Nix flake, which allows for installing typeshare outside of NixPkgs
  • typeshare-core
    • Now supports types in inline modules. [#109]
    • Now throws an error if #[serde(flatten)] is used, instead of silently generating incorrect types [#108]
    • When generating the CodableVoid type in swift, we now always include the Codable decorator, even if it's omitted from the list of default_decorators in typeshare.toml [#107]

Community contributors

Thank you to the following community contributors for your work on this release:

Install typeshare-cli 1.5.1

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.5.1/typeshare-cli-v1.5.1-installer.sh | sh

Install prebuilt binaries via powershell script

# WARNING: this installer is experimental
irm https://github.com/1Password/typeshare/releases/download/v1.5.1/typeshare-cli-v1.5.1-installer.ps1 | iex

Download typeshare-cli 1.5.1

target kind download
aarch64-apple-darwin tarball typeshare-cli-v1.5.1-aarch64-apple-darwin.tar.xz
x86_64-apple-darwin tarball typeshare-cli-v1.5.1-x86_64-apple-darwin.tar.xz
x86_64-pc-windows-msvc tarball typeshare-cli-v1.5.1-x86_64-pc-windows-msvc.zip
x86_64-unknown-linux-gnu tarball typeshare-cli-v1.5.1-x86_64-unknown-linux-gnu.tar.xz