Releases: 1Password/typeshare
Releases · 1Password/typeshare
v1.13.4
What's Changed
- Update for v1.13.3 by @darrell-roberts in #254
- add test with type using #[unsafe(no_mangle)]. by @darrell-roberts in #251
- Bump crossbeam-channel to 0.5.15 by @l004p in #257
- FIx Linting Issues by @l004p in #258
- Use Span to capture line and column numbers for parsing rejections. by @darrell-roberts in #262
- Fix url to 1password.com by @JaKXz in #247
- Bump nix flake.lock by @LuminaSapphira in #263
- Add automated job to update flake.lock file by @charlespierce in #264
- Revert "Add automated job to update flake.lock file" by @charlespierce in #266
- Add automated job to update flake.lock file with signed commits by @charlespierce in #267
- Update flake.lock file with latest versions by @github-actions[bot] in #268
- Update flake.lock file with latest versions by @github-actions[bot] in #269
- support cfg_attr typeshare definitions by @darrell-roberts in #274
- Update book.toml by @darrell-roberts in #279
- Prepare for v.1.13.4 by @darrell-roberts in #280
New Contributors
- @JaKXz made their first contribution in #247
- @github-actions[bot] made their first contribution in #268
Full Changelog: v1.13.3...v1.13.4
v1.13.3
What's Changed
- Use parallel walker instead of rayon by @darrell-roberts in #216
- Approach to handle serde(rename) references. by @darrell-roberts in #210
- Add Typeshare support for Python by @hculea in #169
- Make changes required for Go translation to support generics by @AndyTitu in #221
- Bump hashbrown version to resolve security alert by @charlespierce in #223
- fix typo by @darrell-roberts in #227
- Add const support for integer types by @edif2008 in #218
- Add support for byte translation by @MOmarMiraj in #230
- Update syn to 2.0.98 by @complexspaces in #232
- Fix writing enum values in Go by @edif2008 in #233
- Fix Bug in JS and Python Typesharing Custom Types by @MOmarMiraj in #234
- Update Reviver/Replacer functions in TS typeshare by @MOmarMiraj in #235
- Add support for DateTime field for Go, JS, Python by @MOmarMiraj in #236
- Fix Equality Check Bug in typescript generator file by @harshils23 in #242
- Update for newer clippy lints by @darrell-roberts in #252
New Contributors
- @AndyTitu made their first contribution in #221
- @edif2008 made their first contribution in #218
- @harshils23 made their first contribution in #242
Full Changelog: v1.13.2...v1.13.3
Install typeshare-cli 1.13.3
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.13.3/typeshare-cli-v1.13.3-installer.sh | shInstall prebuilt binaries via powershell script
# WARNING: this installer is experimental
irm https://github.com/1Password/typeshare/releases/download/v1.13.3/typeshare-cli-v1.13.3-installer.ps1 | iexDownload typeshare-cli 1.13.3
| target | kind | download |
|---|---|---|
| aarch64-apple-darwin | tarball | typeshare-cli-v1.13.3-aarch64-apple-darwin.tar.xz |
| x86_64-apple-darwin | tarball | typeshare-cli-v1.13.3-x86_64-apple-darwin.tar.xz |
| x86_64-pc-windows-msvc | tarball | typeshare-cli-v1.13.3-x86_64-pc-windows-msvc.zip |
| x86_64-unknown-linux-gnu | tarball | typeshare-cli-v1.13.3-x86_64-unknown-linux-gnu.tar.xz |
v1.13.2
What's Changed
- Use typeshare as command name vs typeshare-cli from package by @darrell-roberts in #214
- Update to v1.13.2 by @darrell-roberts in #215
Full Changelog: v1.13.1...v1.13.2
v1.13.1
What's Changed
- update for no target-os by @darrell-roberts in #204
- Only overwrite Codable.swift if it has changed. by @kevinbhayes in #205
- Set default log level when not using RUST_LOG by @darrell-roberts in #206
- chore: update changelogs and bump versions for v1.13.0 by @darrell-roberts in #208
- Fix duplicate root added to walker. by @darrell-roberts in #209
- Only assert if go package is present if generating go types by @MOmarMiraj in #211
- Update shell completions for new generate function by @darrell-roberts in #212
- chore: update changelogs and bump versions for v1.13.1 by @darrell-roberts in #213
Full Changelog: v1.12.0...v1.13.1
Version 1.13.0
Release Notes
- Update how logging is initialized: #206
- Don't recreate
Codable.swiftwhen the contents have not changed #205 - Fix target_os parsing when no --target-os is provided #204
Install typeshare-cli 1.13.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.13.0/typeshare-cli-v1.13.0-installer.sh | shInstall prebuilt binaries via powershell script
# WARNING: this installer is experimental
irm https://github.com/1Password/typeshare/releases/download/v1.13.0/typeshare-cli-v1.13.0-installer.ps1 | iexDownload typeshare-cli 1.13.0
| target | kind | download |
|---|---|---|
| aarch64-apple-darwin | tarball | typeshare-cli-v1.13.0-aarch64-apple-darwin.tar.xz |
| x86_64-apple-darwin | tarball | typeshare-cli-v1.13.0-x86_64-apple-darwin.tar.xz |
| x86_64-pc-windows-msvc | tarball | typeshare-cli-v1.13.0-x86_64-pc-windows-msvc.zip |
| x86_64-unknown-linux-gnu | tarball | typeshare-cli-v1.13.0-x86_64-unknown-linux-gnu.tar.xz |
Version 1.12.0
Release Notes
- Optional slices in Go no longer trigger a pointer redirection.
- Upgrade to clap 4. This let us remove the dependency on the now unmaintained atty crate.
- wasmbind is now an optional feature
Install typeshare-cli 1.12.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.12.0/typeshare-cli-v1.12.0-installer.sh | shInstall prebuilt binaries via powershell script
# WARNING: this installer is experimental
irm https://github.com/1Password/typeshare/releases/download/v1.12.0/typeshare-cli-v1.12.0-installer.ps1 | iexDownload typeshare-cli 1.12.0
| target | kind | download |
|---|---|---|
| aarch64-apple-darwin | tarball | typeshare-cli-v1.12.0-aarch64-apple-darwin.tar.xz |
| x86_64-apple-darwin | tarball | typeshare-cli-v1.12.0-x86_64-apple-darwin.tar.xz |
| x86_64-pc-windows-msvc | tarball | typeshare-cli-v1.12.0-x86_64-pc-windows-msvc.zip |
| x86_64-unknown-linux-gnu | tarball | typeshare-cli-v1.12.0-x86_64-unknown-linux-gnu.tar.xz |
Version 1.11.0
Release Notes
This release promotes 1.10.0-beta.x to stable, and several new features.
Since 1.10.0-beta.7
- Multiple
--target-osis now allowed, and#[cfg(not(target_os...))]is now parsed: #187 - Console output is now handled by flexi_logger: #187
- Variant types are now explicitly formatted in Go: #189
Summary of 1.10.0-beta.x
See the full changelog for more details: https://github.com/1Password/typeshare/blob/main/CHANGELOG.md
- Output can now be split into multiple generated files
- Source is now walked in parallel, increasing speed
- Generic type constraints can now be defined for Swift
- Kotlin's Inline value classes are now supported
- You can now specify that a struct should be "redacted"
- The effects are language specific. For Kotlin,
toStringis overridden.
- The effects are language specific. For Kotlin,
Install typeshare-cli 1.11.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.11.0/typeshare-cli-v1.11.0-installer.sh | shInstall prebuilt binaries via powershell script
# WARNING: this installer is experimental
irm https://github.com/1Password/typeshare/releases/download/v1.11.0/typeshare-cli-v1.11.0-installer.ps1 | iexDownload typeshare-cli 1.11.0
| target | kind | download |
|---|---|---|
| aarch64-apple-darwin | tarball | typeshare-cli-v1.11.0-aarch64-apple-darwin.tar.xz |
| x86_64-apple-darwin | tarball | typeshare-cli-v1.11.0-x86_64-apple-darwin.tar.xz |
| x86_64-pc-windows-msvc | tarball | typeshare-cli-v1.11.0-x86_64-pc-windows-msvc.zip |
| x86_64-unknown-linux-gnu | tarball | typeshare-cli-v1.11.0-x86_64-unknown-linux-gnu.tar.xz |
v1.10.0-beta.6
Install typeshare-cli 1.10.0-beta.6
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.6/typeshare-cli-v1.10.0-beta.6-installer.sh | shInstall prebuilt binaries via powershell script
# WARNING: this installer is experimental
irm https://github.com/1Password/typeshare/releases/download/v1.10.0-beta.6/typeshare-cli-v1.10.0-beta.6-installer.ps1 | iexDownload typeshare-cli 1.10.0-beta.6
| target | kind | download |
|---|---|---|
| aarch64-apple-darwin | tarball | typeshare-cli-v1.10.0-beta.6-aarch64-apple-darwin.tar.xz |
| x86_64-apple-darwin | tarball | typeshare-cli-v1.10.0-beta.6-x86_64-apple-darwin.tar.xz |
| x86_64-pc-windows-msvc | tarball | typeshare-cli-v1.10.0-beta.6-x86_64-pc-windows-msvc.zip |
| x86_64-unknown-linux-gnu | tarball | typeshare-cli-v1.10.0-beta.6-x86_64-unknown-linux-gnu.tar.xz |
v1.10.0-beta.5
Install typeshare-cli 1.10.0-beta.5
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.5/typeshare-cli-v1.10.0-beta.5-installer.sh | shInstall prebuilt binaries via powershell script
# WARNING: this installer is experimental
irm https://github.com/1Password/typeshare/releases/download/v1.10.0-beta.5/typeshare-cli-v1.10.0-beta.5-installer.ps1 | iexDownload typeshare-cli 1.10.0-beta.5
| target | kind | download |
|---|---|---|
| aarch64-apple-darwin | tarball | typeshare-cli-v1.10.0-beta.5-aarch64-apple-darwin.tar.xz |
| x86_64-apple-darwin | tarball | typeshare-cli-v1.10.0-beta.5-x86_64-apple-darwin.tar.xz |
| x86_64-pc-windows-msvc | tarball | typeshare-cli-v1.10.0-beta.5-x86_64-pc-windows-msvc.zip |
| x86_64-unknown-linux-gnu | tarball | typeshare-cli-v1.10.0-beta.5-x86_64-unknown-linux-gnu.tar.xz |
v1.10.0-beta.4
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 | shInstall 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 | iexDownload 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 |