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

11 hours ago

What's Changed

  • chore: reverts some of the changes from #2923 by @snebjorn in #3135
  • feat(query): add useSetQueryData option to generate type-safe setQueryData helpers by @inas-sirhan in #3136
  • chore(deps): bump eslint & co from v9 to v10 (again) by @snebjorn in #3138
  • feat: oas validation now reports unused path parameters by @snebjorn in #3141
  • fix(core): strip const from discriminator merged property (#3139) by @froggy1014 in #3140
  • feat: unified formatter option by @hyperNURb in #3056
  • chore: adds output client dropdown to bug report and auto labeling by @snebjorn in #3150
  • chore: remove legacy ISSUE_TEMPLATE.md by @froggy1014 in #3155
  • fix: use absolute URL for logo in orval package README by @froggy1014 in #3157
  • chore: add repository/homepage/bugs fields to workspace packages by @froggy1014 in #3156
  • chore: remove stale .yarn/install-state.gz by @froggy1014 in #3158
  • fix(core): boolean discriminated unions generate literal true/false instead of boolean by @inas-sirhan in #3159
  • chore: map output clients to exisitng issue labels by @snebjorn in #3162
  • feat(zod): add useBrandedTypes option to append .brand() to generated schemas by @yamaaaaaa31 in #3161
  • fix(orval): prevent unnecessary regeneration on watch mode launch by @zeriong in #3169
  • fix(core): prevent wildcard and parameterized content types from being treated as binary by @matsu3m in #3107
  • fix: fileExtension applied to index files by @Chnapy in #3170
  • chore: migrate react samples from CRA to Vite by @zeriong in #3172
  • docs: add tatsuya-asami to backers by @tatsuya-asami in #3183
  • fix(core): detect isBlob from content type instead of resolved type name (#3075) by @zeriong in #3182
  • fix(angular): use null literal in filterParams to fix TypeScript error by @zeriong in #3168
  • feat(query): add useGetQueryData option to generate type-safe getQueryData helpers by @inas-sirhan in #3173
  • chore: fixes dependabot not updating bun.lock by @snebjorn in #3184
  • chore(deps-dev): bump wrangler from 4.71.0 to 4.79.0 by @dependabot[bot] in #3185
  • chore(deps-dev): bump jsdom from 27.4.0 to 29.0.1 by @dependabot[bot] in #3186
  • chore(deps-dev): bump angular-eslint from 21.3.0 to 21.3.1 by @dependabot[bot] in #3187
  • chore(deps): bump esbuild from 0.27.3 to 0.27.4 by @dependabot[bot] in #3188
  • chore(deps-dev): bump @typescript-eslint/eslint-plugin from 8.57.2 to 8.58.0 by @dependabot[bot] in #3189
  • fix(core): fix syntax error when path param is followed by dash in route array by @zeriong in #3191
  • refactor(fetch): break long ternary expressions into multiple lines by @zeriong in #3199
  • fix(query,core): fix mutationInvalidates codegen with path params and tags-split (#3090) by @zeriong in #3198
  • fix(angular): include query params in multi-content-type HTTP calls (#3102) by @zeriong in #3196
  • docs: replace GFM blockquote callouts with Callout components by @froggy1014 in #3202
  • feat(core): add splitByContentType option for multi content-type requestBody by @froggy1014 in #3201
  • feat: runtime baseUrl (optional imports) by @mikan3rd in #3179
  • feat(fetch): add fetcher option to support custom fetch function injection by @zeriong in #3180
  • fix(mock): handle void union type in MSW mock handler (#3026) by @zeriong in #3205
  • feat(zod): generate zod schemas from OpenAPI specs with only components (#2872) by @zeriong in #3206
  • fix(core): include fileExtension in schemas barrel import path (#3092) by @zeriong in #3204
  • feat(cli): add --fail-on-warnings flag to exit on warnings (#2847) by @zeriong in #3207
  • Release v8.7.0 by @github-actions[bot] in #3210

New Contributors

Full Changelog: v8.6.2...v8.7.0

Don't miss a new orval release

NewReleases is sending notifications on new releases.