diff --git a/CHANGELOG.md b/CHANGELOG.md index f1061f1..09ca930 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.1.0] - 2025-01-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-01-20 ### Added @@ -52,5 +69,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Input validation for all user settings - Rate limiting awareness with appropriate error handling -[Unreleased]: https://github.com/alexanderkucera/obsidian-freewriting-prompts/compare/v1.0.0...HEAD -[1.0.0]: https://github.com/alexanderkucera/obsidian-freewriting-prompts/releases/tag/v1.0.0 \ No newline at end of file +[Unreleased]: https://github.com/alexanderkucera/obsidian-freewriting-prompts/compare/1.1.0...HEAD +[1.1.0]: https://github.com/alexanderkucera/obsidian-freewriting-prompts/compare/1.0.0...1.1.0 +[1.0.0]: https://github.com/alexanderkucera/obsidian-freewriting-prompts/releases/tag/1.0.0 \ No newline at end of file diff --git a/manifest.json b/manifest.json index c12e9b8..763629c 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "freewriting-prompts", "name": "Freewriting Prompts", - "version": "1.0.0", + "version": "1.1.0", "minAppVersion": "1.9.12", "description": "Generate AI-powered writing prompts for freewriting sessions using Anthropic's Claude.", "author": "Alexander Kucera", diff --git a/settings.ts b/settings.ts index 1603522..ad20c33 100644 --- a/settings.ts +++ b/settings.ts @@ -3,7 +3,7 @@ import { App, Notice, PluginSettingTab, Setting } from 'obsidian'; import FreewritingPromptsPlugin from './main'; -import { FreewritingPromptsSettings, ANTHROPIC_MODELS } from './types'; +import { FreewritingPromptsSettings, ANTHROPIC_MODELS, AnthropicModel } from './types'; export const DEFAULT_SETTINGS: FreewritingPromptsSettings = { apiKey: '', @@ -69,7 +69,7 @@ export class FreewritingPromptsSettingTab extends PluginSettingTab { dropdown .setValue(this.plugin.settings.model) .onChange(async (value) => { - this.plugin.settings.model = value; + this.plugin.settings.model = value as AnthropicModel; await this.plugin.saveSettings(); }); });