NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
modern OpenAPI parser written in TypeScript
Latest stable
0.29.29
Last release 3 days ago
26 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
Some releases are documented
notes for 33 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
156 releases · first in 2024
Drag across the ruler to compare, or tap a release to open it.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
No changes in this release.
No changes in this release.
No changes in this release.
No changes in this release.
### Patch Changes - #11004: Preserve package output paths and application aliases when building with TypeScript 6.
No changes in this release.
No changes in this release.
Since yaml 2.9.1, merge keys (<<: *anchor) count toward the alias limit, so large API Gateway exports failed with "Excessive alias count indicates a r
#10967: fix: parse YAML documents that merge shared anchors into many operations
Since yaml 2.9.1, merge keys (<<: *anchor) count toward the alias limit, so large API Gateway exports failed with "Excessive alias count indicates a resource exhaustion attack". The limit is now 100,000 and shared through YAML_MAX_ALIAS_COUNT from @scalar/helpers.
Nothing published for this version
The exported normalize function now uses the shared signature (content: unknown) => unknown; callers must narrow the parsed result before accessing it
#10792: Reuse the JSON/YAML normalizer from @scalar/json-magic so JSON documents with a leading UTF-8 BOM parse correctly. Malformed JSON arrays no longer fall back to YAML parsing.
The exported normalize function now uses the shared signature (content: unknown) => unknown; callers must narrow the parsed result before accessing its properties.
Nothing published for this version
Nothing published for this version
### Patch Changes - #10721: Update compatible dependencies while retaining the existing Node.js support and five-day release-age policy.
Retain reference context across external files and fragments. Resolve custom operations while preserving OAuth scope names, discriminator mappings, Li
#10643: Distinguish reference locations from schema name maps and literal data when validating, dereferencing, and collecting external references. Preserve $ref properties with object or boolean schemas, leave examples and default/enum/const values unchanged, and retain errors for malformed references.
Retain reference context across external files and fragments. Resolve custom operations while preserving OAuth scope names, discriminator mappings, Link payloads, and specification extension data.
Nothing published for this version
### Patch Changes - #10559: Clean up Biome warnings in package code and tests. Handle rejected debounced callbacks and await streaming writes. - #1050
### Patch Changes - #10489: Report invalid non-exploded structured cookies in OpenAPI 3.2 documents and prevent invalid request and code sample genera
style: cookie with explode: true.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
### Patch Changes - #10274: Add a standard-agnostic join utility with configurable merge strategies and conflict reporting to @scalar/json-magic/join.
join utility with configurable merge strategies and conflict reporting to @scalar/json-magic/join. Use it in the OpenAPI parser while retaining OpenAPI upgrades, component prefixes, and OpenAPI conflict reports in the parser.Nothing published for this version
### Patch Changes - #10216: Allow more time for parser comparison tests on slower CI runners.
Narrow DOM elements and caught errors before accessing their properties. Correct header lookup to include missing values and handle them during PowerS
#10202: Explain invalid URI references and OpenAPI component names, and return parser errors for malformed reference escapes.
#10113: Ignore unsafe component keys and check own properties when joining API descriptions.
#10141: Report the actual document version after upgrading, including preserved OpenAPI 3.2 documents. Return no version for empty or unsupported input.
#10136: Restore modal and single-file reference tests, update layout selectors, and remove stale comments. Named-resource resolution remains unsupported and is tested explicitly.
#10140: Replace redundant type assertions with compiler-checked annotations, typed accumulators, and existing guards across helpers, API conversion, request handling, and schema rendering.
Narrow DOM elements and caught errors before accessing their properties. Correct header lookup to include missing values and handle them during PowerShell snippet generation.
Validate release-note provider responses, represent unresolved references and absent groups in helper return types, and require narrowing merged object values. Preserve AsyncAPI broker credentials separately from HTTP authentication schemes.
The generic AnyObject and UnknownObject types are no longer re-exported from @scalar/openapi-parser. Import them from @scalar/types/utils instead.
#10078: Guard mergeObjects (used by join) against prototype pollution, so a __proto__, constructor, or prototype key in an input document can no longer reach Object.prototype
#9990: Fix @scalar/types leaking into the published type declarations. @scalar/openapi-parser referenced @scalar/types from its .d.ts files while only depending on it as a devDependency, so consumers hit TS2307 (cannot find module). @scalar/types is now a regular dependency, and the package uses the shared UnknownObject and AnyObject utility types from @scalar/types/utils directly instead of defining its own local copies (AnyObject was added to @scalar/types/utils alongside the existing UnknownObject).
The generic AnyObject and UnknownObject types are no longer re-exported from @scalar/openapi-parser. Import them from @scalar/types/utils instead.
Two type-level changes in @scalar/openapi-parser are worth noting:
#9967: Add a new @scalar/openapi-validator package that validates OpenAPI documents on its own. @scalar/openapi-parser now uses it under the hood.
Two type-level changes in @scalar/openapi-parser are worth noting:
ErrorObject.path is now string | string[] instead of string[]. Schema errors carry a JSON Pointer string, semantic errors carry path segments — both shapes were already produced at runtime, the type just says so now. Narrow with Array.isArray before treating it as a list.ValidationOutcome type and the internal OpenApiDocument alias are no longer exported.### Patch Changes - #9941: Republish every package through npm trusted publishing. No functional changes.
Nothing published for this version
### Patch Changes - #9838: Show a clearer error when a response is missing its description. Before, the validator reported the confusing must have req
description. Before, the
validator reported the confusing must have required property '$ref' (or
oneOf must match exactly one schema in oneOf) instead of pointing at the
actual problem.Nothing published for this version
Nothing published for this version
### Patch Changes - #9719: docs: update the Scalar platform overview block in the README
### Patch Changes - #9710: Republish so the updated README (with the Scalar platform overview) reaches npm. Also renames the README generator metadata
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.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
### Minor Changes - #9045: refactor: adopt strict versioned @scalar/openapi-types imports in parser types
### Minor Changes - #8965: refactor: adopt strict versioned @scalar/openapi-types imports in parser types
Nothing published for this version
### Minor Changes - #8935: feat: pass resolved object to onDereference callback
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
### Patch Changes - #8579: feat(openapi-parser): improve format validation error messages for $ref with non-ASCII characters
Nothing published for this version
### Patch Changes - #8520: Normalize trailing + in path template parameter names during path-parameter validation so {name+} matches a declared name p
+ in path template parameter names during path-parameter validation so {name+} matches a declared name path parameter.### Patch Changes - #8466: chore: new build pipeline
### Patch Changes - #8448: fix parser validation for unused path parameters
### Patch Changes #### Updated Dependencies - @scalar/helpers@0.4.1 - #8420: fix TypeScript access to navigator.userAgentData in isMacOS without ts-ex
@scalar/helpers@0.4.1
@scalar/json-magic@0.12.3
@scalar/openapi-upgrader@0.2.0
### Patch Changes - #8359: fix(openapi-parser): replace $dynamicRef with $ref in v3.2 schema for AJV compatibility #### Updated Dependencies - @scalar
### Patch Changes #### Updated Dependencies - @scalar/json-magic@0.12.1 - #8357: chore: improve performance and memory usage of bundler
### Minor Changes - #8322: chore: bump required node version to >=22 (LTS) ### Patch Changes #### Updated Dependencies - @scalar/openapi-upgrader@0.2.
@scalar/openapi-upgrader@0.2.0
@scalar/openapi-types@0.6.0
@scalar/json-magic@0.12.0
@scalar/helpers@0.3.0
One column per month.