Skip to content

fix(deps): update dependency express to v5 #4066

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 12, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
express (source) ^4.21.2 -> ^5.0.0 age adoption passing confidence
@types/express (source) 4.17.23 -> 5.0.3 age adoption passing confidence

Release Notes

expressjs/express (express)

v5.1.0

Compare Source

========================

  • Add support for Uint8Array in res.send()
  • Add support for ETag option in res.sendFile()
  • Add support for multiple links with the same rel in res.links()
  • Add funding field to package.json
  • perf: use loop for acceptParams
  • refactor: prefix built-in node module imports
  • deps: remove setprototypeof
  • deps: remove safe-buffer
  • deps: remove utils-merge
  • deps: remove methods
  • deps: remove depd
  • deps: debug@^4.4.0
  • deps: body-parser@^2.2.0
  • deps: router@^2.2.0
  • deps: content-type@^1.0.5
  • deps: finalhandler@^2.1.0
  • deps: qs@^6.14.0
  • deps: [email protected]
  • deps: [email protected]

v5.0.1

Compare Source

==========

v5.0.0

Compare Source

=========================

  • remove:
    • path-is-absolute dependency - use path.isAbsolute instead
  • breaking:
    • res.status() accepts only integers, and input must be greater than 99 and less than 1000
      • will throw a RangeError: Invalid status code: ${code}. Status code must be greater than 99 and less than 1000. for inputs outside this range
      • will throw a TypeError: Invalid status code: ${code}. Status code must be an integer. for non integer inputs
    • deps: [email protected]
    • res.redirect('back') and res.location('back') is no longer a supported magic string, explicitly use req.get('Referrer') || '/'.
  • change:
    • res.clearCookie will ignore user provided maxAge and expires options
  • deps: cookie-signature@^1.2.1
  • deps: [email protected]
  • deps: merge-descriptors@^2.0.0
  • deps: serve-static@^2.1.0
  • deps: [email protected]
  • deps: accepts@^2.0.0
  • deps: mime-types@^3.0.0
    • application/javascript => text/javascript
  • deps: type-is@^2.0.0
  • deps: content-disposition@^1.0.0
  • deps: finalhandler@^2.0.0
  • deps: fresh@^2.0.0
  • deps: body-parser@^2.0.1
  • deps: send@^1.1.0

Configuration

📅 Schedule: Branch creation - "after 7am and before 11am every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Feb 12, 2025
@renovate renovate bot enabled auto-merge (squash) February 12, 2025 10:32
renovate-approve[bot]
renovate-approve bot previously approved these changes Feb 12, 2025
renovate-approve-2[bot]
renovate-approve-2 bot previously approved these changes Feb 12, 2025
@renovate renovate bot force-pushed the renovate/express-5.x branch 5 times, most recently from e9b8cdb to 592d047 Compare February 21, 2025 07:48
@renovate renovate bot force-pushed the renovate/express-5.x branch 5 times, most recently from e477e35 to 577138c Compare February 26, 2025 09:22
@renovate renovate bot force-pushed the renovate/express-5.x branch from 577138c to c327a02 Compare February 27, 2025 11:10
renovate-approve[bot]
renovate-approve bot previously approved these changes Feb 27, 2025
renovate-approve-2[bot]
renovate-approve-2 bot previously approved these changes Feb 27, 2025
@renovate renovate bot force-pushed the renovate/express-5.x branch 11 times, most recently from 0ff3fa7 to db7e369 Compare March 4, 2025 09:26
@renovate renovate bot force-pushed the renovate/express-5.x branch 4 times, most recently from 4a07d31 to 40601a9 Compare June 17, 2025 08:08
@renovate renovate bot force-pushed the renovate/express-5.x branch from 40601a9 to dfcb19b Compare June 17, 2025 08:25
renovate-approve[bot]
renovate-approve bot previously approved these changes Jun 17, 2025
renovate-approve-2[bot]
renovate-approve-2 bot previously approved these changes Jun 17, 2025
@renovate renovate bot force-pushed the renovate/express-5.x branch from dfcb19b to ac3f30a Compare June 17, 2025 08:52
renovate-approve[bot]
renovate-approve bot previously approved these changes Jun 17, 2025
renovate-approve-2[bot]
renovate-approve-2 bot previously approved these changes Jun 17, 2025
@renovate renovate bot force-pushed the renovate/express-5.x branch from ac3f30a to 69afd2d Compare June 17, 2025 09:17
@renovate renovate bot force-pushed the renovate/express-5.x branch from 69afd2d to cbd3eaf Compare June 17, 2025 09:45
renovate-approve[bot]
renovate-approve bot previously approved these changes Jun 17, 2025
renovate-approve-2[bot]
renovate-approve-2 bot previously approved these changes Jun 17, 2025
@renovate renovate bot force-pushed the renovate/express-5.x branch 4 times, most recently from e668753 to 90dcafc Compare June 19, 2025 09:15
@renovate renovate bot force-pushed the renovate/express-5.x branch from 90dcafc to 3d84670 Compare June 19, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants