unstale

npm / orval

orval

What changed in orval 7 to 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

50 breaking23 security4 deprecations147 new APIs and options3 performance68 behavior and defaults21 tooling402 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

orval 8697 changes

Breaking changes 48

  • MCP types for defaulted path parameters no longer include the default value.

    8.48.0release notes

  • Closed empty object schemas are rendered as a never index signature.

    8.47.0release notes

  • Effect and Zod apply exactOptional to optional nullable properties.

    8.47.0release notes

  • Schemas are generated only when output has no target.

    8.46.0release notes

  • Object enums are rendered without an object shape.

    8.45.0release notes

  • Emits a sibling enum alone rather than chaining it onto an allOf $ref in generated Zod schemas.

    8.44.0release notes

  • Keys remain required when the parent or an allOf member requires them.

    8.42.0release notes

  • A false property renders as S.Never after dereference.

    8.42.0release notes

  • The generated server is migrated to MCP TypeScript SDK v2.

    8.42.0release notes

  • Self-referencing schemas are no longer aliased in single schemas mode.

    8.42.0release notes

  • Effect output drops non-primitive enum members and serializes values via toJsLiteral.

    8.41.0release notes

  • Non-primitive enum members are dropped, and serialization uses their value.

    8.40.0release notes

  • Path parameters are URL-encoded only when urlEncodeParameters is enabled; the option is also applied to the SWR axios request function.

    8.37.0release notes

  • Request bodies with format: date are serialized as calendar days.

    8.34.0release notes

  • Non-object responses are wrapped in structuredContent.

    8.34.0release notes

  • Stops bundling the mutator at the project's TypeScript target.

    8.33.0release notes

  • Refuses OpenAPI response keys that are not status codes.

    8.33.0release notes

  • Refuses a schema type that is not a known schema type.

    8.33.0release notes

  • Disambiguates mixed-type enum keys by adding type prefixes.

    8.31.0release notes

  • Mismatched const/enum values are rendered as literal types.

    8.30.0release notes

  • Every redirect hop is now checked against externalRefs.allow.

    8.30.0release notes

  • Mocks are no longer inlined by default in single and tags modes.

    8.28.1release notes

  • Multipart form-data binary fields use File instead of Blob.

    8.28.1release notes

  • The query option shouldExportQueryKey is renamed to shouldExportKeys.

    8.28.1release notes

  • Zod output emits zod.never() for keys forbidden by not in oneOf/anyOf.

    8.25.0release notes

  • External $ref resolution now requires an explicit allow-list, preventing references from traversing directories unless configured.

    8.22.0release notessecurity advisory

  • The MCP integration no longer generates a Zod input schema for request bodies with this content type.

    8.20.0release notes

  • Removes isVue from @orval/core.

    8.19.0release notes

  • Zod v4 is now the default; you can change it to v3 with a config change.

    8.19.0release notes

  • Emits reusable schemas inline when operations exist and uses PascalCase identifiers.

    8.14.0release notes

  • Makes useInfiniteQueryParam strict.

    8.13.0release notes

  • Mock configuration now uses a generators array, allowing custom MSW and FAKER configs to be used individually.

    8.12.1release notesrelease notesrelease notes

  • Places body before accept in generated Angular multi-content overload signatures.

    8.11.0release notes

  • Non-GET Query helpers now wrap body types with the mutator BodyType<T>.

    8.10.0release notes

  • Non-GET query keys are now namespaced with the HTTP verb.

    8.10.0release notes

  • When tags are specified in input.filter, output includes only referenced schemas.

    8.9.0release notes

  • Mocks now emit ArrayBuffer for binary schemas upgraded to contentMediaType.

    8.8.1release notes

  • Fetch now parses response bodies based on content-type instead of always using JSON.parse.

    8.8.1release notes

  • Defaults dateTimeOptions to { offset: true } for RFC3339 date-time.

    8.8.1release notes

  • Prevents wildcard and parameterized content types from being treated as binary.

    8.7.0release notes

  • Generates literal true/false instead of boolean for boolean discriminated unions.

    8.7.0release notes

  • Faker.js is now an optional peer dependency instead of being inlined, so projects that need it may have to add their own version.

    8.5.0release notes

  • Reverts generating separate functions for each requestBody content type.

    8.4.1release notes

  • Generated functions no longer include the unused axiosInstance parameter when using a mutator.

    8.2.0release notes

  • Generated axios functions no longer include a generic type parameter.

    8.2.0release notes

  • This option is removed; output.schemas.type is now exclusive.

    8.0.0release notes

  • Combined types are now inlined by default; use this option to opt out.

    8.0.0release notes

  • Generated Zod schema names now use pascal-case.

    8.0.0release notes

Security 20

  • Escapes quotes in the broad-invalidation predicate.

    8.31.0release notes

  • Escapes schema names in emitted TypeScript string literal types.

    8.31.0release notes

  • Sanitizes OpenAPI document values before splicing them into generated code for zod, effect, and hono.

    8.29.0release notes

  • Numeric response schemas are sanitized.

    8.25.0release notes

  • Orval: Import-time RCE via array-items default -> zod module-level template literal

    8.21.0security advisory

  • Orval: Import-time RCE via enum-typed default -> zod module-level template literal

    8.21.0security advisory

  • Orval: Import-time RCE via header-parameter default -> zod module-level template literal

    8.21.0security advisory

  • Orval: Import-time RCE via header parameter name -> computed-property-key injection in the zod client

    8.21.0security advisory

  • Orval: Import-time RCE via query-parameter default -> zod module-level template literal

    8.21.0security advisory

  • Orval: Import-time RCE via query parameter name -> computed-property-key injection in the zod cli

    8.21.0security advisory

  • Orval: Import-time RCE via schema default -> zod module-level template literal

    8.21.0security advisory

  • Orval: Import-time RCE via schema property name -> computed-property-key injection in the zod client

    8.21.0security advisory

  • Orval: RCE via OpenAPI path -> unescaped request-URL template literal (backtick breakout)

    8.21.0security advisory

  • Orval: RCE via servers[].url -> unescaped request-URL template literal (with getBaseUrlFromSpecification)

    8.21.0security advisory

  • Spec-controlled strings are escaped in generated template literals and object keys.

    8.21.0release notessecurity advisory

  • Adds a socket dev check on Bun install.

    8.15.0release notes

  • Backslashes in enum and const values are escaped to prevent corruption.

    8.15.0release notesrelease notesrelease notes

  • JavaScript string escaping now also escapes /* and */ in comments, fixing CVE-2026-25141.

    8.2.0release notes

  • Escapes mocked values to address CVE-2026-24132.

    7.20.0, 8.0.3release notesrelease notes

  • Values in x-enum are now JavaScript-escaped to address CVE-2026-23947.

    7.19.0, 8.0.2release notesrelease notes

Deprecations 4

  • Warns when mutationInvalidates names an unknown operation.

    8.36.0release notes

  • Warns when an explicit infinite opt-in is silently suppressed.

    8.33.0release notes

  • Orval warns when mutationInvalidates references an operation emitted by Query.

    8.9.1release notes

  • Orval warns when optionsParamRequired is set with the fetch httpClient.

    8.9.1release notes

