A Fastify plugin that adds parsing for `application/x-www-form-urlencoded` request bodies, so form submissions are available as `req.body`. It supports configuration options like `bodyLimit` and a custom `parser` function (defaulting to Fastify's built-in `querystring.parse`).
Project status
- Actively maintained, with a recent update on 2026-08-08 (v9.0.0) and prior updates before that, indicating the repo is not dormant.
- Update cadence appears irregular, with updates spanning about 17 months between v8.0.2 (2025-01-10) and v9.0.0 (2026-08-08), and about 4 months between v8.0.1 (2024-09-22) and v8.0.2 (2025-01-10).
AI summary generated
Recent updates
v9.0.0
v9.0.0 is primarily a tooling and dependency update release, including CI and Dependabot configuration changes. It also migrates TypeScript type testing from tsd to tstyche and renames the published entry/type files to use index.js and types/index.d.ts. While the release notes mention the tsd to tstyche refactor, the code diff shows at least one TypeScript breaking change in the public type exports.
v8.0.2
v8.0.2 is primarily a tooling and documentation update, with small TypeScript declaration tweaks (using node: prefixes for built-ins) and minor refactors to mark unused parameters. Runtime logic in the plugin appears unchanged, and most changes are related to linting and CI configuration.
v8.0.1
v8.0.1 is a maintenance release focused on test/tooling changes. It migrates the unit test runner to Node's built-in test runner with c8-based coverage, and updates the Fastify dev dependency to the non-alpha ^5.0.0 version.
v8.0.0
v8.0.0 updates the @fastify/formbody project for a newer Fastify ecosystem, including a change to the minimum Fastify compatibility target and broad dependency upgrades. It also modernizes CI configuration and repository metadata, and adjusts tests to use the `node:` prefix for built-in modules.
Breakingv7.4.0
Release v7.4.0 updates @fastify/formbody with tooling bumps (tsd, form-auto-content) and changes the plugin/type exports for better NodeNext compatibility. The runtime plugin still parses application/x-www-form-urlencoded bodies, but the underlying function name and TypeScript declaration shape were modified.
v7.3.0
v7.3.0 includes a small performance-related change to the body parsing implementation and a documentation link fix. The code switches the default form-url-encoded parser from Node's built-in querystring to fast-querystring.
v7.2.0
This release primarily updates the development dependency tsd from 0.22.0 to 0.23.0. The code diff shows a package.json change only, with no runtime code changes indicated.
v7.1.0
v7.1.0 primarily updates development tooling and dependencies (tsd, @types/node, fastify-plugin) and refreshes CI and documentation. It also adjusts TypeScript type definitions and test strategy, including switching the integration tests from the request library to Fastify's injection utilities.
v7.0.1
v7.0.1 makes a small change to the CI setup by switching to a Fastify reusable workflow, and it updates the Fastify peer semver range to better support Fastify 4 release candidates (rc). The functional runtime code diff is minimal, with no changes to the exported plugin behavior.
v7.0.0
v7.0.0 updates the @fastify/formbody plugin to target Fastify v4. The release notes only mention a Fastify v4 bump, but the diff also includes a package metadata change and CI/test updates tied to Fastify v4 behavior and API.
Breaking