Releases: orval-labs/orval
Releases · orval-labs/orval
Release 6.9.3
Release 6.9.2
Release 6.9.1
Release 6.9.0
6.9.0 (2022-07-17)
Bug Fixes
- clients: handling typescript option exactOptionalPropertyTypes (460d3bb)
- dependabot (#401) (d5f62ae)
- form-data: correctly handling array (9af1876)
- generator: angular transform return types to map (9b0ef8f)
- generators: clear return types on each generation (a663a17)
- getters: route handling wildcard param (64d7a79)
- imports: always split type and value (bd97425)
- mock: no properties found replace {} by empty string (f55dafb)
- mocks: combine with properties (899a8cb)
- msw: improve route url generation (365b7ff)
- query-params: add the possibility of required query params (d6f39f9)
Features
- add delay parameter to override.mock (#431) (8f5e3a2)
- config: add hooks (#459) (c594bac)
- config: allow types to be used instead of interfaces (#400) (3abf56c)
- core: add possibility to generate headers (6dbaa3f)
- generator: add type discriminator to subtypes (#426) (048f594)
- generators: add possibility to include and exclude content types (fde21ef)
- openapi: support 3.1 (cd1c714)
- query: add options to remove signal (a8023bc)
- query: handle new react query feature notifyOnChangeProps (74c6350)
- swr: add options in the orval config (734139d)
- validation: upgrade dependencies (478270b)
Release 6.8.1
Release 6.8.0
6.8.0 (2022-05-16)
Bug Fixes
- generator: fix missing comma in axios generator when mutator has 2nd arg (#383) (0edef1f)
- mock: combine only one element different then object type (52a7da2)
- mocks: fix array enum mock generation when enum is NOT a $ref (#375) (336612f)
- resolvers: fix generating schema for alias object (#382) (37a993b)
Features
Release 6.7.1
6.7.1 (2022-04-07)
Bug Fixes
- axios-client: better result type without mutators (ee09ac8)
- generator: add prefix to es5keyword parameters (#356) (940c729), closes #284
- options: add header content type (7cc54eb)
- query: fix the mutation body using BodyType wrongly replaced (#354) (ad21fe7)
- writers: correctly pass customTitleFunc (fc1973b)
Release 6.7.0
6.7.0 (2022-04-02)
Bug Fixes
- deps: update dependencies that are not major versions (#341) (736e21d)
- footer: warn about params change if footer function call fail (e9f073a)
- getters: combine handling when only one element (8e99ff9)
- getters: path to operationId accept dash (48c39af)
- mocks: array enums handled correctly (0656ae5)
- query: correctly set body definition (d5f36c1)
- query: export QueryError type for muation query (ba57eb1)
- query: prefer MutationData and MutationError suffix for mutations (6ebad15)
- query: prefer Result over Data for result data type suffix (4cffd77)
- query: use NonNullable for QueryData type generation (25341f1)
Features
- angular: add return type for angular client (c234e7a)
- axios: add return type for swr client (42c40c9)
- axios: correctly handle return tyep for axios (d27df09)
- query: allow body type customisation through mutator for mutations (#319) (9856d94)
- query: generate query return type along each client endpoints (#318) (d7cb2d4)
- query: generate query return type for along with hooks (e4c1dd9)
- swr: add return type for swr client (40345ed)
- writers: header handling directly return string or eslint-disable (df688ea)
Release 6.6.4
Release 6.6.3
6.6.3 (2022-02-20)
Bug Fixes
- deps: ibm validator fixes issue #326 (#327) (cfde8e2)
- generator: scalar object allof enum nullable (#330) (392c366)
- generator: schema anyof correctly checked (#331) (63848b7)
- options: handling url only when needed (7174cd0)
- scalar: better handling object properties with additionalProperties (44b6c4e)