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

Wrangler v4 migration guide #18726

Draft
wants to merge 5 commits into
base: production
Choose a base branch
from
Draft

Wrangler v4 migration guide #18726

wants to merge 5 commits into from

Conversation

korinne
Copy link
Contributor

@korinne korinne commented Dec 12, 2024

Summary

This PR adds a migration guide draft for moving from Wrangler v3 to Wrangler v4.

To do

  • Update deprecations section with full list

@korinne korinne requested a review from penalosa December 12, 2024 22:47
@korinne korinne changed the title Wrangler v4 migration Wrangler v4 migration guide Dec 12, 2024
@github-actions github-actions bot added product:workers Related to Workers product size/s labels Dec 12, 2024
Copy link
Contributor

@hyperlint-ai hyperlint-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 files reviewed, 1 total issue(s) found.

Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
Copy link

cloudflare-workers-and-pages bot commented Dec 12, 2024

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: ffb95b1
Status: ✅  Deploy successful!
Preview URL: https://71c77290.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://wrangler-v4-migration.cloudflare-docs-7ou.pages.dev

View logs


* **Commands default to local mode**: All commands now run in local mode by default, requiring a `--remote` flag for API queries,

* **Changes to KV command output formats**: `wrangler kv list` now outputs data in a format compatible with `wrangler kv bulk delete.`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can remove this

Comment on lines +11 to +12
* **Updated Node.js Support Policy:**
Node.js v16, which reached End-of-Life in 2022, is no longer supported in Wrangler v4. Wrangler now follows Node.js's [official support lifecycle](https://nodejs.org/en/about/previous-releases).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be slightly reworded to make it clear it refers to the versions of Node you can run Wrangler in rather than the version of Node that Wrangler supports (which to me potentially implies that it'd work in a Worker)?

### Updated Node.js Support Policy

Wrangler now supports only Node.js versions that align with [Node.js's official lifecycle](https://nodejs.org/en/about/previous-releases):
* **Supported**: Current, Active LTS, Maintenance LTS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth calling out that this currently means 18, 20, 22, but we'll be dropping 18 relatively soon?

korinne and others added 2 commits December 16, 2024 10:15
Co-authored-by: Somhairle MacLeòid <smacleod@cloudflare.com>
Co-authored-by: Somhairle MacLeòid <smacleod@cloudflare.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product:workers Related to Workers product size/s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants