fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #2211 from hey-api/changeset-release/main

authored by

Lubos and committed by
GitHub
5d85d294 b7d79a2e

+39 -51
-15
.changeset/lucky-bees-exist.md
··· 1 - --- 2 - '@hey-api/openapi-ts': minor 3 - --- 4 - 5 - feat(parser): replace `plugin.subscribe()` with `plugin.forEach()` 6 - 7 - ### Added `plugin.forEach()` method 8 - 9 - This method replaces the `.subscribe()` method. Additionally, `.forEach()` is executed immediately, which means we don't need the `before` and `after` events – simply move your code before and after the `.forEach()` block. 10 - 11 - ```ts 12 - plugin.forEach('operation', 'schema', (event) => { 13 - // do something with event 14 - }); 15 - ```
-5
.changeset/old-feet-repeat.md
··· 1 - --- 2 - '@hey-api/openapi-ts': patch 3 - --- 4 - 5 - fix: make output pass stricter tsconfig configurations"
-15
.changeset/polite-pots-watch.md
··· 1 - --- 2 - '@hey-api/openapi-ts': minor 3 - --- 4 - 5 - feat(tanstack-query): add name and case options 6 - 7 - ### Updated TanStack Query options 8 - 9 - The TanStack Query plugin options have been expanded to support more naming and casing patterns. As a result, the following options have been renamed. 10 - 11 - - `queryOptionsNameBuilder` renamed to `queryOptions` 12 - - `infiniteQueryOptionsNameBuilder` renamed to `infiniteQueryOptions` 13 - - `mutationOptionsNameBuilder` renamed to `mutationOptions` 14 - - `queryKeyNameBuilder` renamed to `queryKeys` 15 - - `infiniteQueryKeyNameBuilder` renamed to `infiniteQueryKeys`
-5
.changeset/soft-bulldogs-cover.md
··· 1 - --- 2 - '@hey-api/openapi-ts': patch 3 - --- 4 - 5 - fix(validators): handle additional properties object when no other properties are defined
-5
.changeset/strong-donkeys-give.md
··· 1 - --- 2 - '@hey-api/openapi-ts': patch 3 - --- 4 - 5 - fix(parser): add `meta` and `version` options to input.patch
-5
.changeset/young-years-push.md
··· 1 - --- 2 - '@hey-api/openapi-ts': patch 3 - --- 4 - 5 - fix(cli): correctly detect watch mode
+38
packages/openapi-ts/CHANGELOG.md
··· 1 1 # @hey-api/openapi-ts 2 2 3 + ## 0.75.0 4 + 5 + ### Minor Changes 6 + 7 + - [#2215](https://github.com/hey-api/openapi-ts/pull/2215) [`82e56e9`](https://github.com/hey-api/openapi-ts/commit/82e56e926e90d8575302db7fa4843b3663ac3971) Thanks [@mrlubos](https://github.com/mrlubos)! - feat(parser): replace `plugin.subscribe()` with `plugin.forEach()` 8 + 9 + ### Added `plugin.forEach()` method 10 + 11 + This method replaces the `.subscribe()` method. Additionally, `.forEach()` is executed immediately, which means we don't need the `before` and `after` events – simply move your code before and after the `.forEach()` block. 12 + 13 + ```ts 14 + plugin.forEach('operation', 'schema', (event) => { 15 + // do something with event 16 + }); 17 + ``` 18 + 19 + - [#2218](https://github.com/hey-api/openapi-ts/pull/2218) [`e5ff024`](https://github.com/hey-api/openapi-ts/commit/e5ff024d4ff2c715276fda88269e7c1668cb929e) Thanks [@mrlubos](https://github.com/mrlubos)! - feat(tanstack-query): add name and case options 20 + 21 + ### Updated TanStack Query options 22 + 23 + The TanStack Query plugin options have been expanded to support more naming and casing patterns. As a result, the following options have been renamed. 24 + 25 + - `queryOptionsNameBuilder` renamed to `queryOptions` 26 + - `infiniteQueryOptionsNameBuilder` renamed to `infiniteQueryOptions` 27 + - `mutationOptionsNameBuilder` renamed to `mutationOptions` 28 + - `queryKeyNameBuilder` renamed to `queryKeys` 29 + - `infiniteQueryKeyNameBuilder` renamed to `infiniteQueryKeys` 30 + 31 + ### Patch Changes 32 + 33 + - [#2219](https://github.com/hey-api/openapi-ts/pull/2219) [`4df6fa0`](https://github.com/hey-api/openapi-ts/commit/4df6fa0540c4e0e0adce485cb813ea57bf97b908) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: make output pass stricter tsconfig configurations" 34 + 35 + - [#2213](https://github.com/hey-api/openapi-ts/pull/2213) [`2ffb612`](https://github.com/hey-api/openapi-ts/commit/2ffb61253b302d746c4f08beae9daeec345343f6) Thanks [@mrlubos](https://github.com/mrlubos)! - fix(validators): handle additional properties object when no other properties are defined 36 + 37 + - [#2216](https://github.com/hey-api/openapi-ts/pull/2216) [`1456f87`](https://github.com/hey-api/openapi-ts/commit/1456f878cbe7ad7d2894a3ba8dddcc8b79d04920) Thanks [@mrlubos](https://github.com/mrlubos)! - fix(parser): add `meta` and `version` options to input.patch 38 + 39 + - [#2210](https://github.com/hey-api/openapi-ts/pull/2210) [`5b1362a`](https://github.com/hey-api/openapi-ts/commit/5b1362ae8bebf9aef846140e1400270131cbe64f) Thanks [@mrlubos](https://github.com/mrlubos)! - fix(cli): correctly detect watch mode 40 + 3 41 ## 0.74.0 4 42 5 43 ### Minor Changes
+1 -1
packages/openapi-ts/package.json
··· 1 1 { 2 2 "name": "@hey-api/openapi-ts", 3 - "version": "0.74.0", 3 + "version": "0.75.0", 4 4 "description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.", 5 5 "homepage": "https://heyapi.dev/", 6 6 "repository": {