Skip to content

Releases: digital-science/dimcli

v1.8

Choose a tag to compare

@lambdamusic lambdamusic released this 10 Jul 08:41
3a12983

v 1.8

  • Added DSL grammar for DSL V2.15
  • Fixed query_iterative() raising a spurious "not a valid source" exception when a full-text search phrase contains the word "return" (DIMENTRY-9906)
  • Fixed query() silently returning None on unexpected HTTP 2XX responses (e.g. empty-bodied 202s occasionally returned by the API), which could crash calling code with an unhelpful error; these now raise requests.exceptions.HTTPError (PR #96, thanks @edsu)
  • query_iterative() gained a retry argument to retry individual paginated requests on transient errors, propagated correctly across recursive pagination calls
  • Guarded against a TypeError in query_iterative() when the API response is missing total_count
  • Added explicit dependency: jinja2>=3.1.2, required by pandas' .style accessor for as_dataframe(links=True); older jinja2 versions caused an AttributeError: The '.style' accessor requires jinja2

v 1.7

Choose a tag to compare

@lambdamusic lambdamusic released this 27 Mar 13:14

v 1.7

  • Added DSL grammar for DSL V2.14
  • New -q / --query option to run a DSL query directly from the command line without entering the interactive REPL
    • Results default to JSON; use -f / --format [json|csv|df] to change output format
    • -f df renders a formatted ASCII grid table in the terminal (requires tabulate)
    • --nice flattens nested structures into readable strings (mirrors %%dsldf --nice in Jupyter)
    • --html renders results as an HTML table with Dimensions hyperlinks (mirrors %%dsldf --links; only applies with -f df)
  • CLI session caching: API token is saved to ~/.dimensions/session.json and reused for up to 1 hour, avoiding repeated authentication on consecutive -q calls
  • Added new dependency: tabulate>=0.8.9
  • Removed -w / --websearch CLI option
  • Added PoC SKILL for Claude

v 1.6

Choose a tag to compare

@lambdamusic lambdamusic released this 16 Jan 18:04
dee6974

v 1.6

  • New /gbq command for BigQuery schema exploration
    • /gbq tables [keyword] - list tables in tabular format with name, last updated, and full path
    • /gbq fields [table] - list all fields in a specific table
    • /gbq fields "search" - search for fields containing string across all tables
    • /gbq fields [table] "search" - search for fields within a specific table
    • Defaults to dimensions-ai.data_analytics dataset
    • Auto-displays fields when exactly one table is found
    • Tabular output format for easy copy-paste into SQL queries
  • Added BigQuery configuration support in ~/.dimensions/settings file
  • Added optional dependency: google-cloud-bigquery>=3.0.0

Version 1.5

Choose a tag to compare

@lambdamusic lambdamusic released this 07 Jan 18:41
2533764
  • Added DSL grammar for DSL V2.13
  • Updated CLI special commands. Now starting with / instead of .

Version 1.4

Choose a tag to compare

@lambdamusic lambdamusic released this 30 Dec 17:49
9280a27

v 1.4

v1.3

Choose a tag to compare

@lambdamusic lambdamusic released this 21 Jun 12:28
a18836f

v1.2

Choose a tag to compare

@lambdamusic lambdamusic released this 12 Dec 10:40

v1.1

Choose a tag to compare

@lambdamusic lambdamusic released this 26 Jul 10:36

Improve query_iterative so to included warning messages linked to specific iterations.

v1.0.2

Choose a tag to compare

@lambdamusic lambdamusic released this 17 Feb 17:32

Update grammar so to be compatible with DSL 2.6.0

v0.9.9.1

Choose a tag to compare

@lambdamusic lambdamusic released this 18 Jul 17:49

v0.9.9.1

Minor release

  • New feature: verify_ssl option for login() method - see the documentation