From c2267a6546beda067c6fc9c2560e393391a1473d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 18 Sep 2025 22:13:42 +0000 Subject: [PATCH] Version Packages --- .changeset/salty-pets-notice.md | 10 ---------- .changeset/switch-to-yaml-parser.md | 9 --------- CHANGELOG.md | 17 +++++++++++++++++ package.json | 2 +- 4 files changed, 18 insertions(+), 20 deletions(-) delete mode 100644 .changeset/salty-pets-notice.md delete mode 100644 .changeset/switch-to-yaml-parser.md diff --git a/.changeset/salty-pets-notice.md b/.changeset/salty-pets-notice.md deleted file mode 100644 index 0b599e3f..00000000 --- a/.changeset/salty-pets-notice.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"swagger-typescript-api": patch ---- - -Ensure discriminator mappings use union enum literals. - -Resolve discriminator mapping generation to use literal values when -`generateUnionEnums` is enabled to avoid emitting enum member references. -Add regression coverage that snapshots the discriminator output with -union enums. diff --git a/.changeset/switch-to-yaml-parser.md b/.changeset/switch-to-yaml-parser.md deleted file mode 100644 index 0427bded..00000000 --- a/.changeset/switch-to-yaml-parser.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"swagger-typescript-api": patch ---- - -Replace `js-yaml` with `yaml`. - -Switch YAML parsing from `js-yaml` to `yaml`. Update the resolver to -use `YAML.parse` when `JSON.parse` fails. Remove `js-yaml` and its types, -add `yaml` as a runtime dependency. No public API changes. diff --git a/CHANGELOG.md b/CHANGELOG.md index 68864431..8b5f898d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # swagger-typescript-api +## 13.2.13 + +### Patch Changes + +- [#1424](https://github.com/acacode/swagger-typescript-api/pull/1424) [`aa79764`](https://github.com/acacode/swagger-typescript-api/commit/aa79764bc27fc1787924c46a5905769dccbf385c) Thanks [@smorimoto](https://github.com/smorimoto)! - Ensure discriminator mappings use union enum literals. + + Resolve discriminator mapping generation to use literal values when + `generateUnionEnums` is enabled to avoid emitting enum member references. + Add regression coverage that snapshots the discriminator output with + union enums. + +- [#1422](https://github.com/acacode/swagger-typescript-api/pull/1422) [`724b0cd`](https://github.com/acacode/swagger-typescript-api/commit/724b0cd3d37acac1ac24fd547e2ad7af3a74bfd6) Thanks [@smorimoto](https://github.com/smorimoto)! - Replace `js-yaml` with `yaml`. + + Switch YAML parsing from `js-yaml` to `yaml`. Update the resolver to + use `YAML.parse` when `JSON.parse` fails. Remove `js-yaml` and its types, + add `yaml` as a runtime dependency. No public API changes. + ## 13.2.12 ### Patch Changes diff --git a/package.json b/package.json index 09f0f6eb..9259075f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "swagger-typescript-api", - "version": "13.2.12", + "version": "13.2.13", "description": "Generate the API client for Fetch or Axios from an OpenAPI Specification", "homepage": "https://github.com/acacode/swagger-typescript-api", "bugs": "https://github.com/acacode/swagger-typescript-api/issues",