Releases: orval-labs/orval
Releases · orval-labs/orval
Release 6.22.1
Release 6.22.0
6.22.0 (2023-12-06)
Bug Fixes
- add tests for types (da00f2b)
- do not use TVariables (#1085) (9ea4df5)
- enum string escape can be nullable (#1081) (ceb18bf)
- freeze problem when $ref is deeply nested (#1083) (e7f2e5d)
- generators: formdata handling oneof and allof (#1091) (bb240ef)
- path parameters are not encoded #679 (df2d4ba)(b361cb9)
- query: enabled reactivity fix (new) (#1080) (e1eff52)
- query: suspense query generation (#1100) (36d622b), closes #1098
- add urlEncodeParameters options (ff2b7d3)
- add allParamsOptional options
- uppercase verbs (2077ded)
Features
Release 6.21.0
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
Release 6.20.0
6.20.0 (2023-11-09)
Bug Fixes
- core: added undefined check for pascal util (#1025) (e7dc399)
- core: inconsistent kebab casing comparison (#937) (88dd4ff)
- core: remove unnecessary empty item in case of null-only enum or empty enum (#1022) (#1023) (f6f2d42)
- strict mode nullable enum typing (#1010) (13d3249)
- yarn warnings (#1012) (610901a)
Features
- changed cuids in MSW to dynamic faker strings to prevent file c… (#980) (c1949f4)
- disable minification (#1004) (f2ea420)
- faker: update deprecated faker methods (#978) (e74377e)
- faker: update deprecated methods (#1000) (c357c13)
- initial CONTRIBUTING.md draft (#958) (0c07089)
- msw: support using OpenAPI example/examples fields as MSW values (#963) (c19e35c)
- query: add prefetch functions (#956) (313c8b0)
- security: upgrade dependencies for security CVE's (#1003) (8b508a3)
- support params serializer (#999) (219d97b)
- upgraded msw to 2.0 (#1007) (cc3e72a)
Release 6.19.1
Release 6.19.0
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
Release 6.18.1
Release 6.18.0
6.18.0 (2023-10-01)
Bug Fixes
- correct
jsStringEscape
import (#921) (4285634) - filter null from enum values (#928) (0860340)
- page: replaced VerbOptions's link (#929) (9fe0772)
- zod client crash when schema has circular ref (#901) (6439bbd)
- zod: better handling for arrays, dates, min (#902) (79f6847)
- zod: regex string escaping (#909) (c4c9f1c)
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)