From aae1aad6e3b99086720292fd94b9ad40846cd7ea Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 12 Apr 2025 04:17:37 +0000 Subject: [PATCH] Version Packages --- .changeset/fancy-actors-wait.md | 5 ----- .changeset/true-lies-read.md | 5 ----- .changeset/twelve-plants-invent.md | 5 ----- .changeset/weak-lemons-buy.md | 5 ----- CHANGELOG.md | 20 ++++++++++++++++++-- package.json | 2 +- 6 files changed, 19 insertions(+), 23 deletions(-) delete mode 100644 .changeset/fancy-actors-wait.md delete mode 100644 .changeset/true-lies-read.md delete mode 100644 .changeset/twelve-plants-invent.md delete mode 100644 .changeset/weak-lemons-buy.md diff --git a/.changeset/fancy-actors-wait.md b/.changeset/fancy-actors-wait.md deleted file mode 100644 index aee8635a..00000000 --- a/.changeset/fancy-actors-wait.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"swagger-typescript-api": minor ---- - -Use `c12` for wider configuration file format support. diff --git a/.changeset/true-lies-read.md b/.changeset/true-lies-read.md deleted file mode 100644 index 5372c14d..00000000 --- a/.changeset/true-lies-read.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"swagger-typescript-api": patch ---- - -Fix TypeScript declaration file path. diff --git a/.changeset/twelve-plants-invent.md b/.changeset/twelve-plants-invent.md deleted file mode 100644 index 6f33e26d..00000000 --- a/.changeset/twelve-plants-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"swagger-typescript-api": patch ---- - -Replace Prettier with Biome as the code formatter to improve performance during the code generation phase. diff --git a/.changeset/weak-lemons-buy.md b/.changeset/weak-lemons-buy.md deleted file mode 100644 index b8904048..00000000 --- a/.changeset/weak-lemons-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"swagger-typescript-api": patch ---- - -Remove redundant `union-enums` option in favor of `generate-union-enums`. diff --git a/CHANGELOG.md b/CHANGELOG.md index b939457b..1ca2d84c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # swagger-typescript-api +## 13.1.0 + +### Minor Changes + +- [#1144](https://github.com/acacode/swagger-typescript-api/pull/1144) [`ea1df18`](https://github.com/acacode/swagger-typescript-api/commit/ea1df18aebec54109972f22e32199a5aeacf7c7f) Thanks [@smorimoto](https://github.com/smorimoto)! - Use `c12` for wider configuration file format support. + +### Patch Changes + +- [#1171](https://github.com/acacode/swagger-typescript-api/pull/1171) [`c1cc45a`](https://github.com/acacode/swagger-typescript-api/commit/c1cc45a6f27698f2b21cc35696cf529b0e9a210d) Thanks [@smorimoto](https://github.com/smorimoto)! - Fix TypeScript declaration file path. + +- [#1145](https://github.com/acacode/swagger-typescript-api/pull/1145) [`73f6bfd`](https://github.com/acacode/swagger-typescript-api/commit/73f6bfddb501211a30f9dca0e1098f905761badb) Thanks [@smorimoto](https://github.com/smorimoto)! - Replace Prettier with Biome as the code formatter to improve performance during the code generation phase. + +- [#1141](https://github.com/acacode/swagger-typescript-api/pull/1141) [`821bfad`](https://github.com/acacode/swagger-typescript-api/commit/821bfad0dc8dffc7a8571a052b38f96c3d1c8087) Thanks [@dding-g](https://github.com/dding-g)! - Remove redundant `union-enums` option in favor of `generate-union-enums`. + ## 13.0.28 ### Patch Changes @@ -448,7 +462,7 @@ const Ts = { */ EnumFieldsWrapper: (contents) => _.map(contents, ({ key, value }) => ` ${Ts.EnumField(key, value)}`).join( - ",\n", + ",\n" ), /** * {\n $A \n} @@ -467,7 +481,9 @@ const Ts = { * $A1<...$A2.join(,)> */ TypeWithGeneric: (typeName, genericArgs) => { - return `${typeName}${genericArgs.length ? `<${genericArgs.join(",")}>` : ""}`; + return `${typeName}${ + genericArgs.length ? `<${genericArgs.join(",")}>` : "" + }`; }, }; ``` diff --git a/package.json b/package.json index 73fb163d..88485637 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "swagger-typescript-api", - "version": "13.0.28", + "version": "13.1.0", "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",