Skip to content

Releases: palmetto/palm-dbt

Release 0.8.0

20 Nov 15:45
27cf0be
Compare
Choose a tag to compare

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

13 Jun 19:56
eaa6953
Compare
Choose a tag to compare

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

02 Jun 15:08
d76bf51
Compare
Choose a tag to compare

Added

  • palm seed command for working with dbt seeds

Changed

  • dbt seed runs with --full-refresh by default in palm run and other places.
  • PR template updated to make contributing easier
  • palm snapshot command now persists by default, similar to palm run

Release 0.5.0

16 Mar 16:53
e6df9e3
Compare
Choose a tag to compare

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

09 Dec 19:24
caabf29
Compare
Choose a tag to compare

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 use palm 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.

Fixed

  • Update model-doc command to populate existing columns when a docs_path config is present

v0.3.1

21 Sep 21:14
Compare
Choose a tag to compare

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

10 May 17:15
a5c9f66
Compare
Choose a tag to compare

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 run palm model-doc models/path/to/model.sql in your
    dbt project!

v0.2.0

05 Jan 15:34
d3c2880
Compare
Choose a tag to compare

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

03 Dec 17:01
8ee9e47
Compare
Choose a tag to compare

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.

v0.1.1

02 Dec 18:28
021c50b
Compare
Choose a tag to compare

Bug Fix: Type hints were causing containerize to fail in python 3.8 and below. Issue #30