@fastify/merge-json-schemas is a JavaScript library that merges multiple JSON Schemas into a single schema by building a logical AND (conjunction). It’s useful when you need to combine schema constraints from multiple sources, with configurable keyword resolvers and conflict handling (throw, ignore, or first).
Project status
- The repository appears actively maintained: there is a recent upstream push on 2026-10-10 and a corresponding tagged update (v0.2.2), with changes that include runtime micro-optimizations plus broad CI and dependency tooling updates.
- The update cadence looks fairly steady in the short term (at least one new update in 2026), but longer gaps exist historically (2026-10-10, then 2025-01-06, then 2024-09-04), suggesting occasional releases rather than frequent ones.
AI summary generated
Recent updates
v0.2.2
v0.2.2 is primarily a maintenance release, with a small runtime micro-optimization and a broad set of CI and dependency/tooling updates. The only direct code change in the library runtime (index.js) is an equivalent control flow change to avoid a temporary variable, while most other changes are in workflows, dev tooling, and configuration.
v0.2.1
v0.2.1 is primarily a tooling and CI update, including switching linting from standard to eslint/neostandard, bumping several devDependencies, and adding dependabot and funding metadata. The only runtime code change is a refactor that renames unused resolver parameters to underscore-prefixed names, which should not affect behavior or function arity.
v0.2.0
This release updates the library internals to use `dequal` instead of `fast-deep-equal` for deep equality checks, and modernizes CI configuration. It also updates README/package references and adjusts the test script setup in `package.json`.
v0.1.1
Release v0.1.1 contains only metadata updates, not functional code changes. The package is renamed to a scoped name and the README installation instructions are updated accordingly.
v0.1.0
This release introduces a new `mergeSchemas` function to fastify/merge-json-schemas. It adds the primary new capability for merging JSON schemas as part of the library’s public API.
Features