← All versions
HyperScript 1.5.7.1
Added
/hyperscript version shows the version the server runs and checks for an update right then. It answers with the newer version, with "You are on the newest version", or with why the website could not be reached. It works even when the check at startup is switched off.
# Requires: 1.5.7 in the notes at the top of a script is now enforced. A plugin older than that refuses the file with one clear message, "This script needs HyperScript 1.5.7 or newer, and this server runs ...", instead of an error about whichever line it does not understand. This only helps from this version on: a plugin older than 1.5.7.1 does not know the rule.
Documentation website
- Fixed: the site looked half-updated behind Cloudflare. Cloudflare kept the stylesheet and scripts for hours, so new pages were shown with an old stylesheet and an old search index: the Scripts page, the search results, the changelog's "Big change" mark and the code colouring all appeared unstyled or out of date. Two changes stop that:
- Every stylesheet, script and logo is now linked with a version code (
style.css?v=...) that changes whenever the site does, so an old copy can never be shown next to a new page.
app.py now says how long each file may be kept: versioned files for ever, pages never.
- Looks. The header no longer breaks onto two lines: the tabs stay on one line and scroll sideways on small screens, with the search box below them. The search box has an icon and its results are easier to scan: coloured labels per kind of result and two lines of preview. Pages have a footer, cards lift when pointed at, wide tables scroll instead of overflowing, and script notes sit in their own box.