Releases: glowingjade/obsidian-smart-composer
Releases · glowingjade/obsidian-smart-composer
1.1.21
chore: Resolve minor issues (#365) * feat: limit conversation history to the last 10 messages in apply prompt * style: Show folder path in mention popover * feat: Add ability to accept both changes in ApplyView * style: Update color variables and button labels in ApplyView
1.1.20
fix: Add encoding_format: 'float' to embedding requests (#354) Fixes issue #337 where embedding requests failed after OpenAI library update. Adding encoding_format parameter restores original behavior for OpenAI-compatible providers.
1.1.19
chore: add API key validation for DeepSeek and Perplexity providers (…
1.1.18
style: Update css styles (#344) * style: Show scrollbar in popover * style: Simplify code block header styles
1.1.17
feat: Add markdown preview mode to assistant response (#342) * feat: Add preview mode for markdown code blocks - Add toggle between raw text and formatted preview for code blocks - Create ObsidianMarkdown component for rendering formatted markdown - Fix newline handling in tag content parsing
1.1.16
feat: Integrate Perplexity sonar models (#339) * feat: Add Perplexity integration with message adapter and provider * feat: Add Perplexity provider to model types * feat: Implement UI for displaying annotations Add support for displaying annotations in chat messages, including: - New AssistantMessageAnnotations component for rendering annotations - AnnotationManager to handle URL title fetching * feat: Add support for <think> tags and rename smtcmp_block parser - Add support for parsing <think> tags alongside <smtcmp_block> tags - Update ReactMarkdown component to handle new think tag content type - Add AssistantMessageReasoning component for rendering think tag content * feat: Update migration to version 7 with new providers and models - Added 'perplexity' as a new default provider in DEFAULT_PROVIDERS_V7. - Introduced multiple 'perplexity' models in DEFAULT_CHAT_MODELS_V7. - Updated migration logic to reorder providers and preserve custom providers. * feat: Include ChatAssistantMessage annotations in the prompt * feat: Enhance Perplexity model settings with web search options - Added web search options to Perplexity models in DEFAULT_CHAT_MODELS and migration schema. - Introduced UI components for configuring search context size in ChatModelSettings. - Updated OpenAIMessageAdapter and PerplexityProvider to handle web search options in requests.
1.1.15
Improve Diff View (#325) * refactor: migrate from diff to vscode-diff library - Replace diff library with vscode-diff for better diff visualization - Refactor ApplyViewRoot component to use new DiffBlock interface - Add DiffBlockView component for improved diff block rendering * feat: Add diff navigation - Add previous/next navigation controls for diff blocks - Implement auto-scrolling to active diff blocks - Track and display current diff position (e.g., "1 of 5")
1.1.14
fix: handle Anthropic CORS issues and improve error handling (#313) * refactor: consolidate error modals and improve error handling - Replace OpenSettingsModal and ReportBugModal with unified ErrorModal component - Add rawError support to LLM exception classes for better error tracking * feat: improve CORS error handling for Anthropic API - Add detailed error detection for Anthropic CORS policy restrictions - Update error message with step-by-step solution for new individual accounts
1.1.13
refactor: migrate chats and templates to json database (#287) * refactor: migrate template management from database to JSON files * feat: migrate templates from Drizzle to JSON storage * feat: implement JSON-based chat conversation management * feat: add migration for chat history to JSON storage * refactor: consolidate JSON database migration logic * chore: add validation for empty template names * chore: Use schema version constants in filename regex patterns * test: add comprehensive filename generation tests for ChatManager and TemplateManager * refactor: extract JSON manager hooks for template and chat managers * chore: improve JSON database migration with verification and error handling * feat: enhance JSON migration process with completion marker and chat view reload
1.1.12
fix: simplify 429 detection (#297)