Skip to content

Releases

Treelights 1.0.2

Choose a tag to compare

@james-s-pearson james-s-pearson released this 13 Nov 00:30

Fixes and hardening after Obsidian's plugin review. Colours are unchanged except for the two fixes below.

  • Fixed: tags in comments, such as TODO, NOTE, WARNING, and FIXME, are now coloured.
  • Fixed: in Live Preview, code inside code (for example, Vim commands in a Lua string) could stay uncoloured when a note was opened before the inner language had loaded.
  • Settings now appear in Obsidian's settings search.
  • styles.css no longer uses !important; checked against six themes in dark and light mode with no visible change.
  • The bundled runtime's unused code for downloading files and for running JavaScript embedded in a grammar (eval) is removed, and the build refuses any grammar that carries JavaScript. main.js contains no network, file-system, or eval code apart from the Cmd-click link to CVE, CWE, and ATT&CK pages.
  • New CONTRIBUTING.md; releases now run a TypeScript type check.

Verify the downloads: shasum -a 256 -c SHA256SUMS

Treelights 1.0.1

Choose a tag to compare

@james-s-pearson james-s-pearson released this 12 Nov 22:32

Changes for Obsidian's community plugin review. Highlighting looks the same as 1.0.0.

  • Highlight styles now live in styles.css, which Obsidian loads; the plugin no longer creates a <style> element. Pop-out windows get the styles too.
  • The bundled Tree-sitter runtime no longer contains its unused Node.js file-reading code, so main.js has no file-system access.
  • Small code-quality fixes from the review (CSS class instead of an inline style, current Obsidian APIs).

Verify the downloads: shasum -a 256 -c SHA256SUMS

Treelights 1.0.0

Choose a tag to compare

@james-s-pearson james-s-pearson released this 12 Nov 20:06

First public release. See CHANGELOG.md for what's included.

To check your download: shasum -a 256 -c SHA256SUMS