Skip to content

Releases: IamShobe/cruncher

v2.4.2

Choose a tag to compare

@github-actions github-actions released this 20 Mar 12:44
126de6e

Patch Changes

  • 6a0061f Thanks @IamShobe! - Fix pipeline execution and row count accuracy: use uuidv7 for sortable row IDs, compute row count from actual pipeline results, defer parquet writes for immediate availability, and fix histogram to use pipeline result path.

v2.4.1

Choose a tag to compare

@github-actions github-actions released this 14 Mar 23:08
45ee1a3

Patch Changes

  • #40 0d1de8c Thanks @yarinba! - Fix Ctrl+Space autocomplete so it stays open while typing and can be triggered mid-word. Previously, opening autocomplete with Ctrl+Space would close as soon as you typed a character, and pressing Ctrl+Space after partially typing a word (e.g. "app_c") showed no suggestions. Now the completer remains open, filtering results with fuzzy matching as you type, and closes naturally on space, newline, Escape, or accepting a completion.

v2.4.0

Choose a tag to compare

@github-actions github-actions released this 14 Mar 21:14
4b5f7ce

Minor Changes

  • #41 73a494e Thanks @IamShobe! - Engine revamped with disk-composed queries: the server process is now a standalone package (cruncher-server) with shared types in @cruncher/server-shared, enabling better separation of concerns and disk-based query composition.

Patch Changes

  • Updated dependencies [73a494e]:
    • @cruncher/qql@0.4.5
    • @cruncher/adapter-utils@0.5.2
    • @cruncher/server-shared@0.1.1

v2.3.0

Choose a tag to compare

@github-actions github-actions released this 13 Mar 14:58
8b9488a

Minor Changes

  • #37 00f8b43 Thanks @IamShobe! - Autocomplete now uses fuzzy matching — suggestions appear even when you type non-contiguous characters, with matched characters highlighted in the dropdown. The token hint tooltip arrow now automatically flips direction when the card appears above the cursor (near the top of the viewport).

  • #39 333577b Thanks @IamShobe! - Fix live mode scroll anchor movement when expanded log details are visible. TanStack Virtual's item size cache is now keyed by log ID instead of index, so measurements survive prepends without ResizeObserver corrections causing visible jumps.

    Add a "Scroll to top" button that appears in the top-right corner of the log view when scrolled down.

Patch Changes

  • #39 333577b Thanks @IamShobe! - Fix sticky row header overlap when scrolling through expanded log details. Open log headers now correctly pin to the top of the viewport while their details are visible, and scroll away cleanly once the section leaves view.

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 10 Mar 22:17
dbfe5b9

Minor Changes

  • d3912fe Thanks @IamShobe! - Add customizable keybindings settings (Settings → Keybindings).

    Users can now override any keyboard shortcut directly from the UI. Click a key badge to record a new combo, choose whether to save it to the local config (cruncher.config.local.yaml) or the shared global config, and see a source badge (Local / Global) next to any overridden binding. The × icon resets individual overrides; Reset All clears every override at once. Overrides take effect immediately across all shortcut handlers and tooltips — no restart required.

Patch Changes

  • d3912fe Thanks @IamShobe! - Fix autocomplete dropdown positioning in the query editor.

    Replace the manual fixed-position calculation with @floating-ui/react, resolving two bugs: the dropdown drifted when the textarea was scrolled horizontally, and Ctrl+Space before typing placed it at the wrong position. The dropdown now also flips above the caret near the bottom of the viewport and shifts horizontally near the edges to stay in view.

  • d3912fe Thanks @IamShobe! - Performance improvements to the query editor and TypeScript build.

    • Ghost text (autocomplete preview) updates are now deferred with useDeferredValue so ArrowUp/ArrowDown through suggestions feels instant while the expensive text-highlight recalculation runs at lower priority.
    • Replaced manual setTimeout/clearTimeout patterns with useDebouncer and useTimeoutFn from @tanstack/react-pacer and react-use for cleaner lifecycle management.
    • Removed an unused RefAttributes intersection on IconButtonProps that caused TypeScript to perform 5.6 M type instantiations and consume 4.76 GB of memory, cutting typecheck time from ~43 s to ~8 s and eliminating OOM failures at the default Node.js heap size.
  • Updated dependencies [069e9dd]:

    • @cruncher/qql@0.4.4
    • @cruncher/adapter-coralogix@0.3.6
    • @cruncher/adapter-datadog@0.2.3
    • @cruncher/adapter-docker@0.3.6
    • @cruncher/adapter-grafana-loki-browser@0.3.6
    • @cruncher/adapter-k8s@0.2.5
    • @cruncher/adapter-loki@0.2.6
    • @cruncher/adapter-mock@0.5.1
    • @cruncher/adapter-utils@0.5.1

