Releases: orval-labs/orval
Releases · orval-labs/orval
Release v8.0.0-rc.3
What's Changed
- chore: minor type improvements by @snebjorn in #2557
- chore(deps): bump js-yaml from 4.1.0 to 4.1.1 by @dependabot[bot] in #2560
- docs: fix configuration key reference from mode to client in guides by @diogosilva95 in #2563
- docs: improve guide for migration to v8 by @soartec-lab in #2564
- chore(deps-dev): bump wrangler from 3.114.14 to 4.47.0 by @dependabot[bot] in #2565
- chore(deps-dev): bump vue-tsc from 3.1.1 to 3.1.4 by @dependabot[bot] in #2566
- chore(deps): bump globby from 15.0.0 to 16.0.0 by @dependabot[bot] in #2567
- chore(deps-dev): bump @tsconfig/svelte from 5.0.5 to 5.0.6 by @dependabot[bot] in #2573
- chore(deps-dev): bump svelte from 5.43.2 to 5.43.8 by @dependabot[bot] in #2571
- chore(deps-dev): bump vite from 7.1.12 to 7.2.2 by @dependabot[bot] in #2568
- chore(deps-dev): bump @cloudflare/workers-types from 4.20250913.0 to 4.20251117.0 by @dependabot[bot] in #2570
- fix(core/zod):
nullableignored when combined with$refin schema property by @soartec-lab in #2575 - fix: msw lazy delay by @Noyabronok in #2576
- chore: fix
dereferencemethods naming by @giuliobracci in #2578 - docs: modernize Axios examples to remove deprecated CancelToken by @takahiro-1227 in #2579
- Fix useSWRInfinite pagination and header support (v8/master) by @tk1024 in #2587
- chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #2585
- fix(query): duplicate invalidate function name (#2592) by @seung-juv in #2593
- fix(msw):
nullableignored when combined with$refinmswproperty by @soartec-lab in #2597 - feat(fetch): support variable expansion in
override.requestOptions.headersoffetchclient by @soartec-lab in #2605 - chore(deps-dev): bump @vue/compiler-sfc from 3.5.22 to 3.5.25 by @dependabot[bot] in #2600
- chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.46.4 to 8.48.0 by @dependabot[bot] in #2602
- fix(query): include path params info query key when
useOperationIdAsQueryKeyenabled by @Armanio in #2595 - zod: string escape and enum by @Totorro35 in #2607
- fix(core): topologically sort schema declarations by dependencies by @webjunkie in #2608
- chore(deps): bump node-forge from 1.3.1 to 1.3.2 by @dependabot[bot] in #2609
- chore(deps): bump js-yaml from 3.14.1 to 4.1.1 by @dependabot[bot] in #2611
- chore(deps): bump glob from 10.4.5 to 10.5.0 in /docs by @dependabot[bot] in #2610
- chore(deps): bump express from 4.21.2 to 4.22.0 by @dependabot[bot] in #2612
- chore(deps): bump @angular/common from 20.3.0 to 20.3.15 by @dependabot[bot] in #2613
- chore(deps): bump @angular/compiler from 20.3.0 to 20.3.15 by @dependabot[bot] in #2619
- chore(deps): bump validator from 13.15.15 to 13.15.23 in /docs by @dependabot[bot] in #2620
- chore(deps): bump validator from 13.15.15 to 13.15.23 by @dependabot[bot] in #2621
- chore(deps): bump mdast-util-to-hast from 13.2.0 to 13.2.1 in /docs by @dependabot[bot] in #2622
- chore(deps): bump @modelcontextprotocol/sdk from 1.20.2 to 1.24.0 by @dependabot[bot] in #2623
- #2616 fix(fetch): Fix client generation when params contain dates but exploded params do not. by @jlillywhite in #2617
- Upgrade openapi to 3.1 by @snebjorn in #2614
- Release v8.0.0-rc.3 by @github-actions[bot] in #2625
New Contributors
- @diogosilva95 made their first contribution in #2563
- @giuliobracci made their first contribution in #2578
- @takahiro-1227 made their first contribution in #2579
- @seung-juv made their first contribution in #2593
- @Totorro35 made their first contribution in #2607
- @webjunkie made their first contribution in #2608
- @jlillywhite made their first contribution in #2617
Full Changelog: v8.0.0-rc.2...v8.0.0-rc.3
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