Back to Explore

fastify/json-schema-ref-resolver

GitHub
1 watchersOpen source

Last release:

A JavaScript library that resolves and dereferences references inside JSON Schemas, making it useful for preparing OpenAPI or Swagger-style schemas that use `$ref`. It lets you add schemas by id, list discovered references and dependencies, and produce a dereferenced schema via the `RefResolver` API.

Project status

  • The repo shows very recent activity (last upstream push on 2026-08-07), which suggests the project is currently being worked on, but the most recent published updates I can see are v3.0.0 on 2025-03-08.
  • Update cadence based on published versions: v2.0.0 (2024-09-04), v2.0.1 (2025-01-15), v3.0.0 (2025-03-08). After v3.0.0, there is a long gap with no further published updates despite the recent push activity, so release cadence appears to have slowed.

AI summary generated

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

Recent updates

  • v3.0.0

    v3.0.0 release notes describe repository automation updates: Dependabot update cadence, CI trigger branch support, and CI job permissions and node version coverage. The accompanying code diff confirms these changes, and shows a package.json version bump to 3.0.0.

  • v2.0.1

    v2.0.1 primarily updates development and CI tooling (Node 22 in CI, neostandard and eslint configuration, c8 and neostandard version bumps, dependabot, funding/bugs metadata). It also tweaks error message wording and related documentation/test expectations.

  • v2.0.0

    v2.0.0 modernizes the resolver implementation by switching equality logic from fast-deep-equal to dequal and adjusting schema dereferencing to handle cases where the root schema lacks a non-anchor $id. The release also declares explicit CommonJS module type in package.json and includes some workflow automation changes.

  • v1.0.1

    v1.0.1 improves ref resolution error handling by throwing errors in cases where the target schema is missing or a ref cannot be resolved. It also enhances the error messages to be more informative for debugging resolution failures.

    BreakingFeatures