Skip to content

Releases: duckcode-ai/dql

v1.6.0 — graduated trust + Tier-2 promotion loop

01 May 21:55
238df4e

Choose a tag to compare

First release with the Tier-2 promotion loop landed. Pairs with datalex-cli v1.10.0 for end-to-end graduated-trust analytics.

Highlights

  • Phase 2.1 — `datalex_contract` end-to-end. Compile-time enforcement that refuses certified blocks whose contract ref doesn't resolve in the loaded DataLex manifest. Both at `dql compile` and at `dql mcp query_via_block` serve time.
  • Phase 2.4 — Column-level lineage via `node-sql-parser`. Every output column traces to its source dbt model column.
  • Phase 2.5 — MCP integration tests across all 9 tools (21 cases, 0 → 26).
  • Phase 2.6 — Graduated trust + Tier-2 promotion loop. New `query_via_metadata` MCP tool + auto-saved drafts + `dql certify --from-draft` CLI to close the loop.
  • Phase 3.1 — `@duckcodeailabs/datalex-lsp` v0.2.0 — schema-aware language server for DataLex YAML files.
  • Phase 3.2 — OpenLineage emission. `emitProjectSnapshot()` hydrates Marquez / DataHub / Atlan / Monte Carlo with the full lineage graph in one snapshot call.
  • Phase 3.3 — Public docs site at https://duckcode-ai.github.io/dql/ + the new graduated-trust architecture page.
  • Phase 3.4 — `SUPPORT.md` + RFC template + community foothold.

Install

```bash
npm install -g @duckcodeailabs/dql-cli@1.6.0
dql --version
```

Full diff

main...v1.6.0

DQL 1.5.3

30 Apr 17:47

Choose a tag to compare

OSS release candidate polish for the dbt-first DQL workflow.\n\nHighlights:\n- Adds the dbt-first Block Studio flow with separate SQL and Semantic builders.\n- Moves SQL import into a cleaner Block Studio wizard and documents the flow.\n- Updates Apps and project docs around View/Build, notebooks, AI pins, and local-first OSS structure.\n- Fixes standalone preview for single_value/KPI blocks and @rls-decorated block previews.\n- Publishes npm packages at 1.5.3, including @duckcodeailabs/dql-cli and create-dql-app.