From f1c3571ac297ebf0e89bcba729f063b8fbad0e14 Mon Sep 17 00:00:00 2001 From: Anton Zherdev Date: Fri, 6 Nov 2026 05:28:14 +0000 Subject: [PATCH] chore: prepare 0.24.0-alpha.3 release Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Q7zEtTUpmxtYWDkuq6uwpY --- CHANGELOG.md | 4 ++-- Cargo.lock | 8 ++++---- reflectapi-cli/Cargo.toml | 4 ++-- reflectapi-demo/clients/python/uv.lock | 2 +- reflectapi-demo/tests/rust/enum_compatibility/Cargo.lock | 6 +++--- reflectapi-demo/tests/rust/field_presence/Cargo.lock | 6 +++--- reflectapi-derive/Cargo.toml | 4 ++-- reflectapi-python-runtime/pyproject.toml | 2 +- .../src/reflectapi_runtime/__init__.py | 2 +- reflectapi-schema/Cargo.toml | 2 +- reflectapi/Cargo.toml | 6 +++--- 11 files changed, 23 insertions(+), 23 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 870dd2a4..7ef807c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,10 @@ # Changelog -## Unreleased +## 0.24.0-alpha.3 ### Fixed -- Generated clients keep a deprecated field required in the response copy of a type split by direction. When a type's request and response shapes differ, consolidation splits it into `input::X` and `output::X`, and 0.24.0-alpha.1 relaxed `output::X` as a response-only type. Code that sends back a value it read, such as an `output::X` passed where `input::X` is expected, then failed to type-check in TypeScript, because the field was optional in one and required in the other. Such a type is also used in requests, so it now keeps deprecated fields required, like any other type used in both directions. +- Generated clients keep a deprecated field required in the response copy of a type split by direction. When a type's request and response shapes differ, consolidation splits it into `input::X` and `output::X`, and 0.24.0-alpha.1 relaxed `output::X` as a response-only type. Code that sends back a value it read, such as an `output::X` passed where `input::X` is expected, then failed to type-check in TypeScript, because the field was optional in one and required in the other. Such a type is also used in requests, so it now keeps deprecated fields required, like any other type used in both directions. ([#225](https://github.com/thepartly/reflectapi/pull/225)) ## 0.24.0-alpha.2 diff --git a/Cargo.lock b/Cargo.lock index 44b5ef25..9cb23645 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1653,7 +1653,7 @@ dependencies = [ [[package]] name = "reflectapi" -version = "0.24.0-alpha.2" +version = "0.24.0-alpha.3" dependencies = [ "anyhow", "axum", @@ -1682,7 +1682,7 @@ dependencies = [ [[package]] name = "reflectapi-cli" -version = "0.24.0-alpha.2" +version = "0.24.0-alpha.3" dependencies = [ "anyhow", "clap", @@ -1746,7 +1746,7 @@ dependencies = [ [[package]] name = "reflectapi-derive" -version = "0.24.0-alpha.2" +version = "0.24.0-alpha.3" dependencies = [ "proc-macro-error", "proc-macro2", @@ -1758,7 +1758,7 @@ dependencies = [ [[package]] name = "reflectapi-schema" -version = "0.24.0-alpha.2" +version = "0.24.0-alpha.3" dependencies = [ "glob", "serde", diff --git a/reflectapi-cli/Cargo.toml b/reflectapi-cli/Cargo.toml index e2b7d9e1..3cd40d26 100644 --- a/reflectapi-cli/Cargo.toml +++ b/reflectapi-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reflectapi-cli" -version = "0.24.0-alpha.2" +version = "0.24.0-alpha.3" edition = "2021" default-run = "reflectapi" @@ -23,7 +23,7 @@ doc = false workspace = true [dependencies] -reflectapi = { path = "../reflectapi", version = "0.24.0-alpha.2", features = ["codegen"] } +reflectapi = { path = "../reflectapi", version = "0.24.0-alpha.3", features = ["codegen"] } rouille = "3" clap = { version = "4.5.3", features = ["derive"] } diff --git a/reflectapi-demo/clients/python/uv.lock b/reflectapi-demo/clients/python/uv.lock index 43bad81e..6f5d2046 100644 --- a/reflectapi-demo/clients/python/uv.lock +++ b/reflectapi-demo/clients/python/uv.lock @@ -346,7 +346,7 @@ dev = [ [[package]] name = "reflectapi-runtime" -version = "0.24.0a2" +version = "0.24.0a3" source = { editable = "../../../reflectapi-python-runtime" } dependencies = [ { name = "anyio" }, diff --git a/reflectapi-demo/tests/rust/enum_compatibility/Cargo.lock b/reflectapi-demo/tests/rust/enum_compatibility/Cargo.lock index 793d31dd..a010a116 100644 --- a/reflectapi-demo/tests/rust/enum_compatibility/Cargo.lock +++ b/reflectapi-demo/tests/rust/enum_compatibility/Cargo.lock @@ -348,7 +348,7 @@ dependencies = [ [[package]] name = "reflectapi" -version = "0.24.0-alpha.2" +version = "0.24.0-alpha.3" dependencies = [ "anyhow", "bytes", @@ -366,7 +366,7 @@ dependencies = [ [[package]] name = "reflectapi-derive" -version = "0.24.0-alpha.2" +version = "0.24.0-alpha.3" dependencies = [ "proc-macro-error", "proc-macro2", @@ -387,7 +387,7 @@ dependencies = [ [[package]] name = "reflectapi-schema" -version = "0.24.0-alpha.2" +version = "0.24.0-alpha.3" dependencies = [ "glob", "serde", diff --git a/reflectapi-demo/tests/rust/field_presence/Cargo.lock b/reflectapi-demo/tests/rust/field_presence/Cargo.lock index 57314b42..f6c9a2ef 100644 --- a/reflectapi-demo/tests/rust/field_presence/Cargo.lock +++ b/reflectapi-demo/tests/rust/field_presence/Cargo.lock @@ -312,7 +312,7 @@ dependencies = [ [[package]] name = "reflectapi" -version = "0.24.0-alpha.2" +version = "0.24.0-alpha.3" dependencies = [ "bytes", "futures-util", @@ -327,7 +327,7 @@ dependencies = [ [[package]] name = "reflectapi-derive" -version = "0.24.0-alpha.2" +version = "0.24.0-alpha.3" dependencies = [ "proc-macro-error", "proc-macro2", @@ -348,7 +348,7 @@ dependencies = [ [[package]] name = "reflectapi-schema" -version = "0.24.0-alpha.2" +version = "0.24.0-alpha.3" dependencies = [ "glob", "serde", diff --git a/reflectapi-derive/Cargo.toml b/reflectapi-derive/Cargo.toml index f7f64614..5c56a977 100644 --- a/reflectapi-derive/Cargo.toml +++ b/reflectapi-derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reflectapi-derive" -version = "0.24.0-alpha.2" +version = "0.24.0-alpha.3" edition = "2021" license = "Apache-2.0" @@ -22,7 +22,7 @@ workspace = true proc-macro = true [dependencies] -reflectapi-schema = { path = '../reflectapi-schema', version = "0.24.0-alpha.2" } +reflectapi-schema = { path = '../reflectapi-schema', version = "0.24.0-alpha.3" } proc-macro2 = "1.0" quote = "1.0" diff --git a/reflectapi-python-runtime/pyproject.toml b/reflectapi-python-runtime/pyproject.toml index 52147cf4..27da470e 100644 --- a/reflectapi-python-runtime/pyproject.toml +++ b/reflectapi-python-runtime/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "reflectapi-runtime" -version = "0.24.0a2" +version = "0.24.0a3" description = "Runtime library for ReflectAPI Python clients" readme = "README.md" requires-python = ">=3.12" diff --git a/reflectapi-python-runtime/src/reflectapi_runtime/__init__.py b/reflectapi-python-runtime/src/reflectapi_runtime/__init__.py index b659ee03..9136f7ac 100644 --- a/reflectapi-python-runtime/src/reflectapi_runtime/__init__.py +++ b/reflectapi-python-runtime/src/reflectapi_runtime/__init__.py @@ -58,7 +58,7 @@ ) from .types import BatchResult, ReflectapiEmpty, ReflectapiInfallible -__version__ = "0.24.0a2" +__version__ = "0.24.0a3" __all__ = [ # Authentication diff --git a/reflectapi-schema/Cargo.toml b/reflectapi-schema/Cargo.toml index 15152d5a..1e503343 100644 --- a/reflectapi-schema/Cargo.toml +++ b/reflectapi-schema/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reflectapi-schema" -version = "0.24.0-alpha.2" +version = "0.24.0-alpha.3" edition = "2021" license = "Apache-2.0" diff --git a/reflectapi/Cargo.toml b/reflectapi/Cargo.toml index 53988507..a7d04fd0 100644 --- a/reflectapi/Cargo.toml +++ b/reflectapi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reflectapi" -version = "0.24.0-alpha.2" +version = "0.24.0-alpha.3" edition = "2021" license = "Apache-2.0" @@ -20,8 +20,8 @@ workspace = true [dependencies] # workspace dependencies -reflectapi-derive = { path = "../reflectapi-derive", version = "0.24.0-alpha.2" } -reflectapi-schema = { path = "../reflectapi-schema", version = "0.24.0-alpha.2", default-features = false } +reflectapi-derive = { path = "../reflectapi-derive", version = "0.24.0-alpha.3" } +reflectapi-schema = { path = "../reflectapi-schema", version = "0.24.0-alpha.3", default-features = false } # mandatory 3rd party dependencies serde = { version = "1.0.197", features = ["derive"] }