github orval-labs/orval v8.12.1
Release v8.12.1

5 hours ago

Note

BREAKING CHANGE: Mock now has custom MSW and FAKER configs allowing you to use one or the other if needed. See https://orval.dev/docs/versions/v8#10-outputmock-now-uses-a-generators-array

What's Changed

  • test(core): add regression coverage for multi-tag operation dedup (#873) by @wadakatu in #3377
  • test(query): add regression coverage for vue-query header params (#1026) by @wadakatu in #3379
  • test(core): add regression coverage for cross-file $ref schema exports (#1107) by @wadakatu in #3381
  • chore(core): replace globby with tinyglobby by @ivoberger in #3383
  • fix(orval): decode escaped JSON Pointer tokens in external $refs (#3380) by @wadakatu in #3382
  • fix(fetch): type error caused by useDates date param string coerce by @ivoberger in #3384
  • fix: properly handle zod.generate options & use 2xx when 200 is not available by @arthurfiorette in #3387
  • fix(vue): unref vue infinite query params by @daugvinasr in #3386
  • test(query): add regression coverage for react-query onMutate option (#1177) by @wadakatu in #3388
  • fix(query): pass enabled option into queryOptions mutator by @wadakatu in #3389
  • fix(query): use nullish fallback for infinite query page params by @daugvinasr in #3391
  • fix(core): treat binary fields in x-www-form-urlencoded bodies as strings by @wadakatu in #3395
  • fix(zod): narrow string literals per-value in object defaults (#3399) by @zeriong in #3400
  • fix(core): parse mutator with latest ecmaVersion to support dynamic import by @wadakatu in #3401
  • feat(core): allow mock data generators only by @jakiestfu in #3398
  • fix(core): handle multi-line descriptions in JSDoc generation by @aqeelat in #3393
  • fix(fetch): restore urlEncodeParameters support for the fetch client (#3343) by @zeriong in #3405
  • feat(mock): extend output.mock with multi-generator support for msw and faker by @jakiestfu in #3407
  • fix(core): inline header schema when $ref points outside #/components/parameters by @wadakatu in #3408
  • test(orval): cover double-linked cross-file $ref chain (#1935) by @wadakatu in #3409
  • test(core): pin optional-by-default requestBody behavior (#2028) by @wadakatu in #3410
  • fix(core): decode ~0 tilde escapes in JSON Pointer refs by @aqeelat in #3414
  • fix(core,mock): generate Blob for $ref schemas with format: binary by @matsu3m in #3406
  • style(ci): format release-publish workflow with prettier by @aqeelat in #3415
  • Release v8.12.0 by @github-actions[bot] in #3416
  • Release v8.12.1 by @github-actions[bot] in #3417

New Contributors

Full Changelog: v8.11.0...v8.12.1

Don't miss a new orval release

NewReleases is sending notifications on new releases.