Skip to content
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

Update dependency express to v5 #6

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 19, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
express (source) ^4.21.2 -> ^5.1.0 age adoption passing confidence
@types/express (source) ^4.17.21 -> ^5.0.1 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: server-static@2.2.0
  • deps: type-is@2.0.1

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: send@1.0.0
    • 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: debug@4.3.6
  • deps: merge-descriptors@^2.0.0
  • deps: serve-static@^2.1.0
  • deps: qs@6.13.0
  • 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 - 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 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 requested a review from a team as a code owner March 19, 2025 09:58
@renovate renovate bot added the npm label Mar 19, 2025
@renovate renovate bot force-pushed the renovate/express-5.x branch 3 times, most recently from 4d131c0 to f6eee8f Compare March 20, 2025 15:25
@Ellenn-A Ellenn-A added the v:patch Change requires a semver patch version change label Mar 21, 2025
@renovate renovate bot force-pushed the renovate/express-5.x branch 3 times, most recently from 59da354 to 99e8b06 Compare March 23, 2025 21:41
@mattdean-digicatapult
Copy link
Contributor

@mattdean-digicatapult mattdean-digicatapult added the triaged This issue or PR has been triaged label Mar 24, 2025
@renovate renovate bot force-pushed the renovate/express-5.x branch 12 times, most recently from 5637ed2 to bbbda6a Compare March 30, 2025 09:31
@renovate renovate bot force-pushed the renovate/express-5.x branch from bbbda6a to e6ef09e Compare March 31, 2025 16:55
@renovate renovate bot changed the title Update dependency @types/express to v5 Update dependency express to v5 Mar 31, 2025
Copy link
Contributor Author

renovate bot commented Mar 31, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @digicatapult/tsoa-oauth-express@1.0.4
npm error Found: express@5.1.0
npm error node_modules/express
npm error   express@"^5.1.0" from the root project
npm error   peer express@">=4.0.0 || >=5.0.0-beta" from swagger-ui-express@5.0.1
npm error   node_modules/swagger-ui-express
npm error     swagger-ui-express@"^5.0.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer express@"^4.21.2" from @digicatapult/tsoa-oauth-express@1.0.4
npm error node_modules/@digicatapult/tsoa-oauth-express
npm error   @digicatapult/tsoa-oauth-express@"^1.0.3" from the root project
npm error
npm error Conflicting peer dependency: express@4.21.2
npm error node_modules/express
npm error   peer express@"^4.21.2" from @digicatapult/tsoa-oauth-express@1.0.4
npm error   node_modules/@digicatapult/tsoa-oauth-express
npm error     @digicatapult/tsoa-oauth-express@"^1.0.3" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2025-03-31T16_55_28_447Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2025-03-31T16_55_28_447Z-debug-0.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies npm triaged This issue or PR has been triaged v:patch Change requires a semver patch version change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants