@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
- Actively maintained: The repository shows a very recent upstream push on 2026-08-08, along with a corresponding v4.0.6 update the same day, indicating ongoing maintenance.
- Update cadence: Updates are not frequent, but they recur after long gaps, with v4.0.6 in 2026-08 and prior updates in 2025-10 (about 10 months between the last two shown versions).
AI summary generated
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).
SecurityFeaturesv4.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.