Back to Explore

fastify/ajv-compiler

GitHub
1 updates · last 90 days1 watchersOpen 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

  • Active maintenance: The repo shows recent updates (last upstream push 2026-08-08) with a new tagged version v4.0.6 on 2026-08-08, indicating it is currently actively maintained.
  • Update cadence: Releases are not frequent but are regular enough to suggest ongoing work, with the last prior update in v4.0.5 dated 2025-10-18, about 10 months before v4.0.6 (with earlier gaps varying from months to over a year).

AI summary generated

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

Recent updates

  • 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