Skip to content

fix: remove deprecated url.parse() from custom-server example#96105

Merged
icyJoseph merged 1 commit into
vercel:canaryfrom
wasim-builds:fix/deprecated-url-parse-custom-server
Jul 23, 2026
Merged

fix: remove deprecated url.parse() from custom-server example#96105
icyJoseph merged 1 commit into
vercel:canaryfrom
wasim-builds:fix/deprecated-url-parse-custom-server

Conversation

@wasim-builds

Copy link
Copy Markdown
Contributor

Fixes #86951

Removes the deprecated legacy url.parse() API (DEP0169) from the custom-server example. The parsedUrl parameter is optional, so the simplest fix is to remove the parse() call and pass only (req, res) to the handler, matching the docs code block that was already updated in #86986.

Replace the deprecated legacy url.parse() API (DEP0169) with direct
RequestHandler usage. The parsedUrl parameter is optional, so the
simplest fix is to remove the parse() call entirely and pass only
(req, res) to the handler, matching the docs code block that was
already updated in PR vercel#86986.

Fixes vercel#86951
@github-actions

Copy link
Copy Markdown
Contributor

Stats skipped

Commit: 67ba759
View workflow run

@github-actions

Copy link
Copy Markdown
Contributor

Tests Passed

Commit: 67ba759

@icyJoseph
icyJoseph merged commit 3ab9d19 into vercel:canary Jul 23, 2026
58 checks passed
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.

Docs: deprecated url.parse() call used in custom server example

2 participants