Skip to content

Releases: glowingjade/obsidian-smart-composer

1.1.21

20 Apr 22:24
457f3fc

Choose a tag to compare

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

15 Apr 20:10
dbd3626

Choose a tag to compare

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

10 Apr 15:44
30510b1

Choose a tag to compare

chore: add API key validation for DeepSeek and Perplexity providers (…

1.1.18

09 Apr 18:06
2a316df

Choose a tag to compare

style: Update css styles (#344)

* style: Show scrollbar in popover

* style: Simplify code block header styles

1.1.17

09 Apr 16:57
1a4ba84

Choose a tag to compare

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

08 Apr 02:32
7d977fe

Choose a tag to compare

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

04 Apr 17:12
260565f

Choose a tag to compare

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

24 Mar 01:36
31624ac

Choose a tag to compare

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

12 Mar 13:30
fb1f883

Choose a tag to compare

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

11 Mar 17:36
406b969

Choose a tag to compare

fix: simplify 429 detection (#297)