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

Version Packages

authored by

Lubos and committed by
GitHub
d0af19e1 52a86fef

+179 -53
-20
.changeset/long-keys-refuse.md
··· 1 - --- 2 - '@hey-api/openapi-ts': minor 3 - --- 4 - 5 - feat: added `client.baseUrl` option 6 - 7 - ### Added `client.baseUrl` option 8 - 9 - You can use this option to configure the default base URL for the generated client. By default, we will attempt to resolve the first defined server or infer the base URL from the input path. If you'd like to preserve the previous behavior, set `baseUrl` to `false`. 10 - 11 - ```js 12 - export default { 13 - input: 'path/to/openapi.json', 14 - output: 'src/client', 15 - plugins: [{ 16 - baseUrl: false, // [!code ++] 17 - name: '@hey-api/client-fetch', 18 - }], 19 - }; 20 - ```
-18
.changeset/unlucky-moles-dance.md
··· 1 - --- 2 - '@hey-api/client-axios': minor 3 - '@hey-api/client-fetch': minor 4 - '@hey-api/client-next': minor 5 - '@hey-api/client-nuxt': minor 6 - '@hey-api/openapi-ts': minor 7 - --- 8 - 9 - fix: make createConfig, CreateClientConfig, and Config accept ClientOptions generic 10 - 11 - ### Added `ClientOptions` interface 12 - 13 - The `Config` interface now accepts an optional generic extending `ClientOptions` instead of `boolean` type `ThrowOnError`. 14 - 15 - ```ts 16 - type Foo = Config<false> // [!code --] 17 - type Foo = Config<{ throwOnError: false }> // [!code ++] 18 - ```
+7
examples/openapi-ts-axios/CHANGELOG.md
··· 1 1 # @example/openapi-ts-axios 2 2 3 + ## 0.0.27 4 + 5 + ### Patch Changes 6 + 7 + - Updated dependencies [[`bb6d46a`](https://github.com/hey-api/openapi-ts/commit/bb6d46ae119ce4e7e3a2ab3fded74ac4fb4cdff2)]: 8 + - @hey-api/client-axios@0.6.0 9 + 3 10 ## 0.0.26 4 11 5 12 ### Patch Changes
+1 -1
examples/openapi-ts-axios/package.json
··· 1 1 { 2 2 "name": "@example/openapi-ts-axios", 3 3 "private": true, 4 - "version": "0.0.26", 4 + "version": "0.0.27", 5 5 "type": "module", 6 6 "scripts": { 7 7 "build": "tsc && vite build",
+7
examples/openapi-ts-fastify/CHANGELOG.md
··· 1 1 # @example/openapi-ts-fastify 2 2 3 + ## 0.1.4 4 + 5 + ### Patch Changes 6 + 7 + - Updated dependencies [[`bb6d46a`](https://github.com/hey-api/openapi-ts/commit/bb6d46ae119ce4e7e3a2ab3fded74ac4fb4cdff2)]: 8 + - @hey-api/client-fetch@0.8.0 9 + 3 10 ## 0.1.3 4 11 5 12 ### Patch Changes
+1 -1
examples/openapi-ts-fastify/package.json
··· 1 1 { 2 2 "name": "@example/openapi-ts-fastify", 3 3 "private": true, 4 - "version": "0.1.3", 4 + "version": "0.1.4", 5 5 "type": "module", 6 6 "scripts": { 7 7 "openapi-ts": "openapi-ts",
+7
examples/openapi-ts-fetch/CHANGELOG.md
··· 1 1 # @example/openapi-ts-fetch 2 2 3 + ## 0.0.45 4 + 5 + ### Patch Changes 6 + 7 + - Updated dependencies [[`bb6d46a`](https://github.com/hey-api/openapi-ts/commit/bb6d46ae119ce4e7e3a2ab3fded74ac4fb4cdff2)]: 8 + - @hey-api/client-fetch@0.8.0 9 + 3 10 ## 0.0.44 4 11 5 12 ### Patch Changes
+1 -1
examples/openapi-ts-fetch/package.json
··· 1 1 { 2 2 "name": "@example/openapi-ts-fetch", 3 3 "private": true, 4 - "version": "0.0.44", 4 + "version": "0.0.45", 5 5 "type": "module", 6 6 "scripts": { 7 7 "build": "tsc && vite build",
+7
examples/openapi-ts-next/CHANGELOG.md
··· 1 1 # @example/openapi-ts-next 2 2 3 + ## 0.1.3 4 + 5 + ### Patch Changes 6 + 7 + - Updated dependencies [[`bb6d46a`](https://github.com/hey-api/openapi-ts/commit/bb6d46ae119ce4e7e3a2ab3fded74ac4fb4cdff2)]: 8 + - @hey-api/client-next@0.2.0 9 + 3 10 ## 0.1.2 4 11 5 12 ### Patch Changes
+1 -1
examples/openapi-ts-next/package.json
··· 1 1 { 2 2 "name": "@example/openapi-ts-next", 3 3 "private": true, 4 - "version": "0.1.2", 4 + "version": "0.1.3", 5 5 "scripts": { 6 6 "build": "next build", 7 7 "dev": "next dev",
+7
examples/openapi-ts-nuxt/CHANGELOG.md
··· 1 1 # @example/openapi-ts-nuxt 2 2 3 + ## 0.0.6 4 + 5 + ### Patch Changes 6 + 7 + - Updated dependencies [[`bb6d46a`](https://github.com/hey-api/openapi-ts/commit/bb6d46ae119ce4e7e3a2ab3fded74ac4fb4cdff2)]: 8 + - @hey-api/client-nuxt@0.2.0 9 + 3 10 ## 0.0.5 4 11 5 12 ### Patch Changes
+1 -1
examples/openapi-ts-nuxt/package.json
··· 1 1 { 2 2 "name": "@example/openapi-ts-nuxt", 3 3 "private": true, 4 - "version": "0.0.5", 4 + "version": "0.0.6", 5 5 "type": "module", 6 6 "scripts": { 7 7 "build": "nuxt build",
+7
examples/openapi-ts-sample/CHANGELOG.md
··· 1 1 # @example/openapi-ts-sample 2 2 3 + ## 0.0.5 4 + 5 + ### Patch Changes 6 + 7 + - Updated dependencies [[`bb6d46a`](https://github.com/hey-api/openapi-ts/commit/bb6d46ae119ce4e7e3a2ab3fded74ac4fb4cdff2)]: 8 + - @hey-api/client-fetch@0.8.0 9 + 3 10 ## 0.0.4 4 11 5 12 ### Patch Changes
+1 -1
examples/openapi-ts-sample/package.json
··· 1 1 { 2 2 "name": "@example/openapi-ts-sample", 3 3 "private": true, 4 - "version": "0.0.4", 4 + "version": "0.0.5", 5 5 "type": "module", 6 6 "scripts": { 7 7 "build": "tsc && vite build",
+7
examples/openapi-ts-tanstack-angular-query-experimental/CHANGELOG.md
··· 1 1 # @example/openapi-ts-tanstack-angular-query-experimental 2 2 3 + ## 0.0.16 4 + 5 + ### Patch Changes 6 + 7 + - Updated dependencies [[`bb6d46a`](https://github.com/hey-api/openapi-ts/commit/bb6d46ae119ce4e7e3a2ab3fded74ac4fb4cdff2)]: 8 + - @hey-api/client-fetch@0.8.0 9 + 3 10 ## 0.0.15 4 11 5 12 ### Patch Changes
+1 -1
examples/openapi-ts-tanstack-angular-query-experimental/package.json
··· 1 1 { 2 2 "name": "@example/openapi-ts-tanstack-angular-query-experimental", 3 - "version": "0.0.15", 3 + "version": "0.0.16", 4 4 "scripts": { 5 5 "ng": "ng", 6 6 "start": "ng serve",
+7
examples/openapi-ts-tanstack-react-query/CHANGELOG.md
··· 1 1 # @example/openapi-ts-tanstack-react-query 2 2 3 + ## 0.0.27 4 + 5 + ### Patch Changes 6 + 7 + - Updated dependencies [[`bb6d46a`](https://github.com/hey-api/openapi-ts/commit/bb6d46ae119ce4e7e3a2ab3fded74ac4fb4cdff2)]: 8 + - @hey-api/client-fetch@0.8.0 9 + 3 10 ## 0.0.26 4 11 5 12 ### Patch Changes
+1 -1
examples/openapi-ts-tanstack-react-query/package.json
··· 1 1 { 2 2 "name": "@example/openapi-ts-tanstack-react-query", 3 3 "private": true, 4 - "version": "0.0.26", 4 + "version": "0.0.27", 5 5 "type": "module", 6 6 "scripts": { 7 7 "build": "tsc && vite build",
+7
examples/openapi-ts-tanstack-svelte-query/CHANGELOG.md
··· 1 1 # @example/openapi-ts-tanstack-svelte-query 2 2 3 + ## 0.0.27 4 + 5 + ### Patch Changes 6 + 7 + - Updated dependencies [[`bb6d46a`](https://github.com/hey-api/openapi-ts/commit/bb6d46ae119ce4e7e3a2ab3fded74ac4fb4cdff2)]: 8 + - @hey-api/client-fetch@0.8.0 9 + 3 10 ## 0.0.26 4 11 5 12 ### Patch Changes
+1 -1
examples/openapi-ts-tanstack-svelte-query/package.json
··· 1 1 { 2 2 "name": "@example/openapi-ts-tanstack-svelte-query", 3 3 "private": true, 4 - "version": "0.0.26", 4 + "version": "0.0.27", 5 5 "type": "module", 6 6 "scripts": { 7 7 "build": "vite build",
+7
examples/openapi-ts-tanstack-vue-query/CHANGELOG.md
··· 1 1 # @example/openapi-ts-tanstack-vue-query 2 2 3 + ## 0.0.27 4 + 5 + ### Patch Changes 6 + 7 + - Updated dependencies [[`bb6d46a`](https://github.com/hey-api/openapi-ts/commit/bb6d46ae119ce4e7e3a2ab3fded74ac4fb4cdff2)]: 8 + - @hey-api/client-fetch@0.8.0 9 + 3 10 ## 0.0.26 4 11 5 12 ### Patch Changes
+1 -1
examples/openapi-ts-tanstack-vue-query/package.json
··· 1 1 { 2 2 "name": "@example/openapi-ts-tanstack-vue-query", 3 3 "private": true, 4 - "version": "0.0.26", 4 + "version": "0.0.27", 5 5 "type": "module", 6 6 "scripts": { 7 7 "build-only": "vite build",
+15
packages/client-axios/CHANGELOG.md
··· 1 1 # @hey-api/client-axios 2 2 3 + ## 0.6.0 4 + 5 + ### Minor Changes 6 + 7 + - [#1661](https://github.com/hey-api/openapi-ts/pull/1661) [`bb6d46a`](https://github.com/hey-api/openapi-ts/commit/bb6d46ae119ce4e7e3a2ab3fded74ac4fb4cdff2) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: make createConfig, CreateClientConfig, and Config accept ClientOptions generic 8 + 9 + ### Added `ClientOptions` interface 10 + 11 + The `Config` interface now accepts an optional generic extending `ClientOptions` instead of `boolean` type `ThrowOnError`. 12 + 13 + ```ts 14 + type Foo = Config<false>; // [!code --] 15 + type Foo = Config<{ throwOnError: false }>; // [!code ++] 16 + ``` 17 + 3 18 ## 0.5.3 4 19 5 20 ### Patch Changes
+1 -1
packages/client-axios/package.json
··· 1 1 { 2 2 "name": "@hey-api/client-axios", 3 - "version": "0.5.3", 3 + "version": "0.6.0", 4 4 "description": "🚀 Axios client for `@hey-api/openapi-ts` codegen.", 5 5 "homepage": "https://heyapi.dev/", 6 6 "repository": {
+15
packages/client-fetch/CHANGELOG.md
··· 1 1 # @hey-api/client-fetch 2 2 3 + ## 0.8.0 4 + 5 + ### Minor Changes 6 + 7 + - [#1661](https://github.com/hey-api/openapi-ts/pull/1661) [`bb6d46a`](https://github.com/hey-api/openapi-ts/commit/bb6d46ae119ce4e7e3a2ab3fded74ac4fb4cdff2) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: make createConfig, CreateClientConfig, and Config accept ClientOptions generic 8 + 9 + ### Added `ClientOptions` interface 10 + 11 + The `Config` interface now accepts an optional generic extending `ClientOptions` instead of `boolean` type `ThrowOnError`. 12 + 13 + ```ts 14 + type Foo = Config<false>; // [!code --] 15 + type Foo = Config<{ throwOnError: false }>; // [!code ++] 16 + ``` 17 + 3 18 ## 0.7.3 4 19 5 20 ### Patch Changes
+1 -1
packages/client-fetch/package.json
··· 1 1 { 2 2 "name": "@hey-api/client-fetch", 3 - "version": "0.7.3", 3 + "version": "0.8.0", 4 4 "description": "🚀 Fetch API client for `@hey-api/openapi-ts` codegen.", 5 5 "homepage": "https://heyapi.dev/", 6 6 "repository": {
+15
packages/client-next/CHANGELOG.md
··· 1 1 # @hey-api/client-next 2 2 3 + ## 0.2.0 4 + 5 + ### Minor Changes 6 + 7 + - [#1661](https://github.com/hey-api/openapi-ts/pull/1661) [`bb6d46a`](https://github.com/hey-api/openapi-ts/commit/bb6d46ae119ce4e7e3a2ab3fded74ac4fb4cdff2) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: make createConfig, CreateClientConfig, and Config accept ClientOptions generic 8 + 9 + ### Added `ClientOptions` interface 10 + 11 + The `Config` interface now accepts an optional generic extending `ClientOptions` instead of `boolean` type `ThrowOnError`. 12 + 13 + ```ts 14 + type Foo = Config<false>; // [!code --] 15 + type Foo = Config<{ throwOnError: false }>; // [!code ++] 16 + ``` 17 + 3 18 ## 0.1.0 4 19 5 20 ### Minor Changes
+1 -1
packages/client-next/package.json
··· 1 1 { 2 2 "name": "@hey-api/client-next", 3 - "version": "0.1.0", 3 + "version": "0.2.0", 4 4 "description": "🚀 Next.js client for `@hey-api/openapi-ts` codegen.", 5 5 "homepage": "https://heyapi.dev/", 6 6 "repository": {
+15
packages/client-nuxt/CHANGELOG.md
··· 1 1 # @hey-api/client-nuxt 2 2 3 + ## 0.2.0 4 + 5 + ### Minor Changes 6 + 7 + - [#1661](https://github.com/hey-api/openapi-ts/pull/1661) [`bb6d46a`](https://github.com/hey-api/openapi-ts/commit/bb6d46ae119ce4e7e3a2ab3fded74ac4fb4cdff2) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: make createConfig, CreateClientConfig, and Config accept ClientOptions generic 8 + 9 + ### Added `ClientOptions` interface 10 + 11 + The `Config` interface now accepts an optional generic extending `ClientOptions` instead of `boolean` type `ThrowOnError`. 12 + 13 + ```ts 14 + type Foo = Config<false>; // [!code --] 15 + type Foo = Config<{ throwOnError: false }>; // [!code ++] 16 + ``` 17 + 3 18 ## 0.1.3 4 19 5 20 ### Patch Changes
+1 -1
packages/client-nuxt/package.json
··· 1 1 { 2 2 "name": "@hey-api/client-nuxt", 3 - "version": "0.1.3", 3 + "version": "0.2.0", 4 4 "description": "🚀 Nuxt client for `@hey-api/openapi-ts` codegen.", 5 5 "homepage": "https://heyapi.dev/", 6 6 "repository": {
+34
packages/openapi-ts/CHANGELOG.md
··· 1 1 # @hey-api/openapi-ts 2 2 3 + ## 0.64.0 4 + 5 + ### Minor Changes 6 + 7 + - [#1661](https://github.com/hey-api/openapi-ts/pull/1661) [`ccefe43`](https://github.com/hey-api/openapi-ts/commit/ccefe434ee83f1202769547ce128e1c134dee25f) Thanks [@mrlubos](https://github.com/mrlubos)! - feat: added `client.baseUrl` option 8 + 9 + ### Added `client.baseUrl` option 10 + 11 + You can use this option to configure the default base URL for the generated client. By default, we will attempt to resolve the first defined server or infer the base URL from the input path. If you'd like to preserve the previous behavior, set `baseUrl` to `false`. 12 + 13 + ```js 14 + export default { 15 + input: 'path/to/openapi.json', 16 + output: 'src/client', 17 + plugins: [ 18 + { 19 + baseUrl: false, // [!code ++] 20 + name: '@hey-api/client-fetch', 21 + }, 22 + ], 23 + }; 24 + ``` 25 + 26 + - [#1661](https://github.com/hey-api/openapi-ts/pull/1661) [`bb6d46a`](https://github.com/hey-api/openapi-ts/commit/bb6d46ae119ce4e7e3a2ab3fded74ac4fb4cdff2) Thanks [@mrlubos](https://github.com/mrlubos)! - fix: make createConfig, CreateClientConfig, and Config accept ClientOptions generic 27 + 28 + ### Added `ClientOptions` interface 29 + 30 + The `Config` interface now accepts an optional generic extending `ClientOptions` instead of `boolean` type `ThrowOnError`. 31 + 32 + ```ts 33 + type Foo = Config<false>; // [!code --] 34 + type Foo = Config<{ throwOnError: false }>; // [!code ++] 35 + ``` 36 + 3 37 ## 0.63.2 4 38 5 39 ### Patch Changes
+1 -1
packages/openapi-ts/package.json
··· 1 1 { 2 2 "name": "@hey-api/openapi-ts", 3 - "version": "0.63.2", 3 + "version": "0.64.0", 4 4 "description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.", 5 5 "homepage": "https://heyapi.dev/", 6 6 "repository": {