Skip to content

Commit 90dc2bb

Browse files
committed
V3 Pages Build image
1 parent 1d7ff24 commit 90dc2bb

File tree

2 files changed

+72
-5
lines changed

2 files changed

+72
-5
lines changed

src/content/docs/pages/configuration/build-image.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,23 +78,23 @@ You can add the following environment variable to disable automatic dependency i
7878
| ------------------------- | ------------- |
7979
| `SKIP_DEPENDENCY_INSTALL` | `1` or `true` |
8080

81-
## V2 build system
81+
## v3 build system
8282

83-
The [v2 build system](https://blog.cloudflare.com/moderizing-cloudflare-pages-builds-toolbox/) announced in May 2023 brings several improvements to project builds.
83+
The v3 build system updates the default tools, libraries and languages to their LTS versions, as of May 2025.
8484

85-
### V1 to V2 Migration
85+
### v2 to v3 Migration
8686

8787
To migrate to this new version, configure your Pages project settings in the dashboard:
8888

8989
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com) and select your account.
9090
2. Select **Workers & Pages** > in **Overview**, select your Pages project.
9191
3. Go to **Settings** > **Build & deployments** > **Build system version** and select the latest version.
9292

93-
If you were previously relying on the default versions of any languages or tools in the build system, your build may fail when migrating to v2. To fix this, you must specify the version you wish to use by [overriding](/pages/configuration/build-image/#overriding-default-versions) the default versions.
93+
If you were previously relying on the default versions of any languages or tools in the build system, your build may fail when migrating to v3. To fix this, you must specify the version you wish to use by [overriding](/pages/configuration/build-image/#overriding-default-versions) the default versions.
9494

9595
### Limitations
9696

97-
The following features are not currently supported when using the v2 build system:
97+
The following features are not currently supported when using the v3 build system:
9898

9999
- Specifying Node.js versions as codenames (for example, `hydrogen` or `lts/hydrogen`).
100100
- Detecting Yarn version from `yarn.lock` file version.
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
major_version: 3
2+
enable_date: "2025-05-30"
3+
languages:
4+
- name: Go
5+
default: "1.21.0"
6+
supported: "Any version"
7+
environment_variable: "GO_VERSION"
8+
- name: Node.js
9+
default: "22.15.1"
10+
supported: "Any version"
11+
environment_variable: "NODE_VERSION"
12+
file:
13+
- ".nvmrc"
14+
- ".node-version"
15+
- name: Python
16+
default: "3.11.5"
17+
supported: "Any version"
18+
environment_variable: "PYTHON_VERSION"
19+
file:
20+
- ".python-version"
21+
- "runtime.txt"
22+
- name: Ruby
23+
default: "3.2.2"
24+
supported: "Any version"
25+
environment_variable: "RUBY_VERSION"
26+
file:
27+
- ".ruby-version"
28+
tools:
29+
- name: Bundler
30+
default: "2.4.10"
31+
supported: "Corresponds with Ruby version"
32+
- name: Embedded Dart Sass
33+
default: "1.62.1"
34+
supported: "Up to 1.62.1"
35+
environment_variable: "EMBEDDED_DART_SASS_VERSION"
36+
- name: gem
37+
default: "3.4.10"
38+
supported: "Corresponds with Ruby version"
39+
- name: Hugo
40+
default: "0.118.2"
41+
supported: "Any version"
42+
environment_variable: "HUGO_VERSION"
43+
- name: npm
44+
default: "10.9.2"
45+
supported: "Corresponds with Node.js version"
46+
- name: pip
47+
default: "23.2.1"
48+
supported: "Corresponds with Python version"
49+
- name: pipx
50+
default: "1.2.0"
51+
- name: pnpm
52+
default: "10.11.0"
53+
supported: "Any version"
54+
environment_variable: "PNPM_VERSION"
55+
- name: Poetry
56+
default: "1.6.1"
57+
- name: Yarn
58+
default: "4.9.1"
59+
supported: "Any version"
60+
environment_variable: "YARN_VERSION"
61+
- name: Bun
62+
default: "1.2.13"
63+
supported: "Any version"
64+
environment_variable: "BUN_VERSION"
65+
build_environment:
66+
operating_system: "Ubuntu `22.04.2`"
67+
architecture: "x86_64"

0 commit comments

Comments
 (0)