docs(changelog): document major refactoring and webkit memory features
- commit
- 1811c79b925c1f683246891a01bc06d4dc233673
- author
- bamen · · 2025-09-12 13:56 UTC
- parent
- 0aae712
- signature
- unsigned
1 file · +21 -0
M CHANGELOG.md +21 -0
| @@ -4,6 +4,27 @@ All notable changes to this project will be documented in this file. | |||
| 4 | 4 | ||
| 5 | 5 | ## [Unreleased] | |
| 6 | 6 | ||
| 7 | + | ### Added | |
| 8 | + | - **Performance-optimized WebKit memory configuration system**: | |
| 9 | + | - **New `WebkitMemoryConfig`** configuration section with performance-focused defaults for faster page loading | |
| 10 | + | - **Aggressive caching strategy**: `web_browser` cache model with page cache enabled for instant back/forward navigation | |
| 11 | + | - **Balanced memory pressure management**: Conservative (40%), strict (60%), and kill (80%) thresholds optimized for performance vs stability | |
| 12 | + | - **Smart garbage collection**: 2-minute JavaScript GC intervals with process recycling after 50 page loads | |
| 13 | + | - **Reduced monitoring overhead**: 45-second memory monitoring intervals to minimize performance impact | |
| 14 | + | - **Environment variable overrides**: All memory settings configurable via `DUMBER_*` environment variables (`DUMBER_CACHE_MODEL`, `DUMBER_MEMORY_CONSERVATIVE`, etc.) | |
| 15 | + | - **Early crash handling initialization**: Moved crash handler setup to application entry point for better crash recovery | |
| 16 | + | ||
| 17 | + | ### Changed | |
| 18 | + | - **Major main.go refactoring**: Massive code reduction from 1071 lines to 61 lines (~95% reduction) | |
| 19 | + | - **Extracted browser application logic** to dedicated `internal/app/browser` package for better separation of concerns | |
| 20 | + | - **Streamlined entry point**: Clean main function focusing only on CLI vs GUI mode detection and application bootstrapping | |
| 21 | + | - **Improved maintainability**: Modular architecture with clear responsibilities between CLI and browser components | |
| 22 | + | - **Refactored memory configuration architecture**: | |
| 23 | + | - Integrated WebKit memory settings into unified config system with Viper environment variable bindings | |
| 24 | + | - Eliminated redundant environment variable parsing in favor of centralized configuration management | |
| 25 | + | - Simplified webview initialization with direct config-to-WebKit conversion | |
| 26 | + | - **Improved CLI logs command description**: Enhanced help text for better user experience | |
| 27 | + | ||
| 7 | 28 | ## [0.6.0] - 2025-09-12 | |
| 8 | 29 | ||
| 9 | 30 | ### Added | |
| @@ -4,6 +4,27 @@ All notable changes to this project will be documented in this file. | |||||
| 4 | 4 | ||||
| 5 | ## [Unreleased] | 5 | ## [Unreleased] | ||
| 6 | 6 | ||||
| 7 | + | ### Added | |||
| 8 | + | - **Performance-optimized WebKit memory configuration system**: | |||
| 9 | + | - **New `WebkitMemoryConfig`** configuration section with performance-focused defaults for faster page loading | |||
| 10 | + | - **Aggressive caching strategy**: `web_browser` cache model with page cache enabled for instant back/forward navigation | |||
| 11 | + | - **Balanced memory pressure management**: Conservative (40%), strict (60%), and kill (80%) thresholds optimized for performance vs stability | |||
| 12 | + | - **Smart garbage collection**: 2-minute JavaScript GC intervals with process recycling after 50 page loads | |||
| 13 | + | - **Reduced monitoring overhead**: 45-second memory monitoring intervals to minimize performance impact | |||
| 14 | + | - **Environment variable overrides**: All memory settings configurable via `DUMBER_*` environment variables (`DUMBER_CACHE_MODEL`, `DUMBER_MEMORY_CONSERVATIVE`, etc.) | |||
| 15 | + | - **Early crash handling initialization**: Moved crash handler setup to application entry point for better crash recovery | |||
| 16 | + | ||||
| 17 | + | ### Changed | |||
| 18 | + | - **Major main.go refactoring**: Massive code reduction from 1071 lines to 61 lines (~95% reduction) | |||
| 19 | + | - **Extracted browser application logic** to dedicated `internal/app/browser` package for better separation of concerns | |||
| 20 | + | - **Streamlined entry point**: Clean main function focusing only on CLI vs GUI mode detection and application bootstrapping | |||
| 21 | + | - **Improved maintainability**: Modular architecture with clear responsibilities between CLI and browser components | |||
| 22 | + | - **Refactored memory configuration architecture**: | |||
| 23 | + | - Integrated WebKit memory settings into unified config system with Viper environment variable bindings | |||
| 24 | + | - Eliminated redundant environment variable parsing in favor of centralized configuration management | |||
| 25 | + | - Simplified webview initialization with direct config-to-WebKit conversion | |||
| 26 | + | - **Improved CLI logs command description**: Enhanced help text for better user experience | |||
| 27 | + | ||||
| 7 | ## [0.6.0] - 2025-09-12 | 28 | ## [0.6.0] - 2025-09-12 | ||
| 8 | 29 | ||||
| 9 | ### Added | 30 | ### Added | ||