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

4 hours ago

What's Changed

  • Potential fix for code scanning alert no. 10: Workflow does not contain permissions by @melloware in #3527
  • fix(zod): emit preprocess mutator imports for query/param/header/body, not just response by @NathanFichefet in #3532
  • revert(core): use jsStringEscape for enum/const values to prevent bac… by @melloware in #3533
  • fix(zod): escape newlines in $ref description with generateReusableSchemas by @z4o4z in #3528
  • feat(mock): emit strict Mock return types when required and nonNullable are both true by @Hypenate in #3529
  • fix(zod): emit PathParameters schema for useNamedParameters in zod schema output by @soartec-lab in #3539
  • fix(angular): url-encode path params when urlEncodeParameters is set by @cghislai in #3541
  • feat(core): add includeUnreferencedSchemas filter to keep all schemas under tag filter by @wadakatu in #3545
  • refactor(mock): emit strict mock types once from structured names by @Hypenate in #3543
  • feat(mock): support indexMockFiles in split mode by @wadakatu in #3546
  • fix(orval): resolve external $ref injected via input transformer by @wadakatu in #3547
  • feat(core): add schemas.importPath for package import specifiers by @aqeelat in #3548
  • fix(zod): avoid useless escapes in generated RegExp pattern literals by @wadakatu in #3552
  • Migrate monorepo tooling to Vite+ by @anymaniax in #3503
  • fix(core): use unknown index signature for properties + typed additionalProperties by @wadakatu in #3549
  • fix(core): extract named enums inside nullable nested objects by @wadakatu in #3560
  • fix(query): keep path params out of mutation options URLs by @cocojojo5213 in #3557
  • fix(core): support named mutator re-exports by @cocojojo5213 in #3555
  • fix(core): skip discriminator mapping entries whose target schema is absent by @clementinelove in #3551
  • feat: support x-codegen-request-body-name extension by @haydenholligan in #3556
  • fix(mock): prevent stack overflow on cyclic allOf schemas by @clementinelove in #3562
  • fix(core): extract named enums in nullable object compositions by @wadakatu in #3564
  • fix(mock): use operationName for MSW handler names under splitByContentType by @wadakatu in #3566
  • fix(query): attach queryKey to solid result without mutating the store by @wadakatu in #3567
  • test(zod): add regression test for v4 top-level string formats by @wadakatu in #3568
  • fix(mock): apply bare-key property overrides to nested objects (#3470) by @wadakatu in #3569
  • fix(zod): generate response schema for non-200 2xx (201/202) in single-response mode by @soartec-lab in #3570
  • Release v8.16.0 by @github-actions[bot] in #3571

New Contributors

Full Changelog: v8.15.0...v8.16.0

Don't miss a new orval release

NewReleases is sending notifications on new releases.