Skip to content

Releases

v0.2.7

Choose a tag to compare

@github-actions github-actions released this 28 Nov 19:59
80630d6

Changed

  • Rendered Markdown, highlighted code and diagrams are inserted into the page as sanitized DOM nodes instead of through innerHTML, which also clears the Mozilla add-on linter's warnings for Markdown Lens's own code. Highlighted code is now sanitized too.
  • Rewritten addons.mozilla.org description, and reviewer notes that explain the linter warnings in the bundled libraries.

Fixed

  • Mozilla's add-on linter warning about Firefox for Android: the manifest now requires Firefox for Android 142, the first version that supports the data collection declaration.

v0.2.6

Choose a tag to compare

@github-actions github-actions released this 28 Nov 19:41
c374d72

Added

  • The tab of a rendered Markdown file shows the Markdown Lens icon, so you can see at a glance that the extension rendered it.
  • README: link to the Markdown Lens listing on addons.mozilla.org.
  • A longer addons.mozilla.org description that explains how to use the extension.

Changed

  • New Markdown Lens logo, used for the extension icons (now also in 32 px) and in the README. The logo file itself is not packaged; the extension only ships the icon sizes.

v0.2.5

Choose a tag to compare

@github-actions github-actions released this 24 Nov 15:00
72916da

Added

  • Releases are submitted to addons.mozilla.org (listed), where Mozilla reviews and signs them, so Firefox users can install and update Markdown Lens from there.
  • Declare in the manifest that the extension collects no data (data_collection_permissions), as addons.mozilla.org requires for new add-ons.
  • MIT LICENSE file.

Changed

  • Firefox and LibreWolf 140 or newer are required (was 128), the first versions that understand the data collection declaration.

v0.2.4

Choose a tag to compare

@github-actions github-actions released this 24 Nov 13:51
3f38d5f

Added

  • README: a Privacy section on what the extension can access and what remote content (images, media, CSS url()) a document can load.

Changed

  • The theme and table-of-contents settings are kept in the extension's own storage instead of each website's localStorage, so they now apply on every site. Settings saved by older versions are moved over once and removed from the site. This adds the storage permission, which browsers grant without asking.

v0.2.3

Choose a tag to compare

@github-actions github-actions released this 24 Nov 13:43
235bfe1

Added

  • Demo video of Markdown Lens in action at the top of the README.
  • README: a Download section for the release .zip (Chromium) and .xpi (Firefox, LibreWolf) packages.
  • README: install steps for Firefox and LibreWolf, including the site access permission and opening local file:// Markdown files.
  • The GitHub release workflow can be run by hand for an existing tag; running it again replaces the attached packages.

Changed

  • README uses this repository's tests/manual-test.md as the example file.
  • The manual test page also checks that flowchart links and form controls are neutralized.

Fixed

  • A malformed % escape in the file name or #anchor no longer stops the rendering halfway.

Removed

  • Tags and release pages for 0.1.0, 0.2.0 and 0.2.1; 0.2.2 is the earliest release you can download.

Security

  • Fix script injection through flowchart.js diagrams: a node written as text:>javascript:… became a link that ran code in the page when clicked. All diagram output (flowchart.js, sequence diagrams, mermaid) is now sanitized with DOMPurify, which also removes flowchart.js text:$function click handlers.
  • Update DOMPurify from 3.2.6 to 3.5.0, which fixes published sanitizer bypasses (GHSA-v8jm-5vwx-cfxm, GHSA-v2wj-7wpq-c8vv, GHSA-h8r8-wccr-v5f2).
  • Remove form controls (<form>, <button>, <select>, <textarea>, and every <input> except task-list checkboxes) from rendered Markdown, so a document cannot show a working fake login form.
  • Accept mermaid results only from the extension's own renderer frame (checks the message origin as well as its source).

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 24 Nov 13:05
8768982

Added

  • Manual test page tests/manual-test.md that exercises every feature.

Fixed

  • Mermaid diagrams failing in Firefox and LibreWolf with "Syntax error in text" or "call to Function() blocked by CSP"; mermaid now renders in a hidden extension page.
  • Leftover mermaid error graphics at the bottom of the page after a diagram with a syntax error.