Releases: orval-labs/orval
Release v7.18.0
What's Changed
- Release v7.18.0 by @github-actions[bot] in #2718
Note
Fixes CVE regarding MCP Tool sanitization of input: #2699
Full Changelog: v7.17.2...v7.18.0
v8.0.0-rc.5
What's Changed
- feat(fetch): make
output.schemas.typeexclusive and removeoverride.fetch.useSchemaResponseby @soartec-lab in #2667 - Update dependencies by @snebjorn in #2670
- chore: lint fixes by @snebjorn in #2671
- fix(zod): fixed missing
oneOfand common property combinations forzodby @soartec-lab in #2672 - Feat(Query) Angular tanstack-query generator by @ScriptType in #2288
- fix(zod): fixed an issue where
oneOfwas missing additional properties by @soartec-lab in #2675 - fix(core): add main and types fields for moduleResolution node compat… by @ScriptType in #2673
- fix(angular-query): add missing InvalidateOptions import for Angular Query by @ScriptType in #2678
- feat: enabled
zodforschemas.typeon all clients by @soartec-lab in #2668 - fix(mock,angular): Different response types causes issues by @ScriptType in #2674
- Release v8.0.0-rc.5 by @github-actions[bot] in #2680
New Contributors
- @ScriptType made their first contribution in #2288
Full Changelog: v8.0.0-rc.4...v8.0.0-rc.5
Release v8.0.0-rc.4
What's Changed
- chore(deps): bump next from 16.0.0 to 16.0.7 in /docs by @dependabot[bot] in #2626
- chore(deps): bump next from 15.5.3 to 15.5.7 by @dependabot[bot] in #2627
- feat(parserOptions): add support for domain-specific headers in OpenA… by @slauzinho in #2632
- docs: add
honoandmcpto valid client values by @sakurai-ryo in #2638 - expand upon js api by @Logan-Dang in #2641
- docs: change sponsor to open collective by @soartec-lab in #2628
- fix(query): incorrect signal query option when httpClient fetch by @seung-juv in #2640
- feat(core):
output.schemasnow allows you to select zod as the schema type by @soartec-lab in #2644 - chore: upgrade docs deps for fix CVE-2025-55182 by @soartec-lab in #2645
- feat: add OAS 3.1 contentMediaType and encoding.contentType support by @superxiao in #2643
- Release v8.0.0-rc.4 by @github-actions[bot] in #2646
- feat(fetch):
zodschema type Inference forfetchclient by @soartec-lab in #2649 - chore(deps): bump actions/cache from 4 to 5 by @dependabot[bot] in #2648
- chore(deps): bump peter-evans/create-pull-request from 7 to 8 by @dependabot[bot] in #2647
- feat(fetch): add runtime validation support with zod schemas by @soartec-lab in #2651
- Add support for wildcard response status codes by @Turbo87 in #2652
- inline combined types by default, add
useCombinedTypeAliasesopt-out by @superxiao in #2654 - fix(2629): Fix Zod conversion when the default value contains a line … by @sbaechler in #2653
- add aliasCombinedTypes documentation and rename option by @superxiao in #2657
- fix(swr): handle various response types in useSWRInfinite pagination termination (#2584) by @tk1024 in #2659
- fix(core): replace
camelwithconventionNamein writers to follow consistent naming conventions by @Azuky in #2658 - test(core): add wildcard content type tests and response coverage by @superxiao in #2662
- feat: generate zod schema even with params type by @soartec-lab in #2660
- feat(fetch,zod,hono,mcp): changed naming convention of
zodschema name topascal-caseby @soartec-lab in #2661 - Release v8.0.0-rc.4 by @github-actions[bot] in #2666
New Contributors
- @slauzinho made their first contribution in #2632
- @sakurai-ryo made their first contribution in #2638
- @Logan-Dang made their first contribution in #2641
- @superxiao made their first contribution in #2643
- @Turbo87 made their first contribution in #2652
- @sbaechler made their first contribution in #2653
- @Azuky made their first contribution in #2658
Full Changelog: v8.0.0-rc.3...v8.0.0-rc.4
Release v7.17.2
What's Changed
- fix(core): replace camel with conventionName in writers to follow consistent naming conventions #2253
Full Changelog: v7.17.0...v7.17.2
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