Skip to content

Releases: orval-labs/orval

Release 6.22.1

06 Dec 18:14
Compare
Choose a tag to compare

6.22.1 (2023-12-06)

Bug Fixes

  • query: mutation dont force to pass a paramater to mutate function (e03b0ad)

Release 6.22.0

06 Dec 12:09
Compare
Choose a tag to compare

6.22.0 (2023-12-06)

Bug Fixes

Features

Release 6.21.0

28 Nov 10:22
Compare
Choose a tag to compare

6.21.0 (2023-11-28)

Bug Fixes

  • accounted for properties with the same name (#1042) (1c7d4d9)
  • axios: ignore commented out lines (#1031) (4430193)
  • core: getters body sanitize implementation (#1048) (b712ffe)
  • enable multiple properties of array consts (#1051) (3ee382b)
  • improve isurl regex (#1032) (30ba2a2)
  • mock: amended http response types for typescript plain text compatibility (06fd568)
  • mock: infinite loop due to circular ref into arrays or allOf (2dfea42)
  • msw: faker object keys no longer in quotes (#1034) (27104e0)
  • query: better body definition regex (#1047) (1000e2d)
  • query: fix pageParam for useInfiniteQuery (#947) (685edcd)
  • return yarn.lock back for the docs (6f431ec)
  • revert back to manual type specification for passing type checks (2bd83fb)
  • schemas: detect duplicate schema names and throw (#876) (6627402)
  • uppercase method verbs (#1044) (fa12e9c)
  • use require_tld instead of regex (#920) (15835b7)
  • zod: array min max issues (#1052) (5b29452)
  • zod: proper date handling (#1050) (67856c2)

Features

  • add optional configuration parameter to generate native Typescript enums (#1058) (76efc85)
  • mock: moved msw folder to 'mock' to account for future work with other mocking solutions (4f9003b)

Release 6.20.0

09 Nov 09:00
Compare
Choose a tag to compare

6.20.0 (2023-11-09)

Bug Fixes

Features

Release 6.19.1

24 Oct 08:02
Compare
Choose a tag to compare

6.19.1 (2023-10-24)

Bug Fixes

Release 6.19.0

19 Oct 11:52
Compare
Choose a tag to compare

6.19.0 (2023-10-19)

Bug Fixes

  • core: fix ref import file (#955) (69280a3)
  • make order of imports and object properties deterministic (#965) (a4cca88)
  • useNamedParameters: use operationName instead of operationId (#953) (8a458ca)

Features

  • msw: allow regex for entire paths instead of only property names (#957) (9a4ce8f)
  • orval: allow custom baseUrl for each OpenAPI specification (#968) (8a12c3d)
  • react-query: add option to generate suspense query (83e567b)

Performance Improvements

  • utils: caches pascal function generated strings (#962) (1899009)

Release 6.18.1

01 Oct 15:24
Compare
Choose a tag to compare

6.18.1 (2023-10-01)

Bug Fixes

  • workspace: add correctly the index file (703814c)

Release 6.18.0

01 Oct 15:24
Compare
Choose a tag to compare

6.18.0 (2023-10-01)

Bug Fixes

Features

  • core: include originalOperation in VerbOptions (#923) (7ea9b85)
  • core: option to disable creating index files (#915) (b3db343)
  • core: throw on errors (#898) (b9cf531)
  • faker: update and remove deprecated (f1b8ff8)
  • msw: allow mock delay override via function (#945) (993d227)
  • namedParameters: Add global named parameters option (#914) (663cafa)
  • query: add compatibility with version 5 (507e604)
  • zod: support array min/max items (#908) (0296a82)

Performance Improvements

Release 6.17.0

08 Jul 09:56
Compare
Choose a tag to compare

6.17.0 (2023-07-08)

Bug Fixes

  • core: recursively handle nested refs (#875) (3e46854)
  • core: use default response object as success/error response (#877) (f16537f)

Features

  • packages: add regex option to filter generated endpoints (#835) (ece8051)

Release 6.16.0

23 May 11:08
Compare
Choose a tag to compare

6.16.0 (2023-05-23)

Bug Fixes

  • core: file parsing handling esnext correctly (d415077)

Features

  • query: add useMutation options (2b2e2b7)
  • zod: add nullable & nullish to output (#856) (4e73c03)