New APIs and options 146

  • Adds an opt-in for async inferred mutator operations.

    8.48.0release notes

  • Adds support for the dependentRequired schema keyword in Zod generation.

    8.48.0release notes

  • Adds a config option for custom string format types.

    8.48.0release notes

  • Supports httpClientInjection set to factory with the shared runtime.

    8.48.0release notes

  • Adds support for readonly arrays and tuples.

    8.48.0release notes

  • Adds schemas.type support for Valibot.

    8.48.0release notes

  • Adds support for the shared fetch runtime with httpClient fetch in query, SWR, and Pinia Colada clients.

    8.48.0release notes

  • The Fetch shared runtime supports an expanded set of fetch options.

    8.47.0release notes

  • Filter operations by operationId in input.filters.

    8.47.0release notes

  • Solid Query hooks accept accessors for their parameters.

    8.47.0release notes

  • Vue Query exposes a typed queryKey on query options.

    8.47.0release notes

  • Adds runtimeValidation.standardSchema.

    8.47.0release notes

  • schemaExtension accepts version-based refinement.

    8.47.0release notes

  • The mock index re-exports the titled MSW handler list.

    8.47.0release notes

  • Orval adds a Valibot client.

    8.47.0release notes

  • The Zod schema is passed to the mutator.

    8.46.0release notes

  • Adds a CLI option to detect outdated generated files without writing them.

    8.46.0release notes

  • Adds support for the time-local format in Zod generation.

    8.46.0release notes

  • The zod override adds a schemaExtension attribute and handling.

    8.45.0release notes

  • Adds defineFixture and typed fixture sets for defining mock fixtures.

    8.44.0release notes

  • Adds the override.fetch.runtimeImplementationStyle option.

    8.44.0release notes

  • Adds useBrandedTypes to emit named primitive schemas as branded types.

    8.44.0release notes

  • Adds opt-in typed fixtures for mocks.

    8.43.0release notes

  • Adds an Angular option to emit body-only signatures.

    8.43.0release notes

  • Adds an injection mode for fetch client factories.

    8.42.0release notes

  • Adds opt-in operation manifest output.

    8.42.0release notes

  • Adds override.mcp.cacheHints.

    8.42.0release notes

  • Adds support for Effect 4 schema output.

    8.40.0release notes

  • Adds workspaceExports to filter workspace index exports.

    8.40.0release notes

  • Infinite queries can page through a property in the request body.

    8.39.0release notes

  • Single-file TypeScript schemas are now supported.

    8.39.0release notes

  • Adds a faker importPath option for artifact groups.

    8.38.0release notes

  • Adds a schemasPath option for artifact groups.

    8.38.0release notes

  • Adds a mock override for projects using exactOptionalPropertyTypes.

    8.37.0release notes

  • Angular runtime validation parses JSON request bodies when configured.

    8.37.0release notes

  • Suspense query functions use the queryOptions helper.

    8.34.0release notes

  • Adds an exactMatch parameter for better cache control.

    8.34.0release notes

  • Query and SWR clients import the Zod schema used to validate the fetch request function.

    8.34.0release notes

  • Orval supports JSON5 package manifests.

    8.32.0release notes

  • A logger with log levels has been implemented.

    8.32.0release notes

  • Orval can generate Vue queries and mutations for Pinia Colada.

    8.32.0release notes

  • The Axios generator can generate status-discriminated responses.

    8.32.0release notes

  • Adds support for the date-time-local format in Zod output.

    8.31.0release notes

  • When set, filters operations by referenced schemas.

    8.31.0release notes

  • Exports operation URL helpers for use by developers.

    8.31.0release notes

  • Adds an override to inject a custom MCP tool handler.

    8.31.0release notes

  • Adds a flag to suppress the CLI banner and success messages.

    8.31.0release notes

  • Adds support for generating schemas in a single file.

    8.31.0release notes

  • Inline enum array item schemas are now exported from the zod model index.

    8.30.0release notes

  • Adds a compress option.

    8.29.0release notes

  • Adds an external schema naming strategy.

    8.29.0release notes

  • Adds an option to hold unresolved params.

    8.29.0release notes

  • Zod can generate opt-in companion input and output types for per-operation schemas.

    8.28.1release notes

  • Zod-backed clients support the both runtimeValidation strategy.

    8.28.1release notes

  • Schema output paths can now be defined with rules.

    8.28.1release notes

  • Adds an option to prefix type and interface names derived from component schemas.

    8.27.0release notes

  • Exports a mutation key getter for each operation.

    8.27.0release notes

  • Adds schema property name conversion through namingConvention.properties.

    8.27.0release notes

  • Adds control for the query options mutator hook.

    8.27.0release notes

  • Mutation variables now have a named type.

    8.26.0release notes

  • Adds DI-based runtime base-URL composition for Angular.

    8.25.0release notes

  • Adds an option for generating response date deserializers and enabling runtime date deserialization for axios clients.

    8.25.0release notes

  • Adds support for HTTP QUERY operations.

    8.24.0release notes

  • Generates query key factories when a queryKey mutator is set.

    8.24.0release notes

  • Adds an option for serializable responses to serialize response headers.

    8.24.0release notes

  • Adds a global option to throw on errors.

    8.24.0release notes

  • Adds the exactOptional option for Zod and Effect generators.

    8.23.0release notes

  • Adds the tags-operations output mode.

    8.23.0release notes

  • Adds the tags-operations-split output mode.

    8.23.0release notes

  • Orval can generate Zod discriminatedUnion schemas.

    8.21.0release notes

  • Generated httpResource helpers expose request headers.

    8.21.0release notes

  • Generated httpResource helpers expose HttpContext.

    8.21.0release notes

  • An operationName override decouples generated type names from method names.

    8.21.0release notes

  • Mutators can now be specified using package paths.

    8.20.0release notes

  • Adds arrayFormat support for fetch query parameters.

    8.19.0release notes

  • Adds per-schema property overrides for mocks.

    8.19.0release notes

  • Adds paramsSerializer support for fetch query parameters.

    8.19.0release notes

  • Adds an option to organize schemas by tag.

    8.19.0release notes

  • Adds an option for tag split deduplication with barrel and shared type extraction.

    8.19.0release notes

  • Adds opt-in coercion of single-value array query parameters with coerce: ['array'].

    8.18.0release notes

  • Adds schemasImportPath to the faker generator.

    8.18.0release notes

  • Vue Query code generation now supports mutationInvalidates.

    8.17.0release notes

  • Mock output can be written to separate paths.

    8.17.0release notes

  • Adds a filter to keep all schemas under a tag filter.

    8.16.0release notes

  • Adds schemas.importPath for package import specifiers.

    8.16.0release notes

  • Adds support for the x-codegen-request-body-name extension.

    8.16.0release notes

  • Adds the arrayItems faker option for reusable array item mocks.

    8.15.0release notes

  • Zod schema generation now supports $dynamicRef and $dynamicAnchor.

    8.15.0release notes

  • Handlers gain error handling with isError and structuredContent.

    8.15.0release notes

  • Adds a way to specify how querykey is filtered.

    8.15.0release notes

  • Adds outputSchema, annotations, title, and description to registerTool.

    8.15.0release notes

  • Adds generateMeta to attach .meta() to component schemas in Zod v4.

    8.14.0release notes

  • Adds a schema generator for Effect.

    8.14.0release notes

  • Adds the nonNullable mock override option.

    8.14.0release notes

  • Adds an option to inject parameters in generated Zod schemas.

    8.14.0release notes

  • Adds an option to filter query keys.

    8.14.0release notes

  • Adds $dynamicAnchor support for OpenAPI 3.1.

    8.13.0release notes

  • Adds $dynamicRef support for OpenAPI 3.1.

    8.13.0release notes

  • Adds factoryMethods.

    8.13.0release notes

  • Adds generation of mocks from Faker schemas.

    8.13.0release notes

  • Adds an opt-in flag to generate reusable Zod schemas.

    8.13.0release notes

  • Returns the registered tools variable.

    8.13.0release notes

  • Adds a Bun configuration option to set a minimum age for installed packages.

    8.11.0release notes

  • Add literal param syntax for mutationInvalidates.

    8.8.1release notes

  • Add output.schemas: false to disable schema file generation.

    8.8.1release notes

  • Support usePrefetch for the angular-query client.

    8.8.1release notes

  • The MCP server can pass options: RequestInit to the handler.

    8.8.0release notes

  • Adds the orverride.mcp.server option.

    8.8.0release notes

  • Adds a flag to exit on warnings.

    8.7.0release notes

  • Adds a fetcher option to support custom fetch function injection.

    8.7.0release notes

  • Adds a unified formatter option.

    8.7.0release notes

  • Adds runtime baseUrl support with optional imports.

    8.7.0release notes

  • Adds an option for multi-content-type requestBody.

    8.7.0release notes

  • Adds an option to append .brand() to generated schemas.

    8.7.0release notes

  • Adds an option to generate type-safe getQueryData helpers.

    8.7.0release notes

  • Adds an option to generate type-safe setQueryData helpers.

    8.7.0release notes

  • Angular generation adds support for httpResource.

    8.6.0release notes

  • Adds defineTransformer to support type-safe transformers.

    8.4.2release notes

  • Adds Angular support for zod runtimeValidation, matching angular-query.

    8.4.1release notes

  • Adds a verbose CLI flag and reduces default log noise.

    8.4.1release notes

  • Adds support for invalidating queries in other files.

    8.4.0release notes

  • Adds support for stringFormat in Zod.

    8.4.0release notes

  • Angular queries gain Zod runtime validation.

    8.3.0release notes

  • The invalidates option gains a way to reset queries.

    8.3.0release notes

  • Orval generates separate functions for each requestBody content-type.

    8.3.0release notes

  • Adds a factory pattern for injecting the HTTP client dependency when using Axios.

    8.1.0release notes

  • Adds the useNullForOptional option for JSON:API compatibility.

    8.1.0release notes

  • Adds mutation reactivity and enables invalidations for Svelte Query.

    8.0.3release notes

  • Adds the operationSchemas option for separating schemas by operation.

    8.0.2release notes

  • Adds configuration-based invalidation.

    8.0.0release notes

  • Adds OpenAPI 3.1 contentMediaType support.

    8.0.0release notes

  • Adds OpenAPI 3.1 encoding.contentType support.

    8.0.0release notes

  • Adds support for enum property names.

    8.0.0release notes

  • Configuration files can now use ES Module imports.

    8.0.0release notes

  • Adds support for exclusive constraints in Zod schema generation.

    8.0.0release notes

  • The fetch client supports Zod schema type inference.

    8.0.0release notes

  • The fetch client can perform runtime validation with Zod schemas.

    8.0.0release notes

  • Adds an SWR option to control error type generation.

    8.0.0release notes

  • Configuration files can now use the mts file extension.

    8.0.0release notes

  • Adds an external option to mutator configuration.

    8.0.0release notes

  • The schema type option can select Zod schemas and is enabled for all clients.

    8.0.0release notes

  • Adds support for domain-specific headers in parser options.

    8.0.0release notes

  • Adds react-compiler support to React Query.

    8.0.0release notes

  • Adds Solid Query and SolidStart support.

    8.0.0release notes

  • Adds a SWR option for generating type-safe Suspense hooks.

    8.0.0release notes

  • Adds support for wildcard response status codes.

    8.0.0release notes

