Releases: orval-labs/orval
Releases ยท orval-labs/orval
Release v8.4.0
What's Changed
- fix(angular): do not use/expose deepnonnullable by @the-ult in #2941
- fix(msw): mock generation bugs by @the-ult in #2939
- fix(react-query): correctly type pre 5.14 and post 5.89 onSuccess by @AllieJonsson in #2946
- feat(core,query,zod,mock): resolve actual installed package versions for feature gating by @ScriptType in #2948
- fix(angular): angular-codegen typing issues for Zod imports, params handling, and response schemas by @the-ult in #2938
- feat(angular): add Angular 21 support in workspace catalogs by @the-ult in #2953
- feat(query): add support for invalidating queries in other files by @AllieJonsson in #2954
- chore(deps): Axios and ModelContext SDK updates by @melloware in #2957
- chore(deps): bump jsonpath from 1.1.1 to 1.2.1 by @dependabot[bot] in #2956
- chore(deps): bump markdown-it from 14.1.0 to 14.1.1 by @dependabot[bot] in #2958
- chore(deps): bump qs from 6.14.1 to 6.14.2 by @dependabot[bot] in #2959
- fix(mock): msw mixed json-xml responses by @the-ult in #2960
- feat(zod): add support for stringFormat by @AllieJonsson in #2965
- fix(core): handle $ref responses without content property by @tropnikov in #2967
- fix(zod): fix split-mode schema generation output by @the-ult in #2964
- docs: add x-enum-descriptions documentation to enums guide by @ashphy in #2968
- Release v8.4.0 by @github-actions[bot] in #2969
New Contributors
- @the-ult made their first contribution in #2941
- @tropnikov made their first contribution in #2967
- @ashphy made their first contribution in #2968
Full Changelog: v8.3.0...v8.4.0
Release v8.3.0
What's Changed
- fix(msw): propagate required fields in allOf schemas by @soartec-lab in #2894
- fix(msw): return null for circular references in required fields by @soartec-lab in #2895
- fix(mock): generate null instead of undefined for nullable with ref by @soartec-lab in #2896
- fix(core): hoist nested discriminator oneOf by @froggy1014 in #2897
- refactor(core): utilize remeda in assertion and add test codes by @froggy1014 in #2898
- chore(deps): bump @modelcontextprotocol/sdk from 1.25.2 to 1.25.3 by @dependabot[bot] in #2902
- chore(deps-dev): bump vue-tsc from 3.1.4 to 3.2.4 by @dependabot[bot] in #2901
- chore(deps-dev): bump @cloudflare/workers-types from 4.20260116.0 to 4.20260131.0 by @dependabot[bot] in #2899
- refactor: add content type filter function by @froggy1014 in #2907
- fix(core): normalize allOf schemas with inline objects (#2458) by @froggy1014 in #2908
- fix(zod): avoid trailing commas in additionalProperties consts by @alepek in #2911
- fix(core,query): skip Content-Type for multipart/form-data and pass FormData to Angular HttpClient by @ScriptType in #2918
- DRAFT: refactor(query): introduce FrameworkAdapter pattern, eliminate redundant flags by @ScriptType in #2919
- fix(solid-query): use use prefix >= 5.71.5 by @Huliiiiii in #2917
- chore: align local lint script with CI by excluding unready packages by @froggy1014 in #2922
- refactor: apply assertion in codebase by @froggy1014 in #2909
- feat: generate separate functions for each requestBody content-type by @froggy1014 in #2921
- chore: enable tsdown auto-generated package exports by @froggy1014 in #2924
- Generate llms.txt, llms-full.txt, and per-page .md files at build time by @anymaniax in #2925
- Fix/Feat (Query) invalidation spread skip by @ScriptType in #2926
- Feat(Query) Angular query zod runtime validation by @ScriptType in #2927
- fix(core,fetch): handle anyOf with null type in query parameters by @Neko1313 in #2932
- Fix(orval) improve @orval/orval code quality by @ScriptType in #2936
- fix: include fileExtension in cross-directory schema imports by @kaigritun in #2935
- feat(query): add reset queries option to invalidates by @AllieJonsson in #2940
- Fix(core) linting by @ScriptType in #2937
- Release v8.3.0 by @github-actions[bot] in #2942
New Contributors
- @alepek made their first contribution in #2911
- @Huliiiiii made their first contribution in #2917
- @Neko1313 made their first contribution in #2932
- @kaigritun made their first contribution in #2935
Full Changelog: v8.2.0...v8.3.0
Release v8.2.0
What's Changed
Important
CVE-2026-25141 fixed
- fix(svelte/vue): remove extra curly brace for pre v4 by @AllieJonsson in #2863
- docs(llms): add llms.txt build step by @froggy1014 in #2862
- docs: fix broken documentation links in README by @Zero-1016 in #2866
- fix(core): support contentMediaType for array items in multipart/form-data (#2864) by @superxiao in #2867
- fix: update GitHub security advisory URL by @jaem0629 in #2871
- fix(core): support contentMediaType in allOf/oneOf/anyOf for multipart/form-data (#2873) by @superxiao in #2874
- fix(axios): remove generic type parameter from generated axios functions by @soufDev in #2868
- fix: support OpenAPI 3.1 type arrays with $ref by @bostrom in #2875
- fix(core): dedupeUnionType only splits on top-level | #2880 by @superxiao in #2881
- fix(hono): fix
TS2345type error invalidator.tsby @soartec-lab in #2878 - fix(core): handle string literals in dedupeUnionType by @superxiao in #2883
- fix: remove unused axiosInstance parameter when using mutator by @jaem0629 in #2884
- fix(svelte): pass queryClient correctly to v6 mutations by @AllieJonsson in #2888
- CVE-2026-25141 fix(bug): jsStringEscape also escape JS comments
/*and*/by @melloware in #2882 - fix(core): guard against undefinedItem from JS string coercion by @superxiao in #2886
- chore(deps): bump hono from 4.11.4 to 4.11.7 by @dependabot[bot] in #2890
- Release v8.2.0 by @github-actions[bot] in #2893
New Contributors
- @Zero-1016 made their first contribution in #2866
- @jaem0629 made their first contribution in #2871
- @bostrom made their first contribution in #2875
Full Changelog: v8.1.0...v8.2.0
Release v7.21.0
What's Changed
- Release v7.21.0 by @github-actions[bot] in #2891
Important
CVE-2026-25141 fixed
CVE-2026-25141 Security Issue: #2882
Full Changelog: v7.20.0...v7.21.0
Release v8.1.0
What's Changed
- chore(deps): bump lodash from 4.17.21 to 4.17.23 by @dependabot[bot] in #2834
- chore(deps): bump diff from 4.0.2 to 4.0.4 by @dependabot[bot] in #2835
- fix(ci): fail publish when unsafe lifecycle scripts are present by @k14uz in #2836
- fix(core): restore oneOf enum const generation by @froggy1014 in #2805
- feat: add useNullForOptional option for JSON:API compatibility by @soufDev in #2838
- fix: avoid literal index signatures for propertyNames enum by @froggy1014 in #2844
- fix(core): merge schema index exports across runs by @johnnyelwailer in #2843
- fix(core): deduplicate union type members in generated code by @ophirbucai in #2853
- Fix overview following recent changes v8 by @Junhyunny in #2850
- chore: guard operationId type by @froggy1014 in #2854
- New Documentation by @anymaniax in #2856
- fix(svelte): don't use accessor for prefetch options by @AllieJonsson in #2859
- fix(core): support Bun and Yarn Berry catalogs in package.json by @Inv1x in #2855
- feat(axios): add factory pattern for HTTP client dependency injection by @FR073N in #2851
- fix: #2839 (TypeScript error with an optional parameter and optionsParamRequired: true) by @barrownicholas in #2857
- Release v8.1.0 by @github-actions[bot] in #2861
New Contributors
- @k14uz made their first contribution in #2836
- @soufDev made their first contribution in #2838
- @johnnyelwailer made their first contribution in #2843
- @Junhyunny made their first contribution in #2850
- @Inv1x made their first contribution in #2855
- @FR073N made their first contribution in #2851
Full Changelog: v8.0.3...v8.1.0
Release v8.0.3
What's Changed
- fix(core): wrap union types in parens when combined with allOf by @superxiao in #2800
- tests(svelte): add svelte-query v6 sample by @AllieJonsson in #2804
- feat(query): enable mutation invalidate for react query by @AllieJonsson in #2803
- fix(query): complete AbortSignal renaming for body params by @artnikbrothers in #2806
- fix: add null check to assertation by @prevuelta in #2809
- fix(core): preserve ./ prefix in operation schema import paths by @artnikbrothers in #2808
- Revert "Fix-schema-generation-impossible-combinations (#2689)" by @melloware in #2817
- feat(svelte-query): mutation reactivity, enable invalidates on svelte-query by @AllieJonsson in #2816
- [WIP] fix(core): use parameter name in formData for $ref schemas (#2814) by @superxiao in #2820
- fix(core): use schema name for formData when requestBody uses $ref (#2814) by @superxiao in #2825
- fix(query): keep path params required in queryKey functions by @ophirbucai in #2823
- fix(mock): CVE-2026-24132 escape mocked values by @melloware in #2828
- fix(builder): include file extension in dependency path for imports by @Neizan93 in #2827
- Release v8.0.3 by @github-actions[bot] in #2833
New Contributors
- @prevuelta made their first contribution in #2809
- @ophirbucai made their first contribution in #2823
- @Neizan93 made their first contribution in #2827
Full Changelog: v8.0.2...v8.0.3
Release v7.20.0
What's Changed
- fix(mock): CVE-2026-24132 escape mocked values by @melloware in #2829
- Release v7.20.0 by @github-actions[bot] in #2832
Full Changelog: v7.19.0...v7.20.0
Release v7.19.0
What's Changed
- fix(enum): CVE-2026-23947 x-enum values must be JS escaped by @ZipJo in #2818
- Release v7.19.0 by @github-actions[bot] in #2819
New Contributors
Full Changelog: v7.18.0...v7.19.0
Release v8.0.2
What's Changed
- chore (doc) update documentation for angular query by @ScriptType in #2784
- feat(core): add operationSchemas option for schema separation by @artnikbrothers in #2785
- fix(query): rename AbortSignal when API has param named 'signal' by @artnikbrothers in #2787
- fix(core): bidirectional imports for operationSchemas by @artnikbrothers in #2788
- docs: update dependencies by @snebjorn in #2790
- fix(bug): restore nullable for OpenAPI < 3.1 by @melloware in #2797
- docs: openapi 3.0 was not dropped by @snebjorn in #2766
- fix(enum): x-enum values must be JS escaped by @melloware in #2796
- Release v8.0.2 by @github-actions[bot] in #2798
New Contributors
- @artnikbrothers made their first contribution in #2785
Full Changelog: v8.0.1...v8.0.2
Release v8.0.1
What's Changed
- fix(core): apply type aliasing to multipart/form-data body types (#2747) by @superxiao in #2748
- fix: generate models for swagger 2.0 responses by @froggy1014 in #2754
- Switched SolidStart to Fetch API signature by @davedbase in #2750
- docs: added info on 3.0 openapi removal by @Georgegriff in #2756
- Fix (query) angular custom instance error by @ScriptType in #2758
- docs: update issue templates by @froggy1014 in #2759
- Fix (msw) resolve allOf base schemas even when base was seen in different branch by @ScriptType in #2760
- fix-(msw)-circular-error-in-ci-test by @ScriptType in #2761
- fix-(cli): exit with code 1 when project generation fails by @ScriptType in #2762
- Feat/fix (query) pass http client inside custom mutator by @ScriptType in #2764
- Feat (query) make inject query reactive by @ScriptType in #2767
- chore(deps-dev): bump wrangler from 4.47.0 to 4.59.2 by @dependabot[bot] in #2770
- chore(deps-dev): bump eslint-config-turbo from 2.7.1 to 2.7.4 by @dependabot[bot] in #2768
- chore(deps): bump typescript from 5.8.3 to 5.9.3 by @dependabot[bot] in #2771
- fix(mock): use slice() instead of split() for date mock types by @ScriptType in #2774
- chore(deps-dev): bump @vitejs/plugin-react from 5.1.0 to 5.1.2 by @dependabot[bot] in #2776
- chore(deps-dev): bump svelte from 5.43.8 to 5.46.4 by @dependabot[bot] in #2777
- chore(deps): bump execa from 9.6.0 to 9.6.1 by @dependabot[bot] in #2778
- chore(deps): bump vue from 3.5.22 to 3.5.26 by @dependabot[bot] in #2780
- chore(deps-dev): bump @cloudflare/workers-types from 4.20251117.0 to 4.20260116.0 by @dependabot[bot] in #2779
- chore(deps-dev): bump eslint-config-next from 14.2.32 to 16.1.2 by @dependabot[bot] in #2773
- chore(deps-dev): bump @testing-library/angular from 16.0.0 to 19.0.0 by @dependabot[bot] in #2769
- chore(deps): bump @tanstack/vue-query from 5.92.5 to 5.92.7 by @dependabot[bot] in #2781
- Release v8.0.1 by @github-actions[bot] in #2782
Full Changelog: v8.0.0...v8.0.1