chore: release 1.1.0
- Enhanced staggered prompts with ultra-short, direct prompts - Improved notification timing to prevent overlap - Fixed Obsidian compliance issues - Better TypeScript type safety 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
3 files changed
+23
-5
No files matched your search
+20
-2
@@ -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
|
||||
[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
|
||||
+1
-1
@@ -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",
|
||||
|
||||
+2
-2
@@ -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();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user