Releases: orval-labs/orval
Release v7.17.0
What's Changed
- Fix useSWRInfinite pagination and header support (v7) by @tk1024 in #2586
- Release v7.17.0 by @github-actions[bot] in #2588
Full Changelog: v7.16.1...v7.17.0
Release v7.16.1
What's Changed
- Release v7.16.1 by @github-actions[bot] in #2582
Important
Security fix for js-yaml 4.1.1
Full Changelog: v7.16.0...v7.16.1
Release v8.0.0-rc.2
What's Changed
Important
MAJOR BREAKING CHANGES
See Migration Guide: https://orval.dev/guides/migration-v8
- Updated docs project by @snebjorn in #2463
- Convert to ESM by @snebjorn in #2460
- docs: a very crude fix to make the docs build in typescript by @snebjorn in #2475
- docs: update to show ESM usage by @snebjorn in #2476
- chore: updated vitest from v3.2.4 to v4.0.3 by @snebjorn in #2477
- feat: change
httpClientdefault value fromaxiostofetch(BREAKING CHANGE) by @soartec-lab in #2480 - feat: remove
override.fetch.explodeoption (BREAKING CHANGE) by @soartec-lab in #2481 - feat: change mock delay default from 1000 to false (BREAKING CHANGE) by @soartec-lab in #2482
- feat: remove override.coerceTypes option (BREAKING CHANGE) by @soartec-lab in #2484
- feat: remove override.useNativeEnums option (BREAKING CHANGE) by @soartec-lab in #2485
- docs: add
Angularto usingparamsSerializerOptionsclients by @soartec-lab in #2486 - chore: drop
Tanstack Queryv3 compatibility (BREAKING CHANGE) by @soartec-lab in #2487 - docs: v8 migration guide by @soartec-lab in #2479
- Release v8.0.0-rc.0 by @github-actions[bot] in #2490
- ci: re-enabled outdated sample check by @snebjorn in #2497
- chore: upgrade lib from es2023 to esnext, allows for modern js api usage by @snebjorn in #2496
- chore: replaces lodash with remeda by @snebjorn in #2499
- fix(zod): handle falsy default values in schema generation by @sentik in #2501
- Features/2182 zod exclusive by @sentik in #2500
- Fix TypeScript type error for arrays with enum and default values (#2427) by @sentik in #2498
- fix(zod): handle allOf schemas with additional properties by @sentik in #2492
- Features/2196 enum property names by @sentik in #2503
- fix(docs): playground move generate api to next 15 by @melloware in #2506
- fix(docs): revert playground move generate api to next 15 (#2506) by @melloware in #2507
- feat: allow mts config file extension by @Tucker-Eric in #2509
- chore(revert): revert drop
Tanstack Queryv3 compatibility by @melloware in #2513 - Support ES Module import in config file by @Noyabronok in #2510
- Release v8.0.0-rc.1 by @github-actions[bot] in #2516
- chore: make changes to satisfy eslint rules by @snebjorn in #2517
- chore(deps): bump @modelcontextprotocol/sdk from 1.20.1 to 1.20.2 by @dependabot[bot] in #2524
- chore(deps-dev): bump jsdom from 27.0.1 to 27.1.0 by @dependabot[bot] in #2523
- chore(deps-dev): bump lint-staged from 16.2.5 to 16.2.6 by @dependabot[bot] in #2521
- chore(deps): bump @angular/router from 20.3.0 to 20.3.9 by @dependabot[bot] in #2522
- chore(deps): bump axios from 1.12.2 to 1.13.1 by @dependabot[bot] in #2526
- chore(deps): bump @angular/platform-browser from 20.3.0 to 20.3.9 by @dependabot[bot] in #2527
- Revert "chore(deps): bump @angular/platform-browser from 20.3.0 to 20.3.9" by @melloware in #2533
- chore(deps-dev): bump vitest from 4.0.3 to 4.0.6 by @dependabot[bot] in #2528
- chore(deps): bump @tanstack/vue-query from 5.90.5 to 5.90.6 by @dependabot[bot] in #2534
- chore(deps-dev): bump turbo from 2.5.8 to 2.6.0 by @dependabot[bot] in #2532
- chore(deps-dev): bump svelte from 5.39.7 to 5.43.2 by @dependabot[bot] in #2530
- chore(deps-dev): bump @vitejs/plugin-react from 5.0.4 to 5.1.0 by @dependabot[bot] in #2531
- Bugs/2520 zod strict with all of by @sentik in #2536
- Bugs/2511 duplicate nullable schema names by @sentik in #2537
- fix(cli): --watch accepts multiple paths again by @snebjorn in #2542
- chore: updated yarn and switched some packages to catalogs by @snebjorn in #2545
- fix(fetch): fixed issue where override.requestOptions and headers wer… by @chcederquist in #2548
- chore: update non-breaking dependencies by @snebjorn in #2549
- chore: update tsdown to 0.16.4 by @snebjorn in #2547
- Release v8.0.0-rc.2 by @github-actions[bot] in #2551
New Contributors
- @sentik made their first contribution in #2501
- @Tucker-Eric made their first contribution in #2509
Full Changelog: v7.15.0...v8.0.0-rc.2
Release v7.16.0
What's Changed
- Process config file with jiti - v7 by @Noyabronok in #2518
- Release v7.16.0 by @github-actions[bot] in #2519
Full Changelog: v7.15.0...v7.16.0
Release v8.0.0-rc.1
What's Changed
Important
MAJOR BREAKING CHANGES
See Migration Guide: https://orval.dev/guides/migration-v8
- Updated docs project by @snebjorn in #2463
- Convert to ESM by @snebjorn in #2460
- docs: a very crude fix to make the docs build in typescript by @snebjorn in #2475
- docs: update to show ESM usage by @snebjorn in #2476
- chore: updated vitest from v3.2.4 to v4.0.3 by @snebjorn in #2477
- feat: change
httpClientdefault value fromaxiostofetch(BREAKING CHANGE) by @soartec-lab in #2480 - feat: remove
override.fetch.explodeoption (BREAKING CHANGE) by @soartec-lab in #2481 - feat: change mock delay default from 1000 to false (BREAKING CHANGE) by @soartec-lab in #2482
- feat: remove override.coerceTypes option (BREAKING CHANGE) by @soartec-lab in #2484
- feat: remove override.useNativeEnums option (BREAKING CHANGE) by @soartec-lab in #2485
- docs: add
Angularto usingparamsSerializerOptionsclients by @soartec-lab in #2486 - docs: v8 migration guide by @soartec-lab in #2479
- Release v8.0.0-rc.0 by @github-actions[bot] in #2490
- ci: re-enabled outdated sample check by @snebjorn in #2497
- chore: upgrade lib from es2023 to esnext, allows for modern js api usage by @snebjorn in #2496
- chore: replaces lodash with remeda by @snebjorn in #2499
- fix(zod): handle falsy default values in schema generation by @sentik in #2501
- Features/2182 zod exclusive by @sentik in #2500
- Fix TypeScript type error for arrays with enum and default values (#2427) by @sentik in #2498
- fix(zod): handle allOf schemas with additional properties by @sentik in #2492
- Features/2196 enum property names by @sentik in #2503
- fix(docs): playground move generate api to next 15 by @melloware in #2506
- fix(docs): revert playground move generate api to next 15 (#2506) by @melloware in #2507
- feat: allow mts config file extension by @Tucker-Eric in #2509
- chore(revert): revert drop
Tanstack Queryv3 compatibility by @melloware in #2513 - Support ES Module import in config file by @Noyabronok in #2510
- Release v8.0.0-rc.1 by @github-actions[bot] in #2516
New Contributors
- @sentik made their first contribution in #2501
- @Tucker-Eric made their first contribution in #2509
- @Noyabronok made their first contribution in #2510
Full Changelog: v8.0.0-rc.0...v8.0.0-rc.1
Release v8.0.0-rc.0
What's Changed
Important
MAJOR BREAKING CHANGES
- Updated docs project by @snebjorn in #2463
- Convert to ESM by @snebjorn in #2460
- docs: a very crude fix to make the docs build in typescript by @snebjorn in #2475
- docs: update to show ESM usage by @snebjorn in #2476
- chore: updated vitest from v3.2.4 to v4.0.3 by @snebjorn in #2477
- feat: change
httpClientdefault value fromaxiostofetch(BREAKING CHANGE) by @soartec-lab in #2480 - feat: remove
override.fetch.explodeoption (BREAKING CHANGE) by @soartec-lab in #2481 - feat: change mock delay default from 1000 to false (BREAKING CHANGE) by @soartec-lab in #2482
- feat: remove override.coerceTypes option (BREAKING CHANGE) by @soartec-lab in #2484
- feat: remove override.useNativeEnums option (BREAKING CHANGE) by @soartec-lab in #2485
- docs: add
Angularto usingparamsSerializerOptionsclients by @soartec-lab in #2486 - chore: drop
Tanstack Queryv3 compatibility (BREAKING CHANGE) by @soartec-lab in #2487 - docs: v8 migration guide by @soartec-lab in #2479
- Release v8.0.0-rc.0 by @github-actions[bot] in #2490
Full Changelog: v7.15.0...v8.0.0-rc.0
Release v7.15.0
What's Changed
Important
Breaking change: Node 22.18.0 or higher is required
- chore(deps): bump actions/setup-node from 4 to 6 by @dependabot[bot] in #2453
- fix: generate prefetch hook for hook based mutator by @aizerin in #2456
- feat: option to generate query invalidations by @aizerin in #2457
- chore(deps): bump hono from 4.9.7 to 4.10.2 by @dependabot[bot] in #2462
- fix(hono): zValidator wrapper doesn't typecheck with 0.7.4 by @xandris in #2468
- fix(zod): add line breaks to export constants by @melloware in #2469
- fix(query): deduplicate error response types by @melloware in #2471
- fix(zod): fixed bug where zod did not correctly use namespace import by @chcederquist in #2472
- fix(axios): "responseType: text" incorrectly being added by @snebjorn in #2473
- Release v7.15.0 by @github-actions[bot] in #2474
New Contributors
Full Changelog: v7.14.0...v7.15.0
Release v7.14.0
Important
Breaking change: Node 22.18.0 or higher is required
What's Changed
- Breaking change: Node 22.18.0 or higher is required
- Skip version check when using a Bun/Pnpm workspace catalog by @xorob0 in #2434
- chore: removes the last require() usages by @snebjorn in #2435
- Fix typo for infinite by @JurianArie in #2437
- Docs: Update output.md by @gialmisi in #2438
- fix: don't mangle external URL $ref by @xandris in #2439
- fix(zod): consider path-level parameters when generating zod schemas by @xandris in #2440
- fix(useOperationIdAsQueryKey): make sure operationName is returned as string by @mortik in #2443
- fix(hono): zValidator not imported consistently by @xandris in #2444
- fix(zod): update type handling from 'any' to 'unknown' in schema definitions by @alexmarqs in #2445
- fix(hono): some configs generate wrong imports by @xandris in #2448
- Fix: Support OpenAPI 3.1 Multi-Type Arrays in Zod Generator by @rang-ali in #2447
- Release v7.14.0 by @github-actions[bot] in #2449
New Contributors
- @JurianArie made their first contribution in #2437
- @gialmisi made their first contribution in #2438
- @xandris made their first contribution in #2439
- @alexmarqs made their first contribution in #2445
- @rang-ali made their first contribution in #2447
- @github-actions[bot] made their first contribution in #2449
Full Changelog: v7.13.2...v7.14.0
Release v7.13.2
Release v7.13.1
What's Changed
Important
Breaking change: React Query now generates infinite query keys as a separate key
- fox(zod): add
multipleOfvalidation support for number schemas by @Armanio in #2406 - feat: allow tree-shaking using wildcard import by @chcederquist in #2408
- chore(deps): bump axios from 1.8.4 to 1.12.0 in /docs by @dependabot[bot] in #2414
- feat: add support for Svelte Query v6 compatibility by @jacokok in #2413
- fix: use dynamicImport function instead of native import for package.json loading by @MtBlue81 in #2412
- chore(deps): bump @hono/zod-validator from 0.7.2 to 0.7.3 by @dependabot[bot] in #2419
- chore(deps-dev): bump @angular/compiler-cli from 20.3.0 to 20.3.2 by @dependabot[bot] in #2416
- chore(deps-dev): bump tsd from 0.29.0 to 0.33.0 by @dependabot[bot] in #2415
- chore(deps-dev): bump jsdom from 23.2.0 to 27.0.0 by @dependabot[bot] in #2417
- chore(deps-dev): bump svelte from 3.59.2 to 5.39.7 by @dependabot[bot] in #2418
- feat(query): enhance React Query integration with per-type query key support by @Armanio in #2361
- chore(release): bump version to v7.13.1 by @melloware in #2425
New Contributors
Full Changelog: v7.13.0...v7.13.1