Releases: digital-science/dimcli
Releases · digital-science/dimcli
Release list
v1.8
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 returningNoneon 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 raiserequests.exceptions.HTTPError(PR #96, thanks @edsu) query_iterative()gained aretryargument to retry individual paginated requests on transient errors, propagated correctly across recursive pagination calls- Guarded against a
TypeErrorinquery_iterative()when the API response is missingtotal_count - Added explicit dependency:
jinja2>=3.1.2, required by pandas'.styleaccessor foras_dataframe(links=True); older jinja2 versions caused anAttributeError: The '.style' accessor requires jinja2
v 1.7
v 1.7
- Added DSL grammar for DSL V2.14
- New
-q / --queryoption 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 dfrenders a formatted ASCII grid table in the terminal (requirestabulate)--niceflattens nested structures into readable strings (mirrors%%dsldf --nicein Jupyter)--htmlrenders results as an HTML table with Dimensions hyperlinks (mirrors%%dsldf --links; only applies with-f df)
- Results default to JSON; use
- CLI session caching: API token is saved to
~/.dimensions/session.jsonand reused for up to 1 hour, avoiding repeated authentication on consecutive-qcalls - Added new dependency:
tabulate>=0.8.9 - Removed
-w / --websearchCLI option - Added PoC
SKILLfor Claude
v 1.6
v 1.6
- New
/gbqcommand 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_analyticsdataset - 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/settingsfile - Added optional dependency:
google-cloud-bigquery>=3.0.0
Version 1.5
- Added DSL grammar for DSL V2.13
- Updated CLI special commands. Now starting with
/instead of.
Version 1.4
v 1.4
- Fix CLI history bug
- Added DSL grammar for DSL V2.10
v1.3
- Function
extract_affiliationsreturn an extra column with the input string (for unstructured data only) - see also https://docs.dimensions.ai/dsl/functions.html#function-extract-affiliations
v1.2
- Updated DSL grammar for DSL V2.8
- New utility function: utils.explode_nested_repeated_field
v1.1
Improve query_iterative so to included warning messages linked to specific iterations.
v1.0.2
Update grammar so to be compatible with DSL 2.6.0