Repository navigation
chore(deps): update dependency fastify-graceful-shutdown to v5 - #44
renovate[bot] wants to merge 1 commit into
Conversation
cd2d3c3 to
d97b86a
Compare
d97b86a to
7036a1c
Compare
📝 WalkthroughWalkthroughThis PR updates the 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@package.json`:
- Around line 42-43: package.json currently pins "fastify": "^3.29.5" while also
adding "fastify-graceful-shutdown": "^5.0.0", which is incompatible; either
upgrade "fastify" to a v5-compatible range (e.g., ^5.x) and update
"engines.node" to the Node version required by Fastify v5 (e.g., ">=20") or
change "fastify-graceful-shutdown" to a v4 (or other) release that supports
Fastify v3—edit the dependencies accordingly in package.json and ensure the
chosen pairing (fastify vs fastify-graceful-shutdown) is consistent across the
file.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 6fb77bb0-83ac-4944-8442-e8cd7764f42d
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (1)
package.json
| "fastify": "^3.29.5", | ||
| "fastify-graceful-shutdown": "^4.0.1", | ||
| "fastify-graceful-shutdown": "^5.0.0", |
There was a problem hiding this comment.
🧩 Analysis chain
🌐 Web query:
Does fastify-graceful-shutdown v5 work with Fastify v3, or does it require Fastify v5?
💡 Result:
fastify-graceful-shutdown v5 requires Fastify >=5; it is not intended to work with Fastify v3. The plugin’s own documentation/compatibility statement says “Fastify >=5” [1][2]. Additionally, npm metadata for v5.0.0 shows a development dependency on fastify ^5.6.0, consistent with the same compatibility baseline [3][2]. (There are older releases that supported Fastify >=3, e.g., a 2021 issue references fastify version >= 3.14.2 with graceful-shutdown v3.x, but that is not v5.) [4]
Citations:
- 1: https://github.com/hemerajs/fastify-graceful-shutdown
- 2: https://www.npmjs.com/package/fastify-graceful-shutdown
- 3: https://registry.npmjs.org/fastify-graceful-shutdown
- 4:
gracefulShutdownis not a function hemerajs/fastify-graceful-shutdown#20
Critical: fastify-graceful-shutdown v5 requires Fastify >=5, but the project uses Fastify ^3.29.5
fastify-graceful-shutdown@^5.0.0is intended for Fastify >=5, so keepingfastify@^3.29.5(Fastify v3) is an incompatible major-version pairing that can break at startup.- Upgrade
fastifyto v5 in the PR (or downgradefastify-graceful-shutdownto a version that supports Fastify v3). - Ensure the required Node version for v5 (e.g., Node >=20) is enforced via
engines.nodeif applicable.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@package.json` around lines 42 - 43, package.json currently pins "fastify":
"^3.29.5" while also adding "fastify-graceful-shutdown": "^5.0.0", which is
incompatible; either upgrade "fastify" to a v5-compatible range (e.g., ^5.x) and
update "engines.node" to the Node version required by Fastify v5 (e.g., ">=20")
or change "fastify-graceful-shutdown" to a v4 (or other) release that supports
Fastify v3—edit the dependencies accordingly in package.json and ensure the
chosen pairing (fastify vs fastify-graceful-shutdown) is consistent across the
file.
170e3d0 to
119285f
Compare
119285f to
fdf6091
Compare
b1aa423 to
80c26b6
Compare
2473879 to
5bb4096
Compare
5bb4096 to
f3c875d
Compare
f3c875d to
5e217f6
Compare
This PR contains the following updates:
^4.0.1→^5.0.0Release Notes
hemerajs/fastify-graceful-shutdown (fastify-graceful-shutdown)
v5.0.0: Fastify 5 supportCompare Source
What's Changed
New Contributors
Full Changelog: hemerajs/fastify-graceful-shutdown@v4.0.1...v5.0.0
Configuration
📅 Schedule: (in timezone Asia/Shanghai)
* 0-3 1,15 * *)🚦 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.
This PR was generated by Mend Renovate. View the repository job log.