fix(deps): update dependency fastify to v5
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| fastify (source) | 4.28.1 -> 5.0.0 |
Release Notes
fastify/fastify (fastify)
v5.0.0
What's Changed
- add missing route shorthands by @Uzlopak in https://github.com/fastify/fastify/pull/4409
- lib: drop setDefaultRoute and getDefaultRoute methods by @RafaelGSS in https://github.com/fastify/fastify/pull/4485
- Sync next-branch by @github-actions in https://github.com/fastify/fastify/pull/4815
- Next: Disallow
decorate('name', null)in the types by @voxpelli in https://github.com/fastify/fastify/pull/4878 - feat!: Add req.hostname and req.port by @aarontravass in https://github.com/fastify/fastify/pull/4766
- Change request id header default value to false by @philippviereck in https://github.com/fastify/fastify/pull/4194
- Remove deprecated variadic listen by @jsumners in https://github.com/fastify/fastify/pull/4900
- Sync next-branch by @github-actions in https://github.com/fastify/fastify/pull/4894
- fix: requestIdHeader docs by @philippviereck in https://github.com/fastify/fastify/pull/4916
- Sync next-branch by @github-actions in https://github.com/fastify/fastify/pull/4930
- Sync next-branch by @github-actions in https://github.com/fastify/fastify/pull/4941
- types: Remove variadic listen types by @Uzlopak in https://github.com/fastify/fastify/pull/4966
- fix: remove http version check by @beyazit in https://github.com/fastify/fastify/pull/4962
- feat: new logger api by @aarontravass in https://github.com/fastify/fastify/pull/5020
- fix(plugins): mixing async and callback style now returns an error by @giuliowaitforitdavide in https://github.com/fastify/fastify/pull/5141
- feat: align fastify.hasRoute to fmw.hasRoute by @dancastillo in https://github.com/fastify/fastify/pull/5102
- feat: set useSemicolonDefault default option to false by @dancastillo in https://github.com/fastify/fastify/pull/5320
- feat: make contentTypeParser's existingParser check more strict by @gurgunday in https://github.com/fastify/fastify/pull/5329
- feat: loosen content-type checking by @climba03003 in https://github.com/fastify/fastify/pull/4450
- feat: rework contentTypeParser methods by @gurgunday in https://github.com/fastify/fastify/pull/5372
- perf: limit search space for contentType by @gurgunday in https://github.com/fastify/fastify/pull/5400
- perf: update method matching by @gurgunday in https://github.com/fastify/fastify/pull/5419
- chore: updated dependencies to latest versions by @puskin94 in https://github.com/fastify/fastify/pull/5422
- chore: merge next into main for v5 release by @jsumners in https://github.com/fastify/fastify/pull/5446
- docs(ref/typescript): support Docusaurus v3 by @james-kaguru in https://github.com/fastify/fastify/pull/5450
- chore: remove unused dependency and fix ci by @gurgunday in https://github.com/fastify/fastify/pull/5454
- feat: (types) add shorthand types for MKCALENDAR and REPORT by @gurgunday in https://github.com/fastify/fastify/pull/5455
- fix: ci labeler by @Eomm in https://github.com/fastify/fastify/pull/5463
- docs(guides/database): correct typo by @monish001 in https://github.com/fastify/fastify/pull/5461
- test: add tests for error handling by @domdomegg in https://github.com/fastify/fastify/pull/5451
- docs(reference/routes): fix example on constraints by @Cadienvan in https://github.com/fastify/fastify/pull/5468
- perf: Optimize resolving X-Forwarded-For addresses by @dmkng in https://github.com/fastify/fastify/pull/5458
- fix:
configtype in RouteShorthandOptions by @BrianValente in https://github.com/fastify/fastify/pull/5355 - feat: request and reply decorators can not be a reference type by @Eomm in https://github.com/fastify/fastify/pull/5462
- docs: update indentation on type providers section by @Tony133 in https://github.com/fastify/fastify/pull/5474
- feat: log all available addresses if listening host is 0.0.0.0 by @mcollina in https://github.com/fastify/fastify/pull/5476
- chore: remove node 18 from CI by @gurgunday in https://github.com/fastify/fastify/pull/5481
- feat: writeEarlyHints by @gurgunday in https://github.com/fastify/fastify/pull/5480
- docs: update indentation and code snippet in the routes section by @Tony133 in https://github.com/fastify/fastify/pull/5482
- refactor: change
reply.redirect()signature by @gurgunday in https://github.com/fastify/fastify/pull/5483 - docs: update indentation and code snippet in the type providers section by @Tony133 in https://github.com/fastify/fastify/pull/5485
- feat: emit diagnostics_channel events upon routing request by @tlhunter in https://github.com/fastify/fastify/pull/5252
- chore: Bump pnpm/action-setup from 3 to 4 by @dependabot in https://github.com/fastify/fastify/pull/5492
- chore: remove unnecessary eslint override by @Cangit in https://github.com/fastify/fastify/pull/5493
- docs(ecosystem): Add fastify-kysely plugin by @alenap93 in https://github.com/fastify/fastify/pull/5475
- chore: update tap@19 by @climba03003 in https://github.com/fastify/fastify/pull/5471
- chore: Remove
reply.getReponseTime()in https://github.com/fastify/fastify/pull/5490 - chore: remove unused test by @Cangit in https://github.com/fastify/fastify/pull/5496
- chore: readyListener can be async on server.ready() by @remidewitte in https://github.com/fastify/fastify/pull/5501
- chore: test deprecation cleanup by @Cangit in https://github.com/fastify/fastify/pull/5510
- chore: Migrate to neostandard by @mcollina in https://github.com/fastify/fastify/pull/5509
- fix: hasRoute method comparison with case insensitive by @SMNBLMRR in https://github.com/fastify/fastify/pull/5508
- feat(types): Introduce SafePromiseLike by @rozzilla in https://github.com/fastify/fastify/pull/5506
- fix: Type inferrence with auxilliary hook handlers by @aadito123 in https://github.com/fastify/fastify/pull/5517
- docs: addContentTypeParser with fastify.register by @moradebianchetti81 in https://github.com/fastify/fastify/pull/5499
- docs: remove navigation for empty content by @liuhanqu in https://github.com/fastify/fastify/pull/5521
- fix: server.listen listener is not cleanup properly by @climba03003 in https://github.com/fastify/fastify/pull/5522
- feat: type definitions and documentation for separated type provider. by @Bram-dc in https://github.com/fastify/fastify/pull/5427
- chore: support pre and alpha tags by @jsumners in https://github.com/fastify/fastify/pull/5528
- chore: Bump the dependencies-major group with 2 updates by @dependabot in https://github.com/fastify/fastify/pull/5530
- chore: Bump neostandard from 0.7.2 to 0.8.0 in the dev-dependencies group by @dependabot in https://github.com/fastify/fastify/pull/5531
- fix(v5): update .npmignore by @Eomm in https://github.com/fastify/fastify/pull/5537
- test: fix test finished earlier than expected by @climba03003 in https://github.com/fastify/fastify/pull/5540
- chore: rm < node19 support from secondaryServer.close() by @Cangit in https://github.com/fastify/fastify/pull/5542
- chore(sponsor): add valtown by @Eomm in https://github.com/fastify/fastify/pull/5543
- chore: Bump the dev-dependencies group with 2 updates by @dependabot in https://github.com/fastify/fastify/pull/5546
- docs: use
http2directive in nginx config by @LiviaMedeiros in https://github.com/fastify/fastify/pull/5548 - chore: Bump neostandard from 0.10.0 to 0.11.0 in the dev-dependencies group by @dependabot in https://github.com/fastify/fastify/pull/5554
- chore: fix lint by @climba03003 in https://github.com/fastify/fastify/pull/5558
- ci: remove automerge from ci alternative runtimes by @climba03003 in https://github.com/fastify/fastify/pull/5557
- feat: support different body schema per content type by @nflaig in https://github.com/fastify/fastify/pull/5545
- chore: remove dc-polyfill by @Cangit in https://github.com/fastify/fastify/pull/5560
- fix: res serializer not given reply (#5556) by @mch-dsk in https://github.com/fastify/fastify/pull/5561
- chore: Bump process-warning from 3.0.0 to 4.0.0 in the dependencies-major group by @dependabot in https://github.com/fastify/fastify/pull/5568
- chore: Bump the dev-dependencies group with 2 updates by @dependabot in https://github.com/fastify/fastify/pull/5569
- chore: allow ! in PR title by @climba03003 in https://github.com/fastify/fastify/pull/5571
- docs: add @pybot/fastify-autoload to comm plugins by @kunal097 in https://github.com/fastify/fastify/pull/5579
- feat: customize http methods by @Eomm in https://github.com/fastify/fastify/pull/5567
- refactor(typescript): re-order FastifyReply generic parameters by @climba03003 in https://github.com/fastify/fastify/pull/5570
- docs: Adding
crudify-mongoplugin to community list by @aaroncadillac in https://github.com/fastify/fastify/pull/5581 - docs(reference/typescript): remove type provider from typebox example by @jscheffner in https://github.com/fastify/fastify/pull/5576
- refactor!: remove json shorthand by @climba03003 in https://github.com/fastify/fastify/pull/5586
- chore: remove deprecation 005 by @jsumners in https://github.com/fastify/fastify/pull/5589
- fix: nullish host by @sourcecodeit in https://github.com/fastify/fastify/pull/5590
- chore(sponsor): add handsontable by @Eomm in https://github.com/fastify/fastify/pull/5592
- fix: removed warning listener from tests by @sourcecodeit in https://github.com/fastify/fastify/pull/5598
- fix: test suite import.js emitting errors by @dancastillo in https://github.com/fastify/fastify/pull/5599
- chore: Bump @types/node from 20.14.13 to 22.0.0 in the dev-dependencies group by @dependabot in https://github.com/fastify/fastify/pull/5600
- docs(reply): standardize import style in examples by @Tony133 in https://github.com/fastify/fastify/pull/5580
- docs(typescript): update example fastify version by @Fdawgs in https://github.com/fastify/fastify/pull/5602
- refactor: remove FSTDEP007 by @climba03003 in https://github.com/fastify/fastify/pull/5604
- refactor: remove
FSTDEP008andFSTDEP009by @climba03003 in https://github.com/fastify/fastify/pull/5609 - refactor: remove
FSTDEP010by @climba03003 in https://github.com/fastify/fastify/pull/5611 - refactor: remove
FSTDEP021by @gurgunday in https://github.com/fastify/fastify/pull/5613 - refactor: use
Object.hasOwnby @gurgunday in https://github.com/fastify/fastify/pull/5614 - refactor: remove
FSTDEP012,FSTDEP015,FSTDEP016,FSTDEP017,FSTDEP018,FSTDEP019by @climba03003 in https://github.com/fastify/fastify/pull/5616 - refactor: remove
FSTDEP013by @climba03003 in https://github.com/fastify/fastify/pull/5618 - fix: throwing "FST_ERR_DUPLICATED_ROUTE" error instead of raw error by @Rantoledo in https://github.com/fastify/fastify/pull/5621
- chore: Bump @sinclair/typebox from 0.32.35 to 0.33.4 in the dev-dependencies group by @dependabot in https://github.com/fastify/fastify/pull/5625
- fix: reorder handling of
Responsereplies by @barbieri in https://github.com/fastify/fastify/pull/5612 - ci(.github): use latest node lts version by @Fdawgs in https://github.com/fastify/fastify/pull/5577
- docs: add default value for maxParamLength by @busybox11 in https://github.com/fastify/fastify/pull/5630
- chore: simplify
neostandardsetup by @voxpelli in https://github.com/fastify/fastify/pull/5635 - chore: fix sponsor link by @Eomm in https://github.com/fastify/fastify/pull/5640
- docs: move RafaelGSS to past collaborators by @RafaelGSS in https://github.com/fastify/fastify/pull/5645
- docs(type-providers): fix typos by @mikesamm in https://github.com/fastify/fastify/pull/5651
- feat: add fastify v4 codemods by @arshcodemod in https://github.com/fastify/fastify/pull/5642
- chore: bump find-my-way to v9 by @mcollina in https://github.com/fastify/fastify/pull/5652
- chore: bump ajv-compiler to v4.0.0 by @mcollina in https://github.com/fastify/fastify/pull/5653
- chore: Bumped light-my-request to v6.0.0 by @mcollina in https://github.com/fastify/fastify/pull/5655
- chore: Bumped avvio to v9.0.0 by @mcollina in https://github.com/fastify/fastify/pull/5656
- chore: bump fast-json-stringify-compiler to v5.0.0 by @mcollina in https://github.com/fastify/fastify/pull/5660
- docs: add dancastillo to Fastify Plugins team by @dancastillo in https://github.com/fastify/fastify/pull/5668
- docs: join plugin team by @jean-michelet in https://github.com/fastify/fastify/pull/5677
- chore: list the next deprecation code by @mcollina in https://github.com/fastify/fastify/pull/5673
- types: remove nonexistant done parameter from onRegister by @gurgunday in https://github.com/fastify/fastify/pull/5678
- docs: add v5 guide by @mcollina in https://github.com/fastify/fastify/pull/5674
- feat: bind
thisto instance in onclose by @gurgunday in https://github.com/fastify/fastify/pull/5670 - docs: update v4 codemods by @mohab-sameh in https://github.com/fastify/fastify/pull/5666
- docs: Add required .js extension to relative ESM imports by @masto in https://github.com/fastify/fastify/pull/5685
New Contributors
- @beyazit made their first contribution in https://github.com/fastify/fastify/pull/4962
- @puskin94 made their first contribution in https://github.com/fastify/fastify/pull/5422
- @james-kaguru made their first contribution in https://github.com/fastify/fastify/pull/5450
- @monish001 made their first contribution in https://github.com/fastify/fastify/pull/5461
- @dmkng made their first contribution in https://github.com/fastify/fastify/pull/5458
- @BrianValente made their first contribution in https://github.com/fastify/fastify/pull/5355
- @Cangit made their first contribution in https://github.com/fastify/fastify/pull/5493
- @alenap93 made their first contribution in https://github.com/fastify/fastify/pull/5475
- @moradebianchetti81 made their first contribution in https://github.com/fastify/fastify/pull/5499
- @Bram-dc made their first contribution in https://github.com/fastify/fastify/pull/5427
- @LiviaMedeiros made their first contribution in https://github.com/fastify/fastify/pull/5548
- @mch-dsk made their first contribution in https://github.com/fastify/fastify/pull/5561
- @kunal097 made their first contribution in https://github.com/fastify/fastify/pull/5579
- @aaroncadillac made their first contribution in https://github.com/fastify/fastify/pull/5581
- @jscheffner made their first contribution in https://github.com/fastify/fastify/pull/5576
- @sourcecodeit made their first contribution in https://github.com/fastify/fastify/pull/5590
- @Rantoledo made their first contribution in https://github.com/fastify/fastify/pull/5621
- @barbieri made their first contribution in https://github.com/fastify/fastify/pull/5612
- @busybox11 made their first contribution in https://github.com/fastify/fastify/pull/5630
- @mikesamm made their first contribution in https://github.com/fastify/fastify/pull/5651
- @arshcodemod made their first contribution in https://github.com/fastify/fastify/pull/5642
- @jean-michelet made their first contribution in https://github.com/fastify/fastify/pull/5677
- @mohab-sameh made their first contribution in https://github.com/fastify/fastify/pull/5666
- @masto made their first contribution in https://github.com/fastify/fastify/pull/5685
Full Changelog: https://github.com/fastify/fastify/compare/v4.27.0...v5.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
⚠️ No Changeset found
Latest commit: 0aa4e7e3dfe3e08239dbea341abe964c3b79f6f8
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
[!IMPORTANT]
Review skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai reviewcommand.You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.
🪧 Tips
Chat
There are 3 ways to chat with CodeRabbit:
- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>, please review it.Generate unit testing code for this file.Open a follow-up GitHub issue for this discussion.
- Files and specific lines of code (under the "Files changed" tab): Tag
@coderabbitaiin a new review comment at the desired location with your query. Examples:@coderabbitai generate unit testing code for this file.@coderabbitai modularize this function.
- PR comments: Tag
@coderabbitaiin a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.@coderabbitai read src/utils.ts and generate unit testing code.@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.@coderabbitai help me debug CodeRabbit configuration file.
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (Invoked using PR comments)
@coderabbitai pauseto pause the reviews on a PR.@coderabbitai resumeto resume the paused reviews.@coderabbitai reviewto trigger an incremental review. This is useful when automatic reviews are disabled for the repository.@coderabbitai full reviewto do a full review from scratch and review all the files again.@coderabbitai summaryto regenerate the summary of the PR.@coderabbitai resolveresolve all the CodeRabbit review comments.@coderabbitai configurationto show the current CodeRabbit configuration for the repository.@coderabbitai helpto get help.
Other keywords and placeholders
- Add
@coderabbitai ignoreanywhere in the PR description to prevent this PR from being reviewed. - Add
@coderabbitai summaryto generate the high-level summary at a specific location in the PR description. - Add
@coderabbitaianywhere in the PR title to generate the title automatically.
CodeRabbit Configuration File (.coderabbit.yaml)
- You can programmatically configure CodeRabbit by adding a
.coderabbit.yamlfile to the root of your repository. - Please see the configuration documentation for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
- Visit our Documentation for detailed information on how to use CodeRabbit.
- Join our Discord Community to get help, request features, and share feedback.
- Follow us on X/Twitter for updates and announcements.
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
| Package | New capabilities | Transitives | Size | Publisher |
|---|---|---|---|---|
| npm/[email protected] | Transitive: environment, eval, unsafe | +45 |
6.86 MB | eomm |
🚮 Removed packages: npm/[email protected]