PackageTrack

npm

@scalar/openapi-types

0.9.5scalar/scalar

Modern OpenAPI types

Release timeline

39 releases since 2024
20242026

One column per month.

Releases

  1. 0.9.520 Aug 2026
    Release notes

    Patch Changes

    • #9941: Republish every package through npm trusted publishing. No functional changes.
    Open source →
  2. 0.9.431 Jul 2026
    Release notes

    Patch Changes

    • #9733: fix: add explicit .js file extensions to relative imports in the published 2.0, 3.0, 3.1 and 3.2 type declarations, so they resolve with moduleResolution: nodenext and node16
    Open source →
  3. 0.9.316 Jul 2026
    Release notes

    Patch Changes

    • #9719: docs: update the Scalar platform overview block in the README
    Open source →
  4. 0.9.215 Jul 2026
    Release notes

    Patch Changes

    • #9710: Republish so the updated README (with the Scalar platform overview) reaches npm. Also renames the README generator metadata in package.json from readme to scalarReadme: npm treats a readme field as the readme text itself, so affected packages were published with a literal [object Object] readme on the registry instead of README.md.
    Open source →
  5. 0.9.12 Jun 2026
    Release notes

    Patch Changes

    • #9378: fix: allow boolean schemas in OpenAPI 3.1 types

      OpenAPI 3.1 schemas are JSON Schema, where true and false are valid schemas (true allows any instance, false allows none). The SchemaObject type now accepts booleans anywhere a schema is expected, matching the existing 3.2 behavior.

    Open source →
  6. 0.9.021 May 2026
    Release notes

    Minor Changes

    • #9261: Add schema discriminator helpers (isObjectSchema, isArraySchema, isStringSchema, isNumberSchema, isIntegerSchema, isNumericSchema, isBooleanSchema, isNullSchema, isMultiTypeSchema, isUntypedSchema, isBooleanJsonSchema) for narrowing SchemaObject unions across OpenAPI 2.0, 3.0, 3.1, and 3.2.

      Also tightens MultiTypeObject in the strict 3.1 and 3.2 schema types so that type is a required PrimitiveSchemaType[] (the single-type case is already covered by the dedicated variants), and removes MultiTypeObject from the strict 3.0 schema since OpenAPI 3.0 does not support multi-type schemas.

    Patch Changes

    • #9244: Allow OpenAPI 3.2 boolean schemas and media type schema references.
    Open source →
  7. 0.8.021 Apr 2026
    Release notes

    Minor Changes

    • #8942: feat: export new stricter openapi types

    Patch Changes

    • #8949: fix 3.0 parameter object typing for in and style to use strict literal unions.
    Open source →
  8. 0.7.03 Apr 2026
    Release notes

    Minor Changes

    • #8641: remove experimental zod schema entrypoints from openapi-types

    Patch Changes

    • #8664: refactor: replace wildcard export barrels with explicit named re-exports
    Open source →
  9. 0.6.118 Mar 2026
    Release notes

    Patch Changes

    • #8466: chore: new build pipeline
    Open source →
  10. 0.6.04 Mar 2026
    Release notes

    Minor Changes

    • #8322: chore: bump required node version to >=22 (LTS)
    Open source →
  11. 0.5.43 Mar 2026
    Release notes

    Patch Changes

    • #8275: fix(openapi-types): make the $ref property in the ReferenceObject type required
    Open source →
  12. 0.5.310 Dec 2025
    Release notes

    Patch Changes

    Open source →
  13. 0.5.24 Dec 2025
    Release notes

    Patch Changes

    Open source →
  14. 0.5.13 Nov 2025
    Release notes

    Patch Changes

    Open source →
  15. 0.5.014 Oct 2025
    Release notes

    Minor Changes

    • f69e7cc: adds support for OpenAPI 3.2.0 definitions
    Open source →
  16. 0.4.18 Oct 2025
    Release notes

    Patch Changes

    • 15c4240: feat: adds vesion 3.1.2 to the type definitions
    Open source →
  17. 0.4.02 Oct 2025
    Release notes

    Minor Changes

    • 008a0f3: feat: migrate to Zod 4
    Open source →
  18. 0.3.729 Jul 2025
    Release notes

    Patch Changes

    • ccf875a: feat: support x-scalar-credentials-location extension
    Open source →
  19. 0.3.616 Jul 2025
    Release notes

    Patch Changes

    • 591562f: feat: add support for x-scalar-security-body extension
    Open source →
  20. 0.3.57 Jul 2025
    Release notes

    Patch Changes

    • 2d7f995: refactor: use more common straight apostrophe ' instead of the real apostrophe ’
    Open source →
  21. 0.3.425 Jun 2025
    Release notes

    Patch Changes

    • 533469b: refactor: decouple request code block from the state (not in use yet)
    Open source →
  22. 0.3.313 Jun 2025
    Release notes

    Patch Changes

    • 221e35f: feat: added webhooks
    Open source →
  23. 0.3.25 Jun 2025
    Release notes

    Patch Changes

    • 05c22c7: chore: removed enum from http methods
    Open source →
  24. 0.3.122 May 2025
    Release notes

    Patch Changes

    • 4440949: chore: bumping packages
    Open source →
  25. 0.2.312 May 2025
    Release notes

    Patch Changes

    • cb9428c: Support additional query parameters for the OAuth authorization request (prompt, audience, anything), and handle OAuth authorization denials
    Open source →
  26. 0.2.22 May 2025
    Release notes

    Patch Changes

    • 8c7bad8: chore: move build tooling to esbuild
    Open source →
  27. 0.2.123 Apr 2025
    Release notes

    Patch Changes

    • fa8ed84: feat: custom OpenAPI extension to add SDK setup instructions
    Open source →
  28. 0.2.02 Apr 2025
    Release notes

    Minor Changes

    • e62e677: feat: OpenAPI-compliant Zod Schemas

    Patch Changes

    • 82f16a5: feat: add more Zod schemas for OpenAPI extensions
    Open source →
  29. 0.1.928 Feb 2025
    Release notes

    Patch Changes

    • c10bbf5: chore: code style
    Open source →
  30. 0.1.820 Feb 2025
    Release notes

    Patch Changes

    • e350f23: chore: code style
    Open source →
  31. 0.1.74 Feb 2025
    Release notes

    Patch Changes

    • f9bf5f1: feat(api-reference): implement rendering of patternProperties
    Open source →
  32. 0.1.616 Jan 2025
    Release notes

    Patch Changes

    • 13333e6: feat: add http methods
    Open source →
  33. 0.1.57 Nov 2024
    Release notes

    Patch Changes

    • a607115: feat: add openapi 3.0.4 and openapi 3.1.1
    Open source →
  34. 0.1.420 Oct 2024
    Release notes

    Patch Changes

    • 2b540b9: Include 3.0.3 in allowed OpenApiV3 versions
    Open source →
  35. 0.1.314 Oct 2024
    Release notes

    Patch Changes

    • 8759e7f: chore: use build tooling scripts
    Open source →
  36. 0.1.210 Oct 2024
    Release notes

    Patch Changes

    • e911047: Add default exports
    Open source →
  37. 0.1.112 Sept 2024
    Release notes

    Patch Changes

    • dc9aff2: feat: expose HeadersObject
    Open source →
  38. 0.1.030 Aug 2024
    Release notes

    Minor Changes

    • b4f9f97: feat: new @scalar/openapi-types package
    Open source →
  39. 0.0.114 Aug 2024
    Release notes

    Patch Changes

    • a8db3b0: feat(openapi-types): add openapi-types package with temporary old parser types
    Open source →