Releases: orval-labs/orval
Releases · orval-labs/orval
Release v8.9.0
What's Changed
- fix: add zip to the binary application types list by @jmorel in #3257
- fix(core): treat OpenAPI validation failures as warnings instead of errors by @zeriong in #3239
- fix(zod): order of stringFormat call by @perryd01 in #3259
- fix(angular): httpresource ts errors file split error [3258] by @the-ult in #3263
- fix(angular): drop unsound
as TDatacast from HttpClient Zod valida… by @the-ult in #3262 - fix(mock): skip MSW resolvedBody prelude when no *ResponseMock is generated by @Spence1115 in #3271
- chore: bump scalar packages by @snebjorn in #3272
- fix(core): revert multipart JSON object parts to plain string append by @superxiao in #3275
- fix(hono): emit routes as method chain for type inference by @dachi023 in #3276
- feat(core): only referenced schemas output when tags specified in
input.filterby @soartec-lab in #3254 - docs: add statement about AI by @soartec-lab in #3277
- fix(samples): enable
clean: trueon safe samples and document layout rule (#2981) by @zeriong in #3267 - fix(core,mock): import not propagated to msw mock for nullable anyOf $ref types by @nathansogut-sipios in #3279
- fix(angular,query): skip Content-Type for multipart/form-data ONLY for Angular httpClient by @melloware in #3278
- Release v8.9.0 by @github-actions[bot] in #3280
New Contributors
- @perryd01 made their first contribution in #3259
- @Spence1115 made their first contribution in #3271
- @dachi023 made their first contribution in #3276
Full Changelog: v8.8.1...v8.9.0
Release v8.8.1
What's Changed
- feat(core): add
output.schemas: falseto disable schema file generation by @wadakatu in #3240 - feat(query): add literal param syntax for mutationInvalidates by @zeriong in #3237
- fix(core): support oneOf/anyOf in multipart/form-data code generation by @nathansogut-sipios in #3245
- fix(zod): default dateTimeOptions to { offset: true } for RFC3339 date-time (#3124) by @zeriong in #3247
- fix(mock): emit ArrayBuffer for binary schemas upgraded to contentMediaType (#3065) by @zeriong in #3248
- fix(angular-query): support usePrefetch for angular-query client by @zeriong in #3238
- fix(angular): scope httpResource output by tag in tags/tags-split modes (#3209) by @zeriong in #3249
- chore: bump bun 1.3.9 -> 1.3.12 by @snebjorn in #3251
- chore: bump tsdown 0.20.3 -> 0.21.9 by @snebjorn in #3250
- chore: bump turbo 2.8.12 -> 2.9.6 by @snebjorn in #3252
- fix(core): baseUrl runtime imports missing in single mode without schemas by @mikan3rd in #3253
- fix(fetch): parse response body based on content-type instead of always JSON.parse by @zeriong in #3222
- Release v8.8.1 by @github-actions[bot] in #3256
New Contributors
- @nathansogut-sipios made their first contribution in #3245
Full Changelog: v8.8.0...v8.8.1
Release v8.8.0
What's Changed
- chore: fixes failed to run git in issue-labeler github action by @snebjorn in #3213
- fix: broken model imports by @Chnapy in #3214
- chore: fixes angular sample failing to start by @snebjorn in #3217
- chore: auto mark isssues as stale by @snebjorn in #3219
- fix(hono): add orval file header to generated handler files (#2988) by @zeriong in #3220
- fix(mock): handle boolean exclusiveMinimum/exclusiveMaximum from OpenAPI 3.0 schemas by @zeriong in #3221
- fix(mcp): broken path params name convention by @soartec-lab in #3225
- fix(mock): preserve object properties for nullable type arrays (OpenAPI 3.1) (#3081) by @zeriong in #3230
- fix(core): support propertyNames.const for typed Record generation (#3208) by @zeriong in #3229
- feat(mcp): add
orverride.mcp.serveroption by @soartec-lab in #3228 - fix(mock): use indexed access types for inline enum properties in MSW mocks by @wadakatu in #3224
- chore(deps): bump softprops/action-gh-release from 2 to 3 by @dependabot[bot] in #3234
- feat(mcp): possible to pass
options: RequestInitfrom the MCP server to the handler by @soartec-lab in #3235 - Release v8.8.0 by @github-actions[bot] in #3236
New Contributors
Full Changelog: v8.7.0...v8.8.0
Release v8.7.0
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
fetcheroption 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
- @inas-sirhan made their first contribution in #3136
- @hyperNURb made their first contribution in #3056
- @yamaaaaaa31 made their first contribution in #3161
- @zeriong made their first contribution in #3169
- @Chnapy made their first contribution in #3170
- @mikan3rd made their first contribution in #3179
Full Changelog: v8.6.2...v8.7.0
Release v8.6.2
chore(release): bump version to v8.6.2 (#3134) Co-authored-by: anymaniax <10516382+anymaniax@users.noreply.github.com>
Release v8.6.1
What's Changed
- fix: use bun publish to resolve workspace:* protocol by @anymaniax in #3129
- Release v8.6.1 by @github-actions[bot] in #3130
Full Changelog: v8.6.0...v8.6.1
Release v8.6.0
What's Changed
- feat(workspace): enable tsdown dev exports for editor DX by @anymaniax in #3019
- chore(ci): PRs are now checked if they have the correct version in snapshots by @snebjorn in #3079
- chore: adds type checking and fixes existing type errors by @snebjorn in #3080
- chore: tightened linting rules by @snebjorn in #3082
- chore: adds @orval/zod package to linting check by @snebjorn in #3083
- chore: adds @orval/mock package to linting check by @snebjorn in #3084
- fix(core): preserve request/response schema filenames when indexFiles=false by @SergioChan in #3091
- chore: migrate from Yarn to Bun by @anymaniax in #3020
- fix(core): strip trailing whitespace from generated code output by @maroKanatani in #3114
- feat(angular): add angular httpResource support by @the-ult in #2923
- fix(zod): guard enum constraints for non-array schemas by @the-ult in #3118
- fix(angular-query): scope angular filter params helper by tag by @the-ult in #3115
- fix(core): ensure unique file paths when collecting files for formatting by @yekver in #3123
- fix(core): validate component keys before spec parsing (#3112) by @froggy1014 in #3126
- Release v8.6.0 by @github-actions[bot] in #3127
Full Changelog: v8.5.3...v8.6.0
Release v8.5.3
What's Changed
- chore(deps): bump eslint & co from v9 to v10 by @snebjorn in #3069
- chore(deps): bump yarn from v4.11.0 to v4.13.0 by @snebjorn in #3070
- fix(faker): regexp must be escaped by @melloware in #3074
- chore: restore deleted comments during yarn update by @snebjorn in #3076
- fix(core): correct schema import canonicalization with indexFiles disabled by @SergioChan in #3077
- Release v8.5.3 by @github-actions[bot] in #3078
New Contributors
- @SergioChan made their first contribution in #3077
Full Changelog: v8.5.2...v8.5.3
Release v8.5.2
What's Changed
- feat(orval): support multiple inputs and use first valid input by @snebjorn in #3042
- chore(deps-dev): bump lint-staged from 16.2.6 to 16.3.0 by @dependabot[bot] in #3048
- chore(deps): bump @scalar/json-magic from 0.11.4 to 0.11.5 by @dependabot[bot] in #3046
- chore(deps): bump typedoc-plugin-markdown from 4.9.0 to 4.10.0 by @dependabot[bot] in #3045
- chore(deps): bump typedoc from 0.28.15 to 0.28.17 by @dependabot[bot] in #3044
- chore(deps): bump rollup from 2.79.2 to 2.80.0 by @dependabot[bot] in #3050
- chore: removes path monkey-patching, closes #2698 by @snebjorn in #3051
- chore(deps): bump turbo from 2.8.10 to 2.8.12 by @snebjorn in #3052
- Patched explode query parameter support for SolidStart by @davedbase in #3055
- Adding SolidStart to the homepage list by @davedbase in #3057
- fix(zod,fetch): resolve
$refschemas with suffix in runtime validation by @the-ult in #3059 - Release v8.5.2 by @github-actions[bot] in #3063
Full Changelog: v8.5.1...v8.5.2
Release v8.5.1
What's Changed
- fix(docs): custom Axios doc update by @melloware in #3032
- fix(resolveMockValue): use
nameinstead ofpascalCase(originalName)to prevent dropped suffix by @chrislambe in #3035 - fix(import-specs): prevent injection of components into swagger 2.0 spec when no external refs by @ilyasabdellaoui in #3038
- Release v8.5.1 by @github-actions[bot] in #3039
New Contributors
- @chrislambe made their first contribution in #3035
- @ilyasabdellaoui made their first contribution in #3038
Full Changelog: v8.5.0...v8.5.1