Skip to content

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 VersionSwitcher component takes a label prop, so its Switch Version text 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's props, and each locale can set its own, see Translating the Switcher. Without it, the switcher reads Switch Version as before. (#51)

  • Added: A Docker development environment in docker/, for contributors. docker compose -f docker/compose.yml up builds the plugin in watch mode and serves these docs on port 5173 from a node:24-alpine container, 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 local node_modules is 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).

See also ​

Released under the Mozilla Public License 2.0