Skip to content

otterwiki

v2.21.0 Breaking

This release includes 1 breaking change for platform teams planning a safe upgrade.

Published 22d Productivity & Wikis
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

git markdown wiki

Summary

AI summary

Migrate the editor to CodeMirror 6 with new syntax highlighting and bug fixes.

Full changelog

Features: CodeMirror 6

Finally CodeMirror 6 is here. The majority of work has been done by @onovy in #464.

  • Migrate the editor from CodeMirror 5 to CodeMirror 6: the vendored CM5 files are replaced
    by a single bundle built from source with esbuild, all editor features (markdown formatting
    helpers, table editing, list continuation and indentation, link handling, search dialog,
    inline attachment upload and preview toggle) have been ported, and GFM support (task lists,
    strikethrough, tables) is enabled, see #464 #520
    (1c76bd9, cd08166, b8492a4, cea3dab, aa87116, 13d75bb, d1283db by @onovy).
  • Add syntax highlighting for wikilinks and embeddings in the editor, see #520 (e1fbc03, 403cfce, c6011e6).
  • Highlight trailing whitespace in the editor, see #520 (2d53b93).
  • Use a 4-space indent unit in the editor to match the wiki's markdown conventions, see #520 (2825582).
  • Enable autocorrect and autocapitalize in the editor on mobile, see #520 (f852d2d).

Bug Fixes

  • Restore visual parity with the CM5 editor in both light and dark themes: nested list depth
    coloring, grey inline and fenced code, and the checkbox color, see #520
    (3b7c05f, c26a8c4, 6e8419a, 0a01cac, 28a515f, ff0d7aa, a422d02 by @onovy).
  • Fix the invisible editor selection in dark mode caused by a CSS specificity issue, see #520 (8d6d144 by @onovy).
  • Prevent content duplication when pasting an image in the editor, see #520 (b0a8acd).
  • Preserve the cursor position when an inline attachment upload completes, see #520 (764514a).
  • Fix dark mode colors of the DataTable selector dropdown, see #519 (484211a).
  • Remove accidental globals in otterwiki.js (5786c57).
  • Match article headings for the sidebar table of contents highlight (8629caa).
  • Use per-platform pip caches in docker builds (bfc5e73).

Refactoring

  • Move the frontend sources and npm tooling into frontend/, see #520 (483ccdf).

Dependencies

  • Bump esbuild from 0.19.12 to 0.28.1 and rebuild the editor bundle, see #521 (33b5313 by @dependabot, 5fa9962).

Breaking Changes

  • Replace CodeMirror 5 with CodeMirror 6 – all editor code and bundled files are updated.

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track otterwiki

Get notified when new releases ship.

Sign up free

About otterwiki

A minimalistic wiki powered by python, markdown and git.

All releases →

Related context

Related tools

Beta — feedback welcome: [email protected]