Back to Explore

fastify/ajv-compiler

GitHub
1 updates · last 90 daysOpen source

Last release:

@fastify/ajv-compiler manages the ajv instances used by the Fastify framework, isolating the AJV dependency so you can choose an AJV version without tightly coupling it to Fastify. It also supports Fastify with JSON Type Definitions (JTD), including an optional serializer setup and an AJV “standalone” mode to pre-compile and load schema validation functions.

Project status

  • Maintenance status: Actively maintained. The most recent upstream push was 2026-10-10, and multiple updates have landed in 2026 (v4.0.7 on 2026-10-10, v4.0.6 on 2026-08-08).
  • Update cadence: Appears fairly steady in the last year, with a roughly 2 month gap between the latest two updates (Aug to Oct 2026). Earlier, there are longer quiet periods (for example, from 2025-10 to 2026-08).

AI summary generated

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

Recent updates

  • v4.0.7

    Release v4.0.7 updates the package version and refreshes CI/release automation. It bumps the cronometro dependency to 7.0.1 and adds a new GitHub Actions workflow that triggers a reusable release process using OIDC (id-token) for npm provenance.

  • v4.0.6

    v4.0.6 updates several development and CI dependencies, and upgrades runtime dependencies including a major fast-uri bump intended to address security issues. It also migrates TypeScript type-testing from tsd to tstyche and refreshes GitHub workflow configuration (including adding a lock-threads workflow).

    SecurityFeatures
  • v4.0.5

    Release v4.0.5 primarily updates CI behavior and adjusts TypeScript typings for the compiler factory. There are no runtime code changes in the provided diff, only workflow configuration and .d.ts type-level modifications.

  • v4.0.4

    v4.0.4 updates the TypeScript types for @fastify/ajv-compiler to allow the plugins option to include either plugin functions or plugin-plus-options tuples. The release notes describe this as a fix for cases where plugins may contain tuples of <plugin, options>.

  • v4.0.3

    v4.0.3 is primarily a developer workflow and tooling release. It updates CI permissions and branch triggers, migrates the test suite to Node's built-in test runner, bumps a couple of dev dependencies, and adjusts TypeScript typings for buildCompilerFromPool.

  • v4.0.2

    This patch release (v4.0.2) mostly updates development tooling and CI, including linting and minor dependency bumps. It also adjusts the serializer compiler implementation and refactors TypeScript declaration files (d.ts) to satisfy linting, without any clearly documented runtime behavior change.

  • v4.0.1

    v4.0.1 makes two small changes: it updates CI configuration for Node.js versions, and it upgrades the Fastify dependency from an alpha release to the stable v5 line. No application code changes are shown in the provided diff.

  • v4.0.0

    v4.0.0 primarily updates several dependencies and CI workflow configuration. The release notes call out bumps to fast-uri, ajv-formats, and fastify/workflows, plus a merge from next into main, but the actual diff also includes additional dependency and repository configuration changes not mentioned in the notes.

    Breaking
  • v3.6.0

    v3.6.0 adds a new `onCreate` callback option that lets you customize the underlying AJV instance used by generated validators. The release also includes various CI, test, and development dependency updates, plus documentation and repository housekeeping.

    Features
  • v3.5.0

    This release primarily updates development and test tooling (tap/tsd), and adjusts package configuration for NodeNext compatibility. In addition, it makes substantial changes to the published TypeScript declaration files and the module export shape, which can affect TypeScript consumers and any code relying on the old type definitions.

    BreakingFeatures
  • v3.4.0

    v3.4.0 introduces an AJV JTD serializer capability, adding a new serializer compiler path alongside the existing validator compiler. The release notes also mention a dev dependency bump (tsd 0.23.0 to 0.24.1), but do not call out implementation details of the serializer behavior.

    Features