Back to Explore

fastify/merge-json-schemas

GitHub
1 watchersOpen source

Last release:

@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

  • Actively maintained: the upstream GitHub push on 2026-08-06 is recent relative to today (2026-08-13), and the project has ongoing version updates beyond 2024.
  • Update cadence appears irregular but present, with tagged updates at 2024-01, 2024-09, 2025-01, and recent activity in 2026 (no evidence of a strict monthly or quarterly schedule).

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 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