From a469b47c02cbfc8e151b2d2d3a15906cf3420e55 Mon Sep 17 00:00:00 2001 From: Darrell Roberts Date: Thu, 11 Dec 2025 16:27:13 -0500 Subject: [PATCH 1/2] Prepare for v.1.13.4 --- CHANGELOG.md | 25 ++++++++++++++++++++++--- Cargo.lock | 4 ++-- cli/Cargo.toml | 12 ++++++------ core/Cargo.toml | 2 +- 4 files changed, 31 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index af946933..86d09efc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,22 @@ +# Version 1.13.4 + +- Update for v1.13.3 by @darrell-roberts in https://github.com/1Password/typeshare/pull/254 +- add test with type using #[unsafe(no_mangle)]. by @darrell-roberts in https://github.com/1Password/typeshare/pull/251 +- Bump crossbeam-channel to 0.5.15 by @l004p in https://github.com/1Password/typeshare/pull/257 +- FIx Linting Issues by @l004p in https://github.com/1Password/typeshare/pull/258 +- Use Span to capture line and column numbers for parsing rejections. by @darrell-roberts in https://github.com/1Password/typeshare/pull/262 +- Fix url to 1password.com by @JaKXz in https://github.com/1Password/typeshare/pull/247 +- Bump nix flake.lock by @LuminaSapphira in https://github.com/1Password/typeshare/pull/263 +- Add automated job to update flake.lock file by @charlespierce in https://github.com/1Password/typeshare/pull/264 +- Revert "Add automated job to update flake.lock file" by @charlespierce in https://github.com/1Password/typeshare/pull/266 +- Add automated job to update flake.lock file with signed commits by @charlespierce in https://github.com/1Password/typeshare/pull/267 +- Update flake.lock file with latest versions by @github-actions[bot] in https://github.com/1Password/typeshare/pull/268 +- Update flake.lock file with latest versions by @github-actions[bot] in https://github.com/1Password/typeshare/pull/269 +- support cfg_attr typeshare definitions by @darrell-roberts in https://github.com/1Password/typeshare/pull/274 +- Update book.toml by @darrell-roberts in https://github.com/1Password/typeshare/pull/279 + # Version 1.13.3 + - Use parallel walker instead of rayon by @darrell-roberts in https://github.com/1Password/typeshare/pull/216 - Approach to handle serde(rename) references. by @darrell-roberts in https://github.com/1Password/typeshare/pull/210 - Add Typeshare support for Python by @hculea in https://github.com/1Password/typeshare/pull/169 @@ -11,19 +29,22 @@ - Fix writing enum values in Go by @edif2008 in https://github.com/1Password/typeshare/pull/233 - Fix Bug in JS and Python Typesharing Custom Types by @MOmarMiraj in https://github.com/1Password/typeshare/pull/234 - Update Reviver/Replacer functions in TS typeshare by @MOmarMiraj in https://github.com/1Password/typeshare/pull/235 -- Add support for DateTime field for Go, JS, Python by @MOmarMiraj in https://github.com/1Password/typeshare/pull/236 +- Add support for DateTime field for Go, JS, Python by @MOmarMiraj in https://github.com/1Password/typeshare/pull/236 - Fix Equality Check Bug in typescript generator file by @harshils23 in https://github.com/1Password/typeshare/pull/242 - Update for newer clippy lints by @darrell-roberts in https://github.com/1Password/typeshare/pull/252 # Version 1.13.2 + - Fix binary name in --help --version so typeshare is the name and not typeshare-cli: [#214](https://github.com/1Password/typeshare/pull/214) # Version 1.13.1 + - Fix duplicate root added to walker: [#209](https://github.com/1Password/typeshare/pull/209) - Only assert if go package is present if generating go types: [#211](https://github.com/1Password/typeshare/pull/211) - Update shell completions for new generate function: [#212](https://github.com/1Password/typeshare/pull/212) # Version 1.13.0 + - Update how logging is initialized: [#206](https://github.com/1Password/typeshare/pull/206) - Don't recreate `Codable.swift` when the contents have not changed [#205](https://github.com/1Password/typeshare/pull/205) - Fix target_os parsing when no --target-os is provided [#204](https://github.com/1Password/typeshare/pull/204) @@ -234,7 +255,6 @@ This release brings major new additions, the largest of which is support for Sca Additionally, the code generation API has been expanded/revised, and many bugs have been fixed. - `typeshare-cli` - - Kotlin now uses `val` consistently for defining fields. - Some issues with the command line options have been corrected. - Unit structs that don't use bracket syntax are now supported. @@ -244,7 +264,6 @@ Additionally, the code generation API has been expanded/revised, and many bugs h - Doubly-nested option types (`Option>`) are now supported in Typescript. - `typeshare-core` - - The `Language` trait now takes `self` mutably for more flexibility in implementations. - Scala is now a supported language for code generation, though the CLI does not use it yet. - The attribute parser has been reworked to be more robust and flexible for future additions. diff --git a/Cargo.lock b/Cargo.lock index 50bee330..c4b5bb49 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -731,7 +731,7 @@ dependencies = [ [[package]] name = "typeshare-cli" -version = "1.13.3" +version = "1.13.4" dependencies = [ "anyhow", "clap", @@ -748,7 +748,7 @@ dependencies = [ [[package]] name = "typeshare-core" -version = "1.13.3" +version = "1.13.4" dependencies = [ "anyhow", "convert_case", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index e8295234..c68e45a1 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "typeshare-cli" -version = "1.13.3" +version = "1.13.4" edition = "2021" description = "Command Line Tool for generating language files with typeshare" license = "MIT OR Apache-2.0" @@ -17,16 +17,16 @@ python = [] [dependencies] clap = { version = "4.5", features = [ - "cargo", - "derive", - "unicode", - "wrap_help", + "cargo", + "derive", + "unicode", + "wrap_help", ] } ignore = "0.4" once_cell = "1" serde = { version = "1", features = ["derive"] } toml = "0.9" -typeshare-core = { path = "../core", version = "=1.13.3" } +typeshare-core = { path = "../core", version = "=1.13.4" } log.workspace = true flexi_logger.workspace = true anyhow = "1" diff --git a/core/Cargo.toml b/core/Cargo.toml index eef74bf9..2bd677bb 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "typeshare-core" -version = "1.13.3" +version = "1.13.4" license = "MIT OR Apache-2.0" edition = "2021" description = "The code generator used by Typeshare's command line tool" From 389828a3aec206fd2952369aeb76038480a270c9 Mon Sep 17 00:00:00 2001 From: Darrell Roberts Date: Thu, 11 Dec 2025 16:33:57 -0500 Subject: [PATCH 2/2] update annotation version --- Cargo.lock | 2 +- annotation/Cargo.toml | 2 +- lib/Cargo.toml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c4b5bb49..3efb39e3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -723,7 +723,7 @@ dependencies = [ [[package]] name = "typeshare-annotation" -version = "1.0.4" +version = "1.0.5" dependencies = [ "quote", "syn", diff --git a/annotation/Cargo.toml b/annotation/Cargo.toml index 55aee584..a69007b1 100644 --- a/annotation/Cargo.toml +++ b/annotation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "typeshare-annotation" -version = "1.0.4" +version = "1.0.5" edition = "2021" license = "MIT OR Apache-2.0" description = "The annotation used to mark types for typeshare" diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 25a87ec9..41516e16 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -9,12 +9,12 @@ repository = "https://github.com/1Password/typeshare" [dependencies] chrono = { version = "0.4", default-features = false, features = [ - "clock", - "std", + "clock", + "std", ] } serde = { version = "1", features = ["derive"] } serde_json = "1" -typeshare-annotation = { path = "../annotation", version = "1.0.4" } +typeshare-annotation = { path = "../annotation", version = "1.0.5" } [features] default = ["wasmbind"]