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 serves404.htmlfor it, and on a first load VitePress keeps the not-found markup and loads the page without its content.404.htmlnow 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 rootindex.htmlandvitepress devstill change the address in place, see Addresses Without a Version. (#61)
v3.1.0
Fixed: A
linkin the frontmatter, such as ahero.actionsbutton of a home page,features, orprevandnext, left the version, solink: /guideanswered 404. Everylinkin the frontmatter now goes into the version of its page, as absolute markdown links do.Added: An address that names no version, such as
/guideor/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:
installVersionFallbackalso sends an in-app link without a version, such as/guidein a Vue component, to the latest version.Changed: The switchers list the versions newest first, the current one on top, so
v2.3.xcomes beforev2.2.x. Numbers in a name compare by value, sov2.10.xcomes beforev2.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).
