Releases: orval-labs/orval
Releases · orval-labs/orval
Release 6.30.2
Release 6.30.1
Release 6.30.0
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
- add
input.filters.schemas
option (#1426) (bc21aad) - add new client
fetch
(#1353) (d1cf87f) - msw: split polymorphic mocks into its own functions (#1365) (ddf7964)
- msw: take string pattern property into account when generating mocks (#1398) (e32d4ec)
- release-it: update (bd9c16c)
- use better regex for route parameters (#1393) (ba24407)
Release 6.29.1
Release 6.29.0
6.29.0 (2024-05-17)
Bug Fixes
- allow making second axios, etc., param
required
instead ofoptional
(#1357) (b13dbb3) - allow to override only root mock (#1338) (dc18a87)
- correct import for anyof enums (#1371) (d3ddbdd)
- fix type of filters.tags, add regexp to docs (#1369) (50a7ad7)
- format to index of
hono
(#1368) (5581edf) - handle OpenAPI 3.1 nullability for mocks (#1381) (efc4c35)
- hono: remove handler fix (692f749)
- hono: validator return parsed value (#1339) (6d41605)
- msw: make delay optional (#1360) (393a6d8)
- msw: make sure to early out when detecting loop in additionalproperties (#1362) (4536f34)
- path to file url (#1372) (a61d26a)
- unstable reference (Issue 1359) (#1374) (f7db4ca)
- valid syntax when anyOf is present on querystring (#1341) (41f6612)
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
Release 6.28.1
Release 6.28.0
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 withmock
option (#1328) (25a5e39) - swr: strongly type args in swr mutation fetchers (#1324) (7feae35)
- zod: handle schema type array correctly (#1311) (b1d66dc)