glance-cli 0.9.1 โ†’ 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/cli.js +223 -223
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,28 @@ All notable changes to glance-cli will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.9.2] - 2026-01-02
9
+
10
+ ### ๐Ÿ”ง Fixed: Cache Corruption Issues
11
+ - **Critical Fix**: Resolved cache corruption causing garbled/binary artifacts in cached content
12
+ - Fixed double nuclear cleaning that was corrupting cached data on read operations
13
+ - Implemented proper UTF-8 encoding with error handling using TextDecoder
14
+ - Reduced overly aggressive text sanitization that destroyed content structure
15
+ - Added validation to prevent empty/corrupted content from being cached
16
+ - Enhanced error recovery for corrupted cache entries with automatic cleanup
17
+
18
+ ### Technical Details
19
+ - Modified cache system to only apply sanitization on write, not read operations
20
+ - Added proper encoding detection and UTF-8 conversion with fallback handling
21
+ - Improved binary artifact detection to avoid false positives from normal content
22
+ - Enhanced cache validation with better error messages and recovery mechanisms
23
+ - Fixed memory corruption issues that were causing truncated Ollama responses
24
+
25
+ ### Performance Improvements
26
+ - Faster cache operations with reduced processing overhead
27
+ - Better memory management for large cached content
28
+ - Improved reliability of cache reads across all AI providers
29
+
8
30
  ## [0.9.1] - 2026-01-02
9
31
 
10
32
  ### ๐Ÿงพ MAJOR: AI-Powered Smart Formatting for Full Content