fastify/fast-json-stringify-compiler
Last release:
@fastify/fast-json-stringify-compiler builds and manages fast-json-stringify instances for the Fastify framework, compiling response JSON schemas into optimized serializer functions to speed up response time. It can also be used in a standalone mode to pre-compile schema serializer functions for faster startup, by generating them in development and restoring them at runtime.
Project status
- Actively maintained, with an upstream GitHub push on 2026-08-05 and a recent update (v5.1.0 on 2026-07-05), indicating ongoing work rather than dormancy.
- Apparent update cadence is fairly steady recently, with updates roughly on a monthly timescale between v5.1.0 and the latest activity (2026-07 to 2026-08), though earlier changes were less frequent (2025-04, 2025-01).
AI summary generated
Recent updates
v5.1.0
v5.1.0 primarily updates development tooling and CI configuration, including migrating TypeScript type tests from tsd to tstyche. It also bumps a key dependency, fast-json-stringify, from the 6.x line to 7.0.0, and refreshes various lint/test tooling versions.
BreakingSecurityv5.0.3
v5.0.3 contains mostly CI and tooling changes (permissions, workflow branch support, and migrating tests to the Node.js test runner). It also includes an internal refactor intended to fix circular dependencies. No runtime API changes are mentioned in the release notes.
v5.0.2
v5.0.2 updates development tooling (standard style to neostandard, add eslint) and bumps related build dependencies. It also includes a TypeScript typing fix around the SerializerCompiler API. Most changes are dev/build-related, but the .d.ts diff indicates a potentially breaking signature adjustment for TypeScript users.
v5.0.1
Release v5.0.1 mainly bumps the package version and updates the development Fastify dependency from a pre-release (5.0.0-alpha.4) to the stable line (^5.0.0). The code diff also changes the CI workflow configuration, removing an explicit Node.js version matrix entry.
v5.0.0
v5.0.0 is primarily a maintenance release that updates CI behavior, modernizes some test/metadata files, and bumps key dependencies. The only runtime-relevant change visible in the diff is a dependency major upgrade (fast-json-stringify 6.0.0), while the rest of the changes are tooling and configuration.
Breaking4.3.0
Release 4.3.0 primarily updates development tooling, including adding pre-commit configuration and adjusting ignored files for tooling artifacts (clinic, bun lockfile). It also bumps the TypeScript signature testing tool (tsd) as part of the dev dependency updates. The code diff also shows at least one runtime dependency change (fast-json-stringify) that is not reflected in the release notes.
Featuresv4.2.0
v4.2.0 primarily updates development tooling (tsd) and makes NodeNext/typing adjustments. The code diff provided shows a significant change to the published TypeScript declaration structure and several exported type signatures, even though the release notes only broadly mention “correct typings”.
v4.1.0
v4.1.0 introduces a new standalone mode that lets Fastify precompile JSON serialization functions and later restore them at runtime. The release notes also mention CI license checking and a tsd version bump, plus README updates.
Featuresv4.0.0
v4.0.0 makes a small behavioral change in how the compiler handles external JSON schemas when the input schema has a $id that also exists in the external schema map. It also bumps tooling and runtime dependencies, including a major fast-json-stringify upgrade.
v3.0.1
v3.0.1 primarily updates repository configuration (.gitignore) and bumps dependency versions. No application logic or public API code changes are present in the diff, but the dependency upgrades can indirectly impact consumers via updated fastify and fast-json-stringify behavior or types.