6.8 KiB
6.8 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.2.0 - 2025-10-31
Added
- Dynamic model fetching from Anthropic API
- Pagination support for Anthropic models API
- Fallback for unavailable AI models
- User notification for ongoing timed prompts
- API key validation and model sorting
- Type refinement for dynamic model selection
- Required Claude model validation check
- Deduplication for concurrent prompt generation
- Input constraints to settings numeric fields
- Debounce mechanism for API key refresh
- DocStrings throughout codebase
Changed
- Improves timed prompt notification duration calculation
- Enhances model selection and caching in settings
- Refactors model fetching with deduplication strategy
- Improves model list pagination with safety measures
- Refactors Anthropic API client configuration
- Optimizes settings handling with debounce and async improvements
- Improves timestamp localization for note prompts
- Improves data loading with robust error handling
- Improves model fetching resilience and performance
- Enhances ESLint configuration for TypeScript project
- Improves timed prompts command concurrency handling
- Improves model fallback and settings handling
- Optimizes settings and API key management
- Improves Anthropic API client robustness
- Extracts note command execute validation logic
- Updates ANTHROPIC_MODELS with latest model versions
- Updates ESLint configuration to latest standards
- Improves prompt insertion logic and timestamp formatting
- Improves Anthropic models API response validation
- Improves async model loading for settings UI
- Optimizes token usage for timed prompts
- Improves model selection fallback handling
- Simplifies data loading and initialization logic
- Improves model fetch error notification message
- Simplifies cursor placement after prompt insertion
- Updates project license badge to GPL v3
- Updates repository URLs and links
- Updates author and license info
Fixed
- Pagination ID consistency in model sorting
- Cross-key model cache leakage
- Timed prompts generation race condition
- Broken links in README
- Empty cache arrays guard
- Race conditions in timed prompts
- Removes unnecessary error notification
- Refines notification timing for timed prompts
- Sanitizes writing prompts for consistent formatting
- Refines timed prompt notification duration logic
- Improves ping response validation robustness
1.1.1 - 2025-09-21
Added
- Plugin combination recommendations for enhanced writing workflow
Changed
- Command Naming: Renamed "Staggered Prompts" to "Timed Prompts" for better clarity
- Command now called "Show Timed Prompts" instead of "Show Staggered Prompts"
- Settings renamed from "Staggered Count" to "Timed Count"
- All user-facing text updated to reflect regular interval timing rather than staggered/irregular timing
Fixed
- Type Safety: Improved TypeScript type safety throughout codebase
- Replaced
anytypes with proper Obsidian API types (App, ButtonComponent) - Added null safety for button text content
- Enhanced code quality and maintainability
- Replaced
- Settings UI: Removed redundant "Settings" text from settings tab heading
1.1.0 - 2025-09-20
Changed
- Enhanced Staggered Prompts: Now generates ultra-short, direct prompts perfect for quick responses (1-5 words or single sentence)
- Improved Timing: Fixed staggered prompt display timing to prevent notification overlap with smooth fade transitions
- Better Type Safety: Simplified prompt generation model usage with proper TypeScript typing
Fixed
- Obsidian Compliance: Moved inline styles to CSS for better theme compatibility
- Command Naming: Updated command names to follow Obsidian conventions ("Show Staggered Prompts", "Add Note Prompts")
- Code Quality: Removed TypeScript type casting issues and improved code structure
Technical Details
- Type-specific prompt generation (staggered vs note prompts use different instructions)
- Dynamic notification duration based on user delay settings
- Enhanced Claude model support including latest Opus 4.1 and Sonnet models
1.0.0 - 2025-09-19
Added
- Staggered Freewriting Prompts command for timed writing sessions
- Configurable number of prompts (1-50, default: 10)
- Configurable delay between prompts (1-300 seconds, default: 6)
- Real-time prompt counter display in notifications
- Stop command to cancel running staggered sessions
- Freewriting Prompt command for direct note insertion
- Configurable number of prompts (1-20, default: 3)
- Timestamped prompt lists inserted at cursor position
- Formatted as bullet points with creation timestamp
- AI-Powered Prompt Generation using Anthropic's Claude API
- Support for multiple Claude models (Haiku, Sonnet, Opus)
- Customizable system prompts for personalized prompt styles
- Example prompts for both staggered and note insertion modes
- 10-minute intelligent caching to reduce API costs
- Comprehensive Settings Interface
- API key configuration with secure storage
- Model selection dropdown with latest Claude models
- Timing and count configuration for both command types
- Custom system prompt and example prompt configuration
- API key test button with detailed feedback including response time and token usage
- Cross-Platform Compatibility
- Works on both Obsidian desktop and mobile
- No Node.js or Electron APIs used for maximum compatibility
- Error Handling and User Feedback
- Detailed error messages for different API failure scenarios
- Settings validation before command execution
- Real-time status feedback during prompt generation
- Network error recovery with user-friendly messages
Technical Details
- Uses Obsidian's
requestUrl()API for CORS-compliant HTTP requests - Modular TypeScript architecture with separation of concerns
- Comprehensive type definitions for all interfaces
- Production-ready error handling and logging
- Follows Obsidian plugin development best practices
Security
- API keys stored securely using Obsidian's data storage
- No sensitive information logged to console
- Input validation for all user settings
- Rate limiting awareness with appropriate error handling