0.2.2
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-yamltoyamlfor more efficient CSS parsing. - Moved the color picker from a local library to a managed npm package for better maintainability.
- Migrated from
Stability & Type Safety
- Type System Overhaul: Implemented extensive type safety improvements across the UI and settings, including stricter
JSON.parseassertions 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
activeDocumentinstead of the globaldocument, 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
localStorageaccess 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