Skip to content

v0.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Nov 08:20
· 225 commits to main since this release
v0.4.0

New features

  • Per-screen scroll (previously PgDown works as scroll 5 entries down,
    which was annoying and very inconvenient)
  • Autocompletion for bash
  • Add ability to pause updates - useful to concentrate on concrete thing
  • Add ability to proactively refresh view
  • Add EXPLAIN SYNTAX action (and print all changed SETTINGS in the EXPLAIN
    SYNTAX, useful to copy query with all the settings and paste into the
    client)
  • Add multi selection (and various actions, like looking logs and
    flamegraphs supports showing them for multiple queries)
  • Fully static binaries (requires switching from ncurses to termios)
  • package for aur archlinux registry

Improvements

  • Add thread_id into logs (useful to understand how many threads involved)
  • Support clickhouse-client configs in YAML
  • Show full error trace on Enter in system.errors
  • Better color scheme for summary bar, and so now that if you see
    something red, this is likely requires some attention
  • Add replicated fetches/queue into summary bar
  • Add system.dictionaries support
  • Improve how focus works (before chdig always tries to select the first
    query by defualt, which was not that convenient, since sometimes you
    want to look at the top CPU usage, so now if you do not select anything
    chdig will show queries sorted, but switch to following query once you
    select something, and you can get back using Home key)

Fixes

  • Fix chdig with non default user/password in config.xml/env vars
  • Do not omit queries without initial query with grouping

Commits

  • 6f5e042: Use timestamp_nanos_opt() over deprecated timestamp_nanos() (Azat Khuzhin)
  • 8ca6f41: Add autocompletion support (Azat Khuzhin)
  • 0d713ed: Add ability to start from different views via subcommands (Azat Khuzhin)
  • 89381aa: Add per-page scroll for logs (PageDown/PageUp) (Azat Khuzhin)
  • 7d29066: Throw an error in case of multiple connections had been matched from config.xml (Azat Khuzhin)
  • b85958a: Fix chdig with non default user/password in config.xml/env vars (Azat Khuzhin)
  • 2ebe30c: Do not omit queries without initial query with grouping (Azat Khuzhin)
  • be94f63: Reorder LogEntry fields (Azat Khuzhin)
  • d3fed8b: Add thread_id into logs (useful to understand how many threads involved) (Azat Khuzhin)
  • b89ecd2: Add ability to pause updates - useful to concentrate on concrete thing (Azat Khuzhin)
  • f3c4058: Add ability to proactively refresh view (Azat Khuzhin)
  • ea8695e: Simplify parsing XML configs using DeserializeOwned (Azat Khuzhin)
  • 9b6d15d: Support clickhouse-client configs in YAML (Azat Khuzhin)
  • dc2e1ff: Support empty clickhouse.connections_credentials in config.xml (Azat Khuzhin)
  • Document --connection option (Azat Khuzhin)
  • 672e5c9: Fix updating the view after filter had been applied (Azat Khuzhin)
  • a323bcd: Add EXPLAIN SYNTAX action (Azat Khuzhin)
  • 162abe9: Print all changed SETTINGS in the EXPLAIN SYNTAX (Azat Khuzhin)
  • 0689b8c: cargo update (to fix dependabot alerts) (Azat Khuzhin)
  • 6bf09f1: Add log messages for toggle pause/refresh (Azat Khuzhin)
  • 6cdbd21: Fix refreshing after view change (Azat Khuzhin)
  • 998a926: Horizontal scroll of the whole page in logs (Azat Khuzhin)
  • efe1333: Fix typo (Azat Khuzhin)
  • 3c4fe2e: Add multi selection (Azat Khuzhin)
  • 21f18e3: Support actions for multiple queries (Azat Khuzhin)
  • bbb6a1d: Logs/views/flamegraphs/processors for multiple queries (Azat Khuzhin)
  • 8fb853b: Introduce ProcessesView::get_selected_query() (to reduce boilerplate code) (Azat Khuzhin)
  • 2277982: Remove magic const in rendering system.text_log (it is flush_interval_milliseconds) (Azat Khuzhin)
  • b95f4b4: Implement on_submit for QueryResultView (Azat Khuzhin)
  • a200eea: Add ability to specify additional settings for QueryResultView (Azat Khuzhin)
  • b95d3d8: Make query_result_view::Row fully public (Azat Khuzhin)
  • c8c7848: Do not show private columns (starts with "_") in QueryResultView (Azat Khuzhin)
  • c4e9ac4: Allow arbitrary number of whitespaces in QueryResultView column expressions (Azat Khuzhin)
  • f6165ce: Show full error trace on submit action (Azat Khuzhin)
  • d1c069a: Merge branch 'query-result-view-on-submit' -- show error trace in system.errors (Azat Khuzhin)
  • 523ca8a: Add support for Float32 type (Azat Khuzhin)
  • 6031254: Simplify comparsion of items for QueryResultView (Azat Khuzhin)
  • 0b53c1a: Add system.dictionaries support (Azat Khuzhin)
  • 194f422: Use termion buffered backend to avoid dependency from cursive (Azat Khuzhin)
  • 82c425d: Build static binary with musl libc for releases (Azat Khuzhin)
  • 012d50d: Merge branch 'static' -- fully static binaries without any dependencies (Azat Khuzhin)
  • 05ff074: Fix printing backtrace on panic (Azat Khuzhin)
  • ecdadbe: Remove outdated todo (Azat Khuzhin)
  • fd58c78: Fix preserving selected item for QueryResultView (all except queries list) (Azat Khuzhin)
  • f06dd24: Change the way focus works in tables - allow to stick to the top (Azat Khuzhin)
  • 0ebe627: Improve makefile (Azat Khuzhin)
  • 4b3f60c: Add a link to aur package for archlinux (Azat Khuzhin)
  • 4b2c5fa: Change colors for summary from Red to Cyan (red is reserved for critical things) (Azat Khuzhin)
  • 34f3dd2: Extend summary view (fetches and replication queue info) (Azat Khuzhin)
  • f23fad2: Fix typo in README (Azat Khuzhin)
  • c89b6a8: Fix preserving focus (Azat Khuzhin)
  • 3a64918: Run cargo update to fix dependencies after version bump (Azat Khuzhin)
  • 0efdfa0: v0.4.0 release (Azat Khuzhin)