Skip to content

v0.1.0

Choose a tag to compare

@ravi-databricks ravi-databricks released this 31 Aug 21:12
· 133 commits to main since this release
3093863

v0.1.0 — SDP-META (formerly DLT-META)

Install: pip install databricks-labs-sdp-meta==0.1.0
Existing users: pip install dlt-meta==0.1.0 still works via the compatibility redirect.

⚠️ Breaking Changes

  • Project rename dlt-meta → sdp-meta, aligned with the Lakeflow Spark Declarative Pipelines product naming. A backward-compatibility wrapper is published so existing installations keep working with a deprecation warning. Issue #254, PR #380

    What changed Before (v0.0.10) After (v0.1.0)
    PyPI package dlt-meta databricks-labs-sdp-meta
    CLI command databricks labs dlt-meta databricks labs sdp-meta
    Python import from dlt_meta import ... from databricks.labs.sdp_meta import ...
    Main class DLTMeta SDPMeta
    Source layout flat src/ src/databricks/labs/sdp_meta/
  • Lakeflow Spark Declarative Pipelines API migration: DLT decorators/APIs migrated to pyspark.pipelines. Update any references that import from dlt to use the new module. Issue #274

  • Renamed quarantine_table_name → quarantine_table in dataflow specs. Issue #243

Migration Guide

The legacy dlt-meta PyPI package is preserved as a thin compatibility shim that pulls in databricks-labs-sdp-meta and re-exports every public symbol with a DeprecationWarning. Legacy src.* imports from v0.0.10 also work via a sys.modules shim. Both shims will be removed in v0.2.0.

See docs/operations/migration for the step-by-step walkthrough.

Added

  • Declarative Automation Bundle (DAB) template: end-to-end DAB-based deployment path for CI/CD, multi-target environments, and agent-driven flows. New CLI commands: bundle-init (with --quickstart zero-prompt fast path), bundle-add-flow, bundle-prepare-wheel, bundle-validate. PR #299, PR #350
  • MCP Server support: optional MCP stdio server (databricks labs sdp-meta mcp) so MCP-capable clients (Claude Code, Cursor, Claude Desktop) can drive sdp-meta scaffolding and inspection. Install with pip install databricks-labs-sdp-meta[mcp]. PR #299
  • Automatic liquid clustering (cluster_by_auto): Databricks automatically determines optimal clustering columns for bronze and silver tables. Supported via bronze_cluster_by_auto, bronze_quarantine_table_cluster_by_auto, and silver_cluster_by_auto. Issue #238
  • End-to-end YAML support: YAML format now supported for onboarding files, DQE rules, silver transformations, and packaged demos — in addition to JSON. PR #299
  • Row filter support: new where_clause field in silver transformations for pipeline-time row filtering, plus UC ROW FILTER support on bronze/silver tables, including coverage for multi-source CDC flows. Issue #303, Issue #306
  • Multi-source AUTO CDC: multiple CDC sources can now feed into a single target via create_auto_cdc_flow. Issue #294
  • build-and-upload-whl flag for onboard / deploy: builds the local sdp-meta wheel, uploads it to a UC volume, and uses it for the onboarding job — no PyPI access required on the pipeline cluster. Issue #295
  • Windows PowerShell deploy script (scripts/deploy_app.ps1): native PowerShell port of scripts/deploy_app.sh using robocopy and the databricks CLI only — no Git Bash / WSL / Python required. See WINDOWS_DEPLOY.md.
  • Apps UI + Git folder deploy guide (databricks_app/UI_GIT_DEPLOY.md): click-only deploy path — create a Databricks Git folder pointing at this repo, aim the App at databricks_app/, no local CLI required.
  • Repo-wide line-ending policy (.gitattributes): prevents the bad interpreter: /bin/bash\r App-container crash across all tooling paths.
  • Databricks App refactor: monolithic app.py split into routes/ (8 blueprints) + services/onboarding/ helpers; input validation hardened; new UC preflight probe surfaces required GRANT SQL before demos. Issue #248
  • Docs migrated from Hugo to Docusaurus 3: 34 pages across 6 sections (Getting Started, Concepts, Reference, Guides, Operations, Contributing) with Databricks-branded CSS. Issue #315
  • Added interactive notebook-based demo and LFC (Lakeflow Connect) Python demo. Issue #172

Changed

  • Renamed "Lakeflow Declarative Pipelines" → "Lakeflow Spark Declarative Pipelines" throughout. Issue #285, PR #350
  • Updated Databricks Asset Bundle → Declarative Automation Bundle terminology in demos and docs.
  • Switched demo paths from DBFS to UC Volumes.

Fixed

  • Git portability: renamed DAB template filenames containing literal " characters (Go text/template comparisons) to backtick literals. Fixes error: invalid path on all systems with core.protectNTFS=true (default since Git 2.22).
  • Security: replaced unsafe eval() on uc_enabled widget with a strict parser; UC identifier validation added across CLI and demos. PR #260
  • Security and correctness hardening from the post-release review: MCP filesystem sandbox, App XSS escaping, row-filter SQL validation, typed dataflowIds predicates, SCD2 __START_AT/__END_AT schema handling. PR #350
  • Performance: O(N+M) schema modification for wide tables in CDC flows (was O(N×M)). Issue #284
  • Fixed cross-platform file URI handling in CLI. Issue #251
  • Fixed snapshot-based SCD processing (apply_changes_from_snapshot with snapshot_format: "delta"); renamed demo tables to sdp_meta. Issue #266
  • Fixed integration test UC volume path construction.
  • Removed orphaned enhanced-CLI subsystem; fixed flake8 lint errors.

Backward Compatibility

  • pip install dlt-meta continues to work — it now pulls in databricks-labs-sdp-meta as a dependency. Issue #289
  • from dlt_meta import ... and import src.* continue to work with DeprecationWarning. Both shims are scheduled for removal in v0.2.0.
  • Legacy config key dlt_meta_schema is still read (with a logged warning); prefer sdp_meta_schema.

Full Changelog: v0.0.10...v0.1.0