Skip to content

Release Notes ​

What changed in each release of @viteplus/versions. The current line is v3.1.x; for the previous lines see Earlier releases.

v3.1.1 ​

  • Fixed: An address that names no version, such as /guide, opened the latest page with an empty body on a built site until a refresh. The host serves 404.html for it, and on a first load VitePress keeps the not-found markup and loads the page without its content. 404.html now opens the latest page with a new request, and hides the not-found page so it never shows. The back button skips the address without a version, and the root index.html and vitepress dev still change the address in place, see Addresses Without a Version. (#61)

v3.1.0 ​

  • Fixed: A link in the frontmatter, such as a hero.actions button of a home page, features, or prev and next, left the version, so link: /guide answered 404. Every link in the frontmatter now goes into the version of its page, as absolute markdown links do.

  • Added: An address that names no version, such as /guide or /de/guide, opens the same page of the latest version instead of answering 404, without building any page twice, see Addresses Without a Version. (#61)

  • Added: installVersionFallback also sends an in-app link without a version, such as /guide in a Vue component, to the latest version.

  • Changed: The switchers list the versions newest first, the current one on top, so v2.3.x comes before v2.2.x. Numbers in a name compare by value, so v2.10.x comes before v2.9.x. They were listed in the order of the archive folders on disk, oldest first.

Earlier releases ​

  • v3.0.x - the 3.0 line (archived docs).
  • v2.3.x - the 2.3 line (archived docs).
  • 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