From e0d7c9d312d41e38674b978fda7552082d8cfdbe Mon Sep 17 00:00:00 2001 From: Adam Basfop Cavendish Date: Sun, 23 Aug 2026 01:43:50 +0800 Subject: [PATCH] chore: prepare 0.2.3 release - Bump workspace versions and stable installer links to 0.2.3 - Publish plain internally tagged oneOf fixes and add crates.io recipes --- CHANGELOG.md | 13 +++++++++++++ Cargo.lock | 8 ++++---- Cargo.toml | 2 +- Justfile | 10 ++++++++++ README.md | 2 +- docs/src/getting_started.md | 2 +- 6 files changed, 30 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3974ae602..7ad44bc3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.3] + +### Added + +- Add `just publish` and `just publish-dry-run` recipes for publishing the + `openapi-nexus` crate to crates.io. + +### Fixed + +- Detect plain inline `oneOf` members with required single-value string enum + tags as internally tagged unions in OpenAPI 3.0, 3.1, and 3.2. This preserves + nested field conversion in TypeScript clients using camel-case properties. + ## [0.2.2] ### Changed diff --git a/Cargo.lock b/Cargo.lock index bd55a27cb..10fed1099 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -447,7 +447,7 @@ checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" [[package]] name = "fixture-generator-additional-properties" -version = "0.2.2" +version = "0.2.3" dependencies = [ "axum", "axum-extra", @@ -468,7 +468,7 @@ dependencies = [ [[package]] name = "fixture-generator-enum-repr" -version = "0.2.2" +version = "0.2.3" dependencies = [ "axum", "axum-extra", @@ -489,7 +489,7 @@ dependencies = [ [[package]] name = "fixture-generator-petstore" -version = "0.2.2" +version = "0.2.3" dependencies = [ "axum", "axum-extra", @@ -1032,7 +1032,7 @@ checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] name = "openapi-nexus" -version = "0.2.2" +version = "0.2.3" dependencies = [ "clap", "derive_more", diff --git a/Cargo.toml b/Cargo.toml index c855888cf..76212291a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = [ ] [workspace.package] -version = "0.2.2" +version = "0.2.3" edition = "2024" rust-version = "1.90" description = "OpenAPI 3.x multi-language code generator" diff --git a/Justfile b/Justfile index 767a46392..55e141120 100644 --- a/Justfile +++ b/Justfile @@ -149,6 +149,16 @@ golden-update: golden-typescript::update golden-go::update golden-rust::update g # Compile-check all goldens golden-build-all: golden-typescript::build golden-go::build golden-rust::build golden-python::build golden-java::build golden-kotlin::build +# ---------- Publish ---------- + +# Dry-run publish to verify packaging +publish-dry-run: + cargo publish --dry-run -p openapi-nexus + +# Publish openapi-nexus to crates.io +publish: + cargo publish -p openapi-nexus + # ---------- CI (run everything locally) ---------- # Run the full CI pipeline locally diff --git a/README.md b/README.md index 93dbac467..5fdd00bf4 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ OpenAPI Nexus transforms OpenAPI specifications into type-safe client libraries. **Shell installer (no Rust toolchain needed):** ```sh -curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-codegen-group/openapi-nexus/releases/download/0.2.2/openapi-nexus-installer.sh | sh +curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-codegen-group/openapi-nexus/releases/download/0.2.3/openapi-nexus-installer.sh | sh ``` **Nightly build (latest main):** diff --git a/docs/src/getting_started.md b/docs/src/getting_started.md index 0326bd9e1..b5a2a99a8 100644 --- a/docs/src/getting_started.md +++ b/docs/src/getting_started.md @@ -5,7 +5,7 @@ **Shell installer (no Rust toolchain needed):** ```sh -curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-codegen-group/openapi-nexus/releases/download/0.2.2/openapi-nexus-installer.sh | sh +curl --proto '=https' --tlsv1.2 -LsSf https://github.com/rust-codegen-group/openapi-nexus/releases/download/0.2.3/openapi-nexus-installer.sh | sh ``` **Nightly build (latest main):**