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

  • Maintenance status: The repository shows an upstream push as recently as 2026-08-06, but the last published package update in the provided history is v0.2.1 on 2025-01-06, which suggests maintenance activity may be occurring without corresponding versioned updates.
  • Update cadence: Prior updates were at v0.2.0 (2024-09-04) and v0.2.1 (2025-01-06), then there are no newer versioned updates shown after that, indicating the cadence has slowed significantly relative to today (2026-08-12).

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