v2.1.3

Choose a tag to compare

@github-actions github-actions released this 09 Mar 23:46
5e3b76e

Patch Changes

  • Updated dependencies [127cf8d, 127cf8d, 9ca2116]:
    • @cruncher/adapter-datadog@0.2.2
    • @cruncher/qql@0.4.3
    • @cruncher/adapter-utils@0.5.0
    • @cruncher/adapter-mock@0.5.0
    • @cruncher/adapter-coralogix@0.3.5
    • @cruncher/adapter-docker@0.3.5
    • @cruncher/adapter-grafana-loki-browser@0.3.5
    • @cruncher/adapter-k8s@0.2.4
    • @cruncher/adapter-loki@0.2.5

v2.1.2

Choose a tag to compare

@github-actions github-actions released this 09 Mar 20:15
6da984b
  • Datadog adapter bug fixes
  • Some engine bug fixes

v2.1.1

Choose a tag to compare

@github-actions github-actions released this 09 Mar 01:32
6136e70

Datadog Adapter

Cruncher now supports Datadog as a log source.

Authentication

Connects via your existing browser session — no API keys or tokens needed. An auth window opens once, captures your Datadog session cookies and CSRF token, and reuses them for all subsequent queries.

Querying

Write queries in QQL just like any other adapter. The query is translated to Datadog's Lucene syntax automatically:

  • Free-text terms go to the search.query field
  • index="main" routes to the indexes payload array
  • All other key-value filters (e.g. status="error") are serialized as Lucene field matchers

Autocomplete

The adapter pre-fetches two types of suggestions when you select a Datadog profile:

  • Facet names — pulled from /api/ui/event-platform/logs/facets, so typing @ or any field name shows all configured facets
  • Facet values — for facets with known enum values (e.g. status) they come directly from the facets response; for dynamic facets (e.g. kube_namespace, host) the adapter queries the last 15 minutes of logs and surfaces the top 10 most frequent values

Configuration

Add a Datadog profile to your cruncher.config.yaml:

connectors:
  - name: datadog
    type: datadog
    site: datadoghq.com   # or datadoghq.eu, us3.datadoghq.com, etc.
    indexes:              # default indexes to search (optional)
      - "*"
    query_prefix: ""      # prepend a fixed Lucene filter to every query (optional)

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 08 Mar 02:33
d336706

What's New

Live Mode

Stream logs in real-time with the new LIVE button in the header. Cruncher polls for new data at a configurable interval, merges it with existing results, re-runs the pipeline, and highlights new rows with a teal flash animation. Live mode auto-stops after 30 minutes (configurable) and disables automatically when you run a new manual query.

Timezone Support

Switch between local and UTC timestamp display from the settings drawer. The selected timezone is persisted to the config file and applied across all log rows and detail views.

Settings Drawer

New controls for live interval (1s/3s/5s/10s), max logs, auto-stop duration, and timezone — all persisted to the config file.

Editor Idle Hints

Toggleable hints in the query editor, persisted to localStorage.

Fixes & Improvements

  • Stable row UUIDs replace index-based tracking so expand/collapse state survives live updates
  • Config loading now returns an ok/error result instead of throwing on invalid config
  • Updated docs: live mode guide, keyboard shortcuts, UI guide, config file reference

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 08 Mar 00:15

What's New in v2.0.0

🔄 QQL Engine — Complete Rewrite (ANTLR4)

The QQL parser has been fully rewritten from Chevrotain to ANTLR4, delivering a more robust and extensible query engine.

  • Comments support — use # to comment out parts of your query
  • Major language enhancements — improved grammar coverage and edge case handling
  • Smarter autocomplete — context-aware suggestions with accurate cursor positioning (fixed NaN ranges and stale suggestion bugs)
  • Better syntax highlighting — highlight engine rebuilt alongside the parser

🐛 Bug Fixes

  • Fixed isNumeric regex incorrectly classifying strings like 123a456 as numeric
  • Fixed autocomplete remove() silently deleting unrelated suggestions
  • Fixed autocomplete suggestions appearing at wrong positions at EOF

📦 Package Versions

Package Version
@cruncher/qql 0.4.0
@cruncher/adapter-coralogix 0.3.2
@cruncher/adapter-docker 0.3.2
@cruncher/adapter-grafana-loki-browser 0.3.2
@cruncher/adapter-k8s 0.2.1
@cruncher/adapter-loki 0.2.2
@cruncher/adapter-mock 0.3.2
@cruncher/adapter-utils 0.3.2