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 #2522 from hey-api/changeset-release/main

authored by

Lubos and committed by
GitHub
61e0956f 20322224

+43 -64
-5
.changeset/cyan-crabs-vanish.md
··· 1 - --- 2 - '@hey-api/openapi-ts': patch 3 - --- 4 - 5 - fix(client): pass fetch option to sse client
-5
.changeset/modern-colts-hang.md
··· 1 - --- 2 - '@hey-api/openapi-ts': patch 3 - --- 4 - 5 - feat(plugin): add `@pinia/colada` plugin
-5
.changeset/ninety-glasses-rule.md
··· 1 - --- 2 - '@hey-api/openapi-ts': patch 3 - --- 4 - 5 - feat(client): added angular, axios, fetch, next & nuxt client type export for external typing purposes.
-23
.changeset/olive-pots-rest.md
··· 1 - --- 2 - '@hey-api/openapi-ts': minor 3 - --- 4 - 5 - feat(parser): add Hooks API 6 - 7 - ### Added Hooks API 8 - 9 - This release adds the [Hooks API](https://heyapi.dev/openapi-ts/configuration/parser#hooks), giving you granular control over which operations generate queries and mutations. As a result, we tightened the previous behavior and POST operations no longer generate queries by default. To preserve the old behavior, add a custom matcher. 10 - 11 - ```js 12 - export default { 13 - input: 'hey-api/backend', // sign up at app.heyapi.dev 14 - output: 'src/client', 15 - parser: { 16 - hooks: { 17 - operations: { 18 - isQuery: (op) => (op.method === 'post' ? true : undefined), 19 - }, 20 - }, 21 - }, 22 - }; 23 - ```
-5
.changeset/rich-seals-eat.md
··· 1 - --- 2 - '@hey-api/openapi-ts': patch 3 - --- 4 - 5 - fix(parser): improve handling multiple references to shared external variable
-5
.changeset/six-pants-float.md
··· 1 - --- 2 - "@hey-api/openapi-ts": patch 3 - --- 4 - 5 - fix(client): improve empty response body handling
-5
.changeset/smooth-ties-brush.md
··· 1 - --- 2 - '@hey-api/openapi-ts': patch 3 - --- 4 - 5 - feat(plugin): add `@pinia/colada` plugin
-5
.changeset/tender-files-check.md
··· 1 - --- 2 - '@hey-api/openapi-ts': patch 3 - --- 4 - 5 - fix(parser): improve `readWrite` transformer splitting logic
-5
.changeset/two-humans-rescue.md
··· 1 - --- 2 - '@hey-api/openapi-ts': patch 3 - --- 4 - 5 - fix(parser): handle `patternProperties` in OpenAPI 3.1
+42
packages/openapi-ts/CHANGELOG.md
··· 1 1 # @hey-api/openapi-ts 2 2 3 + ## 0.82.0 4 + 5 + ### Minor Changes 6 + 7 + - [#2505](https://github.com/hey-api/openapi-ts/pull/2505) [`97c57f6`](https://github.com/hey-api/openapi-ts/commit/97c57f68af1f907f278707fb526289c73b33ea89) Thanks [@SebastiaanWouters](https://github.com/SebastiaanWouters)! - feat(parser): add Hooks API 8 + 9 + ### Added Hooks API 10 + 11 + This release adds the [Hooks API](https://heyapi.dev/openapi-ts/configuration/parser#hooks), giving you granular control over which operations generate queries and mutations. As a result, we tightened the previous behavior and POST operations no longer generate queries by default. To preserve the old behavior, add a custom matcher. 12 + 13 + ```js 14 + export default { 15 + input: 'hey-api/backend', // sign up at app.heyapi.dev 16 + output: 'src/client', 17 + parser: { 18 + hooks: { 19 + operations: { 20 + isQuery: (op) => (op.method === 'post' ? true : undefined), 21 + }, 22 + }, 23 + }, 24 + }; 25 + ``` 26 + 27 + ### Patch Changes 28 + 29 + - [#2542](https://github.com/hey-api/openapi-ts/pull/2542) [`c12f7c7`](https://github.com/hey-api/openapi-ts/commit/c12f7c71287ced429db4036678b254a967da3dea) Thanks [@mrlubos](https://github.com/mrlubos)! - fix(client): pass fetch option to sse client 30 + 31 + - [#2505](https://github.com/hey-api/openapi-ts/pull/2505) [`80dc015`](https://github.com/hey-api/openapi-ts/commit/80dc01515d67bd335427af3dc9be0d49a417b9e3) Thanks [@SebastiaanWouters](https://github.com/SebastiaanWouters)! - feat(plugin): add `@pinia/colada` plugin 32 + 33 + - [#2535](https://github.com/hey-api/openapi-ts/pull/2535) [`efdeedc`](https://github.com/hey-api/openapi-ts/commit/efdeedce6765e6b4d3c2e288b0473c1ced6c487f) Thanks [@alexedme](https://github.com/alexedme)! - feat(client): added angular, axios, fetch, next & nuxt client type export for external typing purposes. 34 + 35 + - [#2544](https://github.com/hey-api/openapi-ts/pull/2544) [`d4cd30e`](https://github.com/hey-api/openapi-ts/commit/d4cd30e3486fef6c459d4c04d3ca3f7ac19f8d83) Thanks [@carson2222](https://github.com/carson2222)! - fix(parser): improve handling multiple references to shared external variable 36 + 37 + - [#2519](https://github.com/hey-api/openapi-ts/pull/2519) [`95f00fa`](https://github.com/hey-api/openapi-ts/commit/95f00fa28a4c56f8f614649f8b4fd73a08f8b81f) Thanks [@volesen](https://github.com/volesen)! - fix(client): improve empty response body handling 38 + 39 + - [#1680](https://github.com/hey-api/openapi-ts/pull/1680) [`9e4cc3d`](https://github.com/hey-api/openapi-ts/commit/9e4cc3df784999ead1691848a4db0b7238e45809) Thanks [@josh-hemphill](https://github.com/josh-hemphill)! - feat(plugin): add `@pinia/colada` plugin 40 + 41 + - [#2530](https://github.com/hey-api/openapi-ts/pull/2530) [`8d1cfc4`](https://github.com/hey-api/openapi-ts/commit/8d1cfc4e415239266760498ea126c465c53f588c) Thanks [@carson2222](https://github.com/carson2222)! - fix(parser): improve `readWrite` transformer splitting logic 42 + 43 + - [#2523](https://github.com/hey-api/openapi-ts/pull/2523) [`7f6de44`](https://github.com/hey-api/openapi-ts/commit/7f6de44be7f445425c70c82833bc0442db2fcbcd) Thanks [@carson2222](https://github.com/carson2222)! - fix(parser): handle `patternProperties` in OpenAPI 3.1 44 + 3 45 ## 0.81.1 4 46 5 47 ### Patch Changes
+1 -1
packages/openapi-ts/package.json
··· 1 1 { 2 2 "name": "@hey-api/openapi-ts", 3 - "version": "0.81.1", 3 + "version": "0.82.0", 4 4 "description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.", 5 5 "homepage": "https://heyapi.dev/", 6 6 "repository": {