@@ -7,6 +7,55 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ## [ 0.8.3] - 2025-12-14
11+
12+ ### Added
13+
14+ - ** Configuration File Support** (Closes #34 )
15+ - User configuration system with both CLI and file-based interfaces
16+ - CLI commands: ` config set ` , ` config get ` , ` config show ` , ` config edit ` , ` config reset `
17+ - Configuration file locations:
18+ - Linux/macOS: ` ~/.config/gist-cache/config.toml `
19+ - Windows: ` %APPDATA%\gist-cache\config.toml `
20+ - Configuration options:
21+ - ` defaults.interpreter ` : Set default interpreter for script execution (bash, python3, ruby, node, etc.)
22+ - ` execution.confirm_before_run ` : Enable/disable confirmation prompt before execution (for safety)
23+ - ` cache.retention_days ` : Set cache retention period in days
24+ - Support for ` GIST_CACHE_DIR ` environment variable for test isolation
25+ - Comprehensive documentation with practical examples and use cases
26+
27+ ### Changed
28+
29+ - ** Dependencies**
30+ - Added ` toml = "0.9" ` for TOML configuration file parsing
31+
32+ - ** Configuration Module**
33+ - Extended ` Config ` struct with ` config_file ` and ` user_config ` fields
34+ - Added ` UserConfig ` , ` DefaultsConfig ` , ` ExecutionConfig ` , ` CacheConfig ` structs
35+ - Implemented config file operations: load, save, set, get, reset
36+ - Enhanced ` Config::new() ` to check ` GIST_CACHE_DIR ` for both config and cache directories
37+
38+ - ** Documentation**
39+ - Created comprehensive Configuration Guide (book/src/user-guide/configuration.md)
40+ - Updated README.md with configuration feature and examples
41+ - Updated Quick Start Guide with configuration section
42+ - Updated Usage Examples with configuration examples
43+ - Fixed all internal markdown links in user-guide documentation
44+
45+ ### Tests
46+
47+ - Added 3 integration tests for config functionality (` test_config_set_get ` , ` test_config_show ` , ` test_config_reset ` )
48+ - All 173 tests passing (136 unit + 30 integration + 7 execution)
49+ - No feature degradation
50+
51+ ### Benefits
52+
53+ - ** User Convenience** : Set default interpreter once, use everywhere
54+ - ** Safety** : Optional execution confirmation for cautious users
55+ - ** Maintenance** : Configurable cache retention for disk space management
56+ - ** Flexibility** : Both CLI and file-based configuration for different workflows
57+ - ** Cross-platform** : Platform-aware config file locations
58+
1059## [ 0.8.2] - 2025-12-14
1160
1261### Added
0 commit comments