Skip to content

v0.3.0

Choose a tag to compare

@dusanx dusanx released this 02 Feb 23:29
· 3 commits to master since this release

Added

  • Incremental result streaming for large datasets
    • Load results in batches (~200 rows at a time) instead of all at once
    • Auto-load more rows as user scrolls near end of buffer
    • Memory safety warning at 10,000 loaded rows with option to continue
    • Handles tables with millions of rows without freezing or running out of memory
    • Configuration: elsqlite-streaming-batch-size, elsqlite-streaming-load-threshold, elsqlite-streaming-warning-threshold
    • Mode line shows dynamic row position: [row/total/more to load] or [row/total]
  • Open BLOB images in external viewer (C-c C-o)
    • Saves image to temporary file and opens with system default viewer
    • Works with PNG, JPEG, GIF, BMP, and WEBP formats
  • Field copy and save functionality (C-c C-w to copy, C-c C-s to save)
    • Copy field values to clipboard with automatic trimming
    • Save fields to files with type detection (PNG, JPEG, GIF, BMP, WEBP, txt)
    • Smart prompts showing file type hints
  • Test coverage for new features
    • BLOB image type detection test
    • Multiline SELECT query recognition test (regression test)
    • Field value trimming test

Changed

  • Table browsing now uses streaming exclusively (removed pagination-based LIMIT/OFFSET approach)
  • Mode line format updated to show loaded row counts instead of table/query names
  • Schema view now has tighter formatting without blank lines between CREATE statements
  • Keybindings changed to follow Emacs conventions: C-c w/s → C-c C-w/C-c C-s

Removed

  • Pagination-based table browsing (replaced by streaming)
  • Unused pagination variables: elsqlite-table--page-size, elsqlite-table--current-offset, elsqlite-table--total-rows
  • Unused pagination functions (elsqlite-table-next-page, elsqlite-table-previous-page)
  • Unused navigation functions (elsqlite-table-drill-down, elsqlite-table-up)
  • Unused elsqlite-default-page-size defcustom (was never used in code)
  • Code cleanup: removed ~82 lines of dead code

Fixed

  • Multiline SELECT queries now properly recognized as read-only
  • Console mode (-nw) no longer attempts to show image previews
  • All MELPA compliance issues resolved (package-lint, checkdoc)