Skip to content

Commit 5d85d29

Browse files
authored
Merge pull request #2211 from hey-api/changeset-release/main
2 parents b7d79a2 + 055f761 commit 5d85d29

File tree

8 files changed

+39
-51
lines changed

8 files changed

+39
-51
lines changed

.changeset/lucky-bees-exist.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

.changeset/old-feet-repeat.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/polite-pots-watch.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

.changeset/soft-bulldogs-cover.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/strong-donkeys-give.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/young-years-push.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/openapi-ts/CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# @hey-api/openapi-ts
22

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+
341
## 0.74.0
442

543
### Minor Changes

packages/openapi-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hey-api/openapi-ts",
3-
"version": "0.74.0",
3+
"version": "0.75.0",
44
"description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.",
55
"homepage": "https://heyapi.dev/",
66
"repository": {

0 commit comments

Comments
 (0)