unstale

npm / orval

orval

What changed in orval 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.

5 breaking12 security5 new APIs and options5 behavior and defaults16 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.2.1 on npm

orval 843 changes

Breaking changes 5

  • 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

Security 12

  • Orval: Generation-time SSRF + remote/local file inclusion via unrestricted $ref

    8.22.0security advisory

  • 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 schema property name -> computed-property-key injection in the MSW mock generator

    8.21.0security advisory

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

    8.21.0security advisory

New APIs and options 5

Behavior and default changes 5

  • 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

Fixes and other changes 16

  • 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