Performance 3

  • Generated files import only the mutators they use.

    8.47.0release notes

  • Each mutator is bundled once instead of once per operation.

    8.39.0release notes

  • JSON specs are parsed natively, and local-only specs skip bundling.

    8.34.0release notes

Behavior and default changes 67

  • Angular passes the Accept header to mutators on multi-content responses.

    8.47.0release notes

  • Effect keeps nested objects in defaults and applies defaults outside a Struct.

    8.47.0release notes

  • Effect generates schemas for +json, charset, and URL-encoded bodies.

    8.47.0release notes

  • Solid Start sends form bodies as FormData and URLSearchParams.

    8.47.0release notes

  • Generated retrieval clients reserve class method names per tag.

    8.47.0release notes

  • Angular httpResource helpers stay idle while an input signal holds undefined.

    8.47.0release notes

  • Angular skips unused observe option types when observeOverloads is false.

    8.47.0release notes

  • Query hooks include operation documentation on every overload.

    8.47.0release notes

  • Service method names are reserved per tag class.

    8.46.0release notes

  • Zod v4 generation emits zod.xor for oneOf schemas.

    8.46.0release notes

  • Aliases are carried on operations instead of module-level registries.

    8.45.0release notes

  • Angular types multi-content httpResource branches by dispatch.

    8.45.0release notes

  • Date form fields are serialized as ISO strings when useDates is enabled.

    8.45.0release notes

  • Mutator paths now resolve through tsconfig paths aliases.

    8.43.0release notes

  • Per-operation response mocks are written in tags-operations modes.

    8.42.0release notes

  • The specification description is emitted as McpServer instructions.

    8.42.0release notes

  • Missing response descriptions now receive a default instead of causing validation to fail.

    8.42.0release notes

  • Mock generators can be used with TypeScript single-file schemas.

    8.41.0release notes

  • Prefetching uses queryClient.query() with TanStack Query 5.102+.

    8.40.0release notes

  • The property naming convention is now applied to Zod schemas.

    8.39.0release notes

  • Passes the invalidation onSuccess to a mutationOptions mutator.

    8.36.0release notes

  • Binary faker mocks emit Blob values.

    8.34.0release notes

  • Date transforms traverse additionalProperties maps and are wired into fetch-based clients.

    8.34.0release notes

  • Merges external references into definitions for Swagger 2.0.

    8.33.0release notes

  • In single mode, schemas.path can name the schema file.

    8.32.0release notes

  • The aggregate mock helper now calls handler factories.

    8.30.0release notes

  • Zod object defaults with tuples or ref arrays are kept inline.

    8.30.0release notes

  • Allows the mutator return type and async behavior to be inferred.

    8.29.0release notes

  • Emits type-only imports in hono handlers and mcp http-client.

    8.29.0release notes

  • Server URL variables now support runtime expressions.

    8.28.1release notes

  • MCP tool call cancellation is propagated to downstream fetch requests.

    8.28.1release notes

  • Passes the Zod schema to a custom fetch response implementation.

    8.27.0release notes

  • Implements serialization for query parameters using style:deepObject.

    8.27.0release notes

  • Zod .meta() now carries title and deprecated values from const branches.

    8.26.0release notes

  • Generated Zod enums now include member names and descriptions.

    8.25.0release notes

  • Generated Zod Mini enum object literals now use as const.

    8.25.0release notes

  • Supports multiple useInfiniteQueryParam values.

    8.24.0release notes

  • Emits MSW handlers and faker factories as separate files in split modes.

    8.23.0release notes

  • Vue Query v5 generated reactive parameters now use MaybeRefOrGetter/toValue.

    8.20.0release notes

  • Orders handler body and query arguments, and propagates an optional body to the handler and tool schema.

    8.18.0release notes

  • Makes output.schemas.type optional and defaults it to typescript.

    8.18.0release notes

  • Generates requiredNullableParamKeys only when the relevant preserveRequire option is enabled.

    8.18.0release notes

  • Wraps OpenAPI examples in new Date() when useDates is enabled.

    8.18.0release notes

  • Faker schema factories now invoke functions supplied through override.mock.properties.

    8.17.0release notes

  • Tags-split MSW+faker output now emits strict mock types.

    8.17.0release notes

  • indexMockFiles is supported in split mode.

    8.16.0release notes

  • Mocks emit strict return types when required and nonNullable are both true.

    8.16.0release notes

  • Emits filterParams for untagged operations in the tags-split default file.

    8.11.0release notes

  • Applies the transformer before spec validation.

    8.11.0release notes

  • Emits nested array item constraints in generated JSDoc.

    8.11.0release notes

  • Bulk-updates cached data via setQueriesData.

    8.11.0release notes

  • Scopes skipErrorChecking to generated entry points when passing it to TypeDoc.

    8.11.0release notes

  • Emits plain SolidMutationOptions for the user-facing mutation parameter.

    8.11.0release notes

  • The queryOptions mutator is now applied to the generated invalidate function.

    8.9.1release notes

  • x-enumDescriptions now supports Map format.

    8.9.1release notes

  • x-enumNames now supports Map format.

    8.9.1release notes

  • OpenAPI validation failures are treated as warnings instead of errors.

    8.9.0release notes

  • Scope httpResource output by tag in tags/tags-split modes.

    8.8.1release notes

  • OAS validation now reports unused path parameters.

    8.7.0release notes

  • The Angular filter params helper is scoped by tag.

    8.6.0release notes

  • Supports multiple inputs and uses the first valid input.

    8.5.2release notes

  • Orval now tries to dereference $refs in external specs, improving handling of those specifications.

    8.4.2release notes

  • Mutation invalidation is enabled for React Query.

    8.0.3release notes

  • Makes inject query reactive.

    8.0.1release notes

  • Uses the Fetch API signature for SolidStart.

    8.0.1release notes

  • The fetch client supports variable expansion in headers configured through override.requestOptions.headers.

    8.0.0release notes

  • Zod schemas can now be generated when parameters have a type.

    8.0.0release notes

