Release Notes
What changed in each release of @viteplus/versions. The current line is v2.3.x; for the previous lines see Earlier releases.
v2.3.0
A translatable label for the version switcher, and a Docker environment for working on the plugin.
Added: The
VersionSwitchercomponent takes alabelprop, so itsSwitch Versiontext can be changed, for example to translate it. The text was written into the component, so a multilingual site showed it in English on every locale. The label is set on the nav item'sprops, and each locale can set its own, see Translating the Switcher. Without it, the switcher readsSwitch Versionas before. (#51)Added: A Docker development environment in
docker/, for contributors.docker compose -f docker/compose.yml upbuilds the plugin in watch mode and serves these docs on port 5173 from anode:24-alpinecontainer, so working on the plugin needs only Docker. The repo is mounted for live edits, while the dependencies are installed in the image and the localnode_modulesis never used. Nothing changes for sites that install the package.
Earlier releases
- v2.2.x - the 2.2 line (archived docs).
- v2.1.x - the 2.1 line (archived docs).
- v2.0.x - the 2.0 line (archived docs).
- v1.0.0 - initial release (archived docs).
