Skip to content

v1.0.0

Compare
Choose a tag to compare
@gouline gouline released this 25 Jan 09:59
· 54 commits to master since this release
ede4259

Major update with significant breaking changes, please check documentation and help! This migration was necessary to stabilize the codebase for a stable release and improved maintenance in the future.

What's Changed

  • Python 3.8 is now minimum
  • Reading dbt project now requires a manifest.json file (folder parsing no longer supported)
  • CLI flags renamed and hyphen-separated (e.g. --output-path instead of --output_path), check --help for details on all supported flags and defaults
  • Programmatic API simplified to a single DbtMetabase object
  • All options now consistently configurable via environment variables and configuration files
  • Filterable parameters, such as schemas and collections, allow includes and excludes (see Filter in programmatic API)
  • Rich logging only applied in CLI mode, programmatic invocation respects your application's logging
  • Many requested improvements to exposure extraction (#204)
  • Support relationship tests for disabled models (#219)

CLI Changes

Below is a complete list of renames (excluding new flags and environment variables).

v0.10 v1.0
--dbt_manifest_path --manifest-path
--dbt_path No longer supported, use --manifest-path instead
--dbt_database --include-databases
--dbt_schema --include-schemas
--dbt_schema_excludes --exclude-schemas
--dbt_includes --include-models
--dbt_excludes --exclude-models
--dbt_docs_url --docs-url
--dbt_include_tags --append-tags
--metabase_database, MB_DATABASE --metabase-database, METABASE_DATABASE
--metabase_host, MB_HOST --metabase-url, METABASE_URL (expects full URL, e.g. https://metabase.example.com)
--metabase_user, MB_USER --metabase-username, METABASE_USERNAME
--metabase_password, MB_PASSWORD --metabase-password, METABASE_PASSWORD
--metabase_session_id, MB_SESSION_ID --metabase-session-id, METABASE_SESSION_ID
--metabase_http, --metabase_https No longer supported, use http:// or https:// in --metabase-url
--metabase_http_timeout, MB_HTTP_TIMEOUT --http-timeout, HTTP_TIMEOUT
--metabase_verify --skip-verify (to skip verification), --cert (to pass certificate)
--metabase_sync_timeout --sync-timeout
--metabase_sync, --metabase_sync_skip No longer supported, use --sync-timeout 0 to disable sync
--metabase_exclude_sources --skip-sources
--http_extra_headers --http-header
--output_path --output-path
--output_name No longer supported, depends on --output-grouping
--include_personal_collections --allow-personal-collections
--collection_excludes --exclude-collections
--verbose --verbose

Full Changelog: v0.10.3...v1.0.0

PyPI: https://pypi.org/project/dbt-metabase/1.0.0/