v0.21.0 73bf644

CHANGELOG.md RawHistoryFolder

Changelog

All notable changes to this project will be documented in this file.

[Unreleased]

[0.21.0] - 2025-12-26

Added

  • Configurable new-pane defaults: New workspace.new_pane_url (default: about:blank, supports dumb://) and omnibox.auto_open_on_new_pane (default: false).
  • Consume-or-expel panes (very alpha): Niri-style pane consume/expel operation to merge a leaf into a sibling stack or expel a stacked pane into a split. Default global shortcuts: Alt+[ / Alt+] (and Alt+Shift+[ / Alt+Shift+]).
  • Zellij-style pane resize mode: New modal resize mode (Ctrl+N) to adjust split sizes with keyboard (h/j/k/l or arrow keys, +/- smart resize). Shows a per-pane border indicator and keeps the timeout alive while you resize.
  • Mouse-driven pane resizing: Drag split dividers with the mouse; split ratios are persisted in session snapshots (rounded to 2 decimals) and restored on resurrection.
  • Dynamic window title: Window title now displays the active pane's page title in format <Page Title> - Dumber. Updates when switching tabs/panes or navigating. Truncated at 255 characters.
  • Link URL status overlay: Shows destination URL in bottom-left corner when hovering over links, images, or media elements. Standard browser UX pattern with 100ms show delay to avoid flicker and 150ms CSS fade transitions. Configurable via CSS.
  • Local file path support: dumber browse test.html now correctly opens local HTML files by converting existing file paths to file:// URLs. Supports absolute paths, relative paths, and ~/ home directory expansion.
  • Auto-update system: Automatic update checking and self-updating binary replacement following clean architecture.
    • Update check on startup: Async check against GitHub releases API (configurable via update.enable_on_startup, default: true).
    • Toast notifications: Non-intrusive auto-dismiss notifications for update availability.
    • Auto-download: Optional background download with binary staging (configurable via update.auto_download, default: false).
    • Binary self-update: Atomic binary replacement on clean exit with .old backup. Only works if binary is user-writable (e.g., ~/.local/bin/).
    • CLI update check: dumber about now displays update availability.
    • Version-less release archives: Goreleaser now produces dumber_linux_x86_64.tar.gz (version in directory inside) enabling stable GitHub /releases/latest/download/ URLs.
  • Session management & resurrection: Zellij-inspired session management system allowing users to save, list, and restore browser sessions.
    • Automatic session snapshots: Debounced state saving (configurable interval, default 5s) captures tabs, panes, splits, stacks, URLs, titles, and zoom levels.
    • Session Manager modal: Access via Ctrl+O → s/w or Ctrl+Shift+S to browse and restore sessions with inline preview of tabs and panes.
    • Session mode: New modal mode (Ctrl+O) with purple border indicator, similar to pane/tab modes.
    • CLI session commands: dumber sessions opens interactive TUI browser; dumber sessions list shows saved sessions; dumber sessions restore <id> resurrects a session in a new window; dumber sessions delete <id> removes a session.
    • Session purging: Integrated into dumber purge command for cleaning up old session data. Simplified UI with single "Sessions" toggle instead of individual selection.
    • Automatic session cleanup: Sessions are automatically cleaned up on startup based on max_exited_sessions (default: 50) and max_exited_session_age_days (default: 7 days).
    • Configuration options: session.auto_restore, session.snapshot_interval_ms, session.max_exited_sessions, session.max_exited_session_age_days, plus session mode shortcuts and styling.

Fixed

  • Alt/Ctrl+number shortcuts on non-QWERTY keyboards: Fixed Alt+1-9/0 tab switching and Ctrl+1-9/0 omnibox shortcuts not working on AZERTY, QWERTZ, Dvorak, and other non-QWERTY keyboard layouts. Uses hardware keycodes as fallback when keyval lookup fails, enabling shortcuts to work based on physical key position regardless of layout.
  • Idle inhibition leak on pane close: Fixed D-Bus idle inhibit request not being released when closing a pane/tab while in fullscreen or playing audio. The inhibition would remain active until the app exited. Now properly tracks fullscreen and audio state and releases inhibition before destroying WebView.
  • Audio-based idle inhibition: Extended idle inhibition to also activate when a page is playing audio (e.g., video/music playback), not just in fullscreen mode. Uses WebKit's notify::is-playing-audio signal. The inhibitor uses refcounting, so both fullscreen and audio can be active simultaneously.

[0.20.1] - 2025-12-25

Fixed

  • Stacked pane favicon and title updates: Fixed favicon and title not updating in stacked pane title bars by tracking pane IDs in StackedView and properly routing update events to the correct pane.
  • WebKit process leak on pane close: Fixed zombie WebKit web processes not being terminated when panes were closed. WebView.Destroy() now properly calls TerminateWebProcess() and unparents GTK widgets, freeing GPU resources (VA-API, DMA-BUF, GL contexts). This should significantly improve video playback stability and reduce memory usage when opening/closing many panes.
  • White flash on navigation: Eliminated white page flash when navigating in dark mode by setting WebView background color to match theme and hiding WebView until content commits.
  • Dark mode detection on websites: Fixed prefers-color-scheme: dark detection by improving matchMedia query normalization and adding proper event listener stubs. Sites like Reddit now correctly detect dark mode preference.
  • Alt+number tab switching: Fixed Alt+1-9 shortcuts not working when WebView has focus by using GtkShortcutController with global scope instead of EventControllerKey.
  • System locking during fullscreen video: Added idle inhibition via XDG Desktop Portal when WebView enters fullscreen mode. Prevents system from locking/sleeping during fullscreen video playback on Wayland (works with all compositors: GNOME, KDE, sway, hyprland, etc.).
  • Navigation performance: Significantly faster page navigation through multiple optimizations:
    • Async history recording via background worker (SQLite writes no longer block GTK main thread)
    • LRU cache for per-domain zoom levels (repeat visits skip database queries)
    • Async favicon preload (cache lookup doesn't block navigation start)
    • Progress callback throttling at ~60fps (reduces UI callback overhead)
    • Increased WebView pool prewarm from 2 to 4 for faster initial tab creation

Changed

  • Custom color picker and confirm dialogs: Replaced native GTK color picker and confirm dialogs with custom Svelte components using bits-ui AlertDialog. Fixes Wayland compatibility issues where native dialogs would not display properly (fixes #12).
  • GSK renderer default: Changed default from vulkan to auto to let GTK choose the best renderer and avoid potential DMA-BUF synchronization conflicts with WebKit.
  • Removed invalid GStreamer config: Removed video_buffer_size_mb and queue_buffer_time_sec config options as these were not valid GStreamer environment variables (they are element properties that cannot be set via env vars).

Added

  • Performance config section: New performance config section with zoom_cache_size (default: 256) and webview_pool_prewarm_count (default: 4) for tuning. Not exposed in UI but can be set in config file.
  • Clean-architecture rewrite (pure Go): Major refactor to a ports/adapters style architecture with explicit domain, application (use cases), infrastructure, and ui layers.
  • New CLI commands: doctor (runtime dependency checks), about (build info), setup (desktop integration), plus expanded purge with an interactive TUI.
  • WebUI config improvements: Search shortcut management (CRUD) and reset-to-defaults support.
  • Find-in-page: New find UI and shortcut handling.
  • Migrated GUI stack to puregotk + puregotk-webkit and disabled CGO for pure Go compilation.
  • Omnibox rewrite: Replaced injected Svelte/JS omnibox with a native GTK4 widget overlay.
  • Startup defers non-critical work, adds DNS prefetching and a warmed WebView pool for faster tab/pane creation.
  • SQLite WAL checkpoints happen less frequently to reduce contention.
  • Content filters skip caching invalid rules; EasyList parser prefers if-domain over unless-domain.
  • Workspace border overlays can now receive pointer input.
  • Session-based logging and session management for CLI/GUI runs.

[0.15.0] - 2025-11-29

Added

  • Inline URL suggestions: Fish/zsh-style ghost text completion in omnibox. As you type, shows grayed-out URL completion from history. Accept with Right Arrow (full) or Ctrl+Right (word). Ctrl+Y also accepts full suggestion. Uses trie-based prefix search with debounced queries for smooth typing.
  • Filter list auto-update: Async version checking using HTTP HEAD request with ETag. 2-minute startup delay, skips if checked within 24 hours. Stores version per filter list.
  • Configurable filter lists: New content_filtering.filter_lists config option. Defaults include EasyList, EasyPrivacy, and uBlock filters (annoyances, quick-fixes).
  • Demo video: Added feature showcase video to README (docs/media/dumber-demo.mp4).
  • Page load progress bar: Thin animated indicator at window bottom showing web page loading progress. Tracks WebView load events with gradient animation, auto-hides when complete.
  • Omnibox initial history display: Configurable behavior when opening empty omnibox via omnibox.initial_behavior ("recent", "most_visited", "none"). Shows initial history on open and when input is cleared. Default: recent visits.
  • Omnibox keyboard blocking: Prevent page scripts from stealing focus while omnibox is active.
  • Configurable border widths: Added pane_mode_border_width and tab_mode_border_width configuration options (default: 4px) for full border customization.
  • Content filter caching: Centralized content blocking service compiles filters once and caches them for instant reuse across all WebViews.
  • CLI purge enhancements: Separate --cookies and --history flags for granular data deletion.
  • URL normalization: Consistent URL storage across browser, CLI, and favicon services (strips trailing slashes, normalizes schemes).

Fixed

  • Filter compilation race condition: Fixed concurrent map crash when multiple filter lists compile simultaneously by using local converter instead of shared state.
  • Omnibox search performance: Debounce search with 2-character minimum threshold to prevent UI freeze on first keystroke. Applies to both URL/history search and find-in-page modes.
  • Omnibox flash on load: Load the injected GUI bundle at document-start and initialize the omnibox as soon as DOM is ready, ensuring it is ready without briefly flashing during page startup or new pane creation.
  • Zoom toast suppression: Suppress zoom toast notifications during browser initialization to prevent UI flash.
  • Cosmetic filter injection: Inject rules immediately and fix selector normalization for better ad blocking.

Changed

  • Refactor keyboard blocking: Move logic to main-world.ts, reduce handler.go verbosity.
  • Border overlay architecture: All borders (active pane, pane mode, tab mode) now use GTK overlay pattern preventing layout shifts when borders appear/disappear. Removed inactive border styling - only active panes show borders.
  • Simplified border configuration: Removed inactive_border_width, inactive_border_color, show_stacked_title_border, and border_radius config options. All borders are now overlay-based with no layout impact.
  • Remove Turnstile workaround: Removed temporary Cloudflare Turnstile CORS allowlist (no longer needed).

[0.14.1] - 2025-11-18

Added

  • Inline tab rename: Press Alt+T then r to rename tabs directly in the tab bar. Enter saves, Escape cancels. Tab buttons temporarily allow focus during rename, then restore original focus behavior to prevent interfering with WebView keyboard input.
  • Cloudflare Turnstile CAPTCHA support: Temporary CORS allowlist workaround for challenges.cloudflare.com to bypass WebKit's incomplete COEP credentialless implementation. Allows Turnstile-protected sites to function properly. Configurable via enable_turnstile_workaround (default: true).
  • Global content filtering toggle: New content_filtering.enabled config option to completely disable ad blocking when needed. Whitelist system remains available for granular control. Defaults to enabled for backward compatibility.

Fixed

  • Search shortcut placeholders: Support both {query} and %s placeholder formats in search shortcuts, allowing users to use either style. Also fixed domain-only URLs (e.g., "github.com") being incorrectly treated as search queries.
  • OAuth popup handling: Fixed OAuth popups not functioning in stacked panes and split operations by ensuring setupPopupHandling() is called in all pane creation code paths (finalizeStackCreation, CloseStackedPane, splitNode).
  • WebView ID message parsing: Fixed JSON unmarshaling errors when frontend sends numeric webviewId values instead of strings. Message handler now gracefully normalizes both string and numeric webviewId formats with fallback parsing logic.
  • Video codec fallback: Unblocked VP8 codec to allow fallback for ad segments, preventing playback interruptions when ads use different codecs than main content.
  • Video buffering: Increased buffer sizes (64 MB, 20s) to handle bursty Twitch/AV1 segments and improve streaming reliability on variable bitrate platforms.

Changed

  • Console output cleanup: Disabled WebKit console.log() messages to stdout to prevent page script spam. DevTools console (F12) still shows all messages.
  • Content filtering configuration: Refactored content_filtering_whitelist into structured content_filtering config with enabled boolean and whitelist array for better organization.

[0.14.0] - 2025-11-18

Added

  • Zellij-style tab system: Each tab contains an independent workspace with panes, splits, and stacks. Ctrl+T enters tab mode with modal keyboard control (n=new, x=close, l/h=navigate). Alt+1-9/0 for direct tab switching. Ctrl+Tab/Ctrl+Shift+Tab for next/previous tab. Tab bar auto-hides with single tab. Orange border indicator (distinct from blue pane mode).
  • International keyboard layout support: Hardware keycode-based shortcuts for Alt+number keys work across all keyboard layouts (QWERTY, AZERTY, QWERTZ, etc.). Physical key position used instead of character mapping.
  • Click-to-activate stacked panes: Click on any collapsed title bar to instantly activate that pane. Uses GTK4 gesture clicks for native interaction feel.
  • Title bar visual separators: Subtle 1px borders between stacked title bars. Theme-aware colors automatically adjust for light/dark mode.
  • UI scaling for title bars: New workspace.styling.ui_scale config option (default: 1.0). Scales font size, padding, height, and favicon size. Range: 0.5 to 3.0 (e.g., 1.2 = 120% size).
  • Favorites system: Full favorites management with keyboard controls and persistent storage. Press Tab to switch between History and Favorites views. Press Space to add/remove items. Yellow border indicates favorited items in History view. View mode persists across sessions. Database-backed with RAM-first caching for performance.
  • Omnibox quick navigation: Press Ctrl+1 through Ctrl+9 to instantly navigate to the first 9 results, or Ctrl+0 for the 10th. Works in both History and Favorites views. Visual number hints appear on each item. Keyboard layout independent (works on QWERTY, AZERTY, QWERTZ, etc.).
  • Middle-click and Ctrl+click link handling: Links can now be opened in new workspace panes using standard browser gestures (middle-click or Ctrl+left-click). New panes split in the configured direction (default: right) and respect workspace.popups.placement configuration. Implemented via WebKit's decide-policy signal to intercept navigation actions before they occur.
  • Configurable pane border styling: Added workspace.styling.inactive_border_width, workspace.styling.inactive_border_color, and workspace.styling.show_stacked_title_border config options. Active and inactive borders default to 1px to prevent layout shift, with only color changing on focus. Borders use GTK theme variables by default and support smooth CSS transitions.
  • Configurable default search engine: Added default_search_engine config option with explicit URL template format. DuckDuckGo is now the default (was Google). Users can set any search engine with %s placeholder (e.g., default_search_engine = "https://duckduckgo.com/?q=%s").

Changed

  • Target="_blank" and gesture link behavior: Links with target="_blank", Ctrl+click, and middle-click now open in stacked panes mode by default instead of split-right. New config option workspace.popups.blank_target_behavior (values: "split", "stacked", "tabbed") controls this behavior separately from JavaScript popups. Prevents browser exit when closing parent pane by marking _blank panes as popup-type.
  • Config format: TOML is now the default format (JSON/YAML still supported). Action bindings inverted to action→keys structure for maintainability with O(1) runtime lookup. Added comprehensive validation.
  • Code cleanup: Removed dead code files and emojis from GUI modules
  • Bridge architecture: Unified main-world to isolated-world bridge system with comprehensive documentation. Single dispatcher for all window function bridges (omnibox, favorites, toasts). Better separation between CustomEvents (shared between worlds) and window functions (require bridging).
  • Omnibox spacing: Increased vertical spacing between suggestion items from 0.65rem to 0.85rem for better readability
  • Smart Escape key: First press clears input text, second press closes omnibox. Empty input closes immediately.

Fixed

  • Ctrl+Tab shortcuts: Fixed focus cycling behavior, now properly switches between tabs
  • Active tab visibility: Fixed identical styling - active tab now clearly visible with distinct gray shade
  • AZERTY keyboard support: Alt+number shortcuts now work on all keyboard layouts using hardware keycodes
  • Keyboard layout detection: Fixed always detecting "en" - now correctly detects fr/de/etc layouts
  • Zoom visual glitch: Fixed zoom level for next page being applied before navigation completed, causing visible zoom change on current page. Zoom now applies on load-committed event instead of URI change.
  • Toast notifications: Fixed toast notifications not appearing for copy URL (Ctrl+Shift+C) and clipboard operations. Event name was dumber:showToast but ToastContainer listens for dumber:toast.
  • Page reload shortcuts: Restored Ctrl+R, Ctrl+Shift+R, F5, and Ctrl+F5 shortcuts. They were registered but not actually wired to the window-level handler.
  • Bootstrap initialization: Fixed omnibox component not mounting due to invalid toast function check in isolated world. Toast functions now bridge correctly via CustomEvents, allowing omnibox to initialize properly.
  • Empty state display: History view now hides empty state when input is empty, showing it only when user has typed and no results are found. Favorites view always shows empty state with helpful hints.

[0.13.0] - 2025-10-24

Added

  • Color scheme config: appearance.color_scheme setting to force dark/light theme ("prefer-dark", "prefer-light", "default")
  • DNS prefetch: Added capability to prefetch DNS for links to speed up future requests
  • Page cache (bfcache): Enabled WebKit back/forward cache for instant navigation
  • Smooth scrolling: Enabled WebKit smooth scrolling for better UX
  • JSON Schema: Auto-generated config schema for IDE autocompletion and validation
  • Parallel cache loading: Zoom, certificate, and fuzzy caches load concurrently at startup (<100ms target)
  • Certificate validation cache: In-memory cache for TLS certificate decisions with graceful shutdown flushing

Changed

  • Database performance: Enabled WAL mode with optimized PRAGMAs (64MB cache, memory-mapped I/O, 5s busy timeout) for 70k reads/sec, 3.6k writes/sec
  • Zoom performance: In-memory cache eliminates database reads during page transitions
  • History writes: Batched writes with background processor (flush every 5s or 50 items) to reduce I/O overhead
  • BREAKING: Keyboard shortcuts: All shortcuts now use ctrl+ instead of cmdorctrl+. Existing configs with cmdorctrl still work via backward compatibility. Delete ~/.config/dumber/config.json to regenerate with new defaults.
  • Cache management: Graceful cache flushing on shutdown prevents data loss; startup timing instrumentation with performance warnings

Fixed

  • Graceful shutdown deadlock: Resolved GTK main loop deadlock on Ctrl+Q by removing mutex locks and GTK calls after main loop exit
  • CSS provider error handling: Now properly handles errors from GTK CSS provider with logging
  • Cache operations: Added context timeouts to cache flush and history queue operations for graceful failure
  • Command typos now show proper error instead of opening in browser
  • History queue now uses buffered channel to prevent blocking on shutdown

[0.12.1] - 2025-10-18

Added

  • Favicon refactoring: WebKitGTK FaviconDatabase as single source of truth, removing fragile file-based cache and ico/bmp conversion dependencies
    • Native favicon detection and automatic PNG export at 32x32 for CLI (dmenu)
    • SVG favicon rasterization support
    • Async texture loading with callbacks for non-blocking UI updates
    • FaviconService handles favicon collection across all panes

Changed

  • Removed old favicon cache system (go-ico, go-bmp dependencies)
  • Simplified omnibox favicon handling: uses database favicon_url only

Fixed

  • Mouse button navigation: Added support for hardware mouse buttons 8/9 (back/forward)
  • Touchpad gestures: Two-finger horizontal swipe for back/forward navigation
  • Web app shortcuts: Ctrl+C, Ctrl+V, Ctrl+A now work in Gmail, VSCode web, etc.
  • Dark mode flash on startup: Set GTK dark theme preference and WebView background color before window/content creation
  • Cmd+Q and window close button now trigger graceful shutdown instead of killing the browser process
  • WebView cleanup: Properly destroy WebViews to prevent memory leaks and duplicate handler registrations when closing stacked panes
  • CLI help: Running dumber without arguments now shows available commands (use --gui or browse to launch GUI)

[0.12.0] - 2025-10-16

Added

  • Native favicon support: WebKit FaviconDatabase integration with automatic detection and caching for all panes
  • ENV=dev support to isolate test builds from production config/data in .dev/dumber/ directory
  • Content filtering whitelist config (Twitch enabled by default)
  • dumber config command to open config file in $VISUAL/$EDITOR or print path with --path
  • Native WebKit popup lifecycle: Implemented WebKit's create/ready-to-show/close signals for proper popup management, eliminating manual WebView creation that bypassed WebKit's internal architecture
  • Popup behavior configuration: Added popup_behavior config with four modes: split (default), stacked, tabbed, and windowed for user control over popup placement
  • Backend-driven pane mode: Complete rewrite of pane mode from JavaScript to Go backend with native keyboard handling. Ctrl+P enters mode, x/l/r/d/u/arrows for actions, Escape exits. Blocks all other keys during mode.
  • Pane mode visual border: Zellij-style border around workspace root when pane mode is active, replacing old toast notification system. Uses GTK margins with configurable pane_mode_border_color (defaults to #FFA500 orange). Window background color shows through margins to create visible border effect

Changed

  • Popup architecture refactoring: Removed ~280 lines of JavaScript window.open interception in favor of WebKit's native popup signals. Popups now follow WebKitGTK's expected lifecycle instead of being intercepted and manually created
  • GUI bootstrap refactoring: Extracted 400+ lines of common initialization logic into reusable bootstrap.ts module shared between injected pages and special schemes (homepage, etc.)
  • Workspace pane mode: Moved ~450 lines of JavaScript state machine to Go backend for more reliable keyboard handling and eliminated race conditions between webviews

Fixed

  • TLS certificate validation restored: Re-implemented persistent certificate error handling (broken during gotk4 migration)
    • Interactive three-option dialog: "Go Back", "Proceed Once (Unsafe)", and "Always Accept This Site"
    • SQLite-based hostname decision storage (hostname-only matching - GIO certificate properties are unstable)
    • Smart expiration: "Proceed Once" temporary (not stored), "Always Accept" persists for 30 days
    • Automatic cleanup of expired validations on application startup
    • Known issue: Accepted certificates not pre-loaded into WebKit session on startup - stored decisions only apply when TLS error occurs again
  • Content blocking restored: Re-implemented WebKit native ad/tracker blocking (broken during gotk4 migration) using UserContentFilterStore API
  • Script injection spam: Fixed 100+ duplicate "Sending color palettes" messages by injecting scripts only in top frame instead of all iframes
  • Favicon race conditions: Eliminated duplicate downloads and file handle errors via mutex protection and proper handler registration
  • Homepage theme switching: Fixed color palette application for proper light/dark mode transitions
  • Workspace pane borders: Hide active pane border when only one pane exists to match Zellij UX
  • Enabled missing WebKitGTK6 features: WebRTC, MediaSource, LocalStorage, WebAudio, MediaStream, Clipboard
  • Cosmetic filter duplicate injection in frames
  • Config file duplicate keys (snake_case/camelCase) by using Viper's SafeWriteConfigAs
  • Config not reading newly created default config file
  • Config writing to disk on every load/reload
  • Popup SIGSEGV crashes: Eliminated segmentation violations during popup lifecycle by respecting WebKit's signal-based popup management. Fixes OAuth popup crashes and GTK bloom filter corruption
  • GTK focus event duplicates: Added timestamp-based deduplication to prevent multiple focus enter/leave events in the same millisecond from WebKitGTK nested widgets
  • Popup close behavior: Fixed app exit when closing popups by excluding them from remaining pane count check
  • Pane mode border cleanup: Fixed border persisting after pane splits by saving container reference when applying margins. Ensures proper cleanup even when workspace tree structure changes during split operations
  • Stacked pane active border: Fixed active border incorrectly appearing on stacked pane containers instead of individual panes
  • Stacked pane creation: Fixed premature Realize() call causing widget lifecycle issues during stack creation
  • Browser exit on last pane close: Fixed browser not properly quitting when closing the last webview via Ctrl+P x by calling GTK main loop quit instead of window close
  • Zoom level persistence restored: Fixed per-domain zoom settings not being saved to database (broken during gotk4 migration). Added missing notify::zoom-level signal connection in setupEventHandlers to properly persist zoom changes

[0.11.0] - 2025-10-07

Added

  • Auto-open omnibox on blank panes: Omnibox automatically opens when a new pane is created with about:blank, providing immediate search/navigation access
  • Configurable default zoom: Added default_zoom config (defaults to 1.2/120%). Per-domain zoom still overrides this
  • Pin/favorite sites: Pin websites from history or quick access to prioritize them in "Jump back in" section. Uses localStorage persistence with star icons for pin/unpin actions
  • Zellij-style stacked panes: Added Ctrl+P → 's' to stack panes instead of splitting, with Alt+Up/Down navigation between stacked panes. Features collapsed page title bars showing for inactive panes and full WebView interaction for the active pane. Includes GTK4 CSS styling for proper visual feedback
  • Stacked pane favicons: Title bars display site favicons with async caching. Click title bars to switch between stacked panes
  • Color palette configuration: Light and dark color palettes now configurable in appearance config with semantic tokens (background, surface, text, muted, accent, border). Injected as CSS custom properties at document start
  • Search shortcut badges: Visual badges in omnibox input showing active shortcut prefix (e.g., "gh:", "npm:") with description labels
  • Search shortcuts API: Frontend bridge to fetch search shortcuts from backend /api/config endpoint with automatic normalization

Changed

  • Terminal-style UI theme: Monospace fonts (JetBrains Mono, Fira Code), sharp corners (no border-radius), dashed borders, adjusted shadows and spacing throughout omnibox components
  • History suggestions: Use favicon from database when available, omit automatic search shortcuts from suggestions (rely on explicit prefix commands)
  • Search shortcuts defaults: Updated defaults to include ddg, go, mdn, npm packages while reordering others
  • Chrome user agent: Updated to version 141.0.0.0 for better site compatibility
  • CSS color system: Removed hardcoded theme colors, now use dynamic CSS custom properties from Go-injected palette
  • History item layout: Removed "• domain" from titles, now highlight domain within the full URL using same color as title text
  • Quick access logic: Removed 20-item limit, now shows all sites with 2+ visits (pinned sites bypass visit requirement)
  • History pagination: Show 15 items initially (up from 10) with "Show N more" button
  • Homepage layout: Redesigned with improved visual hierarchy and dynamic color tokens
  • Favicon handlers: All webviews now register favicon change handlers for consistent caching across panes

Fixed

  • Mobile URL overflow: Fixed long URLs breaking layout on narrow screens by adding proper width constraints and CSS fixes
  • GTK shortcut GLib-CRITICAL error: Fixed NULL string assertion in shortcut callback system
  • SVG favicon handling: Skip SVG favicons to prevent conversion errors (no raster conversion dependencies)
  • Focus management architecture: Refactored workspace focus system from active field to currentlyFocused with dedicated FocusManager for improved reliability and consistency across pane operations
  • Stacked pane focus conflicts: Fixed focus stealing issues in stacked panes by implementing focus-aware navigation that preserves active pane when spawning siblings
  • WebView title updates: Enhanced webview title change handling to properly update stacked pane title bars in addition to database storage
  • GTK4 widget lifecycle: Improved widget parenting/unparenting operations with proper GTK4 validation and automatic cleanup to prevent critical warnings
  • Stacked pane close behavior: Fixed remaining pane becoming non-interactable (gray background) when closing stacked panes via Ctrl+W or Ctrl+P+X. Added proper widget visibility restoration and focus management during stack-to-regular conversion
  • Stacked pane title updates: Fixed collapsed panes not showing current page titles when switching between stacked panes. Now follows Zellij-style layout where hidden panes display their up-to-date page titles in title bars with correct positioning above and below the active pane

[0.10.0] - 2025-09-24

Added

  • Print functionality: Added Ctrl+Shift+P shortcut to open native print dialogs from any pane. Ctrl+P is blocked at WebKit level to prevent conflicts with pane mode shortcuts
  • WebKit native favicon detection: Implemented WebKit's built-in favicon database for automatic favicon detection and URI storage. Enhanced favicon support for all formats (PNG, SVG, ICO) without external dependencies

Changed

  • Homepage redesign: Brutal design with component-scoped styling, dynamic height matching, inline domain-URL layout with fade effects, and tighter spacing

Fixed

  • WebView teardown and memory management: Implemented comprehensive cleanup system to prevent crashes during WebView destruction. Added JavaScript teardown functionality with cleanup handlers for all event listeners, intervals, and global state. Enhanced pane cleanup with proper controller detachment and GTK widget detachment sequencing. Added WebView validity checks before JavaScript evaluation and improved workspace manager pane closing logic with better popup handling
  • Ctrl+W pane closing: Fixed Ctrl+W shortcut to properly close active panes including popups. Implemented active WebView detection and proper popup vs regular pane handling via OnWorkspaceMessage for consistent cleanup
  • WebView script injection segfault: Fixed segmentation violation when injecting JavaScript into destroyed WebViews during message handling. Added IsDestroyed() safety check to prevent GTK widget corruption
  • Alt+Arrow workspace navigation: Fixed Alt+Arrow keys not working for pane navigation after WebView focus changes. Implemented C-level to GTK4 shortcut bridge that ensures workspace navigation works consistently across all panes
  • Global shortcuts protection: Fixed window shortcuts (Ctrl+L, Ctrl+F, F12) not working in new panes due to overly aggressive webpage protection. Window shortcuts now properly bubble up to GTK while pane shortcuts remain blocked from webpages. Resolves omnibox and developer tools not responding to keyboard shortcuts in newly created panes
  • Omnibox keyboard event isolation: Fixed keyboard event leakage from omnibox to underlying webpages that caused unintended page actions (e.g., typing 's' in omnibox triggering GitHub search). Implemented WebKit-level main-world event blocking that activates when omnibox opens, preventing page JavaScript from receiving keyboard events while preserving native GTK shortcuts (Ctrl+L, Ctrl+F, etc.) and omnibox functionality
  • Active pane detection: Replaced complex pane ID abstraction with persistent webview IDs, fixing omnibox unresponsiveness after navigation. Omnibox now works immediately after page navigation without requiring mouse movement
  • Workspace architecture: Simplified focus tracking by removing URI change handlers and pane ID injection complexity, improving reliability and reducing codebase by 85 lines
  • WebView ID propagation: Added webview ID request/response mechanism for stub builds to ensure JavaScript side knows its webview ID for proper focus validation
  • Workspace theme integration: Fixed white borders on inactive panes by implementing dynamic border colors based on GTK theme preference (dark mode: #333333 borders, light mode: #dddddd borders)
  • GTK window background: Added theme-aware window and pane background colors to prevent white bleeding through transparent elements
  • Print dialog window handling: Fixed GTK window destroy errors during WebView cleanup by only destroying windows when CreateWindow was actually enabled
  • Modifier key logging noise: Filtered out Ctrl, Shift, Alt, and Super key presses from accelerator miss logging to reduce console spam

[0.9.0] - 2025-09-22

Added

  • Zellij-style workspace management: Complete pane splitting system with binary tree layout, focus tracking, and Zellij-inspired keybindings (Ctrl+P for pane mode, arrow keys for splits, 'x' to close)
  • Multi-pane WebView architecture: Container-based widget management with proper reparenting, lifecycle handling, and per-pane controllers
  • Window-level global shortcuts: Centralized shortcut handling to prevent conflicts between multiple WebView instances
  • Workspace configuration: New config section with Zellij controls toggle, pane mode bindings, tab shortcuts, and popup behavior settings
  • Configurable workspace styling: Pane border appearance (width, color, transition duration, radius) now customizable via config with proper viewport stability
  • Popup handling for tiling WM: Complete popup window support where popups open as workspace panes instead of floating windows, respecting tiling window manager design principles
  • Universal popup auto-close: Popup windows (OAuth, window.open(), etc.) automatically close when JavaScript calls window.close(), providing standard browser behavior adapted for workspace panes
  • Advanced popup deduplication system: Intelligent duplicate popup prevention with SHA256 fingerprinting and 200ms debounce window to eliminate popup spam
  • OAuth auto-close integration: RFC 6749 compliant OAuth callback detection with automatic popup closure for seamless authentication flows
  • Cross-WebView popup communication: localStorage-based parent-popup bridge enabling proper window.opener functionality in tiling workspace environment
  • WebView identity tracking: Unique WebView ID system for precise popup targeting and enhanced debugging capabilities

Improved

  • WebKit integration now forces GPU compositing by default while still honoring explicit config overrides.
  • Smooth scrolling is enabled (when supported) so wheel and gesture animations feel closer to Chromium/Firefox.
  • Title updates, zoom persistence, and domain zoom lookups are now done off the GTK main thread with results marshalled back safely, eliminating UI hitches during navigation.
  • Added optional DOM-level zoom (enabled by default) to avoid native viewport rescaling; falls back to WebKit zoom if the CSS path fails.
  • DOM zoom now seeds the saved level before the first paint and reuses it during document-start scripts, preventing pages from flashing back to 100%.
  • Native accelerator bridge debounces duplicate GTK key events earlier, so Ctrl±/Ctrl+0 only fires once per physical key press.
  • Omnibox-triggered navigations now reuse the navigation controller, so saved zoom levels are applied before first paint and redundant lookups are avoided.
  • Configuration loading writes the missing use_dom_zoom flag into existing config files so DOM zoom defaults persist without manual edits.
  • Omnibox UI now relies on shared Tailwind theme tokens and the injected color-scheme service for light/dark parity.
  • Omnibox overlay now self-heals if hostile pages remove the injected shadow host, ensuring Ctrl/Cmd+L works everywhere.
  • Navigation shortcuts changed from Alt+Arrow to Ctrl/Cmd+Arrow for better workspace compatibility.
  • GUI components now support workspace-aware focus management with pane-specific event handling.
  • Global zoom shortcuts: Unified zoom handling at window level (Ctrl+/=/0/-) ensuring zoom applies to currently active pane in multi-pane workspace
  • Workspace focus management: Enhanced focus throttling (100ms) and active state tracking to prevent infinite loops and conflicts between panes
  • Popup management: Intelligent popup vs tab detection based on window features, with improved auto-close logic for OAuth and login flows
  • Console logging: WebView ID context injection for better debugging and log correlation across multiple panes

Changed

  • Zoom shortcuts architecture: Moved from per-WebView registration to centralized window-level handling for consistency with other global shortcuts

[0.8.0] - 2025-09-17

Added

  • GTK color scheme bridge: Dedicated document-start module keeps WebKit theme in sync with GTK preferences and exposes unified runtime updater
  • Color scheme build pipeline: Separate Vite entry produces reusable color-scheme.js asset shared between native and injected contexts
  • Complete Svelte 5 GUI migration: Omnibox and find components migrated from raw JavaScript to modern Svelte 5 with runes
  • Tailwind CSS v4 integration: Unified design system with PostCSS and JIT compilation
  • TypeScript keyboard service: Centralized shortcut management with full type safety
  • Click-anywhere-to-close: Omnibox closes when clicking outside for better UX
  • Homepage Svelte 5 component: New standalone homepage with history display and keyboard shortcuts reference
  • Page generator system: Vite plugin for generating dumb:// protocol pages (homepage, config, about) with extensible architecture
  • History deletion API: New DELETE endpoint at /history/delete?id=N for removing individual history entries
  • Database migrations: Embedded migrations now run automatically at startup to keep sqlite schema in sync
  • Inline CSS type declarations: Ambient module definitions for raw CSS imports improve TypeScript ergonomics in injected bundles
  • Global Shadow DOM system: Unified shadow host utility for component isolation with shared ShadowRoot and CSS reset management
  • Unified page-world bridge: Integrated API bridge with event-driven communication between page-world and isolated-world contexts

Improved

  • Asset MIME detection: Expanded scheme handler lookup covers fonts, images, and JSON to prevent incorrect text/plain responses
  • Toast theming: Runtime theme observer syncs toast styling with the browser's dark mode state for consistent visuals
  • Shadow host styling: Injected GUI now adopts Tailwind design tokens inside the shared shadow root with automatic dark-mode mirroring
  • Omnibox/Find system: Complete migration from 500-line raw JavaScript to modular Svelte 5 components
  • Toast notifications: Migrated from raw JavaScript to Svelte 5 components with proper animations
  • GUI build pipeline: Vite-based bundling with hot reload and TypeScript support
  • Keyboard shortcuts: Fixed Ctrl+F not working by adding missing 'f' key to keyboard dispatcher
  • State management: Proper cleanup between omnibox and find modes prevents state conflicts
  • Homepage UX: Enhanced layout with 70/30 flex ratio, compact keyboard shortcuts table, and statistics display
  • Interactive delete: History entries show trash icon on hover with smooth fade-out animation on deletion
  • Top 5 most visited: New section displaying frequently accessed sites with visit counts
  • Performance: Instant shortcut response with pre-mounted DOM elements

Changed

  • Homepage icons: Replaced Lucide dependency with inline SVG/Unicode fallbacks to shrink bundle size while debugging upstream build issues
  • Major architecture shift: Removed HTTP API routes in favor of direct WebKit message bridge communication for better performance and reduced complexity
  • API token support: Added optional API security configuration with token-based authentication system
  • Shadow DOM improvements: Enhanced isolation with WeakSet tracking to prevent duplicate reset injection and global shadow host utility for component sharing
  • Message handler refactoring: Unified keyboard shortcut forwarding between native handlers and GUI components with DOM event bridge
  • Omnibox suggestions: Native Go-based suggestion computation with search shortcuts and history integration, eliminating HTTP fetch dependencies
  • Toast styling: Migrated from Tailwind CSS classes to inline styles within component scope for better Shadow DOM compatibility and isolation
  • JS to Svelte migration: Replaced legacy inline injected scripts (see pkg/webkit/ucm_js_cgo.go.deprecated) with structured Svelte components mounted via the shared shadow root.

Fixed

  • Service worker residue: Homepage clears stale caches and unregisters old service workers to avoid 404s for legacy _app assets
  • Keyboard debounce: Native accelerator bridge filters duplicate shortcut events within 120ms for DOM and CGO handlers
  • Ctrl+F shortcut: Added missing 'f' key case in keyboard_cgo.go dispatcher
  • Browser freeze: Removed infinite loop in mode switching reactive effects
  • State persistence: Proper cleanup when switching between Ctrl+L and Ctrl+F modes
  • Homepage protocol: Fixed dumb://homepage not working after GUI migration with proper Svelte 5 component and API integration
  • Omnibox positioning on homepage: Fixed omnibox stuck in top-left corner by isolating homepage CSS styles and strengthening omnibox positioning with explicit fixed positioning and CSS isolation
  • Find mode persistence: Fixed find view persisting after pressing Esc when reopening with Ctrl+L by ensuring toggle() resets mode to 'omnibox'
  • Favicon display: Fixed missing favicons in homepage history after Svelte 5 migration by adding FaviconURL field to API response and implementing proper fallback display logic
  • Homepage API communication: Migrated from HTTP fetch to WebKit message bridge for all homepage API calls (history, stats, search) with proper callback handling and timeout management
  • Omnibox accessibility: Added keyboard navigation support with Tab/Enter activation for suggestion items and proper ARIA attributes for screen readers
  • Omnibox suggestions race conditions: Fixed timing issues where suggestions arrived before API was ready by implementing pending suggestions queue and proper event bridging between page-world and isolated-world contexts

[0.7.0] - 2025-09-14

Added

  • Content blocking system: Native WebKit ad blocking with EasyList integration, cosmetic filtering, and filter cache management
  • Filter cache purging: New --filter-cache/-F flag in purge command
  • WebKit debug system: Comprehensive debugging support with configurable categories for troubleshooting WebKit internal errors
  • Enhanced error handling: Robust content filter injection with retry mechanisms and graceful fallbacks
  • Parallel compilation: Multi-core GCC compilation support for faster builds

Improved

  • Content filter timing: Optimized script injection timing to prevent interference with WebKit preconnect operations
  • Anti-breakage scriptlets: Safer JavaScript modifications that avoid WebKit internal conflicts
  • Build system: Added parallel compilation with automatic core detection and success indicators
  • Persistent TLS certificate validation system:
    • Three-option certificate dialog: "Go Back", "Proceed Once (Unsafe)", and "Always Accept This Site"
    • Database-backed certificate storage: SQLite-based persistence for user certificate decisions with SHA256 certificate hashing
    • Smart decision handling: Automatic application of stored decisions without repeated prompts
    • Temporary vs permanent choices: "Proceed Once" expires after 24 hours, "Always Accept" persists indefinitely
    • Seamless user experience: No more repetitive certificate warnings for trusted sites
  • Performance-optimized WebKit memory configuration system:
    • New WebkitMemoryConfig configuration section with performance-focused defaults for faster page loading
    • Aggressive caching strategy: web_browser cache model with page cache enabled for instant back/forward navigation
    • Balanced memory pressure management: Conservative (40%), strict (60%), and kill (80%) thresholds optimized for performance vs stability
    • Smart garbage collection: 2-minute JavaScript GC intervals with process recycling after 50 page loads
    • Reduced monitoring overhead: 45-second memory monitoring intervals to minimize performance impact
    • Environment variable overrides: All memory settings configurable via DUMBER_* environment variables (DUMBER_CACHE_MODEL, DUMBER_MEMORY_CONSERVATIVE, etc.)
  • Early crash handling initialization: Moved crash handler setup to application entry point for better crash recovery

Changed

  • Modernized GTK dialog system: Migrated from deprecated GTK 4.10 dialog functions to modern GtkAlertDialog API
    • Future-proof implementation: Eliminated all deprecation warnings by replacing gtk_message_dialog_* and gtk_dialog_* functions
    • Async-first architecture: Native async dialog handling with proper event loop integration
    • Improved accessibility: Better screen reader support and GTK4 theme integration
  • Major main.go refactoring: Massive code reduction from 1071 lines to 61 lines (~95% reduction)
    • Extracted browser application logic to dedicated internal/app/browser package for better separation of concerns
    • Streamlined entry point: Clean main function focusing only on CLI vs GUI mode detection and application bootstrapping
    • Improved maintainability: Modular architecture with clear responsibilities between CLI and browser components
  • Refactored memory configuration architecture:
    • Integrated WebKit memory settings into unified config system with Viper environment variable bindings
    • Eliminated redundant environment variable parsing in favor of centralized configuration management
    • Simplified webview initialization with direct config-to-WebKit conversion
  • Improved CLI logs command description: Enhanced help text for better user experience

[0.6.0] - 2025-09-12

Added

  • Smart AV1 codec negotiation system for YouTube high-resolution streaming:
    • Resolution-aware MediaCapabilities API reporting: Intelligent codec capability reporting based on video resolution, enabling YouTube to select optimal codecs for different quality levels
    • YouTube format manifest manipulation: Real-time format list reordering to prioritize AV1 for ≤1080p content while allowing VP9 fallback for higher resolutions
    • Graduated codec preference system: Smart localStorage preference (2048) instead of forced AV1 (8192), giving YouTube flexibility for optimal codec selection
    • 4K HDR 60fps AV1 support: Successfully enables YouTube delivery of premium quality 4K HDR content with AV1 codec, HDR10 (PQ) color space, and BT.2020 wide color gamut
    • Configurable AV1 resolution limits: New av1_max_resolution config option with environment variable support (DUMBER_AV1_MAX_RES)
    • Automatic codec fallback logic: Seamless VP9 fallback for resolutions where AV1 performance may be suboptimal
    • High bitrate streaming support: Enables premium quality streaming (650+ Mbps) with proper buffer management
    • Fixes previous limitation where forcing AV1 would cap YouTube playback at 1080p maximum
  • Page refresh functionality with standard keyboard shortcuts:
    • Ctrl+R / Cmd+R: Reload current page
    • Ctrl+Shift+R / Cmd+Shift+R: Hard reload (bypass cache)
    • F5: Alternative reload key
    • WebKit integration with proper webkit_web_view_reload() and webkit_web_view_reload_bypass_cache() calls
  • Twitch theater mode and fullscreen stability fix:
    • Complete removal of codec interference on Twitch: Eliminates aggressive codec control that caused theater mode and fullscreen freezing
    • Native Twitch codec selection: Allows Twitch to handle codec negotiation without browser intervention
    • Fixes theater mode freeze and fullscreen black screen issues on Twitch

Fixed

  • Zoom level toast no longer shows on every page navigation within the same domain:
    • Added smart detection to differentiate user-initiated vs programmatic zoom changes
    • Toast now only appears when manually adjusting zoom or entering a new domain
    • Prevents annoying notifications during regular browsing within the same site
  • Links with target="_blank" now load in current window instead of being ignored:
    • Added WebKit create signal handler to intercept new window requests
    • Redirects popup/new tab links to current window for seamless single-window browsing
    • Maintains user experience consistency in tab-less browser architecture

[0.5.0] - 2025-09-12

Added

  • Hardware video acceleration with automatic GPU detection:
    • Multi-vendor GPU detection (AMD, NVIDIA, Intel) using glxinfo, lspci, and sysfs
    • Automatic VA-API driver selection (radeonsi for AMD, vdpau for NVIDIA, iHD for Intel)
    • WebKitGTK integration with GStreamer hardware acceleration backends
    • Environment variable configuration support (LIBVA_DRIVER_NAME, GST_VAAPI_ALL_DRIVERS)
    • Legacy VA-API fallback mode for compatibility with older systems
    • Video decoding acceleration for H.264, HEVC, VP9, and AV1 codecs
    • Significantly reduced CPU usage during video streaming (Twitch, YouTube, etc.)
    • Smart conflict prevention between legacy and modern VA-API implementations
  • TLS certificate error handling with user confirmation dialog:
    • Comprehensive certificate information display (subject, issuer, validity dates)
    • Interactive warning dialog for untrusted certificate authorities
    • Certificate exception management with per-host persistence
    • Manual load triggering after user accepts certificate exceptions
    • Proper integration with WebKitGTK 6.0 network session API
  • Zoom level toast notifications:
    • Real-time zoom level display with format: "Zoom level: ±X% (Y%)"
    • Smart debouncing to prevent notification spam during rapid zoom changes
    • Automatic cleanup of stuck or colliding toast messages
    • 150ms debounce timer with 2-second display duration
    • Emergency cleanup function for orphaned toast elements
  • Comprehensive XDG-compliant logging system:
    • Complete application output capture (Go logs, fmt prints, WebKit C logs)
    • XDG Base Directory specification compliance (~/.local/state/dumber/logs/)
    • Automatic log rotation with size/age-based cleanup and compression
    • WebKit CGO log capture with GLib log handler integration
    • CLI log management commands (dumber logs list, logs tail, logs clean)
    • File-only logging for cache operations to prevent dmenu interference
    • Multi-output support with timestamped, tagged log entries
    • Configurable log levels, formats (text/JSON), and retention policies

Fixed

  • WebView background set to black to improve user experience during page loads
  • Multiple linting issues and code quality improvements (reduced from 211 to ~150 issues)
  • Omnibox responsive scaling and layout issues:
    • Fixed over-aggressive viewport scaling that made omnibox disproportionately large at high zoom levels
    • Resolved input field overflow extending beyond container boundaries
    • Improved box-sizing model to prevent layout issues
    • Added conditional separator display (hidden when no search results)
    • Omnibox now scales proportionally with webpage content across all zoom levels
  • Dmenu history favicon display:
    • Complete favicon caching system for fuzzel/dmenu integration with real website icons
    • ICO file support using go-ico library for perfect Windows icon conversion to PNG
    • Smart brightness detection and color inversion for dark theme visibility
    • All cached favicons normalized to consistent 32x32 PNG format for uniform display
    • Anti-aliasing preservation during color inversion to prevent edge noise and pixelation
    • Asynchronous favicon downloading and caching with 7-day freshness and 30-day cleanup
    • Fuzzel icon protocol integration (\0icon\x1f<path>) for native icon display
    • Favicon URLs extracted from webpage metadata and stored in database during navigation
    • Fallback system removed to ensure consistent sizing - shows real favicons or no icon
    • XDG Base Directory compliance for favicon cache storage

[0.4.0] - 2025-09-10

Added

  • High-performance fuzzy cache system for dmenu history:
    • Binary serialization with memory-mapped files for zero-copy access
    • Trigram indexing (3-character sequences) for fast candidate filtering
    • Prefix trie (compressed tree structure) for prefix matching
    • Pre-sorted entry indices for O(1) top entries retrieval
    • Smart cache invalidation with filesystem persistence and background refresh
    • Comprehensive fuzzy matching algorithms: Jaro-Winkler similarity, Levenshtein distance, tokenized matching
    • Weighted scoring system combining URL, title, recency, and visit count scores
    • XDG Base Directory Specification compliance (cache stored in state directory)
    • Atomic operations for concurrent access control
    • Dependency injection using interfaces and gomock for testing
  • Purge command for cleaning up dumber data and cache files:
    • Selective purging with flags: --database, --history-cache, --browser-cache, --browser-data, --state, --config
    • Clear distinction between history cache (dmenu fuzzy search) and browser cache (WebKit)
    • Browser data includes cookies, localStorage, sessionStorage
    • Confirmation prompt with --force flag to skip
    • Targets all data locations: SQLite database, WebKit cache/data, dmenu fuzzy cache, configuration files
  • Ctrl+Shift+C keyboard shortcut to copy current URL to clipboard:
    • Cross-platform clipboard support with wl-copy (Wayland) and xclip (X11) fallback
    • Reusable toast notification system for user feedback
    • Injectable JavaScript component for consistent styling across all websites
    • Native backend integration for reliable clipboard access

Changed

  • Dmenu performance dramatically improved: 200ms → 4ms (98% faster)
  • GetTopEntries optimized from O(n log n) to O(1) using pre-sorted indices
  • Cache build time reduced to ~300μs for typical history datasets

Fixed

  • Dark theme detection now properly reads GNOME desktop interface color-scheme setting (org.gnome.desktop.interface color-scheme) instead of only checking gtk-application-prefer-dark-theme
  • Eliminated O(n log n) sorting bottleneck on every dmenu call
  • Memory-efficient compact entry storage with minimal footprint
  • Concurrent cache access with proper read/write locking
  • Process no longer hangs when closing window with Cmd+Q or window close button - implemented proper GTK4 close-request signal handling and OS signal handling for graceful shutdown

[0.3.0] - 2025-01-11

Added

  • WebKit memory controls (opt‑in):
    • Env vars to tune memory/perf trade‑offs without code changes:
      • DUMBER_CACHE_MODEL, DUMBER_ENABLE_PAGE_CACHE
      • DUMBER_ENABLE_MEMORY_MONITORING, DUMBER_MEMORY_LIMIT_MB, DUMBER_MEMORY_POLL_INTERVAL
      • DUMBER_MEMORY_CONSERVATIVE, DUMBER_MEMORY_STRICT, DUMBER_MEMORY_KILL
      • DUMBER_GC_INTERVAL, DUMBER_RECYCLE_THRESHOLD
    • Version‑guarded CGO wrappers for memory pressure and GC hooks; safe no‑ops on unsupported WebKitGTK builds.
  • Find in page (Ctrl/Cmd+F):
    • Omnibox refactored into a reusable component with dedicated "find" mode.
    • Highlighting: yellow for all matches; active match in orange for clarity.
    • Match list with context (right side stops at nearest punctuation: . , ; : -).
    • Navigation UX:
      • ArrowUp/Down move selection and scroll the overlay list (page scroll disabled while open).
      • Enter centers on the active match and closes; Shift+Enter goes to previous; Alt+Enter centers without closing.
      • Hover focuses input and selects list items; click outside closes the overlay.
      • Faded overlay with subtle blur when reviewing matches; opacity restores on input focus/typing.
    • Programmatic API: OpenFind(initial), FindQuery(q), CloseFind() on WebView.

Changed

  • Performance‑first defaults retained:
    • Cache model set to “WebBrowser”, page cache enabled, DevTools available.
    • No implicit memory pressure or GC enabled by default; all memory tuning is opt‑in.

Removed

  • Deprecated offline app‑cache calls eliminated (no‑ops) to avoid warnings and brittle builds.

Fixed

  • Homepage Recent History layout:
    • Show single-line entries as “{Title} – {Domain} – {URL}”.
    • Truncate long URLs with a gradient fade; prevent horizontal overflow.
    • Adjusted styling so URL is darker for readability.
  • Search shortcuts and config interop:
    • Backend SearchShortcut now serializes url/description with JSON tags.
    • Frontend normalizes field casing and extracts base URLs, handling %s and {query} templates.
    • Omnibox shortcut parsing now URL-encodes queries and supports %s placeholders.
  • Input and navigation reliability (GTK4/WebKitGTK 6):
    • Capture-phase key controller to ensure accelerators fire consistently.
    • Do not consume normal left/right clicks; only mouse buttons 8/9 trigger back/forward.
    • Added Alt+ArrowLeft/Right navigation and enabled two-finger swipe back/forward when supported.
    • Added Ctrl+scroll zoom in/out; refined accelerator matching so Ctrl− works across layouts.
    • Removed layout-specific hacks; added diagnostic logs for raw minus key events.
  • Zoom persistence:
    • Added WebView zoom-changed hook; save per-domain zoom to SQLite on every change.
    • Log on successful save: “saved X.XX for domain.tld” and on load: “loaded X.XX for domain.tld”.
    • Load and log initial zoom level on startup and on every navigation.
  • Build/dev ergonomics:
    • Makefile loads .env.local; supports overriding GOMODCACHE, GOCACHE, GOTMPDIR for sandboxed builds.
  • WebKit CGO hardening and API compatibility:
    • Apply memory pressure settings to WebKitNetworkSession (correct signature) when enabled.
    • Guarded C wrappers remove deprecation warnings across header variants; builds succeed on WebKitGTK 6.

[0.2.0] - 2025-09-10

Added

  • WebKitGTK 6 (GTK4) migration for the built‑in browser window:
    • WebView constructed via g_object_new(WEBKIT_TYPE_WEB_VIEW, …) with a fresh WebKitUserContentManager.
    • WebKitNetworkSession with persistent cookies (SQLite) and cache directories.
  • Native UCM messaging restored via script-message-received::dumber (JSCValue*), removing the JS fallback bridge.
  • Rendering mode controls:
    • CLI flag --rendering-mode=auto|gpu|cpu and DUMBER_RENDERING_MODE env.
    • In‑app status endpoint dumb://homepage/api/rendering/status.
  • Native zoom shortcuts at the WebKit layer (Ctrl/Cmd+=, +, −, 0) and GTK4 input controllers for keyboard/mouse.
  • AZERTY keyboard fix: treat underscore as minus for zoom‑out.
  • Runtime theme synchronization: watch GTK gtk-application-prefer-dark-theme and update page color‑scheme live.
  • Makefile target check-webkit to print pkg-config versions of GTK4/WebKitGTK 6.0/JSC 6.0.
  • Documentation updates:
    • README now targets WebKitGTK 6 (GTK4) and lists GStreamer package requirements for Arch and Debian/Ubuntu.
    • CLAUDE notes updated with migration status, GPU/Vulkan path, runtime theme sync, and persistence.

Changed

  • Build flags and includes now target webkitgtk-6.0, gtk4, and javascriptcoregtk-6.0.
  • GTK4 APIs for windowing and event handling (GtkEventController, GtkGestureClick) replace GTK3/GdkEvent paths.

Removed

  • Legacy WebKit2GTK constructors and container APIs.
  • JavaScript fallback for UCM message bridging.

Fixed

  • Header/enum compatibility for hardware acceleration policy and cookie policy across WebKit header variants.
  • Linker error for on_theme_changed and gpointer usage in signal connections.
  • Crashy paths mitigated by default “media safe” startup (can be disabled via DUMBER_MEDIA_SAFE=0).

Notes

  • GPU rendering path leverages GTK4’s renderer (Vulkan/OpenGL). Mode auto uses GPU when available and falls back gracefully to CPU.
  • WebKitGTK relies on GStreamer; install recommended packages for audio/video (see README).

[0.1.0] - 2025-09-09

Added

  • Initial project scaffolding, build system, and dependencies.
  • Unified CLI + GUI architecture with search shortcuts and fuzzy parsing.
  • Wails v3‑alpha browser integration (early phase).
  • Global keyboard controls with script injection (zoom/devtools, etc.).
  • Native WebKit2GTK backend migration:
    • Custom dumb:// scheme and /api endpoints: /config, /history/recent, /history/search, /history/stats.
    • UserContentManager omnibox injection and theme initialization.
    • Persistent WebsiteDataManager with cookies.sqlite; per‑domain zoom and title persistence.
    • Keyboard/mouse accelerators (including mouse back/forward); debounced triggers.
    • Homepage switched to first‑party API fetches; removed @wailsio/runtime usage.
  • Documentation and licensing: README enhancements and LICENSE added.

Changed

  • Replaced Wails runtime with native WebKit2GTK CGO bindings and homepage API.
  • Improved asset resolution and logging for the dumb://homepage scheme.

Fixed

  • Eliminated duplicate accelerator triggers via debouncing.
  • Corrected asset resolution and URL normalization in scheme handler.
source
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5## [Unreleased]
6
7## [0.21.0] - 2025-12-26
8
9### Added
10- **Configurable new-pane defaults**: New `workspace.new_pane_url` (default: `about:blank`, supports `dumb://`) and `omnibox.auto_open_on_new_pane` (default: false).
11- **Consume-or-expel panes (very alpha)**: Niri-style pane consume/expel operation to merge a leaf into a sibling stack or expel a stacked pane into a split. Default global shortcuts: `Alt+[` / `Alt+]` (and `Alt+Shift+[` / `Alt+Shift+]`).
12- **Zellij-style pane resize mode**: New modal resize mode (`Ctrl+N`) to adjust split sizes with keyboard (`h/j/k/l` or arrow keys, `+/-` smart resize). Shows a per-pane border indicator and keeps the timeout alive while you resize.
13- **Mouse-driven pane resizing**: Drag split dividers with the mouse; split ratios are persisted in session snapshots (rounded to 2 decimals) and restored on resurrection.
14- **Dynamic window title**: Window title now displays the active pane's page title in format `<Page Title> - Dumber`. Updates when switching tabs/panes or navigating. Truncated at 255 characters.
15- **Link URL status overlay**: Shows destination URL in bottom-left corner when hovering over links, images, or media elements. Standard browser UX pattern with 100ms show delay to avoid flicker and 150ms CSS fade transitions. Configurable via CSS.
16- **Local file path support**: `dumber browse test.html` now correctly opens local HTML files by converting existing file paths to `file://` URLs. Supports absolute paths, relative paths, and `~/` home directory expansion.
17- **Auto-update system**: Automatic update checking and self-updating binary replacement following clean architecture.
18  - **Update check on startup**: Async check against GitHub releases API (configurable via `update.enable_on_startup`, default: true).
19  - **Toast notifications**: Non-intrusive auto-dismiss notifications for update availability.
20  - **Auto-download**: Optional background download with binary staging (configurable via `update.auto_download`, default: false).
21  - **Binary self-update**: Atomic binary replacement on clean exit with `.old` backup. Only works if binary is user-writable (e.g., `~/.local/bin/`).
22  - **CLI update check**: `dumber about` now displays update availability.
23  - **Version-less release archives**: Goreleaser now produces `dumber_linux_x86_64.tar.gz` (version in directory inside) enabling stable GitHub `/releases/latest/download/` URLs.
24- **Session management & resurrection**: Zellij-inspired session management system allowing users to save, list, and restore browser sessions.
25  - **Automatic session snapshots**: Debounced state saving (configurable interval, default 5s) captures tabs, panes, splits, stacks, URLs, titles, and zoom levels.
26  - **Session Manager modal**: Access via `Ctrl+O → s/w` or `Ctrl+Shift+S` to browse and restore sessions with inline preview of tabs and panes.
27  - **Session mode**: New modal mode (`Ctrl+O`) with purple border indicator, similar to pane/tab modes.
28  - **CLI session commands**: `dumber sessions` opens interactive TUI browser; `dumber sessions list` shows saved sessions; `dumber sessions restore <id>` resurrects a session in a new window; `dumber sessions delete <id>` removes a session.
29  - **Session purging**: Integrated into `dumber purge` command for cleaning up old session data. Simplified UI with single "Sessions" toggle instead of individual selection.
30  - **Automatic session cleanup**: Sessions are automatically cleaned up on startup based on `max_exited_sessions` (default: 50) and `max_exited_session_age_days` (default: 7 days).
31  - **Configuration options**: `session.auto_restore`, `session.snapshot_interval_ms`, `session.max_exited_sessions`, `session.max_exited_session_age_days`, plus session mode shortcuts and styling.
32
33### Fixed
34- **Alt/Ctrl+number shortcuts on non-QWERTY keyboards**: Fixed Alt+1-9/0 tab switching and Ctrl+1-9/0 omnibox shortcuts not working on AZERTY, QWERTZ, Dvorak, and other non-QWERTY keyboard layouts. Uses hardware keycodes as fallback when keyval lookup fails, enabling shortcuts to work based on physical key position regardless of layout.
35- **Idle inhibition leak on pane close**: Fixed D-Bus idle inhibit request not being released when closing a pane/tab while in fullscreen or playing audio. The inhibition would remain active until the app exited. Now properly tracks fullscreen and audio state and releases inhibition before destroying WebView.
36- **Audio-based idle inhibition**: Extended idle inhibition to also activate when a page is playing audio (e.g., video/music playback), not just in fullscreen mode. Uses WebKit's `notify::is-playing-audio` signal. The inhibitor uses refcounting, so both fullscreen and audio can be active simultaneously.
37
38## [0.20.1] - 2025-12-25
39
40### Fixed
41- **Stacked pane favicon and title updates**: Fixed favicon and title not updating in stacked pane title bars by tracking pane IDs in StackedView and properly routing update events to the correct pane.
42- **WebKit process leak on pane close**: Fixed zombie WebKit web processes not being terminated when panes were closed. `WebView.Destroy()` now properly calls `TerminateWebProcess()` and unparents GTK widgets, freeing GPU resources (VA-API, DMA-BUF, GL contexts). This should significantly improve video playback stability and reduce memory usage when opening/closing many panes.
43- **White flash on navigation**: Eliminated white page flash when navigating in dark mode by setting WebView background color to match theme and hiding WebView until content commits.
44- **Dark mode detection on websites**: Fixed `prefers-color-scheme: dark` detection by improving matchMedia query normalization and adding proper event listener stubs. Sites like Reddit now correctly detect dark mode preference.
45- **Alt+number tab switching**: Fixed Alt+1-9 shortcuts not working when WebView has focus by using GtkShortcutController with global scope instead of EventControllerKey.
46- **System locking during fullscreen video**: Added idle inhibition via XDG Desktop Portal when WebView enters fullscreen mode. Prevents system from locking/sleeping during fullscreen video playback on Wayland (works with all compositors: GNOME, KDE, sway, hyprland, etc.).
47- **Navigation performance**: Significantly faster page navigation through multiple optimizations:
48  - Async history recording via background worker (SQLite writes no longer block GTK main thread)
49  - LRU cache for per-domain zoom levels (repeat visits skip database queries)
50  - Async favicon preload (cache lookup doesn't block navigation start)
51  - Progress callback throttling at ~60fps (reduces UI callback overhead)
52  - Increased WebView pool prewarm from 2 to 4 for faster initial tab creation
53
54### Changed
55- **Custom color picker and confirm dialogs**: Replaced native GTK color picker and confirm dialogs with custom Svelte components using bits-ui AlertDialog. Fixes Wayland compatibility issues where native dialogs would not display properly (fixes #12).
56- **GSK renderer default**: Changed default from `vulkan` to `auto` to let GTK choose the best renderer and avoid potential DMA-BUF synchronization conflicts with WebKit.
57- **Removed invalid GStreamer config**: Removed `video_buffer_size_mb` and `queue_buffer_time_sec` config options as these were not valid GStreamer environment variables (they are element properties that cannot be set via env vars).
58
59### Added
60- **Performance config section**: New `performance` config section with `zoom_cache_size` (default: 256) and `webview_pool_prewarm_count` (default: 4) for tuning. Not exposed in UI but can be set in config file.
61- **Clean-architecture rewrite (pure Go)**: Major refactor to a ports/adapters style architecture with explicit `domain`, `application` (use cases), `infrastructure`, and `ui` layers.
62- **New CLI commands**: `doctor` (runtime dependency checks), `about` (build info), `setup` (desktop integration), plus expanded `purge` with an interactive TUI.
63- **WebUI config improvements**: Search shortcut management (CRUD) and reset-to-defaults support.
64- **Find-in-page**: New find UI and shortcut handling.
65- Migrated GUI stack to `puregotk` + `puregotk-webkit` and disabled CGO for pure Go compilation.
66- **Omnibox rewrite**: Replaced injected Svelte/JS omnibox with a native GTK4 widget overlay.
67- Startup defers non-critical work, adds DNS prefetching and a warmed WebView pool for faster tab/pane creation.
68- SQLite WAL checkpoints happen less frequently to reduce contention.
69- Content filters skip caching invalid rules; EasyList parser prefers if-domain over unless-domain.
70- Workspace border overlays can now receive pointer input.
71- Session-based logging and session management for CLI/GUI runs.
72
73## [0.15.0] - 2025-11-29
74
75### Added
76- **Inline URL suggestions**: Fish/zsh-style ghost text completion in omnibox. As you type, shows grayed-out URL completion from history. Accept with Right Arrow (full) or Ctrl+Right (word). Ctrl+Y also accepts full suggestion. Uses trie-based prefix search with debounced queries for smooth typing.
77- **Filter list auto-update**: Async version checking using HTTP HEAD request with ETag. 2-minute startup delay, skips if checked within 24 hours. Stores version per filter list.
78- **Configurable filter lists**: New `content_filtering.filter_lists` config option. Defaults include EasyList, EasyPrivacy, and uBlock filters (annoyances, quick-fixes).
79- **Demo video**: Added feature showcase video to README (docs/media/dumber-demo.mp4).
80- **Page load progress bar**: Thin animated indicator at window bottom showing web page loading progress. Tracks WebView load events with gradient animation, auto-hides when complete.
81- **Omnibox initial history display**: Configurable behavior when opening empty omnibox via `omnibox.initial_behavior` ("recent", "most_visited", "none"). Shows initial history on open and when input is cleared. Default: recent visits.
82- **Omnibox keyboard blocking**: Prevent page scripts from stealing focus while omnibox is active.
83- **Configurable border widths**: Added `pane_mode_border_width` and `tab_mode_border_width` configuration options (default: 4px) for full border customization.
84- **Content filter caching**: Centralized content blocking service compiles filters once and caches them for instant reuse across all WebViews.
85- **CLI purge enhancements**: Separate `--cookies` and `--history` flags for granular data deletion.
86- **URL normalization**: Consistent URL storage across browser, CLI, and favicon services (strips trailing slashes, normalizes schemes).
87
88### Fixed
89- **Filter compilation race condition**: Fixed concurrent map crash when multiple filter lists compile simultaneously by using local converter instead of shared state.
90- **Omnibox search performance**: Debounce search with 2-character minimum threshold to prevent UI freeze on first keystroke. Applies to both URL/history search and find-in-page modes.
91- **Omnibox flash on load**: Load the injected GUI bundle at document-start and initialize the omnibox as soon as DOM is ready, ensuring it is ready without briefly flashing during page startup or new pane creation.
92- **Zoom toast suppression**: Suppress zoom toast notifications during browser initialization to prevent UI flash.
93- **Cosmetic filter injection**: Inject rules immediately and fix selector normalization for better ad blocking.
94
95### Changed
96- **Refactor keyboard blocking**: Move logic to main-world.ts, reduce handler.go verbosity.
97- **Border overlay architecture**: All borders (active pane, pane mode, tab mode) now use GTK overlay pattern preventing layout shifts when borders appear/disappear. Removed inactive border styling - only active panes show borders.
98- **Simplified border configuration**: Removed `inactive_border_width`, `inactive_border_color`, `show_stacked_title_border`, and `border_radius` config options. All borders are now overlay-based with no layout impact.
99- **Remove Turnstile workaround**: Removed temporary Cloudflare Turnstile CORS allowlist (no longer needed).
100
101## [0.14.1] - 2025-11-18
102
103### Added
104- **Inline tab rename**: Press `Alt+T` then `r` to rename tabs directly in the tab bar. Enter saves, Escape cancels. Tab buttons temporarily allow focus during rename, then restore original focus behavior to prevent interfering with WebView keyboard input.
105- **Cloudflare Turnstile CAPTCHA support**: Temporary CORS allowlist workaround for `challenges.cloudflare.com` to bypass WebKit's incomplete COEP credentialless implementation. Allows Turnstile-protected sites to function properly. Configurable via `enable_turnstile_workaround` (default: true).
106- **Global content filtering toggle**: New `content_filtering.enabled` config option to completely disable ad blocking when needed. Whitelist system remains available for granular control. Defaults to enabled for backward compatibility.
107
108### Fixed
109- **Search shortcut placeholders**: Support both `{query}` and `%s` placeholder formats in search shortcuts, allowing users to use either style. Also fixed domain-only URLs (e.g., "github.com") being incorrectly treated as search queries.
110- **OAuth popup handling**: Fixed OAuth popups not functioning in stacked panes and split operations by ensuring `setupPopupHandling()` is called in all pane creation code paths (finalizeStackCreation, CloseStackedPane, splitNode).
111- **WebView ID message parsing**: Fixed JSON unmarshaling errors when frontend sends numeric webviewId values instead of strings. Message handler now gracefully normalizes both string and numeric webviewId formats with fallback parsing logic.
112- **Video codec fallback**: Unblocked VP8 codec to allow fallback for ad segments, preventing playback interruptions when ads use different codecs than main content.
113- **Video buffering**: Increased buffer sizes (64 MB, 20s) to handle bursty Twitch/AV1 segments and improve streaming reliability on variable bitrate platforms.
114
115### Changed
116- **Console output cleanup**: Disabled WebKit console.log() messages to stdout to prevent page script spam. DevTools console (F12) still shows all messages.
117- **Content filtering configuration**: Refactored `content_filtering_whitelist` into structured `content_filtering` config with `enabled` boolean and `whitelist` array for better organization.
118
119## [0.14.0] - 2025-11-18
120
121### Added
122- **Zellij-style tab system**: Each tab contains an independent workspace with panes, splits, and stacks. `Ctrl+T` enters tab mode with modal keyboard control (`n`=new, `x`=close, `l/h`=navigate). `Alt+1-9/0` for direct tab switching. `Ctrl+Tab`/`Ctrl+Shift+Tab` for next/previous tab. Tab bar auto-hides with single tab. Orange border indicator (distinct from blue pane mode).
123- **International keyboard layout support**: Hardware keycode-based shortcuts for `Alt+number` keys work across all keyboard layouts (QWERTY, AZERTY, QWERTZ, etc.). Physical key position used instead of character mapping.
124- **Click-to-activate stacked panes**: Click on any collapsed title bar to instantly activate that pane. Uses GTK4 gesture clicks for native interaction feel.
125- **Title bar visual separators**: Subtle 1px borders between stacked title bars. Theme-aware colors automatically adjust for light/dark mode.
126- **UI scaling for title bars**: New `workspace.styling.ui_scale` config option (default: 1.0). Scales font size, padding, height, and favicon size. Range: 0.5 to 3.0 (e.g., 1.2 = 120% size).
127- **Favorites system**: Full favorites management with keyboard controls and persistent storage. Press `Tab` to switch between History and Favorites views. Press `Space` to add/remove items. Yellow border indicates favorited items in History view. View mode persists across sessions. Database-backed with RAM-first caching for performance.
128- **Omnibox quick navigation**: Press `Ctrl+1` through `Ctrl+9` to instantly navigate to the first 9 results, or `Ctrl+0` for the 10th. Works in both History and Favorites views. Visual number hints appear on each item. Keyboard layout independent (works on QWERTY, AZERTY, QWERTZ, etc.).
129- **Middle-click and Ctrl+click link handling**: Links can now be opened in new workspace panes using standard browser gestures (middle-click or Ctrl+left-click). New panes split in the configured direction (default: right) and respect `workspace.popups.placement` configuration. Implemented via WebKit's `decide-policy` signal to intercept navigation actions before they occur.
130- **Configurable pane border styling**: Added `workspace.styling.inactive_border_width`, `workspace.styling.inactive_border_color`, and `workspace.styling.show_stacked_title_border` config options. Active and inactive borders default to 1px to prevent layout shift, with only color changing on focus. Borders use GTK theme variables by default and support smooth CSS transitions.
131- **Configurable default search engine**: Added `default_search_engine` config option with explicit URL template format. DuckDuckGo is now the default (was Google). Users can set any search engine with `%s` placeholder (e.g., `default_search_engine = "https://duckduckgo.com/?q=%s"`).
132
133### Changed
134- **Target="_blank" and gesture link behavior**: Links with `target="_blank"`, Ctrl+click, and middle-click now open in stacked panes mode by default instead of split-right. New config option `workspace.popups.blank_target_behavior` (values: "split", "stacked", "tabbed") controls this behavior separately from JavaScript popups. Prevents browser exit when closing parent pane by marking _blank panes as popup-type.
135- **Config format**: TOML is now the default format (JSON/YAML still supported). Action bindings inverted to `action→keys` structure for maintainability with O(1) runtime lookup. Added comprehensive validation.
136- **Code cleanup**: Removed dead code files and emojis from GUI modules
137- **Bridge architecture**: Unified main-world to isolated-world bridge system with comprehensive documentation. Single dispatcher for all window function bridges (omnibox, favorites, toasts). Better separation between CustomEvents (shared between worlds) and window functions (require bridging).
138- **Omnibox spacing**: Increased vertical spacing between suggestion items from 0.65rem to 0.85rem for better readability
139- **Smart Escape key**: First press clears input text, second press closes omnibox. Empty input closes immediately.
140
141### Fixed
142- **Ctrl+Tab shortcuts**: Fixed focus cycling behavior, now properly switches between tabs
143- **Active tab visibility**: Fixed identical styling - active tab now clearly visible with distinct gray shade
144- **AZERTY keyboard support**: Alt+number shortcuts now work on all keyboard layouts using hardware keycodes
145- **Keyboard layout detection**: Fixed always detecting "en" - now correctly detects fr/de/etc layouts
146- **Zoom visual glitch**: Fixed zoom level for next page being applied before navigation completed, causing visible zoom change on current page. Zoom now applies on load-committed event instead of URI change.
147- **Toast notifications**: Fixed toast notifications not appearing for copy URL (Ctrl+Shift+C) and clipboard operations. Event name was `dumber:showToast` but ToastContainer listens for `dumber:toast`.
148- **Page reload shortcuts**: Restored `Ctrl+R`, `Ctrl+Shift+R`, `F5`, and `Ctrl+F5` shortcuts. They were registered but not actually wired to the window-level handler.
149- **Bootstrap initialization**: Fixed omnibox component not mounting due to invalid toast function check in isolated world. Toast functions now bridge correctly via CustomEvents, allowing omnibox to initialize properly.
150- **Empty state display**: History view now hides empty state when input is empty, showing it only when user has typed and no results are found. Favorites view always shows empty state with helpful hints.
151
152## [0.13.0] - 2025-10-24
153
154### Added
155- **Color scheme config**: `appearance.color_scheme` setting to force dark/light theme (`"prefer-dark"`, `"prefer-light"`, `"default"`)
156- **DNS prefetch**: Added capability to prefetch DNS for links to speed up future requests
157- **Page cache (bfcache)**: Enabled WebKit back/forward cache for instant navigation
158- **Smooth scrolling**: Enabled WebKit smooth scrolling for better UX
159- **JSON Schema**: Auto-generated config schema for IDE autocompletion and validation
160- **Parallel cache loading**: Zoom, certificate, and fuzzy caches load concurrently at startup (<100ms target)
161- **Certificate validation cache**: In-memory cache for TLS certificate decisions with graceful shutdown flushing
162
163### Changed
164- **Database performance**: Enabled WAL mode with optimized PRAGMAs (64MB cache, memory-mapped I/O, 5s busy timeout) for 70k reads/sec, 3.6k writes/sec
165- **Zoom performance**: In-memory cache eliminates database reads during page transitions
166- **History writes**: Batched writes with background processor (flush every 5s or 50 items) to reduce I/O overhead
167- **BREAKING: Keyboard shortcuts**: All shortcuts now use `ctrl+` instead of `cmdorctrl+`. Existing configs with `cmdorctrl` still work via backward compatibility. Delete `~/.config/dumber/config.json` to regenerate with new defaults.
168- **Cache management**: Graceful cache flushing on shutdown prevents data loss; startup timing instrumentation with performance warnings
169
170### Fixed
171- **Graceful shutdown deadlock**: Resolved GTK main loop deadlock on Ctrl+Q by removing mutex locks and GTK calls after main loop exit
172- **CSS provider error handling**: Now properly handles errors from GTK CSS provider with logging
173- **Cache operations**: Added context timeouts to cache flush and history queue operations for graceful failure
174- Command typos now show proper error instead of opening in browser
175- History queue now uses buffered channel to prevent blocking on shutdown
176
177## [0.12.1] - 2025-10-18
178
179### Added
180- **Favicon refactoring**: WebKitGTK FaviconDatabase as single source of truth, removing fragile file-based cache and ico/bmp conversion dependencies
181  - Native favicon detection and automatic PNG export at 32x32 for CLI (dmenu)
182  - SVG favicon rasterization support
183  - Async texture loading with callbacks for non-blocking UI updates
184  - FaviconService handles favicon collection across all panes
185
186### Changed
187- Removed old favicon cache system (go-ico, go-bmp dependencies)
188- Simplified omnibox favicon handling: uses database favicon_url only
189
190### Fixed
191- Mouse button navigation: Added support for hardware mouse buttons 8/9 (back/forward)
192- Touchpad gestures: Two-finger horizontal swipe for back/forward navigation
193- Web app shortcuts: Ctrl+C, Ctrl+V, Ctrl+A now work in Gmail, VSCode web, etc.
194- Dark mode flash on startup: Set GTK dark theme preference and WebView background color before window/content creation
195- Cmd+Q and window close button now trigger graceful shutdown instead of killing the browser process
196- WebView cleanup: Properly destroy WebViews to prevent memory leaks and duplicate handler registrations when closing stacked panes
197- CLI help: Running `dumber` without arguments now shows available commands (use `--gui` or `browse` to launch GUI)
198
199## [0.12.0] - 2025-10-16
200
201### Added
202- **Native favicon support**: WebKit FaviconDatabase integration with automatic detection and caching for all panes
203- ENV=dev support to isolate test builds from production config/data in .dev/dumber/ directory
204- Content filtering whitelist config (Twitch enabled by default)
205- `dumber config` command to open config file in $VISUAL/$EDITOR or print path with `--path`
206- **Native WebKit popup lifecycle**: Implemented WebKit's create/ready-to-show/close signals for proper popup management, eliminating manual WebView creation that bypassed WebKit's internal architecture
207- **Popup behavior configuration**: Added `popup_behavior` config with four modes: `split` (default), `stacked`, `tabbed`, and `windowed` for user control over popup placement
208- **Backend-driven pane mode**: Complete rewrite of pane mode from JavaScript to Go backend with native keyboard handling. Ctrl+P enters mode, x/l/r/d/u/arrows for actions, Escape exits. Blocks all other keys during mode.
209- **Pane mode visual border**: Zellij-style border around workspace root when pane mode is active, replacing old toast notification system. Uses GTK margins with configurable `pane_mode_border_color` (defaults to #FFA500 orange). Window background color shows through margins to create visible border effect
210
211### Changed
212- **Popup architecture refactoring**: Removed ~280 lines of JavaScript window.open interception in favor of WebKit's native popup signals. Popups now follow WebKitGTK's expected lifecycle instead of being intercepted and manually created
213- **GUI bootstrap refactoring**: Extracted 400+ lines of common initialization logic into reusable bootstrap.ts module shared between injected pages and special schemes (homepage, etc.)
214- **Workspace pane mode**: Moved ~450 lines of JavaScript state machine to Go backend for more reliable keyboard handling and eliminated race conditions between webviews
215
216### Fixed
217- **TLS certificate validation restored**: Re-implemented persistent certificate error handling (broken during gotk4 migration)
218  - Interactive three-option dialog: "Go Back", "Proceed Once (Unsafe)", and "Always Accept This Site"
219  - SQLite-based hostname decision storage (hostname-only matching - GIO certificate properties are unstable)
220  - Smart expiration: "Proceed Once" temporary (not stored), "Always Accept" persists for 30 days
221  - Automatic cleanup of expired validations on application startup
222  - **Known issue**: Accepted certificates not pre-loaded into WebKit session on startup - stored decisions only apply when TLS error occurs again
223- **Content blocking restored**: Re-implemented WebKit native ad/tracker blocking (broken during gotk4 migration) using UserContentFilterStore API
224- **Script injection spam**: Fixed 100+ duplicate "Sending color palettes" messages by injecting scripts only in top frame instead of all iframes
225- **Favicon race conditions**: Eliminated duplicate downloads and file handle errors via mutex protection and proper handler registration
226- **Homepage theme switching**: Fixed color palette application for proper light/dark mode transitions
227- **Workspace pane borders**: Hide active pane border when only one pane exists to match Zellij UX
228- Enabled missing WebKitGTK6 features: WebRTC, MediaSource, LocalStorage, WebAudio, MediaStream, Clipboard
229- Cosmetic filter duplicate injection in frames
230- Config file duplicate keys (snake_case/camelCase) by using Viper's SafeWriteConfigAs
231- Config not reading newly created default config file
232- Config writing to disk on every load/reload
233- **Popup SIGSEGV crashes**: Eliminated segmentation violations during popup lifecycle by respecting WebKit's signal-based popup management. Fixes OAuth popup crashes and GTK bloom filter corruption
234- **GTK focus event duplicates**: Added timestamp-based deduplication to prevent multiple focus enter/leave events in the same millisecond from WebKitGTK nested widgets
235- **Popup close behavior**: Fixed app exit when closing popups by excluding them from remaining pane count check
236- **Pane mode border cleanup**: Fixed border persisting after pane splits by saving container reference when applying margins. Ensures proper cleanup even when workspace tree structure changes during split operations
237- **Stacked pane active border**: Fixed active border incorrectly appearing on stacked pane containers instead of individual panes
238- **Stacked pane creation**: Fixed premature Realize() call causing widget lifecycle issues during stack creation
239- **Browser exit on last pane close**: Fixed browser not properly quitting when closing the last webview via Ctrl+P x by calling GTK main loop quit instead of window close
240- **Zoom level persistence restored**: Fixed per-domain zoom settings not being saved to database (broken during gotk4 migration). Added missing `notify::zoom-level` signal connection in setupEventHandlers to properly persist zoom changes
241
242## [0.11.0] - 2025-10-07
243
244### Added
245- **Auto-open omnibox on blank panes**: Omnibox automatically opens when a new pane is created with about:blank, providing immediate search/navigation access
246- **Configurable default zoom**: Added `default_zoom` config (defaults to 1.2/120%). Per-domain zoom still overrides this
247- **Pin/favorite sites**: Pin websites from history or quick access to prioritize them in "Jump back in" section. Uses localStorage persistence with star icons for pin/unpin actions
248- **Zellij-style stacked panes**: Added Ctrl+P → 's' to stack panes instead of splitting, with Alt+Up/Down navigation between stacked panes. Features collapsed page title bars showing  for inactive panes and full WebView interaction for the active pane. Includes GTK4 CSS styling for proper visual feedback
249- **Stacked pane favicons**: Title bars display site favicons with async caching. Click title bars to switch between stacked panes
250- **Color palette configuration**: Light and dark color palettes now configurable in `appearance` config with semantic tokens (background, surface, text, muted, accent, border). Injected as CSS custom properties at document start
251- **Search shortcut badges**: Visual badges in omnibox input showing active shortcut prefix (e.g., "gh:", "npm:") with description labels
252- **Search shortcuts API**: Frontend bridge to fetch search shortcuts from backend `/api/config` endpoint with automatic normalization
253
254### Changed
255- **Terminal-style UI theme**: Monospace fonts (JetBrains Mono, Fira Code), sharp corners (no border-radius), dashed borders, adjusted shadows and spacing throughout omnibox components
256- **History suggestions**: Use favicon from database when available, omit automatic search shortcuts from suggestions (rely on explicit prefix commands)
257- **Search shortcuts defaults**: Updated defaults to include ddg, go, mdn, npm packages while reordering others
258- **Chrome user agent**: Updated to version 141.0.0.0 for better site compatibility
259- **CSS color system**: Removed hardcoded theme colors, now use dynamic CSS custom properties from Go-injected palette
260- **History item layout**: Removed "• domain" from titles, now highlight domain within the full URL using same color as title text
261- **Quick access logic**: Removed 20-item limit, now shows all sites with 2+ visits (pinned sites bypass visit requirement)
262- **History pagination**: Show 15 items initially (up from 10) with "Show N more" button
263- **Homepage layout**: Redesigned with improved visual hierarchy and dynamic color tokens
264- **Favicon handlers**: All webviews now register favicon change handlers for consistent caching across panes
265
266### Fixed
267- **Mobile URL overflow**: Fixed long URLs breaking layout on narrow screens by adding proper width constraints and CSS fixes
268- **GTK shortcut GLib-CRITICAL error**: Fixed NULL string assertion in shortcut callback system
269- **SVG favicon handling**: Skip SVG favicons to prevent conversion errors (no raster conversion dependencies)
270- **Focus management architecture**: Refactored workspace focus system from `active` field to `currentlyFocused` with dedicated FocusManager for improved reliability and consistency across pane operations
271- **Stacked pane focus conflicts**: Fixed focus stealing issues in stacked panes by implementing focus-aware navigation that preserves active pane when spawning siblings
272- **WebView title updates**: Enhanced webview title change handling to properly update stacked pane title bars in addition to database storage
273- **GTK4 widget lifecycle**: Improved widget parenting/unparenting operations with proper GTK4 validation and automatic cleanup to prevent critical warnings
274- **Stacked pane close behavior**: Fixed remaining pane becoming non-interactable (gray background) when closing stacked panes via Ctrl+W or Ctrl+P+X. Added proper widget visibility restoration and focus management during stack-to-regular conversion
275- **Stacked pane title updates**: Fixed collapsed panes not showing current page titles when switching between stacked panes. Now follows Zellij-style layout where hidden panes display their up-to-date page titles in title bars with correct positioning above and below the active pane
276
277## [0.10.0] - 2025-09-24
278
279### Added
280- **Print functionality**: Added Ctrl+Shift+P shortcut to open native print dialogs from any pane. Ctrl+P is blocked at WebKit level to prevent conflicts with pane mode shortcuts
281- **WebKit native favicon detection**: Implemented WebKit's built-in favicon database for automatic favicon detection and URI storage. Enhanced favicon support for all formats (PNG, SVG, ICO) without external dependencies
282
283### Changed
284- **Homepage redesign**: Brutal design with component-scoped styling, dynamic height matching, inline domain-URL layout with fade effects, and tighter spacing
285
286### Fixed
287- **WebView teardown and memory management**: Implemented comprehensive cleanup system to prevent crashes during WebView destruction. Added JavaScript teardown functionality with cleanup handlers for all event listeners, intervals, and global state. Enhanced pane cleanup with proper controller detachment and GTK widget detachment sequencing. Added WebView validity checks before JavaScript evaluation and improved workspace manager pane closing logic with better popup handling
288- **Ctrl+W pane closing**: Fixed Ctrl+W shortcut to properly close active panes including popups. Implemented active WebView detection and proper popup vs regular pane handling via OnWorkspaceMessage for consistent cleanup
289- **WebView script injection segfault**: Fixed segmentation violation when injecting JavaScript into destroyed WebViews during message handling. Added IsDestroyed() safety check to prevent GTK widget corruption
290- **Alt+Arrow workspace navigation**: Fixed Alt+Arrow keys not working for pane navigation after WebView focus changes. Implemented C-level to GTK4 shortcut bridge that ensures workspace navigation works consistently across all panes
291- **Global shortcuts protection**: Fixed window shortcuts (Ctrl+L, Ctrl+F, F12) not working in new panes due to overly aggressive webpage protection. Window shortcuts now properly bubble up to GTK while pane shortcuts remain blocked from webpages. Resolves omnibox and developer tools not responding to keyboard shortcuts in newly created panes
292- **Omnibox keyboard event isolation**: Fixed keyboard event leakage from omnibox to underlying webpages that caused unintended page actions (e.g., typing 's' in omnibox triggering GitHub search). Implemented WebKit-level main-world event blocking that activates when omnibox opens, preventing page JavaScript from receiving keyboard events while preserving native GTK shortcuts (Ctrl+L, Ctrl+F, etc.) and omnibox functionality
293- **Active pane detection**: Replaced complex pane ID abstraction with persistent webview IDs, fixing omnibox unresponsiveness after navigation. Omnibox now works immediately after page navigation without requiring mouse movement
294- **Workspace architecture**: Simplified focus tracking by removing URI change handlers and pane ID injection complexity, improving reliability and reducing codebase by 85 lines
295- **WebView ID propagation**: Added webview ID request/response mechanism for stub builds to ensure JavaScript side knows its webview ID for proper focus validation
296- **Workspace theme integration**: Fixed white borders on inactive panes by implementing dynamic border colors based on GTK theme preference (dark mode: #333333 borders, light mode: #dddddd borders)
297- **GTK window background**: Added theme-aware window and pane background colors to prevent white bleeding through transparent elements
298- **Print dialog window handling**: Fixed GTK window destroy errors during WebView cleanup by only destroying windows when CreateWindow was actually enabled
299- **Modifier key logging noise**: Filtered out Ctrl, Shift, Alt, and Super key presses from accelerator miss logging to reduce console spam
300
301## [0.9.0] - 2025-09-22
302
303### Added
304- **Zellij-style workspace management**: Complete pane splitting system with binary tree layout, focus tracking, and Zellij-inspired keybindings (Ctrl+P for pane mode, arrow keys for splits, 'x' to close)
305- **Multi-pane WebView architecture**: Container-based widget management with proper reparenting, lifecycle handling, and per-pane controllers
306- **Window-level global shortcuts**: Centralized shortcut handling to prevent conflicts between multiple WebView instances
307- **Workspace configuration**: New config section with Zellij controls toggle, pane mode bindings, tab shortcuts, and popup behavior settings
308- **Configurable workspace styling**: Pane border appearance (width, color, transition duration, radius) now customizable via config with proper viewport stability
309- **Popup handling for tiling WM**: Complete popup window support where popups open as workspace panes instead of floating windows, respecting tiling window manager design principles
310- **Universal popup auto-close**: Popup windows (OAuth, window.open(), etc.) automatically close when JavaScript calls window.close(), providing standard browser behavior adapted for workspace panes
311- **Advanced popup deduplication system**: Intelligent duplicate popup prevention with SHA256 fingerprinting and 200ms debounce window to eliminate popup spam
312- **OAuth auto-close integration**: RFC 6749 compliant OAuth callback detection with automatic popup closure for seamless authentication flows
313- **Cross-WebView popup communication**: localStorage-based parent-popup bridge enabling proper `window.opener` functionality in tiling workspace environment
314- **WebView identity tracking**: Unique WebView ID system for precise popup targeting and enhanced debugging capabilities
315
316### Improved
317- WebKit integration now forces GPU compositing by default while still honoring explicit config overrides.
318- Smooth scrolling is enabled (when supported) so wheel and gesture animations feel closer to Chromium/Firefox.
319- Title updates, zoom persistence, and domain zoom lookups are now done off the GTK main thread with results marshalled back safely, eliminating UI hitches during navigation.
320- Added optional DOM-level zoom (enabled by default) to avoid native viewport rescaling; falls back to WebKit zoom if the CSS path fails.
321- DOM zoom now seeds the saved level before the first paint and reuses it during document-start scripts, preventing pages from flashing back to 100%.
322- Native accelerator bridge debounces duplicate GTK key events earlier, so Ctrl±/Ctrl+0 only fires once per physical key press.
323- Omnibox-triggered navigations now reuse the navigation controller, so saved zoom levels are applied before first paint and redundant lookups are avoided.
324- Configuration loading writes the missing `use_dom_zoom` flag into existing config files so DOM zoom defaults persist without manual edits.
325- Omnibox UI now relies on shared Tailwind theme tokens and the injected color-scheme service for light/dark parity.
326- Omnibox overlay now self-heals if hostile pages remove the injected shadow host, ensuring Ctrl/Cmd+L works everywhere.
327- Navigation shortcuts changed from Alt+Arrow to Ctrl/Cmd+Arrow for better workspace compatibility.
328- GUI components now support workspace-aware focus management with pane-specific event handling.
329- **Global zoom shortcuts**: Unified zoom handling at window level (Ctrl+/=/0/-) ensuring zoom applies to currently active pane in multi-pane workspace
330- **Workspace focus management**: Enhanced focus throttling (100ms) and active state tracking to prevent infinite loops and conflicts between panes
331- **Popup management**: Intelligent popup vs tab detection based on window features, with improved auto-close logic for OAuth and login flows
332- **Console logging**: WebView ID context injection for better debugging and log correlation across multiple panes
333
334### Changed
335- **Zoom shortcuts architecture**: Moved from per-WebView registration to centralized window-level handling for consistency with other global shortcuts
336
337## [0.8.0] - 2025-09-17
338
339### Added
340- **GTK color scheme bridge**: Dedicated document-start module keeps WebKit theme in sync with GTK preferences and exposes unified runtime updater
341- **Color scheme build pipeline**: Separate Vite entry produces reusable `color-scheme.js` asset shared between native and injected contexts
342- **Complete Svelte 5 GUI migration**: Omnibox and find components migrated from raw JavaScript to modern Svelte 5 with runes
343- **Tailwind CSS v4 integration**: Unified design system with PostCSS and JIT compilation
344- **TypeScript keyboard service**: Centralized shortcut management with full type safety
345- **Click-anywhere-to-close**: Omnibox closes when clicking outside for better UX
346- **Homepage Svelte 5 component**: New standalone homepage with history display and keyboard shortcuts reference
347- **Page generator system**: Vite plugin for generating dumb:// protocol pages (homepage, config, about) with extensible architecture
348- **History deletion API**: New DELETE endpoint at `/history/delete?id=N` for removing individual history entries
349- **Database migrations**: Embedded migrations now run automatically at startup to keep sqlite schema in sync
350- **Inline CSS type declarations**: Ambient module definitions for raw CSS imports improve TypeScript ergonomics in injected bundles
351- **Global Shadow DOM system**: Unified shadow host utility for component isolation with shared ShadowRoot and CSS reset management
352- **Unified page-world bridge**: Integrated API bridge with event-driven communication between page-world and isolated-world contexts
353
354### Improved
355- **Asset MIME detection**: Expanded scheme handler lookup covers fonts, images, and JSON to prevent incorrect `text/plain` responses
356- **Toast theming**: Runtime theme observer syncs toast styling with the browser's dark mode state for consistent visuals
357- **Shadow host styling**: Injected GUI now adopts Tailwind design tokens inside the shared shadow root with automatic dark-mode mirroring
358- **Omnibox/Find system**: Complete migration from 500-line raw JavaScript to modular Svelte 5 components
359- **Toast notifications**: Migrated from raw JavaScript to Svelte 5 components with proper animations
360- **GUI build pipeline**: Vite-based bundling with hot reload and TypeScript support
361- **Keyboard shortcuts**: Fixed Ctrl+F not working by adding missing 'f' key to keyboard dispatcher
362- **State management**: Proper cleanup between omnibox and find modes prevents state conflicts
363- **Homepage UX**: Enhanced layout with 70/30 flex ratio, compact keyboard shortcuts table, and statistics display
364- **Interactive delete**: History entries show trash icon on hover with smooth fade-out animation on deletion
365- **Top 5 most visited**: New section displaying frequently accessed sites with visit counts
366- **Performance**: Instant shortcut response with pre-mounted DOM elements
367
368### Changed
369- **Homepage icons**: Replaced Lucide dependency with inline SVG/Unicode fallbacks to shrink bundle size while debugging upstream build issues
370- **Major architecture shift**: Removed HTTP API routes in favor of direct WebKit message bridge communication for better performance and reduced complexity
371- **API token support**: Added optional API security configuration with token-based authentication system
372- **Shadow DOM improvements**: Enhanced isolation with WeakSet tracking to prevent duplicate reset injection and global shadow host utility for component sharing
373- **Message handler refactoring**: Unified keyboard shortcut forwarding between native handlers and GUI components with DOM event bridge
374- **Omnibox suggestions**: Native Go-based suggestion computation with search shortcuts and history integration, eliminating HTTP fetch dependencies
375- **Toast styling**: Migrated from Tailwind CSS classes to inline styles within component scope for better Shadow DOM compatibility and isolation
376- **JS to Svelte migration**: Replaced legacy inline injected scripts (see `pkg/webkit/ucm_js_cgo.go.deprecated`) with structured Svelte components mounted via the shared shadow root.
377
378### Fixed
379- **Service worker residue**: Homepage clears stale caches and unregisters old service workers to avoid 404s for legacy `_app` assets
380- **Keyboard debounce**: Native accelerator bridge filters duplicate shortcut events within 120ms for DOM and CGO handlers
381- **Ctrl+F shortcut**: Added missing 'f' key case in keyboard_cgo.go dispatcher
382- **Browser freeze**: Removed infinite loop in mode switching reactive effects
383- **State persistence**: Proper cleanup when switching between Ctrl+L and Ctrl+F modes
384- **Homepage protocol**: Fixed dumb://homepage not working after GUI migration with proper Svelte 5 component and API integration
385- **Omnibox positioning on homepage**: Fixed omnibox stuck in top-left corner by isolating homepage CSS styles and strengthening omnibox positioning with explicit fixed positioning and CSS isolation
386- **Find mode persistence**: Fixed find view persisting after pressing Esc when reopening with Ctrl+L by ensuring toggle() resets mode to 'omnibox'
387- **Favicon display**: Fixed missing favicons in homepage history after Svelte 5 migration by adding FaviconURL field to API response and implementing proper fallback display logic
388- **Homepage API communication**: Migrated from HTTP fetch to WebKit message bridge for all homepage API calls (history, stats, search) with proper callback handling and timeout management
389- **Omnibox accessibility**: Added keyboard navigation support with Tab/Enter activation for suggestion items and proper ARIA attributes for screen readers
390- **Omnibox suggestions race conditions**: Fixed timing issues where suggestions arrived before API was ready by implementing pending suggestions queue and proper event bridging between page-world and isolated-world contexts
391
392## [0.7.0] - 2025-09-14
393
394### Added
395- **Content blocking system**: Native WebKit ad blocking with EasyList integration, cosmetic filtering, and filter cache management
396- **Filter cache purging**: New `--filter-cache/-F` flag in purge command
397- **WebKit debug system**: Comprehensive debugging support with configurable categories for troubleshooting WebKit internal errors
398- **Enhanced error handling**: Robust content filter injection with retry mechanisms and graceful fallbacks
399- **Parallel compilation**: Multi-core GCC compilation support for faster builds
400
401### Improved
402- **Content filter timing**: Optimized script injection timing to prevent interference with WebKit preconnect operations
403- **Anti-breakage scriptlets**: Safer JavaScript modifications that avoid WebKit internal conflicts
404- **Build system**: Added parallel compilation with automatic core detection and success indicators
405- **Persistent TLS certificate validation system**:
406  - **Three-option certificate dialog**: "Go Back", "Proceed Once (Unsafe)", and "Always Accept This Site"
407  - **Database-backed certificate storage**: SQLite-based persistence for user certificate decisions with SHA256 certificate hashing
408  - **Smart decision handling**: Automatic application of stored decisions without repeated prompts
409  - **Temporary vs permanent choices**: "Proceed Once" expires after 24 hours, "Always Accept" persists indefinitely
410  - **Seamless user experience**: No more repetitive certificate warnings for trusted sites
411- **Performance-optimized WebKit memory configuration system**:
412  - **New `WebkitMemoryConfig`** configuration section with performance-focused defaults for faster page loading
413  - **Aggressive caching strategy**: `web_browser` cache model with page cache enabled for instant back/forward navigation
414  - **Balanced memory pressure management**: Conservative (40%), strict (60%), and kill (80%) thresholds optimized for performance vs stability
415  - **Smart garbage collection**: 2-minute JavaScript GC intervals with process recycling after 50 page loads
416  - **Reduced monitoring overhead**: 45-second memory monitoring intervals to minimize performance impact
417  - **Environment variable overrides**: All memory settings configurable via `DUMBER_*` environment variables (`DUMBER_CACHE_MODEL`, `DUMBER_MEMORY_CONSERVATIVE`, etc.)
418- **Early crash handling initialization**: Moved crash handler setup to application entry point for better crash recovery
419
420### Changed
421- **Modernized GTK dialog system**: Migrated from deprecated GTK 4.10 dialog functions to modern `GtkAlertDialog` API
422  - **Future-proof implementation**: Eliminated all deprecation warnings by replacing `gtk_message_dialog_*` and `gtk_dialog_*` functions
423  - **Async-first architecture**: Native async dialog handling with proper event loop integration
424  - **Improved accessibility**: Better screen reader support and GTK4 theme integration
425- **Major main.go refactoring**: Massive code reduction from 1071 lines to 61 lines (~95% reduction)
426  - **Extracted browser application logic** to dedicated `internal/app/browser` package for better separation of concerns
427  - **Streamlined entry point**: Clean main function focusing only on CLI vs GUI mode detection and application bootstrapping
428  - **Improved maintainability**: Modular architecture with clear responsibilities between CLI and browser components
429- **Refactored memory configuration architecture**:
430  - Integrated WebKit memory settings into unified config system with Viper environment variable bindings
431  - Eliminated redundant environment variable parsing in favor of centralized configuration management
432  - Simplified webview initialization with direct config-to-WebKit conversion
433- **Improved CLI logs command description**: Enhanced help text for better user experience
434
435## [0.6.0] - 2025-09-12
436
437### Added
438- **Smart AV1 codec negotiation system for YouTube high-resolution streaming**:
439  - **Resolution-aware MediaCapabilities API reporting**: Intelligent codec capability reporting based on video resolution, enabling YouTube to select optimal codecs for different quality levels
440  - **YouTube format manifest manipulation**: Real-time format list reordering to prioritize AV1 for ≤1080p content while allowing VP9 fallback for higher resolutions
441  - **Graduated codec preference system**: Smart localStorage preference (`2048`) instead of forced AV1 (`8192`), giving YouTube flexibility for optimal codec selection
442  - **4K HDR 60fps AV1 support**: Successfully enables YouTube delivery of premium quality 4K HDR content with AV1 codec, HDR10 (PQ) color space, and BT.2020 wide color gamut
443  - **Configurable AV1 resolution limits**: New `av1_max_resolution` config option with environment variable support (`DUMBER_AV1_MAX_RES`)
444  - **Automatic codec fallback logic**: Seamless VP9 fallback for resolutions where AV1 performance may be suboptimal
445  - **High bitrate streaming support**: Enables premium quality streaming (650+ Mbps) with proper buffer management
446  - Fixes previous limitation where forcing AV1 would cap YouTube playback at 1080p maximum
447- Page refresh functionality with standard keyboard shortcuts:
448  - **Ctrl+R** / **Cmd+R**: Reload current page
449  - **Ctrl+Shift+R** / **Cmd+Shift+R**: Hard reload (bypass cache)
450  - **F5**: Alternative reload key
451  - WebKit integration with proper `webkit_web_view_reload()` and `webkit_web_view_reload_bypass_cache()` calls
452- **Twitch theater mode and fullscreen stability fix**:
453  - **Complete removal of codec interference on Twitch**: Eliminates aggressive codec control that caused theater mode and fullscreen freezing
454  - **Native Twitch codec selection**: Allows Twitch to handle codec negotiation without browser intervention
455  - Fixes theater mode freeze and fullscreen black screen issues on Twitch
456
457### Fixed
458- Zoom level toast no longer shows on every page navigation within the same domain:
459  - Added smart detection to differentiate user-initiated vs programmatic zoom changes
460  - Toast now only appears when manually adjusting zoom or entering a new domain
461  - Prevents annoying notifications during regular browsing within the same site
462- Links with `target="_blank"` now load in current window instead of being ignored:
463  - Added WebKit `create` signal handler to intercept new window requests
464  - Redirects popup/new tab links to current window for seamless single-window browsing
465  - Maintains user experience consistency in tab-less browser architecture
466
467## [0.5.0] - 2025-09-12
468
469### Added
470- Hardware video acceleration with automatic GPU detection:
471  - Multi-vendor GPU detection (AMD, NVIDIA, Intel) using glxinfo, lspci, and sysfs
472  - Automatic VA-API driver selection (radeonsi for AMD, vdpau for NVIDIA, iHD for Intel)
473  - WebKitGTK integration with GStreamer hardware acceleration backends
474  - Environment variable configuration support (LIBVA_DRIVER_NAME, GST_VAAPI_ALL_DRIVERS)
475  - Legacy VA-API fallback mode for compatibility with older systems
476  - Video decoding acceleration for H.264, HEVC, VP9, and AV1 codecs
477  - Significantly reduced CPU usage during video streaming (Twitch, YouTube, etc.)
478  - Smart conflict prevention between legacy and modern VA-API implementations
479- TLS certificate error handling with user confirmation dialog:
480  - Comprehensive certificate information display (subject, issuer, validity dates)
481  - Interactive warning dialog for untrusted certificate authorities
482  - Certificate exception management with per-host persistence
483  - Manual load triggering after user accepts certificate exceptions
484  - Proper integration with WebKitGTK 6.0 network session API
485- Zoom level toast notifications:
486  - Real-time zoom level display with format: "Zoom level: ±X% (Y%)"
487  - Smart debouncing to prevent notification spam during rapid zoom changes
488  - Automatic cleanup of stuck or colliding toast messages
489  - 150ms debounce timer with 2-second display duration
490  - Emergency cleanup function for orphaned toast elements
491- Comprehensive XDG-compliant logging system:
492  - Complete application output capture (Go logs, fmt prints, WebKit C logs)
493  - XDG Base Directory specification compliance (`~/.local/state/dumber/logs/`)
494  - Automatic log rotation with size/age-based cleanup and compression
495  - WebKit CGO log capture with GLib log handler integration
496  - CLI log management commands (`dumber logs list`, `logs tail`, `logs clean`)
497  - File-only logging for cache operations to prevent dmenu interference
498  - Multi-output support with timestamped, tagged log entries
499  - Configurable log levels, formats (text/JSON), and retention policies
500
501### Fixed
502- WebView background set to black to improve user experience during page loads
503- Multiple linting issues and code quality improvements (reduced from 211 to ~150 issues)
504- Omnibox responsive scaling and layout issues:
505  - Fixed over-aggressive viewport scaling that made omnibox disproportionately large at high zoom levels
506  - Resolved input field overflow extending beyond container boundaries
507  - Improved box-sizing model to prevent layout issues
508  - Added conditional separator display (hidden when no search results)
509  - Omnibox now scales proportionally with webpage content across all zoom levels
510- Dmenu history favicon display:
511  - Complete favicon caching system for fuzzel/dmenu integration with real website icons
512  - ICO file support using go-ico library for perfect Windows icon conversion to PNG
513  - Smart brightness detection and color inversion for dark theme visibility
514  - All cached favicons normalized to consistent 32x32 PNG format for uniform display
515  - Anti-aliasing preservation during color inversion to prevent edge noise and pixelation
516  - Asynchronous favicon downloading and caching with 7-day freshness and 30-day cleanup
517  - Fuzzel icon protocol integration (`\0icon\x1f<path>`) for native icon display
518  - Favicon URLs extracted from webpage metadata and stored in database during navigation
519  - Fallback system removed to ensure consistent sizing - shows real favicons or no icon
520  - XDG Base Directory compliance for favicon cache storage
521
522## [0.4.0] - 2025-09-10
523
524### Added
525- High-performance fuzzy cache system for dmenu history:
526  - Binary serialization with memory-mapped files for zero-copy access
527  - Trigram indexing (3-character sequences) for fast candidate filtering  
528  - Prefix trie (compressed tree structure) for prefix matching
529  - Pre-sorted entry indices for O(1) top entries retrieval
530  - Smart cache invalidation with filesystem persistence and background refresh
531  - Comprehensive fuzzy matching algorithms: Jaro-Winkler similarity, Levenshtein distance, tokenized matching
532  - Weighted scoring system combining URL, title, recency, and visit count scores
533  - XDG Base Directory Specification compliance (cache stored in state directory)
534  - Atomic operations for concurrent access control
535  - Dependency injection using interfaces and gomock for testing
536- Purge command for cleaning up dumber data and cache files:
537  - Selective purging with flags: `--database`, `--history-cache`, `--browser-cache`, `--browser-data`, `--state`, `--config`
538  - Clear distinction between history cache (dmenu fuzzy search) and browser cache (WebKit)
539  - Browser data includes cookies, localStorage, sessionStorage
540  - Confirmation prompt with `--force` flag to skip
541  - Targets all data locations: SQLite database, WebKit cache/data, dmenu fuzzy cache, configuration files
542- Ctrl+Shift+C keyboard shortcut to copy current URL to clipboard:
543  - Cross-platform clipboard support with wl-copy (Wayland) and xclip (X11) fallback
544  - Reusable toast notification system for user feedback
545  - Injectable JavaScript component for consistent styling across all websites
546  - Native backend integration for reliable clipboard access
547
548### Changed
549- Dmenu performance dramatically improved: 200ms → 4ms (98% faster)
550- GetTopEntries optimized from O(n log n) to O(1) using pre-sorted indices
551- Cache build time reduced to ~300μs for typical history datasets
552
553### Fixed
554- Dark theme detection now properly reads GNOME desktop interface color-scheme setting (`org.gnome.desktop.interface color-scheme`) instead of only checking `gtk-application-prefer-dark-theme`
555- Eliminated O(n log n) sorting bottleneck on every dmenu call
556- Memory-efficient compact entry storage with minimal footprint
557- Concurrent cache access with proper read/write locking
558- Process no longer hangs when closing window with Cmd+Q or window close button - implemented proper GTK4 `close-request` signal handling and OS signal handling for graceful shutdown
559
560## [0.3.0] - 2025-01-11
561
562### Added
563- WebKit memory controls (opt‑in):
564  - Env vars to tune memory/perf trade‑offs without code changes:
565    - `DUMBER_CACHE_MODEL`, `DUMBER_ENABLE_PAGE_CACHE`
566    - `DUMBER_ENABLE_MEMORY_MONITORING`, `DUMBER_MEMORY_LIMIT_MB`, `DUMBER_MEMORY_POLL_INTERVAL`
567    - `DUMBER_MEMORY_CONSERVATIVE`, `DUMBER_MEMORY_STRICT`, `DUMBER_MEMORY_KILL`
568    - `DUMBER_GC_INTERVAL`, `DUMBER_RECYCLE_THRESHOLD`
569  - Version‑guarded CGO wrappers for memory pressure and GC hooks; safe no‑ops on unsupported WebKitGTK builds.
570 - Find in page (Ctrl/Cmd+F):
571   - Omnibox refactored into a reusable component with dedicated "find" mode.
572   - Highlighting: yellow for all matches; active match in orange for clarity.
573   - Match list with context (right side stops at nearest punctuation: . , ; : -).
574   - Navigation UX:
575     - ArrowUp/Down move selection and scroll the overlay list (page scroll disabled while open).
576     - Enter centers on the active match and closes; Shift+Enter goes to previous; Alt+Enter centers without closing.
577     - Hover focuses input and selects list items; click outside closes the overlay.
578     - Faded overlay with subtle blur when reviewing matches; opacity restores on input focus/typing.
579   - Programmatic API: `OpenFind(initial)`, `FindQuery(q)`, `CloseFind()` on `WebView`.
580
581### Changed
582- Performance‑first defaults retained:
583  - Cache model set to “WebBrowser”, page cache enabled, DevTools available.
584  - No implicit memory pressure or GC enabled by default; all memory tuning is opt‑in.
585
586### Removed
587- Deprecated offline app‑cache calls eliminated (no‑ops) to avoid warnings and brittle builds.
588
589### Fixed
590- Homepage Recent History layout:
591  - Show single-line entries as “{Title} – {Domain} – {URL}”.
592  - Truncate long URLs with a gradient fade; prevent horizontal overflow.
593  - Adjusted styling so URL is darker for readability.
594- Search shortcuts and config interop:
595  - Backend SearchShortcut now serializes `url`/`description` with JSON tags.
596  - Frontend normalizes field casing and extracts base URLs, handling `%s` and `{query}` templates.
597  - Omnibox shortcut parsing now URL-encodes queries and supports `%s` placeholders.
598- Input and navigation reliability (GTK4/WebKitGTK 6):
599  - Capture-phase key controller to ensure accelerators fire consistently.
600  - Do not consume normal left/right clicks; only mouse buttons 8/9 trigger back/forward.
601  - Added Alt+ArrowLeft/Right navigation and enabled two-finger swipe back/forward when supported.
602  - Added Ctrl+scroll zoom in/out; refined accelerator matching so Ctrl− works across layouts.
603  - Removed layout-specific hacks; added diagnostic logs for raw minus key events.
604- Zoom persistence:
605  - Added WebView zoom-changed hook; save per-domain zoom to SQLite on every change.
606  - Log on successful save: “saved X.XX for domain.tld” and on load: “loaded X.XX for domain.tld”.
607  - Load and log initial zoom level on startup and on every navigation.
608- Build/dev ergonomics:
609  - Makefile loads `.env.local`; supports overriding `GOMODCACHE`, `GOCACHE`, `GOTMPDIR` for sandboxed builds.
610 - WebKit CGO hardening and API compatibility:
611   - Apply memory pressure settings to `WebKitNetworkSession` (correct signature) when enabled.
612   - Guarded C wrappers remove deprecation warnings across header variants; builds succeed on WebKitGTK 6.
613
614## [0.2.0] - 2025-09-10
615
616### Added
617- WebKitGTK 6 (GTK4) migration for the built‑in browser window:
618  - WebView constructed via `g_object_new(WEBKIT_TYPE_WEB_VIEW, …)` with a fresh `WebKitUserContentManager`.
619  - `WebKitNetworkSession` with persistent cookies (SQLite) and cache directories.
620- Native UCM messaging restored via `script-message-received::dumber` (JSCValue*), removing the JS fallback bridge.
621- Rendering mode controls:
622  - CLI flag `--rendering-mode=auto|gpu|cpu` and `DUMBER_RENDERING_MODE` env.
623  - In‑app status endpoint `dumb://homepage/api/rendering/status`.
624- Native zoom shortcuts at the WebKit layer (Ctrl/Cmd+=, +, −, 0) and GTK4 input controllers for keyboard/mouse.
625- AZERTY keyboard fix: treat underscore as minus for zoom‑out.
626- Runtime theme synchronization: watch GTK `gtk-application-prefer-dark-theme` and update page color‑scheme live.
627- Makefile target `check-webkit` to print `pkg-config` versions of GTK4/WebKitGTK 6.0/JSC 6.0.
628- Documentation updates:
629  - README now targets WebKitGTK 6 (GTK4) and lists GStreamer package requirements for Arch and Debian/Ubuntu.
630  - CLAUDE notes updated with migration status, GPU/Vulkan path, runtime theme sync, and persistence.
631
632### Changed
633- Build flags and includes now target `webkitgtk-6.0`, `gtk4`, and `javascriptcoregtk-6.0`.
634- GTK4 APIs for windowing and event handling (GtkEventController, GtkGestureClick) replace GTK3/GdkEvent paths.
635
636### Removed
637- Legacy WebKit2GTK constructors and container APIs.
638- JavaScript fallback for UCM message bridging.
639
640### Fixed
641- Header/enum compatibility for hardware acceleration policy and cookie policy across WebKit header variants.
642- Linker error for `on_theme_changed` and gpointer usage in signal connections.
643- Crashy paths mitigated by default “media safe” startup (can be disabled via `DUMBER_MEDIA_SAFE=0`).
644
645### Notes
646- GPU rendering path leverages GTK4’s renderer (Vulkan/OpenGL). Mode `auto` uses GPU when available and falls back gracefully to CPU.
647- WebKitGTK relies on GStreamer; install recommended packages for audio/video (see README).
648
649## [0.1.0] - 2025-09-09
650
651### Added
652- Initial project scaffolding, build system, and dependencies.
653- Unified CLI + GUI architecture with search shortcuts and fuzzy parsing.
654- Wails v3‑alpha browser integration (early phase).
655- Global keyboard controls with script injection (zoom/devtools, etc.).
656- Native WebKit2GTK backend migration:
657  - Custom `dumb://` scheme and `/api` endpoints: `/config`, `/history/recent`, `/history/search`, `/history/stats`.
658  - UserContentManager omnibox injection and theme initialization.
659  - Persistent WebsiteDataManager with cookies.sqlite; per‑domain zoom and title persistence.
660  - Keyboard/mouse accelerators (including mouse back/forward); debounced triggers.
661  - Homepage switched to first‑party API fetches; removed @wailsio/runtime usage.
662- Documentation and licensing: README enhancements and LICENSE added.
663
664### Changed
665- Replaced Wails runtime with native WebKit2GTK CGO bindings and homepage API.
666- Improved asset resolution and logging for the `dumb://homepage` scheme.
667
668### Fixed
669- Eliminated duplicate accelerator triggers via debouncing.
670- Corrected asset resolution and URL normalization in scheme handler.

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close