Skip to content

0.2.2

Choose a tag to compare

@github-actions github-actions released this 13 Jul 15:30
· 99 commits to main since this release
82c9ee8

0.2.2

  • chore: add artifact attestation for release assets

Patch 0.2.1

  • fix(deps): replace jszip with fflate to resolve obsidian scanner warn in #13

0.2.0 What's Changed

  • Plugin Information: Added a new section to the Preferences tab providing essential plugin information and helpful links.
  • Mobile Experience: Improved the mobile editing experience by preventing swipe events when the CSS editor is active, ensuring a smoother editing flow on touch devices.

Performance & Core Improvements

  • Style Injection Engine: Migrated style generation and specific tools (BoxOutline, GarbledText) to use CSSStyleSheet, significantly optimizing how styles are injected and updated.
  • CSS Optimization: Replaced expensive :has() selectors with explicit classes to improve rendering performance.
  • Dependency Modernization:
    • Migrated from js-yaml to yaml for more efficient CSS parsing.
    • Moved the color picker from a local library to a managed npm package for better maintainability.

Stability & Type Safety

  • Type System Overhaul: Implemented extensive type safety improvements across the UI and settings, including stricter JSON.parse assertions and refined null checks.
  • Async Reliability: Standardized async function patterns and wrapped callbacks to eliminate floating promises, reducing potential race conditions and crashes.
  • DOM Context: Updated DOM manipulations to use activeDocument instead of the global document, ensuring better compatibility with Obsidian's environment.

UI & UX Polish

  • Layout Refinements: Optimized the phone layout and fixed formatting issues for a more consistent look across devices.
  • UI Modernization: Updated markdown rendering and various UI utilities for a more contemporary feel.
  • Component Tweaks: Refined the color picker reset button dimensions and sanitized logo HTML for better security and appearance.

Maintenance

  • Bridge Improvements: Enhanced Obsidian bridge patches and improved localization support.
  • State Management: Abstracted localStorage access through a dedicated adapter to decouple services from the storage implementation.
  • General Cleanup: Updated dependencies, refined the plugin manifest description, and updated the README.

Full Changelog: 0.1.13...0.2.2