Skip to content

Release Notes ​

What changed in the v2.3.x line of @viteplus/versions. For the lines before it see Earlier releases.

INFO

This line is archived and no longer maintained. See the current release notes for the v3.0.x line, which publishes the sources under their own label, adds a latest option for documenting an unreleased version, and adds per-version labels and folders.

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