Tooling 19

  • MCP generation imports schema types for path parameters and every body member.

    8.47.0release notes

  • Valibot generation supports reusable component schemas.

    8.47.0release notes

  • The shared runtime is typed without DOM globals.

    8.46.0release notes

  • Helpers are named once in the tags-split barrel.

    8.45.0release notes

  • MSW resolver info is typed with path params and request body.

    8.45.0release notes

  • Typedoc dependencies are optional.

    8.34.0release notes

  • Declares optional peer dependencies for generated-code runtimes.

    8.31.0release notes

  • Zod generation now supports zod/mini.

    8.20.0release notes

  • Zod generation now emits response schemas for text/plain and 204/205 no-content responses.

    8.15.0release notes

  • MCP generation uses server.registerTool instead of server.tool.

    8.13.0release notes

  • TypeScript 6/7 is now supported.

    8.10.0release notes

  • Zod generation now produces a Body schema for multipart and urlencoded requests.

    8.9.1release notes

  • Multipart/form-data code generation now supports oneOf and anyOf.

    8.8.1release notes

  • Generates Zod schemas from OpenAPI specs containing only components.

    8.7.0release notes

  • Adds remeda as a listed dependency for mock functionality.

    8.4.2release notes

  • Orval can now format output using the Prettier installed in the project.

    8.4.1release notes

  • Adds Angular 21 support in workspace catalogs.

    8.4.0release notes

  • Adds an Angular Tanstack Query generator.

    8.0.0release notes

  • Orval upgrades its OpenAPI support to version 3.1.

    8.0.0release notes

