docs/releases.md
Vitest releases follow Semantic Versioning. You can see the latest stable version of Vitest in the Vitest npm package page.
A full changelog of past releases is available on GitHub.
Vitest does not have a fixed release cycle.
In summary, the current supported Vitest versions are:
<SupportedVersions />The supported version ranges are automatically determined by:
We recommend updating Vitest regularly. Check out the Migration Guides when you update to each Major. We test new Vitest versions before releasing them through the vitest-ecosystem-ci project. Most projects using Vitest should be able to quickly offer support or migrate to new versions as soon as they are released.
We may ship incompatible changes to TypeScript definitions between minor versions. This is because:
Minor releases typically go through a non-fixed number of beta releases. Major releases will go through a long beta phase.
Pre-releases allow early adopters and maintainers from the Ecosystem to do integration and stability testing, and provide feedback. Do not use pre-releases in production. All pre-releases are considered unstable and may ship breaking changes in between. Always pin to exact versions when using pre-releases.
We periodically deprecate features that have been superseded by better alternatives in Minor releases. Deprecated features will continue to work with a type or logged warning. They will be removed in the next major release after entering deprecated status. The Migration Guide for each major will list these removals and document an upgrade path for them.
Some features are marked as experimental when released in a stable version of Vite. Experimental features allow us to gather real-world experience to influence their final design. The goal is to let users provide feedback by testing them in production. Experimental features themselves are considered unstable, and should only be used in a controlled manner. These features may change between Minors, so users must pin their Vite version when they rely on them. We will create a GitHub discussion for each experimental feature.