Releases: fastify/fastify
Releases · fastify/fastify
v4.14.1
What's Changed
- chore(.gitignore): add bun lockfile by @Fdawgs in #4609
- docs: consistency fix on note and example for frameworkErrors by @nadhifikbarw in #4610
- fix: onRequestAbort hook request pending by @Eomm in #4611
- refactor: cleanup duplicated symbols by @metcoder95 in #4612
New Contributors
- @nadhifikbarw made their first contribution in #4610
Full Changelog: v4.14.0...v4.14.1
v4.14.0
What's Changed
- Schema error formatter type by @cm-ayf in #4570
- Fix typescript integration bug with ajv-compiler by @Uzlopak in #4555
- build(deps-dev): bump yup from 0.32.11 to 1.0.0 by @dependabot in #4581
- feat: Add onRequestAbort hook. by @ShogunPanda in #4582
- ci(package-manager): update ubuntu os to latest by @Fdawgs in #4591
- Improve Contribution Guide's VSCode setup instructions by @evpirnia in #4594
- fix: Only remove implicit HEAD routes. by @ShogunPanda in #4596
- Fix tests in Node.js v16 by @mcollina in #4597
- docs(ecosystem): add fastify-flux tool by @Jnig in #4599
- feat: include origin error message into serialization error by @ivan-tymoshenko in #4601
- feat: log requests refused before processing starts by @airhorns in #4600
- fix: add missed symbol by @metcoder95 in #4608
New Contributors
Full Changelog: v4.13.0...v4.14.0
v4.13.0
What's Changed
- Docs: Add guide about detecting client abort by @eugenio-oddone in #4518
- fix: add type support for instance has plugin by @audothomas in #4527
- test: add host header for net connection by @climba03003 in #4536
- fix: getSchemaSerializer contentType check by @salesh in #4531
- docs(ecosystem): add fastify-web-response by @erfanium in #4537
- Docs: Update guide about detecting client abort by @eugenio-oddone in #4530
- Bring docs in line with ajv-serializer defaults by @mcollina in #4544
- docs: update await fastify.register docs by @Adibla in #4546
- ContentTypeParser remove(): Return false when content type parser was not present for removal by @kamilogorek in #4550
- docs: update Ecosystem.md by @Adibla in #4551
- docs(ecosystem): add fastify-204 by @Shiva127 in #4504
- docs: add fastify-delay-request by @climba03003 in #4569
- docs(ecosystem): add @clerk/fastify plugin by @dimkl in #4571
- docs(ecosystem): add fastify-json-to-xml plugin by @Fdawgs in #4572
- #4521 Replace native errors with @fastify/errors by @alainrk in #4554
- fix: Return 408 on client timeout. by @ShogunPanda in #4552
- docs(ecosystem): add fastify-cloudinary plugin by @Shyam-Chen in #4576
- Fix crash when onReady hook throws by @mcollina in #4579
New Contributors
- @eugenio-oddone made their first contribution in #4518
- @audothomas made their first contribution in #4527
- @salesh made their first contribution in #4531
- @kamilogorek made their first contribution in #4550
- @Shiva127 made their first contribution in #4504
- @dimkl made their first contribution in #4571
- @Shyam-Chen made their first contribution in #4576
Full Changelog: v4.12.0...v4.13.0
v4.12.0
What's Changed
- build(deps-dev): bump markdownlint-cli2 from 0.5.1 to 0.6.0 by @dependabot in #4492
- nodenext compatibility by @Uzlopak in #4438
- fix: content-type parserRegExpList when plugin override by @climba03003 in #4496
- docs: upgrade migration guide for v4 by @metcoder95 in #4503
- replace content-type with fast-content-type-parse by @Uzlopak in #4505
- Add fastify-postgres-dot-js plugin to ecosystem docs. by @kylerush in #4514
- chore(license): update licensing year by @Fdawgs in #4516
- docs(Ecosystem): add metcoder95/fastify-ip by @metcoder95 in #4517
- #4523 Add types for fastifyInstance.addresses() by @Baptiste-Garcin in #4524
New Contributors
- @kylerush made their first contribution in #4514
- @Baptiste-Garcin made their first contribution in #4524
Full Changelog: v4.11.0...v4.12.0
v3.29.5
What's Changed
- (v3.x) Replace pem dependency (#3711) by @climba03003 in #4500
- [Backport v3.x] fix: content-type parserRegExpList when plugin override by @github-actions in #4498
- (v3.x) perf: only check for isEssence once in RegExp for content-type-parser (#4481) by @climba03003 in #4497
- (v3.x) replace content-type with fast-content-type-parse (#4505) by @climba03003 in #4507
Full Changelog: v3.29.4...v3.29.5
v4.11.0
What's Changed
- fix: use generic for Logger to register plugins when using a custom logger (#4435) by @marcoreni in #4436
- Incorrect example in default text parser docs by @SaumyaBhushan in #4448
- chore: fix test skips for nodejs prereleases by @nlf in #4449
- Move @Ethan-Arrowood to Past Collaborator section by @Ethan-Arrowood in #4451
- build(deps): bump lycheeverse/lychee-action from 1.5.1 to 1.5.4 by @dependabot in #4454
- build(deps): bump actions/dependency-review-action from 2 to 3 by @dependabot in #4455
- build(deps-dev): bump tsd from 0.24.1 to 0.25.0 by @dependabot in #4460
- docs: add fastify-user-agent by @Eomm in #4466
- chore(ecosystem): rename fastify-lyra plugin by @mateonunez in #4474
- docs(ecosystem): add fastify-at-mysql plugin by @mateonunez in #4473
- fix: make res.statusCode optional by @polRk in #4471
- docs(ecosystem): add fastify-at-postgres plugin by @mateonunez in #4475
- perf: precompute isEssence for RegExp of content-type-parser method compareRegExpContentType by @Uzlopak in #4481
- lib: deprecate the default route and improve its documentation by @RafaelGSS in #4480
- docs(reference/reply): When using async-await, need return by @radiorz in #4429
- fix: re-thrown error crash by @climba03003 in #4488
- build(deps): bump thollander/actions-comment-pull-request from 1 to 2 by @dependabot in #4489
- build(deps): bump xt0rted/markdownlint-problem-matcher from 1.1.0 to 2.0.0 by @dependabot in #4490
- improve
setErrorHandler
example by @trim21 in #4484
New Contributors
- @marcoreni made their first contribution in #4436
- @SaumyaBhushan made their first contribution in #4448
- @nlf made their first contribution in #4449
- @polRk made their first contribution in #4471
- @radiorz made their first contribution in #4429
- @trim21 made their first contribution in #4484
Full Changelog: v4.10.2...v4.11.0
v4.10.2
⚠️ Security Release ⚠️
Full Changelog: v4.10.1...v4.10.2
v4.10.1
What's Changed
- fix node 19.1.0 port validation test by @Uzlopak in #4427
- Add fastify-constraints to community plugins by @Ceres6 in #4428
- build(deps-dev): bump @sinonjs/fake-timers from 9.1.2 to 10.0.0 by @dependabot in #4421
- add silent option to LogLevel by @Uzlopak in #4432
New Contributors
Full Changelog: v4.10.0...v4.10.1
v3.29.4
⚠️ Security Release ⚠️
Full Changelog: v3.29.3...v3.29.4
v4.10.0
What's Changed
- docs(reference/reply): spelling fixes by @Fdawgs in #4358
- Support different content-type typed reply with TypeProvider by @rain714 in #4360
- chore: remove leading empty lines by @LinusU in #4364
- fix types after pino 8.7.0 change by @mcollina in #4365
- Node.js V19 support by @mcollina in #4366
- fix: no check on
null
orundefined
values passed as fn by @metcoder95 in #4367 - docs(server): config is lost when reply.call not found() is called by @cesarvspr in #4368
- Fix typo - 'sever' to 'server' by @utsav91 in #4372
- Add platformatic to the Acknowledgements by @mcollina in #4378
- docs: add Simone Busoli to plugin maintainers by @simoneb in #4379
- add missing 'validationContext' field to FastifyError type by @jakubburzynski in #4363
- fix(type-providers): assignability of instance with enabled type provider by @driimus in #4371
- feat: support async trailer by @climba03003 in #4380
- fix: trailers async race condition by @climba03003 in #4383
- docs(ecosystem): Add fastify-list-routes by @chuongtrh in #4385
- build(deps-dev): bump @sinclair/typebox from 0.24.51 to 0.25.2 by @dependabot in #4388
- [ Fix ] Improve error message for hooks check by @debadutta98 in #4387
- fix: tiny-lru usage by @climba03003 in #4391
- Removes old note about named imports in ESM by @fox1t in #4392
- docs: Add section about capacity planning by @kibertoad in #4386
- docs(recommendations): grammar fixes by @Fdawgs in #4396
- chore(doc): duplicated menu item by @Eomm in #4398
- feat: add request.routeOptions object by @debadutta98 in #4397
- docs: Document multiple app approach by @kibertoad in #4393
- fix example using db decorator on fastify instance by @mmarti in #4406
- docs: fix removeAdditional refer by @shunyue1320 in #4410
New Contributors
- @rain714 made their first contribution in #4360
- @LinusU made their first contribution in #4364
- @cesarvspr made their first contribution in #4368
- @utsav91 made their first contribution in #4372
- @jakubburzynski made their first contribution in #4363
- @driimus made their first contribution in #4371
- @chuongtrh made their first contribution in #4385
- @debadutta98 made their first contribution in #4387
- @mmarti made their first contribution in #4406
- @shunyue1320 made their first contribution in #4410
Full Changelog: v4.9.2...v4.10.0