Fixes and other changes 390

  • Handles array schemas whose items are true or absent in core and Zod.

    8.48.0release notes

  • Mock generation skips the override spread for closed empty object schemas.

    8.48.0release notes

  • Resolves $defs references inside external documents that have an $id.

    8.48.0release notes

  • The shared fetch runtime supports exact optional properties.

    8.48.0release notes

  • Supports exactOptionalPropertyTypes for optional form bodies in the fetch client.

    8.48.0release notes

  • Accepts interface-typed parameters in the Angular filterParams helper.

    8.48.0release notes

  • Valibot types readOnly arrays and recursive schemas like the models.

    8.48.0release notes

  • Merges request headers case-insensitively.

    8.48.0release notes

  • Skips block comments when deduplicating union types.

    8.48.0release notes

  • Zod generation now applies sibling allOf required properties through nested allOf schemas and reusable references.

    8.47.0release notes

  • Per-tag angular.provideIn is applied to generated service classes.

    8.47.0release notes

  • Core preserves component names for aliases to inline schemas.

    8.47.0release notes

  • Solid Start sends date-time query parameters represented as anyOf as ISO strings.

    8.47.0release notes

  • Generated integer mocks stay inside exclusive bounds.

    8.47.0release notes

  • The generated jsDoc filter output escapes */.

    8.47.0release notes

  • Fetch preserves inferred mutator types in the shared runtime.

    8.47.0release notes

  • MCP passes header parameters to the client when output.headers is enabled.

    8.47.0release notes

  • Zod preserves contextual types for defaults on reusable references.

    8.47.0release notes

  • Solid Start honors urlEncodeParameters for path parameters.

    8.47.0release notes

  • Optional form fields are guarded against null when useNullForOptional is enabled.

    8.47.0release notes

  • Dates are converted before a custom mutator validates the response.

    8.46.0release notes

  • The spec is imported before output.clean runs.

    8.46.0release notes

  • Fetch request functions accept the query signal when requestOptions is false.

    8.46.0release notes

  • Declares SecondParameter when an operation override uses it in query, SWR, and Axios output.

    8.46.0release notes

  • Hono generation works when the project uses TypeScript 7.

    8.46.0release notes

  • Keeps int64 as number in recursive schema type pins when useBigInt is enabled.

    8.46.0release notes

  • Constraint const names remain unique across component schemas.

    8.45.0release notes

  • Fetch serializes form-style object query parameters.

    8.45.0release notes

  • Angular matches JSON media types case-insensitively.

    8.45.0release notes

  • Core matches media types case-insensitively.

    8.45.0release notes

  • Fetch keeps scalar values of oneOf string/array query parameters.

    8.45.0release notes

  • Fetch joins pipeDelimited and spaceDelimited query arrays.

    8.45.0release notes

  • Angular skips request-body parsing for bodies with renamed keys.

    8.45.0release notes

  • Cross-file invalidation targets are skipped in the unknown-operation warning.

    8.45.0release notes

  • Generates zod.never() for false content schemas.

    8.44.0release notes

  • Merges nullable allOf members as their non-null shape in generated mocks.

    8.44.0release notes

  • Keeps nullable composed schemas with their own properties parseable in generated mocks.

    8.44.0release notes

  • Generated mocks pick one value per enum member of oneOf/anyOf array items.

    8.44.0release notes

  • Emits a scalar value for primitive allOf members in generated mocks.

    8.44.0release notes

  • Spec validation now accepts properties named $ref.

    8.44.0release notes

  • Filters request body media types before deduplicating by schema.

    8.44.0release notes

  • Writes Zod schemas for shared responses and request bodies.

    8.44.0release notes

  • Axios now honors urlEncodeParameters for path parameters.

    8.44.0release notes

  • Zod now honors additionalProperties on objects that also have properties.

    8.43.0release notes

  • Objects with properties remain open to additionalProperties.

    8.42.0release notes

  • The generated McpServer version now uses the specification's info.version.

    8.42.0release notes

  • Null property values pass through dereference.

    8.42.0release notes

  • Duplicate nullable component aliases are avoided.

    8.42.0release notes

  • The params object is now always passed to a custom client footer.

    8.42.0release notes

  • Recursive external schemas are added as components instead of being cut off.

    8.42.0release notes

  • Bodies and responses with reusable schemas resolve one level.

    8.42.0release notes

  • Resolves __REF_ sentinels in split-mode schema output.

    8.42.0release notes

  • Zod output applies a scalar parent type to an allOf member that does not have one.

    8.41.0release notes

  • Zod output keeps allOf-$ref object defaults with tuples inline.

    8.41.0release notes

  • Generated code qualifies Blob and File with globalThis when a component shadows them.

    8.41.0release notes

  • Zod output skips length, bound and pattern checks on a const.

    8.41.0release notes

  • Effect 4 output merges nullable and open allOf members.

    8.41.0release notes

  • Effect output renders a false schema as S.Never and makes it optional when it is not required.

    8.41.0release notes

  • Effect output skips length and pattern checks on a string const.

    8.41.0release notes

  • Duplicate operation names are disambiguated.

    8.40.0release notes

  • Empty objects are stringified as {}.

    8.40.0release notes

  • Nullable object parts in form data are stringified.

    8.40.0release notes

  • Primitive response schemas are validated.

    8.40.0release notes

  • Non-enum anyOf branches stay next to an annotated const.

    8.39.0release notes

  • Component names that differ only in casing remain distinct.

    8.39.0release notes

  • The infinite page parameter merge is guarded for exactOptionalPropertyTypes.

    8.39.0release notes

  • Inline schemas are imported in single-mode mock files.

    8.39.0release notes

  • The mutationInvalidates warning now accepts infinite query variants.

    8.39.0release notes

  • Broad mutationInvalidates now respects useOperationIdAsQueryKey.

    8.39.0release notes

  • schemaFileExtension is respected for TypeScript schema files.

    8.39.0release notes

  • Binary schemas remain Blob through @scalar/openapi-upgrader versions 0.2.17 and later.

    8.38.0release notes

  • Fixes nullable enum references in enum mode and untyped const mocks.

    8.38.0release notes

  • Preserves nullable $ref enum branches in core and mock handling.

    8.38.0release notes

  • Factory enum members are serialized from their value.

    8.37.0release notes

  • Multipart file parts are correctly typed in shared request body schemas.

    8.37.0release notes

  • The type is widened to account for TanStack releases where onMutateResult is optional.

    8.37.0release notes

  • Keeps the suspense queryFn out of the caller options spread.

    8.36.0release notes

  • Converts dates inside undiscriminated object unions.

    8.35.0release notes

  • MCP mutators are imported in http-client.ts instead of handlers.ts.

    8.35.0release notes

  • Stops treating a member name as a reference to an import.

    8.35.0release notes

  • Closes nullable and binary handling gaps in OAS 3.1 across core, mock, zod, and effect.

    8.35.0release notes

  • Angular's QueryClient is imported as a type unless dependency injection injects it.

    8.35.0release notes

  • Restores the schema type when schemas are left with only content keywords.

    8.35.0release notes

  • The body type is escaped when props are wrapped in BodyType<T>.

    8.34.0release notes

  • Fetch clients preserve error response types when using custom mutators.

    8.34.0release notes

  • The element schema passed to a fetch mutator is imported for inline array responses.

    8.34.0release notes

  • Deeply nested allOf values and allOf-wrapped array items are stringified correctly in form data.

    8.34.0release notes

  • Residual OAS 3.0 syntax is normalized after upgrade().

    8.34.0release notes

  • Required containers are guarded during response date deserialization.

    8.34.0release notes

  • The named schema file is imported in single Zod schema mode.

    8.34.0release notes

  • YAML merge keys are resolved when parsing the spec.

    8.34.0release notes

  • Writes item schemas for composed array responses.

    8.33.0release notes

  • Inline array responses are validated with Zod in fetch clients and angular-query.

    8.33.0release notesrelease notes

  • Imports schemas from the schemas file when output.schemas is unset.

    8.33.0release notes

  • Preserves response status precedence.

    8.33.0release notes

  • The faker generator rejects or escapes enum type-cast names.

    8.32.0release notes

  • Object-typed const values are serialized from their value rather than their declared type.

    8.32.0release notes

  • Rejects a schemas path that names a file.

    8.31.0release notes

  • Imports the zod schema as a value when it is passed to a custom mutator.

    8.31.0release notes

  • Date defaults in generated factories are now escaped.

    8.30.0release notes

  • Numeric constraints are validated on the array and faker paths.

    8.30.0release notes

  • Response status keys are parsed before being emitted.

    8.30.0release notes

  • Per-operation schema resolution now includes schemas-dir imports in tags-operations-split.

    8.30.0release notes

  • Leaves discriminator properties wrapped in allOf refs untouched.

    8.29.0release notes

  • Escapes single quotes in content type media keys.

    8.29.0release notes

  • Types deepObjectEntries as string[] to satisfy strict TypeScript checking.

    8.29.0release notes

  • Escapes single quotes in generated route literals.

    8.29.0release notes

  • Fixes media type key injection.

    8.29.0release notes

  • Quotes mock enum members according to their own type.

    8.29.0release notes

  • Avoids mutating shared response imports during mock generation.

    8.29.0release notes

  • Preserves numeric literals in generated zod object defaults.

    8.29.0release notes

  • Escapes operationId in query and mutation mutator options.

    8.29.0release notes

  • Fixes tuple item consts, inline tuple defaults, and unescaped slashes in describe output.

    8.29.0release notes

  • Path parameters honor allowReserved when urlEncodeParameters is true.

    8.28.1release notes

  • Angular filterParams now serializes Date query parameters to ISO format.

    8.28.1release notes

  • Enum members are collected from nested anyOf and oneOf branches.

    8.28.1release notes

  • Form data keys are escaped in generated code.

    8.28.1release notes

  • When indexFiles is false, schema import paths use the schema name.

    8.28.1release notes

  • A mutation's invalidations are combined into a single queryClient call.

    8.28.1release notes

  • Nested object defaults are serialized as JSON in generated Zod output.

    8.28.1release notes

  • Spec parsing uses JSON_SCHEMA to prevent date coercion.

    8.28.1release notes

  • Structured schemas no longer have their binary path forced by preferredContentType.

    8.28.1release notes

  • Zod resolves $ref parameters before filtering them by location.

    8.28.1release notes

  • Responses use the schema's Zod output alias for their types.

    8.28.1release notes

  • Fetch responses validated at runtime are typed with the schema's Zod output alias.

    8.28.1release notes

  • MCP ToolAnnotations are now emitted accurately for each HTTP verb.

    8.28.1release notes

  • MSW now honors useExamples for property examples.

    8.28.1release notes

  • Makes forceSuccessResponse work without includeHttpResponseReturnType.

    8.27.0release notes

  • Makes Angular httpResource output compile under exactOptionalPropertyTypes.

    8.27.0release notes

  • Keeps the null branch when a nullable enum is spelled as anyOf.

    8.27.0release notes

  • Avoids repeating discriminator parent fields in each oneOf variant.

    8.27.0release notes

  • Serializes query parameters defined at the path-item level.

    8.27.0release notes

  • Avoids looking up tag buckets on Object.prototype.

    8.27.0release notes

  • Omits an undeclared text response branch in Angular output.

    8.27.0release notes

  • Handles unevaluatedProperties like additionalProperties.

    8.27.0release notes

  • The fetch getHeaders type now checks outside the DOM.

    8.26.0release notesrelease notes

  • MCP now supports inline schemas.

    8.26.0release notes

  • Falsy parameter defaults are now treated as defaults.

    8.26.0release notes

  • Invalid $ref combined with nullable: true is normalized into anyOf.

    8.26.0release notes

  • Generated RegExp patterns with Unicode property escapes now include the u flag.

    8.26.0release notes

  • Fetch clients correctly spread Headers instances when merging custom headers.

    8.25.0release notes

  • Zod generation reports a misplaced boolean required instead of crashing.

    8.25.0release notes

  • Mock generation reports a misplaced boolean required instead of crashing.

    8.25.0release notes

  • Cleaning now prunes configured mock directories.

    8.25.0release notes

  • Angular multi-content text responses are typed as Observable<string>.

    8.25.0release notes

  • Metadata is preserved for oneOf const enums.

    8.25.0release notes

  • Zod output no longer emits duplicate parameter constants.

    8.25.0release notes

  • Generated solid-query output now compiles.

    8.25.0release notes

  • Generated solid-start output now compiles.

    8.25.0release notes

  • Url-encoded bodies now honor deepObject encoding.

    8.25.0release notes

  • Swagger 2.0 formData array parameters retain their items.

    8.25.0release notes

  • Generated documentation now honors the configured TypeDoc theme.

    8.25.0release notes

  • Mocks now emit an explicit Content-Type header for vendor media types.

    8.24.0release notes

  • Generated faker schema mocks are now valid.

    8.24.0release notes

  • Handles binary format.

    8.24.0release notes

  • Applies namingConvention to generated Hono handler filenames.

    8.24.0release notes

  • Keeps required status on constraint-only oneOf/anyOf branches.

    8.24.0release notes

  • Preserves an overridden operationName verbatim.

    8.24.0release notes

  • Recursive $ref mocks now terminate with type-valid values.

    8.24.0release notes

  • Preserves the bound-alias name through a ref hop.

    8.23.0release notes

  • Fixes conditional deployment to Cloudflare.

    8.23.0release notes

  • Zod generators infer types from const primitive values.

    8.23.0release notes

  • Fixes malformed requests generated for dotted path parameter names.

    8.23.0release notes

  • Keeps generated barrels idempotent across formatter runs.

    8.23.0release notes

  • Keeps integer enum+const type values as strings.

    8.23.0release notes

  • Zod generators enforce integer validation.

    8.23.0release notes

  • Safely collects nested allOf properties.

    8.23.0release notes

  • Operation parameters override path parameters.

    8.23.0release notes

  • Fetch generators infer the request options type from the mutator.

    8.23.0release notes

  • Resolves required keys through nested allOf $ref compositions.

    8.23.0release notes

  • Preserves required parent properties in allOf.

    8.23.0release notes

  • Avoids deleting the entire working directory when schemas has no path.

    8.23.0release notes

  • Angular clients send required nullable query params as an empty string when no paramsSerializer is configured.

    8.22.0release notes

  • Generated types no longer apply Required<Pick> to required keys missing from properties.

    8.22.0release notes

  • Mocks use exported element aliases for top-level array responses in arrayItems factories.

    8.21.0release notes

  • Mocks inline enum values when enumGenerationType is union.

    8.21.0release notes

  • Generated httpResource helpers remain idle when an optional request body is absent.

    8.21.0release notes

  • Generated multi-content-type resource factories read signals inside the factory.

    8.21.0release notes

  • Used-dependency detection matches only import aliases, preventing unrelated names from being treated as used dependencies.

    8.21.0release notes

  • Angular serializes object query parameters according to OpenAPI style and explode instead of dropping them.

    8.21.0release notes

  • Mocks generate tuple values for OpenAPI 3.1 prefixItems.

    8.21.0release notes

  • Required fields from constraint-only allOf overlays are now combined.

    8.20.0release notes

  • Fixes an issue when a barrel file re-exported itself.

    8.20.0release notes

  • Array query parameters now respect the OpenAPI default explode: true.

    8.20.0release notes

  • Orval now supports npm-aliased TypeScript versions.

    8.20.0release notes

  • Enum value imports are now registered from oneOf split mock helpers.

    8.20.0release notes

  • Generated HTTP verbs now include OPTIONS.

    8.20.0release notes

  • Hoisted sub-models are now emitted for recursive reusable schemas.

    8.20.0release notes

  • Restores Required<Pick> for allOf required fields that were lost after normalizeAllOfSchema.

    8.20.0release notes

  • Resolves inline $dynamicAnchor overrides in dynamic scope.

    8.19.0release notes

  • Keeps httpResource response imports type-only.

    8.19.0release notes

  • Ensures the schemas path uses a directory path in httpResource split mode.

    8.19.0release notes

  • Avoids mutation operation name shadowing.

    8.19.0release notes

  • Recovers schema-factory imports in single-mode mock writer.

    8.19.0release notes

  • Generalizes the tag-identity fix and fixes the same bug in hono.

    8.19.0release notes

  • Tightens faker schema mock types for enums, nested spreads, and binary.

    8.18.0release notes

  • Ensures resolveMockValue returns only one factory import per ref-property.

    8.18.0release notes

  • Uses getImportExtension across writers and emits .js suffixes in workspace barrel and mutator imports for NodeNext module resolution.

    8.18.0release notes

  • Handles nullable object schemas and per-import strict kinds in mocks.

    8.18.0release notes

  • Global query mutators resolve against the output workspace.

    8.18.0release notes

  • Attaches queryKey without spreading the React Query result.

    8.18.0release notes

  • Escapes schema default values when stringifying them.

    8.18.0release notes

  • Global Zod mutators resolve against the output workspace.

    8.18.0release notes

  • The arrayItems option now works with MSW-only mock configurations.

    8.17.0release notes

  • Schemas referenced via $ref inside $defs are now discovered when $dynamicAnchor is present.

    8.17.0release notes

  • Broad-invalidation keys now include baseUrl, preventing mutations from invalidating queries across different base URLs.

    8.17.0release notes

  • Generated properties use an unknown index signature and typed additionalProperties.

    8.16.0release notes

  • Bare-key property overrides are applied to nested objects.

    8.16.0release notes

  • Prevents stack overflow when generating mocks for cyclic allOf schemas.

    8.16.0release notes

  • Discriminator mapping entries whose target schema is absent are skipped.

    8.16.0release notes

  • External $ref values injected via an input transformer are resolved.

    8.16.0release notes

  • Under splitByContentType, MSW handler names use operationName.

    8.16.0release notes

  • Path parameters are kept out of mutation options URLs.

    8.16.0release notes

  • Named enums are extracted inside nullable nested objects and nullable object compositions.

    8.16.0release notes

  • Named mutator re-exports are supported.

    8.16.0release notes

  • Zod output now emits preprocess mutator imports for query, parameter, header, and body schemas, not only responses.

    8.16.0release notes

  • The queryKey is attached to the Solid result without mutating the store.

    8.16.0release notes

  • Newlines in $ref descriptions are escaped when generating reusable schemas.

    8.16.0release notes

  • Generated RegExp pattern literals avoid useless escapes.

    8.16.0release notes

  • Zod output generates a response schema for non-200 2xx responses such as 201 and 202.

    8.16.0release notes

  • Angular path parameters are URL-encoded when urlEncodeParameters is set.

    8.16.0release notes

  • Zod schema output now emits a PathParameters schema when useNamedParameters is enabled.

    8.16.0release notes

  • Zod generation applies required from a sibling allOf member to base properties.

    8.15.0release notes

  • Fixes discriminator aliases and missing parent properties in factory methods.

    8.15.0release notes

  • Fixes logger deduplication state leaking across instances.

    8.15.0release notes

  • Zod preprocessing reads the mutator's target key instead of always reading .response.

    8.15.0release notes

  • Preserves the original input as the cache key, fixing cache misses for uppercase inputs.

    8.15.0release notes

  • Generated mocks no longer double-wrap the null branch for required nullable scalars.

    8.15.0release notes

  • Fixes resolveDiscriminators in cycles.

    8.15.0release notes

  • Emits const declarations for single-item anyOf schemas.

    8.14.0release notes

  • The mutator parser now supports CallExpression initializers.

    8.14.0release notes

  • Fixes cross-schema $dynamicAnchor collisions involving circular $ref.

    8.14.0release notes

  • Deduplicates name collisions when generating reusable schemas.

    8.14.0release notes

  • Emits the HttpClient generic for JSON primitive responses.

    8.14.0release notes

  • Emits const declarations for single-item oneOf schemas.

    8.14.0release notes

  • Applies mock property overrides inside array items.

    8.14.0release notes

  • Emits recursive reusable schemas with full TypeScript types.

    8.14.0release notes

  • Resolves __REF__ sentinels in operation schema files.

    8.14.0release notes

  • Emits reusable schemas for sanitized component names.

    8.14.0release notes

  • Corrects inline reusable schema emission when imports are missing or definitions are dropped.

    8.14.0release notes

  • Prevents sibling variants from leaking into mocks inherited through allOf.

    8.13.0release notes

  • Breaks circular type aliases for variants that inherit discriminators through allOf.

    8.13.0release notes

  • Mocks emit boolean enum literals instead of random boolean values.

    8.13.0release notes

  • Fixes circular suffix matching and combines recursion in mocks.

    8.13.0release notes

  • Zod generation handles content types with a charset suffix.

    8.13.0release notes

  • Preserves a discriminator value when a oneOf parent declares the same property.

    8.13.0release notes

  • Supports the $dynamicAnchor fallback specified by JSON Schema.

    8.13.0release notes

  • Uses one-sided bounds when only minLength, maxLength, minItems, or maxItems is specified.

    8.13.0release notes

  • Generates a union for nullable compositions using type: null with allOf, oneOf, or anyOf.

    8.13.0release notes

  • Passes operationId and operationName to the queryOptions mutator.

    8.13.0release notes

  • Reads x-enum-varnames from the parameter level for primitive query enums.

    8.13.0release notes

  • Detects $ref in single-element allOf, oneOf, and anyOf array items.

    8.12.3release notes

  • Inlines the string type for $ref binary fields in x-www-form-urlencoded bodies.

    8.12.3release notes

  • Raw binary request bodies such as image/png are passed to fetch as the Blob itself.

    8.12.2release notes

  • Handles type arrays such as ["array","null"] in form-urlencoded serialization.

    8.12.2release notes

  • Pass the enabled option into queryOptions mutators.

    8.12.1release notes

  • Use a nullish fallback for infinite query page parameters.

    8.12.1release notes

  • Unref Vue infinite query parameters.

    8.12.1release notes

  • Properly handle multi-line descriptions in generated JSDoc.

    8.12.1release notes

  • Parse mutators with the latest ecmaVersion to support dynamic import.

    8.12.1release notes

  • Narrow string literals per value in object defaults generated by Zod.

    8.12.1release notes

  • Decode escaped JSON Pointer tokens in external refs, including ~0 tilde escapes.

    8.12.1release notes

  • Inline header schemas when a $ref points outside #/components/parameters.

    8.12.1release notes

  • Restore urlEncodeParameters support for the fetch client.

    8.12.1release notes

  • Fix a type error caused by coercing a date parameter to a string when useDates is enabled.

    8.12.1release notes

  • Treat binary fields in x-www-form-urlencoded bodies as strings.

    8.12.1release notes

  • Properly handle zod.generate options and use 2xx when a 200 response is unavailable.

    8.12.1release notes

  • Adds file extensions to imported files when using NodeNext module resolution.

    8.11.0release notes

  • Preserves object query parameters in generated Angular clients.

    8.11.0release notes

  • Restores cycle detection for oneOf and anyOf in mock generation.

    8.11.0release notes

  • Wraps request bodies when readonly properties come from nested schemas.

    8.11.0release notes

  • Inlines non-component references to avoid broken named imports.

    8.11.0release notes

  • Keeps non-relative mutator import paths in tags-split mode.

    8.11.0release notes

  • Honors a per-operation useMutation override for GET operations.

    8.11.0release notes

  • allOf intersection types are now parenthesized when used for array items.

    8.10.0release notes

  • Literal types are preserved in object defaults generated by Zod.

    8.10.0release notes

  • Angular generation no longer produces a compile error for binary response types.

    8.10.0release notes

  • Auto-generated enabled options now use a null check.

    8.10.0release notes

  • Error content types are now included in the fetch parse strategy.

    8.10.0release notes

  • Inlining recursive external references now breaks cycles.

    8.10.0release notes

  • The handler preamble is refreshed and import paths are fixed for the hono.handlers option.

    8.10.0release notes

  • The global override.query.useQuery setting now applies to non-GET verbs.

    8.10.0release notes

  • Const references in propertyNames are now resolved.

    8.10.0release notes

  • Enum references in propertyNames are now resolved.

    8.10.0release notes

  • Angular generation fixes PUT request bodies for multi-content responses.

    8.10.0release notes

  • Sorting now uses deterministic comparators.

    8.10.0release notes

  • Property-level examples are now applied after upgrading OpenAPI 3.0 specifications.

    8.10.0release notes

  • Generated types now include the missing import for $ref types used in additionalProperties.

    8.9.1release notes

  • The callback no longer includes the schemas path when that path was not written.

    8.9.1release notes

  • Enum generation with enumGenerationType: 'enum' no longer produces an empty import type statement.

    8.9.1release notes

  • Generated JSDoc is attached to the main function instead of the URL helper.

    8.9.1release notes

  • MSW paths escape colons with double backslashes.

    8.9.1release notes

  • Removed an unsound cast from HttpClient Zod validation.

    8.9.0release notes

  • Angular httpClient skips Content-Type for multipart/form-data; other integrations are not specified as affected.

    8.9.0release notes

  • Routes are emitted as a method chain to support type inference.

    8.9.0release notes

  • Fixed a TypeScript errors file split issue for Angular httpresource.

    8.9.0release notes

  • Fixed import propagation to MSW mocks for nullable anyOf $ref types.

    8.9.0release notes

  • Multipart JSON object parts are appended as plain strings.

    8.9.0release notes

  • Skips the MSW resolvedBody prelude when no ResponseMock is generated.

    8.9.0release notes

  • Fixed the order of the stringFormat call in generated Zod output.

    8.9.0release notes

  • Added zip to the binary application types list.

    8.9.0release notes

  • Fix missing baseUrl runtime imports in single mode without schemas.

    8.8.1release notes

  • Mock generation now handles boolean exclusiveMaximum values from OpenAPI 3.0 schemas.

    8.8.0release notes

  • Mock generation now handles boolean exclusiveMinimum values from OpenAPI 3.0 schemas.

    8.8.0release notes

  • Generated Hono handler files now include the Orval file header.

    8.8.0release notes

  • MSW mocks now use indexed access types for inline enum properties.

    8.8.0release notes

  • Fixes the naming convention used for MCP path parameters.

    8.8.0release notes

  • Fixes broken model imports in generated code.

    8.8.0release notes

  • Mock generation preserves object properties for nullable type arrays in OpenAPI 3.1.

    8.8.0release notes

  • Typed Record generation now supports propertyNames.const.

    8.8.0release notes

  • Includes query parameters in multi-content-type HTTP calls.

    8.7.0release notes

  • Strips const from a discriminator merged property.

    8.7.0release notes

  • Applies fileExtension to index files.

    8.7.0release notes

  • Includes fileExtension in schemas barrel import paths.

    8.7.0release notes

  • Uses a null literal in filterParams to fix a TypeScript error.

    8.7.0release notes

  • Detects isBlob from content type instead of the resolved type name.

    8.7.0release notes

  • Fixes mutationInvalidates code generation with path parameters and tags-split.

    8.7.0release notes

  • Fixes a syntax error when a path parameter is followed by a dash in a route array.

    8.7.0release notes

  • Handles void union types in MSW mock handlers.

    8.7.0release notes

  • Prevents unnecessary regeneration when watch mode launches.

    8.7.0release notes

  • Component keys are validated before spec parsing.

    8.6.0release notes

  • Enum constraints are guarded for non-array schemas.

    8.6.0release notes

  • Trailing whitespace is stripped from generated code output.

    8.6.0release notes

  • Request and response schema filenames are preserved when indexFiles is false.

    8.6.0release notes

  • Escapes regular expressions used by faker.

    8.5.3release notes

  • Corrects schema import canonicalization when indexFiles is disabled.

    8.5.3release notes

  • Patches explode query parameter support for SolidStart.

    8.5.2release notes

  • Resolves $ref schemas with suffix in runtime validation.

    8.5.2release notes

  • Mock value names now use name instead of pascalCase(originalName), preventing suffixes from being dropped.

    8.5.1release notes

  • Prevents components from being injected into a Swagger 2.0 spec when it has no external refs.

    8.5.1release notes

  • Generate Blob for $ref schemas with format: binary.

    8.5.0release notesrelease notes

  • Angular generation now handles tag cases insensitively when generating filterParams.

    8.5.0release notes

  • Addresses hanging or skipped generate:<name> scripts when running run-p.

    8.4.2release notes

  • Makes export order in mock barrels deterministic.

    8.4.2release notes

  • Keeps default values for required properties in generated Zod schemas.

    8.4.1release notes

  • Fixed an issue when using React hooks with httpClient set to fetch.

    8.4.1release notes

  • Fixes Angular codegen typing issues involving Zod imports, params handling, and response schemas.

    8.4.0release notes

  • Angular output no longer uses or exposes deepnonnullable.

    8.4.0release notes

  • Feature gating now resolves actual installed package versions.

    8.4.0release notes

  • Fixes MSW handling of mixed JSON-XML responses.

    8.4.0release notes

  • Fixes bugs in MSW mock generation.

    8.4.0release notes

  • Corrects React Query onSuccess typing for versions before 5.14 and after 5.89.

    8.4.0release notes

  • Handles $ref responses that do not have a content property.

    8.4.0release notes

  • Fixes schema generation output in split mode.

    8.4.0release notes

  • Zod output avoids trailing commas in additionalProperties consts.

    8.3.0release notes

  • Core normalizes allOf schemas that contain inline objects.

    8.3.0release notes

  • Core and fetch handle anyOf schemas with a null type in query parameters.

    8.3.0release notes

  • MSW mocks return null for circular references in required fields.

    8.3.0release notes

  • Cross-directory schema imports now include fileExtension.

    8.3.0release notes

  • Query invalidation generation skips the invalidation spread.

    8.3.0release notes

  • Generated code skips Content-Type for multipart/form-data and passes FormData to Angular HttpClient.

    8.3.0release notes

  • Nested discriminator oneOf schemas are hoisted.

    8.3.0release notes

  • Mocks generate null instead of undefined for nullable values with a reference.

    8.3.0release notes

  • MSW mocks now propagate required fields in allOf schemas.

    8.3.0release notes

  • Solid Query uses the use prefix for versions >= 5.71.5.

    8.3.0release notes

  • Multipart/form-data generation now supports contentMediaType for array items.

    8.2.0release notes

  • Multipart/form-data generation now supports contentMediaType in allOf, oneOf, and anyOf.

    8.2.0release notes

  • OpenAPI 3.1 type arrays that use $ref are now supported.

    8.2.0release notes

  • Generated Svelte and Vue code for versions before v4 no longer contains an extra curly brace.

    8.2.0release notes

  • Svelte v6 mutations now receive queryClient correctly.

    8.2.0release notes

  • The generated Hono validator.ts no longer has the TS2345 type error.

    8.2.0release notes

  • Restores generation of enum consts for oneOf schemas.

    8.1.0release notes

  • Fixes a TypeScript error with an optional parameter when optionsParamRequired is true.

    8.1.0release notes

  • Adds support for Bun and Yarn Berry catalogs in package.json.

    8.1.0release notes

  • Svelte prefetch options no longer use an accessor.

    8.1.0release notes

  • Avoids generating literal index signatures for propertyNames enums.

    8.1.0release notes

  • Merges schema index exports across runs.

    8.1.0release notes

  • Deduplicates union type members in generated code.

    8.1.0release notes

  • Completes AbortSignal renaming for body parameters.

    8.0.3release notes

  • Adds a null check to assertion handling.

    8.0.3release notes

  • Uses the schema name for formData when requestBody uses $ref.

    8.0.3release notes

  • Preserves the ./ prefix in operation schema import paths.

    8.0.3release notes

  • Keeps path parameters required in queryKey functions.

    8.0.3release notes

  • Union types are wrapped in parentheses when combined with allOf, preserving the intended TypeScript type expression.

    8.0.3release notes

  • Restores nullable handling for OpenAPI versions earlier than 3.1.

    8.0.2release notes

  • Fixes bidirectional imports when using operationSchemas.

    8.0.2release notes

  • Renames the generated AbortSignal when an API has a parameter named signal, avoiding a name collision.

    8.0.2release notes

  • Resolves allOf base schemas even when the base was seen in a different branch.

    8.0.1release notes

  • Fixes an error involving a custom instance in Angular query generation.

    8.0.1release notes

  • Passes the HTTP client inside a custom mutator.

    8.0.1release notes

  • Uses slice() instead of split() for date mock types.

    8.0.1release notes

  • Applies type aliasing to multipart/form-data body types.

    8.0.1release notes

  • Exits with code 1 when project generation fails.

    8.0.1release notes

  • Generates models for Swagger 2.0 responses.

    8.0.1release notes

  • Fixes duplicate invalidate function names in generated query code.

    8.0.0release notes

  • Restores compatibility with Tanstack Query v3.

    8.0.0release notes

  • When enabled, generated query keys now include path parameter information.

    8.0.0release notes

  • Fixes pagination and header support, and handles various response types when determining pagination termination.

    8.0.0release notes

  • The watch option accepts multiple paths again.

    8.0.0release notes

  • Zod schema generation now handles falsy default values.

    8.0.0release notes

