Skip to content

1.4.1

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Dec 23:49

1.4.1

Changes

  • Minified the compiled JS resulting in a ~40% package size reduction (1.81MB -> 1.11MB)

Fixes

  • FastText models being downloaded from the incorrect location
  • FastText and Bergamot are now properly downloaded to app.vault.configDir, instead of always going to .obsidian
  • Fixed error where plugin would always attempt to read glossary.json, even if it does not exist

Developers

  • Added documentation to the most important functions and types
  • All inline css is now fully ported to the main.scss file, most !important's have been removed and all class variables start with translator-... now (TBD if this will be changed if plugin ID changes)
  • Downloaded Bergamot & FastText data is now stored in separate localstorage fields (appid-fasttext/appid-bergamot) instead of in appid-models
  • The data writable store is now gone, and is instead split up into a writable store for each of its keys; resulting in cleaner code and improved reactivity
  • Cleaned up a bunch of legacy code