Fastify v4.0.0-alpha.1
This is first release of Fastify v4. We will soon be issuing release candidates.
What's Changed
- Checked if error handler is default before setting headers by @Swampr in #2609
- feat: set undefined on null input by @MetCoder95 in #2731
- chore: merge master with next by @salmanm in #2753
- Set exposeHeadRoutes: true by default by @mcollina in #2826
- dropped flatstrt by @mcollina in #3016
- Typed decorators by @wyozi in #2981
- feat: Improve error experience by @MetCoder95 in #2954
- Allow async handler to resolve with undefined by @sergejostir in #2702
- Remove overdue deprecations by @sergejostir in #3070
- Remove content type coercion for response streams by @luke88jones in #3086
- feat: Handle new
avvio
error codes by @MetCoder95 in #3106 - fix: handle invalid url by @climba03003 in #3128
- Clarification for "Simplify reply sent monitoring (#3072)" by @sergejostir in #3132
- Deprecate modifying reply.sent property by @sergejostir in #3140
- Fix responding from a hook doc by @sergejostir in #3161
- Deem everything thrown as an error by @sergejostir in #3200
- Encapsulated error handling by @mcollina in #3261
- Payload validation by @matthyk in #3274
- Ajv8 by default by @Eomm in #3271
- Update types for Pino 7 by @kibertoad in #3281
- Update dependencies by @kibertoad in #3294
- chore(deps): Update to new Avvio major version by @MetCoder95 in #3288
- Update to pino rc4 by @kibertoad in #3302
- Increase http2SessionTimeout and keepAliveTimeout to 72 seconds by @mcollina in #3304
- fix(typescript): allow to pass all pino options by @climba03003 in #3383
- Fastify Type Providers by @sinclairzx81 in #3398
- docs: Extend TypeBox documentation by @Jnig in #3437
- Adjust existing PRs for the new reply.sent handing by @sergejostir in #3444
- Skip encapsulation of Request and Reply when not needed by @mcollina in #3479
- fix: Refactor Context constructor and avoid positional arguments by @vtcaregorodtcev in #3483
- remove app.use and fix middleware tests by @genzyy in #3506
- chore: bump find-my-way to 5.1.0 by @anonrig in #3515
- Type Provider Reply Types by @sinclairzx81 in #3524
- chore: bump dependencies by @anonrig in #3531
- build: drop node 12 support by @anonrig in #3532
- Remove .writableEnded fallbacks for node12 by @sergejostir in #3590
- upgrade fast-json-stringify with ajv8 by @Eomm in #3280
- fix: bad headers characters by @Eomm in #3593
- feat: ajv default array coercion by @Eomm in #3594
- docs: add type provider encapsulation by @RafaelGSS in #3647
- localhost binds to ipv4 and ipv6 by @Eomm in #3606
- feat: bump ajv-compiler by @zekth in #3687
- Tests should pass on a host with only a single network interface by @mcollina in #3703
- fix: call normal 404 handler on unsupported method by @markwainwright in #3705
New Contributors
- @Swampr made their first contribution in #2609
- @luke88jones made their first contribution in #3086
- @sinclairzx81 made their first contribution in #3398
- @Jnig made their first contribution in #3437
- @vtcaregorodtcev made their first contribution in #3483
- @anonrig made their first contribution in #3515
- @markwainwright made their first contribution in #3705
Full Changelog: v3.27.2...v4.0.0-alpha.1