Skip to content

Releases: orval-labs/orval

Release 6.30.1

07 Jun 15:24
Compare
Choose a tag to compare

6.30.1 (2024-06-07)

Bug Fixes

  • core: verboptions revert deep merge operations and tags (f49e706)
  • query: properly merge options by operation and tag (27080ea)

Release 6.30.0

07 Jun 15:22
Compare
Choose a tag to compare

6.30.0 (2024-06-07)

Bug Fixes

  • allow async overrideResponse to be passed to msw handler (issue #1389) (#1390) (c799462)
  • correct-enum-handling (#1386) (d5574cd)
  • msw: also split allof objects (#1442) (e3e680f)
  • msw: correctly generate integer enum mocks (#1437) (ce95b68)
  • msw: fix response http status code in handler function (#1400) (a7e6a18)
  • msw: if no success response apply a default 200 status (e236c5e)
  • msw: make sure method is async even when delay=false (#1440) (991ac17)
  • override: add deep merge with operations and tag options (#1397) (ce27a26)
  • swr: correct second mutator parameter when using custom mutator (#1412) (1624e6a)
  • take optional request body into account when creating form data (#1416) (9c44e9e)
  • VueJS infinite query parameters reactivity when hasInfiniteQueryParam (#1379) (c1adaf7)
  • zod: all http responses can now be generated (#1429) (d27a5a3)
  • zod: date format now respects useDates override (#1406) (36ebf4f)

Features

Release 6.29.1

17 May 14:33
Compare
Choose a tag to compare

6.29.1 (2024-05-17)

Bug Fixes

  • hono: correctly check response validator application/json (43766c8)

Release 6.29.0

17 May 14:13
Compare
Choose a tag to compare

6.29.0 (2024-05-17)

Bug Fixes

Features

  • 'suppressReadonlyModifier' override option introduced (#1354) (86f2cf1)
  • allow override for mock handlers to be a function (#1375) (bc3d277)
  • hono: add async to handler (db7de2f)
  • hono: add validator option (770295f)

Reverts

Release 6.28.2

25 Apr 12:55
Compare
Choose a tag to compare

6.28.2 (2024-04-25)

Bug Fixes

  • zod: remove double strict (b311298)
  • zod: response and body parser array compatibility (0a03004)

Release 6.28.1

25 Apr 12:55
Compare
Choose a tag to compare

6.28.1 (2024-04-25)

Bug Fixes

  • zod: missing zod prefix (8df6df7)

Release 6.28.0

25 Apr 12:21
Compare
Choose a tag to compare

6.28.0 (2024-04-25)

Bug Fixes

  • accumulate discriminator mapping keys (#1305) (1cc9e01)
  • core: discriminator nullable property (7294c32)
  • hono: context add out type (39a1884)
  • hono: handle correctly response validation empty (48436f2)
  • mock/msw: override response if it's false as well (#1313) (b13df01)
  • msw: correctly mock nested objects (#1325) (d7fa66d)
  • MSW: fixed so that Function can be accepted with mock option (#1328) (25a5e39)
  • swr: strongly type args in swr mutation fetchers (#1324) (7feae35)
  • zod: handle schema type array correctly (#1311) (b1d66dc)

Features

  • added output.fileExtension option to possible specifying the extension for the generated file. (#1320) (913ac00)
  • core: add option to apply biome to generated files (#1321) (5f5dc17)
  • zod: add option coerce (#1310) (25267ae)

Release 6.27.1

11 Apr 15:03
Compare
Choose a tag to compare

6.27.1 (2024-04-11)

Bug Fixes

  • hono: missing import when operationId in pascal case (0794603)

Release 6.27.0

11 Apr 14:33
Compare
Choose a tag to compare

6.27.0 (2024-04-11)

Bug Fixes

  • hono: validator response and param correctly typed (6d002f5)
  • schema type integer (#1294) (9c11e7a)

Features

Release 6.26.0

01 Apr 11:08
Compare
Choose a tag to compare

6.26.0 (2024-04-01)

Bug Fixes

  • core/src/types.ts: operatations option mock data now supports array (#1283) (e990899)
  • core: distinguish the value when it is blank only in interface (#1228) (dfa076a)
  • core: improve NonReadonly type (#1237) (5b76e3b), closes #1236
  • core: NPE check in validator (#1238) (cf66f3f)
  • fixes #1253 removing resolver for `null` type (#1255) (b63ffe6)
  • msw: make sure to not try to include error type in mock implementation (#1274) (5fe09c3)
  • msw: mock blobs as blobs instead of strings (#1269) (54df332)
  • msw: return mock as array of enums if array is the correct type (#1272) (150f49e)
  • name param __ in case of no body arg (#1263) (77d10b4)
  • overridden non-GET queries not generating hooks (#1251) (05bb15b)
  • query: type return of useMutation query (#1215) (9c13f1f)
  • query: usePrefetch should only work for Query/Infinite types (#1235) (4fecbb2), closes #1234
  • request bodies should take required property into account (#1277) (661a6ad)
  • swr: error type is correct even when it's the same type as success type (#1276) (6e521b5)
  • swr: make sure to not include comma when not valid while generating swrMutationFetcher (#1271) (ee01104)
  • TypeError custom override (#1229) (4f95efb)
  • vue: update samples to v5 and fix type issue (#1268) (c9834b6)

Features

  • jsdoc block tags (#1231) (15e9033)
  • swr: add swrInfiniteOptions property to output.override.swr (#1245) (3ee6904)
  • swr: add swrMutationOptions property to output.override.swr (#1225) (d5ccc8c)
  • swr: remove output.orverride.swr.options property (#1246) (d94d15d)