Skip to content

Commit b03f81a

Browse files
committed
feat: Enhance EmbeddingCache with memory pressure monitoring and proactive eviction
- Added memory pressure monitoring to EmbeddingCache, triggering eviction when memory usage exceeds a specified threshold. - Introduced MemoryPressureDetected event for monitoring purposes. - Implemented IDisposable interface for proper resource management. feat: Improve error sanitization in SemanticSearchDataSource - Compiled regex patterns with timeout to prevent ReDoS attacks when sanitizing error messages. - Enhanced security by truncating messages before regex processing to limit excessive computation. feat: Refactor AutoComplete component initialization and input handling - Introduced IInputHandler interface for managing input operations, including search text handling and dropdown state. - Improved service initialization in AutoComplete component to utilize dependency injection for theme management. feat: Add service collection extensions for AutoComplete - Created ServiceCollectionExtensions to facilitate the registration of AutoComplete services in the DI container. feat: Implement display options for AutoComplete component - Added DisplayOptions and BadgeOptions classes to configure item display and badge behavior in the AutoComplete component. feat: Introduce theming support with IThemeManager - Created IThemeManager interface and ThemeManager class for managing theme-related operations and CSS generation. test: Refactor tests to use AutoCompleteTestBase for common setup - Updated all test classes to inherit from AutoCompleteTestBase, ensuring consistent service registration for bUnit testing.
1 parent d237345 commit b03f81a

21 files changed

Lines changed: 955 additions & 922 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ claude-artifacts/
8585
appsettings.json
8686
claude_workspace/
8787
.claude-workspace/
88+
docs/
8889

8990
############################
9091
# Test & Build Output

0 commit comments

Comments
 (0)