Release 0.3.0
Release v0.3.0
New Features
dbt Integration
Comprehensive dbt integration for scalable profiling and drift detection within dbt workflows.
Component 1: dbt Refs/Selectors in Baselinr Configs
- Use dbt model references (
dbt_ref) directly in baselinr table patterns - Support for dbt selectors (e.g.,
tag:critical,config.materialized:table) - Leverage dbt tags for scalable table selection
- Automatic resolution of dbt models to database tables via manifest parsing
Database Configuration Support
- Specify database at the table pattern level
- Override the default database from
source.databaseper pattern - Enables multi-database profiling in a single configuration
Example:
profiling:
tables:
- database: analytics_db
schema: public
pattern: "users_*"
- database: staging_db
schema: public
table: events## Improvements
- Enhanced dbt manifest parsing to check both
node.tagsandnode.config.tagsfor tag resolution - Improved dbt selector resolution with support for multiple tag locations
- Added local testing scripts for dbt integration (bash and PowerShell)
- Added test script for debugging with existing
manifest.jsonfiles
Bug Fixes
- Fixed dbt integration CI workflow to correctly install baselinr package
- Fixed GitHub Actions workflow syntax (
always()function) - Fixed dbt tag resolution to check both top-level tags and config tags
- Added proper permissions block to dbt-integration workflow
Documentation
- Added comprehensive dbt Integration Guide
- Added dbt package README with usage examples
- Added local testing documentation for dbt integration
- Updated development guide with dbt integration information
Related
- Full changelog: v0.2.0...v0.3.0
- dbt Integration PR: #35
- Database Configuration PR: #34
Upgrade:
pip install --upgrade "baselinr[dbt]>=0.3.0"