···6677### Updated `output` options
8899-We made the `output` configuration more consistent by using `null` to represent disabled options. This change does not affect boolean options.
99+We made the `output` configuration more consistent by using `null` to represent disabled options. [This change](https://heyapi.dev/openapi-ts/migrating#updated-output-options) does not affect boolean options.
10101111```js
1212export default {
+41
.changeset/refactor-pinia-colada-query.md
···77### Updated Pinia Colada query options
8899Pinia Colada query options now use `defineQueryOptions` to improve reactivity support. Instead of calling the query options function, you can use one of the [following approaches](https://heyapi.dev/openapi-ts/migrating#updated-pinia-colada-query-options).
1010+1111+#### No params
1212+1313+```ts
1414+useQuery(getPetsQuery);
1515+```
1616+1717+#### Constant
1818+1919+```ts
2020+useQuery(getPetByIdQuery, () => ({
2121+ path: {
2222+ petId: 1,
2323+ },
2424+}));
2525+```
2626+2727+#### Reactive
2828+2929+```ts
3030+const petId = ref<number | null>(1);
3131+3232+useQuery(getPetByIdQuery, () => ({
3333+ path: {
3434+ petId: petId.value,
3535+ },
3636+}));
3737+```
3838+3939+#### Properties
4040+4141+```ts
4242+const petId = ref<number | null>(1);
4343+4444+useQuery(() => ({
4545+ ...getPetByIdQuery({
4646+ path: { petId: petId.value as number },
4747+ }),
4848+ enabled: () => petId.value != null,
4949+}));
5050+```
+17-16
packages/openapi-ts/CHANGELOG.md
···62626363- fix(parser): bump support for OpenAPI 3.1.2 ([#2667](https://github.com/hey-api/openapi-ts/pull/2667)) ([`3511fb8`](https://github.com/hey-api/openapi-ts/commit/3511fb88cbe6b767b631af16336cb6c0722c3ff8)) by [@mrlubos](https://github.com/mrlubos)
64646565-- fix(config): add `output.fileName` option
6565+- fix(config): add `output.fileName` option ([#2664](https://github.com/hey-api/openapi-ts/pull/2664)) ([`e1ede9c`](https://github.com/hey-api/openapi-ts/commit/e1ede9cabf52b5bbcb9195570deff58db8f43dbb)) by [@mrlubos](https://github.com/mrlubos)
66666767## File Name
6868···80808181By default, we append every file name with a `.gen` suffix to highlight it's automatically generated. You can customize or disable this suffix using the `fileName.suffix` option.
82828383-````js
8383+```js
8484export default {
8585 input: 'hey-api/backend', // sign up at app.heyapi.dev
8686 output: {
···9090 path: 'src/client',
9191 },
9292};
9393-``` ([#2664](https://github.com/hey-api/openapi-ts/pull/2664)) ([`e1ede9c`](https://github.com/hey-api/openapi-ts/commit/e1ede9cabf52b5bbcb9195570deff58db8f43dbb)) by [@mrlubos](https://github.com/mrlubos)
9393+```
94949595- fix(axios): remove duplicate `baseURL` when using relative values ([#2624](https://github.com/hey-api/openapi-ts/pull/2624)) ([`8ffceec`](https://github.com/hey-api/openapi-ts/commit/8ffceec89fe471d4e14df17a172f3d5a254eb819)) by [@Ben-Pfirsich](https://github.com/Ben-Pfirsich)
9696+9697### Updated Dependencies:
9798 - @hey-api/codegen-core@0.2.0
9899···184185185186- [#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
186187187187- ### Added Hooks API
188188+### Added Hooks API
188189189189- 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.
190190+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.
190191191191- ```js
192192- export default {
193193- input: 'hey-api/backend', // sign up at app.heyapi.dev
194194- output: 'src/client',
195195- parser: {
196196- hooks: {
197197- operations: {
198198- isQuery: (op) => (op.method === 'post' ? true : undefined),
199199- },
192192+```js
193193+export default {
194194+ input: 'hey-api/backend', // sign up at app.heyapi.dev
195195+ output: 'src/client',
196196+ parser: {
197197+ hooks: {
198198+ operations: {
199199+ isQuery: (op) => (op.method === 'post' ? true : undefined),
200200 },
201201 },
202202- };
203203-````
202202+ },
203203+};
204204+```
204205205206### Patch Changes
206207