orval 721 changes

Breaking changes 2

Security 3

New APIs and options 1

  • An option to generate query invalidations is added.

    7.15.0release notes

Behavior and default changes 1

  • Version checks are skipped when using a Bun/Pnpm workspace catalog.

    7.14.0release notes

Tooling 2

  • Configuration files are processed with jiti v7.

    7.16.0release notes

  • The Zod generator supports OpenAPI 3.1 multi-type arrays.

    7.14.0release notes

Fixes and other changes 12

  • Writers use conventionName instead of camel to follow consistent naming conventions.

    7.17.2release notes

  • Fixed pagination and header support for useSWRInfinite in v7.

    7.17.0release notes

  • Generated error response types are deduplicated.

    7.15.0release notes

  • Fixes Zod's handling of namespace imports.

    7.15.0release notes

  • Generation of the prefetch hook for a hook-based mutator is fixed.

    7.15.0release notes

  • Prevents responseType: text from being added incorrectly.

    7.15.0release notes

  • Fixes a type-checking issue with the zValidator wrapper.

    7.15.0release notes

  • Some Hono configurations no longer generate wrong imports.

    7.14.0release notes

  • When using useOperationIdAsQueryKey, operationName is returned as a string.

    7.14.0release notes

  • The Zod generator considers path-level parameters when generating schemas.

    7.14.0release notes

  • External URL $ref values are no longer mangled.

    7.14.0release notes

  • Generated Hono code imports zValidator consistently.

    7.14.0release notes