Skip to content

Commit 4126db8

Browse files
patak-devbluwy
andauthored
docs: explicit EOL for previous releases (#16263)
Co-authored-by: Bjorn Lu <[email protected]>
1 parent 66bdb1d commit 4126db8

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

docs/releases.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,25 @@ A full changelog of past releases is [available on GitHub](https://github.com/vi
88

99
Vite does not have a fixed release cycle.
1010

11-
- **Patch** releases are released as needed.
12-
- **Minor** releases always contain new features and are also released as needed. Minor releases always go through a beta pre-release phase.
13-
- **Major** releases generally align with [Node.js EOL schedule](https://endoflife.date/nodejs), and will be announced ahead of time. These releases will go through an early discussion phase, and both alpha and beta pre-release phases.
11+
- **Patch** releases are released as needed (usually every week).
12+
- **Minor** releases always contain new features and are released as needed. Minor releases always have a beta pre-release phase (usually every two months).
13+
- **Major** releases generally align with [Node.js EOL schedule](https://endoflife.date/nodejs), and will be announced ahead of time. These releases will go through long-term discussions with the ecosystem, and have alpha and beta pre-release phases (usually every year).
1414

15-
The previous Vite Major will keep receiving important fixes and security patches. After that, it would only get updates if there are security concerns. We recommend updating Vite regularly. Check out the [Migration Guides](https://vitejs.dev/guide/migration.html) when you update to each Major.
15+
The Vite versions ranges that are supported by the Vite team is automatically determined by:
1616

17-
The Vite team partners with the main projects in the ecosystem to test new Vite versions before they are released through the [vite-ecosystem-ci project](https://github.com/vitejs/vite-ecosystem-ci). Most projects using Vite should be able to quickly offer support or migrate to new versions as soon as they are released.
17+
- **Current Minor** gets regular fixes.
18+
- **Previous Major** (only for its latest minor) and **Previous Minor** receives important fixes and security patches.
19+
- **Second-to-last Major** (only for its latest minor) and **Second-to-last Minor** receives security patches.
20+
- All versions before these are no longer supported.
21+
22+
As an example, if the Vite latest is at 5.3.10:
23+
24+
- Regular patches are released for `[email protected]`.
25+
- Important fixes and security patches are backported to `vite@4` and `[email protected]`.
26+
- Security patches are also backported to `vite@3`, and `[email protected]`.
27+
- `vite@2` and `[email protected]` are no longer supported. Users should upgrade to receive updates.
28+
29+
We recommend updating Vite regularly. Check out the [Migration Guides](https://vitejs.dev/guide/migration.html) when you update to each Major. The Vite team works closely with the main projects in the ecosystem to ensure the quality of new versions. We test new Vite versions before releasing them through the [vite-ecosystem-ci project](https://github.com/vitejs/vite-ecosystem-ci). Most projects using Vite should be able to quickly offer support or migrate to new versions as soon as they are released.
1830

1931
## Semantic Versioning Edge Cases
2032

0 commit comments

Comments
 (0)