|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +# 2026-04-28 |
| 4 | + |
| 5 | +## @hey-api/openapi-ts 0.97.0 |
| 6 | + |
| 7 | +### ⚠️ Breaking |
| 8 | + |
| 9 | +This release has 15 breaking changes. Please review the release notes carefully before upgrading. |
| 10 | + |
| 11 | +### Updates |
| 12 | + |
| 13 | +- cli: print file count and generator speed ([#3828](https://github.com/hey-api/openapi-ts/pull/3828)) |
| 14 | +- **⚠️ Breaking:** client: resolve `runtimeConfigPath` relative to the output folder ([#3770](https://github.com/hey-api/openapi-ts/pull/3770)) |
| 15 | + |
| 16 | +### Changed `runtimeConfigPath` behavior |
| 17 | + |
| 18 | +This was a known, long-standing issue confusing first-time users. Before, defining client `runtimeConfigPath` value would paste it verbatim to the generated output. This release changes the behavior to resolve relative to the current working directory the same way output path works. |
| 19 | +- config: remove `--apply` flag from Biome post-processor commands ([#3812](https://github.com/hey-api/openapi-ts/pull/3812)) |
| 20 | + |
| 21 | +### Plugins |
| 22 | + |
| 23 | +#### @hey-api/client-angular |
| 24 | + |
| 25 | +- **⚠️ Breaking:** `request` and `response` objects might be undefined ([#3814](https://github.com/hey-api/openapi-ts/pull/3814)) |
| 26 | +- **⚠️ Breaking:** respect `throwOnError` when request validation fails ([#3814](https://github.com/hey-api/openapi-ts/pull/3814)) |
| 27 | + |
| 28 | +#### @hey-api/client-fetch |
| 29 | + |
| 30 | +- **⚠️ Breaking:** pass previous result to error interceptors ([#3814](https://github.com/hey-api/openapi-ts/pull/3814)) |
| 31 | +- **⚠️ Breaking:** `request` and `response` objects might be undefined ([#3814](https://github.com/hey-api/openapi-ts/pull/3814)) |
| 32 | +- **⚠️ Breaking:** respect `throwOnError` when request validation fails ([#3814](https://github.com/hey-api/openapi-ts/pull/3814)) |
| 33 | + |
| 34 | +#### @hey-api/client-ky |
| 35 | + |
| 36 | +- **⚠️ Breaking:** pass previous result to error interceptors ([#3814](https://github.com/hey-api/openapi-ts/pull/3814)) |
| 37 | +- **⚠️ Breaking:** `request` and `response` objects might be undefined ([#3814](https://github.com/hey-api/openapi-ts/pull/3814)) |
| 38 | +- **⚠️ Breaking:** respect `throwOnError` when request validation fails ([#3814](https://github.com/hey-api/openapi-ts/pull/3814)) |
| 39 | +- **⚠️ Breaking:** respect ky instance defaults ([#3806](https://github.com/hey-api/openapi-ts/pull/3806)) |
| 40 | + |
| 41 | +### Changed Ky client behavior |
| 42 | + |
| 43 | +The Ky client was updated to be more intuitive. Some Ky options now need to be passed via the `kyOptions` field and you need to pass `undefined` to unset an option. |
| 44 | + |
| 45 | +#### @hey-api/client-next |
| 46 | + |
| 47 | +- **⚠️ Breaking:** `request` and `response` objects might be undefined ([#3814](https://github.com/hey-api/openapi-ts/pull/3814)) |
| 48 | +- **⚠️ Breaking:** pass previous result to error interceptors ([#3814](https://github.com/hey-api/openapi-ts/pull/3814)) |
| 49 | +- **⚠️ Breaking:** respect `throwOnError` when request validation fails ([#3814](https://github.com/hey-api/openapi-ts/pull/3814)) |
| 50 | + |
| 51 | +#### @hey-api/client-ofetch |
| 52 | + |
| 53 | +- **⚠️ Breaking:** `request` and `response` objects might be undefined ([#3814](https://github.com/hey-api/openapi-ts/pull/3814)) |
| 54 | +- **⚠️ Breaking:** respect `throwOnError` when request validation fails ([#3814](https://github.com/hey-api/openapi-ts/pull/3814)) |
| 55 | + |
| 56 | +#### @tanstack/angular-query-experimental |
| 57 | + |
| 58 | +- add `setQueryData` option ([#3824](https://github.com/hey-api/openapi-ts/pull/3824)) |
| 59 | + |
| 60 | +#### @tanstack/preact-query |
| 61 | + |
| 62 | +- add `useSetQueryData` option ([#3824](https://github.com/hey-api/openapi-ts/pull/3824)) |
| 63 | +- add `setQueryData` option ([#3824](https://github.com/hey-api/openapi-ts/pull/3824)) |
| 64 | + |
| 65 | +#### @tanstack/react-query |
| 66 | + |
| 67 | +- add `useSetQueryData` option ([#3824](https://github.com/hey-api/openapi-ts/pull/3824)) |
| 68 | +- add `setQueryData` option ([#3824](https://github.com/hey-api/openapi-ts/pull/3824)) |
| 69 | + |
| 70 | +#### @tanstack/solid-query |
| 71 | + |
| 72 | +- add `setQueryData` option ([#3824](https://github.com/hey-api/openapi-ts/pull/3824)) |
| 73 | + |
| 74 | +#### @tanstack/svelte-query |
| 75 | + |
| 76 | +- add `setQueryData` option ([#3824](https://github.com/hey-api/openapi-ts/pull/3824)) |
| 77 | + |
| 78 | +#### @tanstack/vue-query |
| 79 | + |
| 80 | +- add `setQueryData` option ([#3824](https://github.com/hey-api/openapi-ts/pull/3824)) |
| 81 | + |
| 82 | +#### zod |
| 83 | + |
| 84 | +- fallback `.discriminatedUnion` to `.union` if members contain intersection ([#3813](https://github.com/hey-api/openapi-ts/pull/3813)) |
| 85 | + |
| 86 | +--- |
| 87 | + |
| 88 | +## @hey-api/codegen-core 0.8.1 |
| 89 | + |
| 90 | +### Updates |
| 91 | + |
| 92 | +- planner: speed up identifier conflict detector ([#3823](https://github.com/hey-api/openapi-ts/pull/3823)) |
| 93 | +- symbol: speed up symbol registry cache ([#3823](https://github.com/hey-api/openapi-ts/pull/3823)) |
| 94 | + |
| 95 | +--- |
| 96 | + |
| 97 | +## @hey-api/shared 0.4.2 |
| 98 | + |
| 99 | +### Updates |
| 100 | + |
| 101 | +- graph: speed up graph builder ([#3823](https://github.com/hey-api/openapi-ts/pull/3823)) |
| 102 | +- utils: speed up deep equality check ([#3823](https://github.com/hey-api/openapi-ts/pull/3823)) |
| 103 | + |
| 104 | +--- |
| 105 | + |
3 | 106 | # 2026-04-20 |
4 | 107 |
|
5 | 108 | ## @hey-api/openapi-ts 0.96.1 |
|
0 commit comments