Skip to content

Releases: orval-labs/orval

Release v7.13.1

05 Oct 12:11
cbfae65

Choose a tag to compare

What's Changed

Important

Breaking change: React Query now generates infinite query keys as a separate key

  • fox(zod): add multipleOf validation 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

Release 7.13.0

28 Sep 11:17

Choose a tag to compare

7.13.0 (2025-09-28)

v7.12.2

26 Sep 18:53

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.11.2...v7.12.0

Release 7.11.2

02 Aug 14:35

Choose a tag to compare

7.11.2 (2025-08-02)

Release 7.11.1

31 Jul 21:01

Choose a tag to compare

7.11.1 (2025-07-31)

  • fix: ensure import alias is only used when imports are needed (#2257) (9e3a06f), closes #2257

Release 7.11.0

31 Jul 20:10

Choose a tag to compare

7.11.0 (2025-07-31)

Release 7.10.0

12 Jun 09:16

Choose a tag to compare

7.10.0 (2025-06-12)

  • feat: allow defining min and max ranges for mocked numbers and strings (#2150) (d919f9f), closes #2150
  • feat: use multipleOf only if faker v9 is installed (#2142) (f64f202), closes #2142
  • feat: implemented string format compatible with zod v3 and v4 (#2061) (f36a7b8), closes #2061
  • feat(core): override JSDoc config to customize default documentation (#2084) (5b58b5e), closes #2084
  • feat(zod): revert #1907 to not use discriminatedUnion (#2118) (d068f68), closes #2118 #1907
  • feat(zod): add support for string format time (#2063) (c5d45fc), closes #2063
  • feat(zod): date and datetime conpatible with v4 (#2062) (0c6fd5a), closes #2062
  • feat(zod): in v4, use strictObject() instead of object().strict() (#2068) (027ded8), closes #2068
  • fix: use arrayMin and arrayMax as default values when minItems and maxItems are not defined (#2149) (72c21ca), closes #2149
  • fix: use faker.number.float when mocking numbers and int when mocking integers (#2141) (98e0add), closes #2141
  • fix: avoid to include read only properties to request with multipart/form-data (#2089) (#2144) (8ec7db2), closes #2089 #2144
  • fix: use multipleOf when mocking numbers (#2134) (ace4695), closes #2134
  • fix: use minItems and maxItems when mocking arrays (#2131) (55e36b6), closes #2131
  • fix: use minLength and maxLength when mocking strings if defined (#2130) (48738ee), closes #2130
  • fix: use override for text/plain response types (#2123) (44c8cf4), closes #2123
  • fix: falsy examples were ignored (#2110) (6914ccc), closes #2110
  • fix(core): an object member cannot be declared optional (#2111) (cecfb47), closes #2111
  • fix(core): Updated queryParamsProp with allParamsOptional check (#2094) (9650171), closes #2094
  • fix(core): add x-enum-descriptions support (#2072) (304cceb), closes #2072
  • fix(core): fix pnpm catalog detection (#2067) (c290493), closes #2067
  • fix(query): resolve UseInfiniteQueryOptions type error with TanStack Query v5.80.0+ (#2151) (725e6a6), closes #2151
  • fix(query): allow useInfinite without useQuery in operation overrides (#2097) (d2baa51), closes #2097
  • fix(query): override operation mutation and query conflict (#2079) (b1338c1), closes #2079
  • fix(docs): update GeneratorVerbOptions link in output configuration documentation (#2100) (23cb52e), closes #2100
  • fix(docs): update swagger-parser link in input configuration documentation (#2101) (e94e69b), closes #2101
  • fix(docs): update swagger-parser link in input configuration documentation (#2095) (7aca565), closes #2095
  • chore(release-it): upgrade (43cb955)
  • chore(test): for no content responses with a default response (#2104) (ba1db79), closes #2104
  • chore(deps-dev): bump @eslint/js from 9.25.1 to 9.28.0 (#2138) (7d160f7), closes #2138
  • chore(deps-dev): bump @commitlint/cli from 19.7.1 to 19.8.1 (#2136) (05a3a60), closes #2136
  • chore(deps-dev): bump eslint from 9.17.0 to 9.25.1 (#2077) (273a98a), closes #2077
  • chore(deps-dev): bump tsup from 8.2.4 to 8.4.0 (#2076) (2630b1a), closes #2076
  • chore(deps-dev): bump @eslint/js from 9.21.0 to 9.25.1 (#2074) (d8fcf82), closes #2074
  • chore(deps): bump fs-extra from 11.2.0 to 11.3.0 (#2075) (0966a55), closes #2075
  • chore(deps): Update docs to Orval 7.9.0 (#2064) (1918391), closes #2064
  • add pnpm instructions (#2105) (ab50b23), closes #2105
  • docs(samples): update (608f4f2)

Release 7.9.0

27 Apr 12:23

Choose a tag to compare

7.9.0 (2025-04-27)

Release 7.8.0

03 Apr 18:52

Choose a tag to compare

7.8.0 (2025-04-03)

Bug Fixes

  • core: correctly import custom error and body types (#1977) (82675a4)
  • fetch: add default response if none provided (#1982) (d566fe4)
  • msw: nested ref fixes (#1983) (4be4caa)
  • reintroduce fix for native enums (#1957) (3221aae)
  • upgrade axios to ^1.8.2 and fix tsx errors (#1976) (33a37b3), closes #1971
  • zod: always prioritize required definitions to determine optional() (#1985) (752a540)
  • zod: correct tuple function mapping (#2006) (9185b97)
  • zod: enum schema generation for various types (#1996) (8cfb83e)
  • zod: handle $ref property names in schemas correctly (#1999) (1881dfa)

Features

  • add optional queryClient argument (#1992) (456037c)
  • core: add support for more enumname extensions (#2005) (994cc86)
  • query: add optional queryClient argument to mutations when using TanStack v5 (#1993) (e106067)
  • zod: add output.orverride.zod.datetimeOptions option (#1984) (b4eca05)

Release 7.7.0

13 Mar 12:40

Choose a tag to compare

7.7.0 (2025-03-13)

Bug Fixes

  • await asyncReduce in generateSpecs (#1950) (6dd8501)
  • display correct amount of duplicate schemas (#1958) (52d4c6f)
  • generate type for empty property (#1949) (8815e6b)
  • query: correctly check arg numbers, add operation info, add docs (#1974) (329218a)

Features