changelog: document WebKit memory optimization (opt-in), CGO hardening, and performance-first defaults under Unreleased
- commit
- 088dfc8b77fad4550fb7d36a3405f7752acbb598
- author
- bamen · · 2025-09-09 18:56 UTC
- committer
- bamen · · 2025-09-09 19:50 UTC
- parent
- eea4870
- signature
- unsigned
1 file · +20 -0
M CHANGELOG.md +20 -0
| @@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file. | |||
| 4 | 4 | ||
| 5 | 5 | ## [Unreleased] | |
| 6 | 6 | ||
| 7 | + | ### Added | |
| 8 | + | - WebKit memory controls (opt‑in): | |
| 9 | + | - Env vars to tune memory/perf trade‑offs without code changes: | |
| 10 | + | - `DUMBER_CACHE_MODEL`, `DUMBER_ENABLE_PAGE_CACHE` | |
| 11 | + | - `DUMBER_ENABLE_MEMORY_MONITORING`, `DUMBER_MEMORY_LIMIT_MB`, `DUMBER_MEMORY_POLL_INTERVAL` | |
| 12 | + | - `DUMBER_MEMORY_CONSERVATIVE`, `DUMBER_MEMORY_STRICT`, `DUMBER_MEMORY_KILL` | |
| 13 | + | - `DUMBER_GC_INTERVAL`, `DUMBER_RECYCLE_THRESHOLD` | |
| 14 | + | - Version‑guarded CGO wrappers for memory pressure and GC hooks; safe no‑ops on unsupported WebKitGTK builds. | |
| 15 | + | ||
| 16 | + | ### Changed | |
| 17 | + | - Performance‑first defaults retained: | |
| 18 | + | - Cache model set to “WebBrowser”, page cache enabled, DevTools available. | |
| 19 | + | - No implicit memory pressure or GC enabled by default; all memory tuning is opt‑in. | |
| 20 | + | ||
| 21 | + | ### Removed | |
| 22 | + | - Deprecated offline app‑cache calls eliminated (no‑ops) to avoid warnings and brittle builds. | |
| 23 | + | ||
| 7 | 24 | ### Fixed | |
| 8 | 25 | - Homepage Recent History layout: | |
| 9 | 26 | - Show single-line entries as “{Title} – {Domain} – {URL}”. | |
| @@ -25,6 +42,9 @@ All notable changes to this project will be documented in this file. | |||
| 25 | 42 | - Load and log initial zoom level on startup and on every navigation. | |
| 26 | 43 | - Build/dev ergonomics: | |
| 27 | 44 | - Makefile loads `.env.local`; supports overriding `GOMODCACHE`, `GOCACHE`, `GOTMPDIR` for sandboxed builds. | |
| 45 | + | - WebKit CGO hardening and API compatibility: | |
| 46 | + | - Apply memory pressure settings to `WebKitNetworkSession` (correct signature) when enabled. | |
| 47 | + | - Guarded C wrappers remove deprecation warnings across header variants; builds succeed on WebKitGTK 6. | |
| 28 | 48 | ||
| 29 | 49 | ## [0.2.0] - 2025-09-10 | |
| 30 | 50 | ||
| @@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file. | |||||
| 4 | 4 | ||||
| 5 | ## [Unreleased] | 5 | ## [Unreleased] | ||
| 6 | 6 | ||||
| 7 | + | ### Added | |||
| 8 | + | - WebKit memory controls (opt‑in): | |||
| 9 | + | - Env vars to tune memory/perf trade‑offs without code changes: | |||
| 10 | + | - `DUMBER_CACHE_MODEL`, `DUMBER_ENABLE_PAGE_CACHE` | |||
| 11 | + | - `DUMBER_ENABLE_MEMORY_MONITORING`, `DUMBER_MEMORY_LIMIT_MB`, `DUMBER_MEMORY_POLL_INTERVAL` | |||
| 12 | + | - `DUMBER_MEMORY_CONSERVATIVE`, `DUMBER_MEMORY_STRICT`, `DUMBER_MEMORY_KILL` | |||
| 13 | + | - `DUMBER_GC_INTERVAL`, `DUMBER_RECYCLE_THRESHOLD` | |||
| 14 | + | - Version‑guarded CGO wrappers for memory pressure and GC hooks; safe no‑ops on unsupported WebKitGTK builds. | |||
| 15 | + | ||||
| 16 | + | ### Changed | |||
| 17 | + | - Performance‑first defaults retained: | |||
| 18 | + | - Cache model set to “WebBrowser”, page cache enabled, DevTools available. | |||
| 19 | + | - No implicit memory pressure or GC enabled by default; all memory tuning is opt‑in. | |||
| 20 | + | ||||
| 21 | + | ### Removed | |||
| 22 | + | - Deprecated offline app‑cache calls eliminated (no‑ops) to avoid warnings and brittle builds. | |||
| 23 | + | ||||
| 7 | ### Fixed | 24 | ### Fixed | ||
| 8 | - Homepage Recent History layout: | 25 | - Homepage Recent History layout: | ||
| 9 | - Show single-line entries as “{Title} – {Domain} – {URL}”. | 26 | - Show single-line entries as “{Title} – {Domain} – {URL}”. | ||
| @@ -25,6 +42,9 @@ All notable changes to this project will be documented in this file. | |||||
| 25 | - Load and log initial zoom level on startup and on every navigation. | 42 | - Load and log initial zoom level on startup and on every navigation. | ||
| 26 | - Build/dev ergonomics: | 43 | - Build/dev ergonomics: | ||
| 27 | - Makefile loads `.env.local`; supports overriding `GOMODCACHE`, `GOCACHE`, `GOTMPDIR` for sandboxed builds. | 44 | - Makefile loads `.env.local`; supports overriding `GOMODCACHE`, `GOCACHE`, `GOTMPDIR` for sandboxed builds. | ||
| 45 | + | - WebKit CGO hardening and API compatibility: | |||
| 46 | + | - Apply memory pressure settings to `WebKitNetworkSession` (correct signature) when enabled. | |||
| 47 | + | - Guarded C wrappers remove deprecation warnings across header variants; builds succeed on WebKitGTK 6. | |||
| 28 | 48 | ||||
| 29 | ## [0.2.0] - 2025-09-10 | 49 | ## [0.2.0] - 2025-09-10 | ||
| 30 | 50 | ||||