Releases: palmetto/palm-dbt
Releases · palmetto/palm-dbt
Release 0.8.0
Added
- dbt version detection: palm can now detect the version of dbt used in a project
and will add the version to the plugin config. This can then be used to support
changes between dbt versions. - support for dbt's yaml selectors via the
--selector
option on relevant commands.
Changed
- Requires palm v2.6.0 or higher
- env vars are updated for projects running dbt v1.5.0 and later. This resolves
deprecation warnings for people using more recent versions of dbt.
Release 0.7.0
Added
palm test
now supports the--defer
option, making it easy to run the tests
for models you have changed in your current branch.
Changed
- All palm dbt commands have been updated to have a consistent interface with
palm run
. - Short options are added to many commands to improve usability.
Fixed
dbt seed
command uses the proper decorator to pass the env object.
Release 0.6.0
Added
palm seed
command for working with dbt seeds
Changed
dbt seed
runs with--full-refresh
by default inpalm run
and other places.- PR template updated to make contributing easier
palm snapshot
command now persists by default, similar topalm run
Release 0.5.0
Added
- Automated release to pypi via GH actions
- Support for containerizing dbt projects with dbt v1+
Fixed
- Validation of plugin config where prod manifest is not used
- Default dbt run options do not include stateful selection unless --defer is used.
- Support for Pyyaml v6 (removed upper version pin)
Release 0.4.0
Added
- Interactive column doc descriptions when generating a model-doc
- New dbt passthrough command. Running
palm dbt <command>
allows users to run
bespoke or complex dbt commands without having to usepalm shell
for all those
poweruser commands! - PluginConfig - the plugin is now configurable, currently this is used to store
the path for local and production assets, enabling another new feature.
note: this change requires palm v2.5.1 or higher - Added a no-op command for downloading artifacts.
note to use--defer
mode, you will need to override this function in your
repo and implement the necessary logic to download production artifacts from
your cloud provider.
Changed
-
run & test commands simplified and improved!
- Persist by default, no need to specify
--persist
on every run! - New
run defer
modes allow you to move more quickly, no need to explicitly select
the model you've been working on! - New
run iterative
mode allows you to iterate over failures in your models
quickly, without exiting and re-running the same command over-and-over. - Re-wrote some legacy code that made these operations more complicated than necessary.
- Persist by default, no need to specify
Fixed
- Update model-doc command to populate existing columns when a docs_path config is present
v0.3.1
Improvements:
- model-doc command: now supports advanced dbt project structures, parsese
the dbt_project and includes CLI prompts to ensure model doc is created in the
appropriate directory. - dbt test no longer runs seed: palm test no longer runs seeds before
executing tests. This was a strange decision and didn't really make any sense,
caused slower dev/test cycles and added no value.
v0.3.0
Features:
- model-doc: New command to auto-generate docs for a new model!
Palm can now generate .yml and .md files based on the SQL in your model,
to use palm model-doc runpalm model-doc models/path/to/model.sql
in your
dbt project!
v0.2.0
Features:
dbt deps: palm-dbt now assumes dbt deps are installed when the docker image is built. Projects containerized by palm-dbt will be set up with this functionality, other projects may need to adjust their Dockerfile to RUN dbt deps and implement the volume mount in their docker-compose.yaml. See README for full details.
Developer Improvement:
pin version of black: The version of black used to lint this project has been pinned to ensure the local version matches the version used in CI
v0.1.2
0.1.2
Features:
- Containerize: There is an explicit prompt to enter the dbt version number when containerizing a dbt project. Issue #34
Improvements:
- Bug Fixes: Removed profiles.yml reference in Dockerfile template. Palm-dbt detects profiles.yml automatically.
- General: Improved testing, documentation, CI, issue templates, and linting.