Skip to content

Conversation

@krzysdz
Copy link
Contributor

@krzysdz krzysdz commented Apr 24, 2025

It has been deprecated since 4.11.0 and in 5.x router.param() requires name as the first argument.

The description in migration guide was copied from app.param(fn) that was mentioned there.

It has been deprecated since 4.11.0 and in 5.x `router.param()` requires name as the first argument.

The description in migration guide was copied from `app.param(fn)` that was mentioned there.
@krzysdz krzysdz requested review from a team as code owners April 24, 2025 22:51
@netlify
Copy link

netlify bot commented Apr 24, 2025

Deploy Preview for expressjscom-preview ready!

Name Link
🔨 Latest commit 3e6bcc2
🔍 Latest deploy log https://app.netlify.com/sites/expressjscom-preview/deploys/680c24616035c2000855d3d2
😎 Deploy Preview https://deploy-preview-1884--expressjscom-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@bjohansebas bjohansebas merged commit 021c4d6 into expressjs:gh-pages Apr 26, 2025
7 checks passed
@bjohansebas
Copy link
Member

thanks @krzysdz!

@krzysdz krzysdz deleted the 5x-remove-router-param-no-name branch April 26, 2025 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants