- Update version to 1.0.2 in manifest.json, package.json, and versions.json - Add CHANGELOG.md entry for security fixes - Prepare for patch release with XSS vulnerability fixes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
3.3 KiB
3.3 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
1.0.2 - 2025-01-21
Security
- Fix innerHTML usage in settings to prevent XSS vulnerabilities
- Replace innerHTML with safe DOM manipulation methods (createEl, appendText)
- Comply with Obsidian security guidelines for plugin development
1.0.1 - 2025-09-20
Changed
- Command name updated from "Clean Up Freewriting" to "Clean up text" (follows Obsidian guidelines)
- Replaced inline JavaScript styles with CSS classes for better theme compatibility
- License information corrected in package.json to match GPL-3.0
Fixed
- License badge and documentation now correctly show GPL v3 instead of MIT
1.0.0 - 2025-09-20
Added
- Initial release of Freewriting Cleanup plugin
- AI-Powered Text Cleanup: Clean up freewriting text using Anthropic's Claude models
- One-Click Processing: Select text and run a single command to transform your writing
- Smart Formatting: Converts stream-of-consciousness writing into proper paragraphs
- Typo and Grammar Correction: Fixes spelling and grammar errors while preserving your voice
- AI Commentary Feature: Optional thoughtful feedback on your freewriting session and ideas
- Constructive: Balanced feedback noting strengths and areas for development
- Encouraging: Positive, supportive observations focusing on what worked well
- Analytical: Analysis of writing structure, themes, and thought patterns
- Brief: 2-3 concise but insightful observations
- Custom: Use your own prompt for personalized feedback
- Command: "Clean up text" command accessible via Command Palette
- Settings Configuration:
- Anthropic API key configuration
- Model selection (supports all Claude models)
- Custom cleanup prompt configuration
- Commentary preferences and styles
- API connection testing
- Cross-Platform Support: Works on both desktop and mobile Obsidian
- Configurable AI Behavior: Customize how the AI cleans up and comments on your text
- Error Handling: Comprehensive error messages and troubleshooting support
- API Integration: Full integration with Anthropic's Claude API
- Type Safety: Complete TypeScript implementation with proper type definitions
Technical Implementation
- API Client: Robust Anthropic API client with error handling and response parsing
- Cleanup Service: Orchestrates cleanup operations and manages API calls
- Command System: Integration with Obsidian's command palette and editor callbacks
- Settings Management: Persistent settings with validation and testing capabilities
- Modular Architecture: Clean separation of concerns across services, commands, and API layers