Skip to content

MWS-wikiwise 0.7.2

Choose a tag to compare

@heino17 heino17 released this 15 Oct 23:01
· 18 commits to main since this release

MWS-wikiwise 0.7.2

2 commits since 0.7.1, 12 files, +359/−30.

A feature release for the SimpleWiki shell: it now reaches an existing store on
its own, and a new command applies it on demand.

Install

mkdir my-folder && cd my-folder
npm install https://github.com/heino17/MultiWikiServer-wikiwise/releases/download/v0.7.2/mws-wikiwise-0.7.2.tgz
npx mws init-data-folder
npx mws update-tiddlywiki
npx mws init-store
npx mws listen --listener

mws-wikiwise-0.7.2.tgz — 4,234,252 bytes

sha256 ba3c9c62bcc35fa3e30fc1db33258a3e0d70fa6bf3ab2f210215f21e25f67932

npx mws init-data-folder is not optional: the server only starts if the data
folder's package.json is named @tiddlywiki/mws-instance, is marked private
and carries a 0.2.x version.

Added

  • The bundled SimpleWiki shell reaches the store on the next server start
    (§137). When its mws-shell-version is newer than the store's newest SimpleWiki
    release, listen writes a new template release; the wikis adopt it through
    their shell policy — notify shows the owner the update hint, auto follows.
    A start with nothing to do is a read-only no-op, and an equal or newer label in
    the store is left alone, so a hand-edited template is not rolled back.
  • update-simplewiki (§137) applies the bundled shell on demand, also
    backwards, and reports the version move and the new release number.

Operating notes

  • To update an existing installation, install the new tarball
    (npm install .../v0.7.2/mws-wikiwise-0.7.2.tgz) — npm update does not move
    MWS. The next server start then carries the bundled SimpleWiki shell forward on
    its own; npx mws update-simplewiki does the same thing right away.
  • No migration, no new dependency.

Verified

  • npm run tsc2 and npm run build are clean.
  • templates/simplewiki.html inside the tarball reports
    mws-shell-version v0.1.46, and the tarball's package.json says 0.7.2.
  • In the dev store: a fresh init-store (v0.1.46) logs nothing on start; a
    v0.1.45 shell is carried to v0.1.46 on start (a second start logs nothing); a
    v0.1.99 shell is left alone (no downgrade); update-simplewiki brings it back
    to v0.1.46.