Skip to content

Releases: dbt-labs/dbt-codegen

0.13.0

03 Dec 17:52
f5ec206
Compare
Choose a tag to compare

What's Changed

Features

  • Read upstream descriptions from sources by @esegal in #154
  • Parameters in generate_source for case-sensitive identifiers by @pnadolny13 in #168

Fixes

  • Escape upstream descriptions in generate_model_yaml by @wircho in #159
  • Fix quoted identifiers in the generate_base_model macro for BigQuery by @dbeatty10 in #199

Docs

Under the hood

  • Restore CI test for case-sensitive identifiers when generating sources by @dbeatty10 in #192
  • Remove Redshift-specific logic for toggling case-sensitive identifiers by @dbeatty10 in #208
  • Use the cimg/postgres Docker image by @dbeatty10 in #214
  • Independent CircleCI workflow job for each tested adapter by @dbeatty10 in #215
  • Simplify environment variables for BigQuery in CircleCI by @dbeatty10 in #216
  • Stop installing prereleases from PyPI in favor of stable releases only by @dbeatty10 in #220
  • Upgrade to Python 3.11 in CircleCI by @dbeatty10 in #222
  • Use dynamic schema names rather than hardcoded ones by @dbeatty10 in #224
  • Add support for postgres testing in GitHub CI via tox by @emmyoop by @emmyoop in #181
  • Add support for snowflake testing in GitHub CI via tox by @emmyoop in #198
  • Add support for redshift testing in GitHub CI via tox by @emmyoop in #204
  • Add support for bigquery testing in GitHub CI via tox by @emmyoop in #203

New Contributors

Full Changelog: 0.12.1...0.13.0

v0.13.0-b1 Beta Release

04 Jun 16:59
171343d
Compare
Choose a tag to compare
Pre-release

This release adds case sensitivity to the generate_source macro, including database and schema configurations.

Importantly, this is being released as a beta as we are unable to test this functionality across all adapters, due to constraints in how dbt Core handles seeds. When those are resolved or we feel confident that any issues have been ironed out in the beta release, we'll cut a regular release of v0.13.0.

0.12.1

07 Dec 02:10
62516fd
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.12.0...0.12.1

0.12.0

27 Nov 01:14
e8b5a02
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.11.0...0.12.0

0.11.0

26 Sep 00:39
af12570
Compare
Choose a tag to compare

What's Changed

  • GitHub Action to add/remove triage labels as-needed by @dbeatty10 in #133
  • GitHub Action to close issues as stale as-needed by @dbeatty10 in #134
  • Update README.md by @cohms in #129
  • Remove hard-coded values for database and schema by @dbeatty10 in #139
  • Instructions for the release process by @dbeatty10 in #137
  • Add include_data_types argument to generate_model_yaml macro by @linbug in #122

New Contributors

Full Changelog: 0.10.0...v0.10.0

0.10.0

29 Jun 02:34
2012ee8
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.9.0...0.10.0

0.9.0

28 Nov 22:23
8e42e2c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.8.1...0.9.0

0.8.1

06 Oct 08:47
2f13a51
Compare
Choose a tag to compare

What's Changed

  • A new macro – codegen.generate_model_import_ctes() – to kickstart the refactoring of legacy models to dbt best practices by @graciegoheen and the dbt Labs professional services team in #74

Full Changelog: 0.8.0...0.8.1

0.8.0

12 Sep 00:54
c00701b
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.7.0...0.8.0

0.7.0

23 Jun 14:15
81eb311
Compare
Choose a tag to compare

dbt-codegen v0.7.0

🚨 Breaking change

  • Add support for including description placeholders for the source and table, which changes the behavior of generate_source when include_descriptions is set to True. Previous logic only created description placeholders for the columns (#64, #66)

New features

  • Add optional table_names arg to generate_source (#50, #51)
  • Add support for importing descriptions from columns with the same names in upstream models. It is available by setting the parameter upstream_descriptions to True in generate_model_yaml (#61)
  • Added case_sensitive_cols argument to generate_base_model macro (#63)
  • Add optional name arg to generate_source (#64, #66)

Fixes

  • generate_model_yaml now correctly handles nested (STRUCT) fields in BigQuery (#27, #54)

Contributors: