Skip to content

v1.9.0-alpha.19

Compare
Choose a tag to compare
@fabiospampinato fabiospampinato released this 29 Jul 00:33
· 4 commits to master since this release
e1b0cb9
  • Avoiding hashing notes before rendering them
  • Avoiding setting the window title again if it didn’t actually change
  • Improved links detection in some cases by ~20x
  • Ensuring the shortcuts screencaster is not rendered below the statusbar
  • Shortcuts screencasting: ensuring modifiers-only shortcuts are screencasted too
  • Ensuring the shortcuts screencaster adds essentially 0 overhead when disabled
  • Improved editor link detection, accounting for emails, less-popular schemes, third-level+ domains and TLD validity
  • useNoteDirtyContent: using the note’s model directly rather than the editor object
  • Updated some dependencies
  • Doing roughly half the amount of work when the focused element changes
  • Switching focus to editors more efficiently
  • Ensuring calling editor commands through the main commands system adds almost always essentially 0 overhead
  • Improved Markdown syntax highlighing: fenced code blocks are detected more reliably, the maximum heading level is taken into account, the actual urls inside links are not colored anymore, strikethrough’d texts are styled properly whenever possible
  • Ensuring embedded languages are syntax highlighted properly while supported languages are still lazy-loaded
  • Ensuring strikethtough text is styled in previews like in editors
  • Updated some syntax highlighting tokens’ colors
  • Ensuring inline HTML inside headings is properly syntax highlighted
  • Improved Markdonw syntax highlighting performance by ~40% in most cases
  • Ensuring editors’ dimensions are recalculated if the tabbar becomes visible or hidden
  • Editor link detection: ensuring only non-overlapping links are provided
  • Editor link detection: accounting for URL paths, special “@“ urls, special “notable://“ urls and urls inside code blocks
  • Made Markdown normalization ~30% faster, and because of a V8 bug some times actually even ~95% faster
  • Optimized HTML snippet text extraction, in some cases by 66%, avoiding touching the DOM entirely
  • Refactored some code related to Markdown compilation and tokenization
  • Optimized rendering of Markdown strings without any special characters
  • Optimized table of content generation, in some cases headings rendering is skipped entirely
  • Notes larger than 100kb are now considered “large”, this threshold will trigger various optimizations throughout the app
  • Editor: skipping link detection for large notes
  • Editor: providing only indentation-aware folding regions for large notes
  • Optimized Markdown tokenizer to only provide block-level tokens to the various functions that need them, speeding things up by ~70%
  • Optimized Markdown normalization by another ~50% in many cases
  • Editor: added support for folding tables too
  • Markdown tokenizer: filtering out unuseful tokens
  • Added support for segmentating notes into top-level blocks, without doing any inline parsing, any HTML generation and any DOM elements generation
  • Implemented a more optimized indentation-based folding regions provider that takes 50~75% less time
  • New React hook: useEventTrigger
  • Split editor: fixed an issue that caused the resizable layout to update unnecessarily
  • Rendering large notes with a segmentation-based approach, that’s 10x faster than before
  • Updated some dependencies
  • Minor changes
  • Ensuring mermeid diagrams with inline HTML are rendered properly
  • Schema: added the “any” type
  • Shortcuts schema: ensuring no provided item in “args” is filtered out
  • Removed “Move to Applications folder” dialog as an experiment (macOS)
  • New commands: editor.pasteAsImage, editor.pasteAsText
  • Mapped CmdOrCtrl+Shift+V to editor.pasteAsText
  • Ensuring a notification is displayed when attempting to edit a read-only editor
  • Updating editors options slightly more efficiently
  • Minor changes