Code Block File Export v1.0.1
This maintenance release focuses on security improvements and code quality enhancements, specifically addressing issues identified by the Obsidian community plugin security scan.
Security Improvements
- Replaced usage of innerHTML with proper DOM API methods (document.createElementNS) for SVG creation
- Enhanced security by eliminating potential injection vulnerabilities
Code Quality Enhancements
- Removed all "any" type casts in favor of more specific TypeScript types
- Improved type safety throughout the codebase
- Added proper error type handling
Behind the Scenes
- Updated test files to use proper TypeScript types
- Added comprehensive PluginManifest objects in test setup
- Fixed build and compilation issues in test environment
- Aligned code with Obsidian's plugin development best practices
Release Assets
- main.js
- manifest.json
- styles.css
Compatible with Obsidian 0.15.0 and above.