|
1 |
| -# dbt-utils v0.6.0 (unreleased) |
| 1 | +# dbt-utils v0.6.0 |
2 | 2 |
|
3 | 3 | ## Breaking changes
|
4 | 4 | - :rotating_light: dbt v0.18.0 or greater is required for this release. If you are not ready to upgrade, consider using a previous release of this package
|
5 | 5 | - :rotating_light: The `get_tables_by_prefix`, `union_tables` and `get_tables_by_pattern` macros have been removed
|
6 | 6 |
|
7 | 7 | ## Migration instructions
|
8 | 8 | - Upgrade your dbt project to v0.18.0 using [these instructions](https://discourse.getdbt.com/t/prerelease-v0-18-0-marian-anderson/1545).
|
9 |
| -- Upgrade your `dbt_project.yml` file to use version `0.7.0`. Run `dbt clean` and `dbt deps`. |
| 9 | +- Upgrade your `packages.yml` file to use version `0.6.0` of this package. Run `dbt clean` and `dbt deps`. |
10 | 10 | - If your project uses the `get_tables_by_prefix` macro, replace it with `get_relations_by_prefix`. All arguments have retained the same name.
|
11 | 11 | - If your project uses the `union_tables` macro, replace it with `union_relations`. While the order of arguments has stayed consistent, the `tables` argument has been renamed to `relations`. Further, the default value for the `source_column_name` argument has changed from `'_dbt_source_table'` to `'_dbt_source_relation'` — you may want to explicitly define this argument to avoid breaking changes.
|
12 | 12 |
|
|
26 | 26 | ```
|
27 | 27 | - If your project uses the `get_tables_by_pattern` macro, replace it with `get_tables_by_pattern_sql` — all arguments are consistent.
|
28 | 28 |
|
29 |
| -## Fixes |
30 |
| - |
31 | 29 | ## Features
|
32 | 30 |
|
33 | 31 | * Switch usage of `adapter_macro` to `adapter.dispatch`, and define `dbt_utils_dispatch_list`,
|
34 | 32 | enabling users of community-supported database plugins to add or override macro implementations
|
35 |
| -specific to their database (#267) |
| 33 | +specific to their database ([#267](https://github.com/fishtown-analytics/dbt-utils/pull/267)) |
36 | 34 | * Use `add_ephemeral_prefix` instead of hard-coding a string literal, to support
|
37 |
| -database adapters that use different prefixes (#267) |
| 35 | +database adapters that use different prefixes ([#267](https://github.com/fishtown-analytics/dbt-utils/pull/267)) |
| 36 | +* Implement a quote_columns argument in the unique_combination_of_columns schema test ([#270](https://github.com/fishtown-analytics/dbt-utils/pull/270) [@JoshuaHuntley](https://github.com/JoshuaHuntley)) |
38 | 37 |
|
39 | 38 | ## Quality of life
|
40 |
| -* Remove deprecated macros `get_tables_by_prefix` and `union_tables` (#268) |
41 |
| -* Remove `get_tables_by_pattern` macro, which is equivalent to the `get_tables_by_pattern_sql` macro (the latter has a more logical name) |
| 39 | +* Remove deprecated macros `get_tables_by_prefix` and `union_tables` ([#268](https://github.com/fishtown-analytics/dbt-utils/pull/268)) |
| 40 | +* Remove `get_tables_by_pattern` macro, which is equivalent to the `get_tables_by_pattern_sql` macro (the latter has a more logical name) ([#268](https://github.com/fishtown-analytics/dbt-utils/pull/268)) |
42 | 41 |
|
43 | 42 | # dbt-utils v0.5.1
|
44 | 43 |
|
45 |
| -## Fixes |
46 |
| - |
47 |
| -## Features |
48 |
| - |
49 | 44 | ## Quality of life
|
50 |
| -* Improve release process, and fix tests (#251) |
51 |
| -* Make deprecation warnings more useful (#258 @tayloramurphy) |
52 |
| -* Upgrade unique_combination_of_columns.sql macro to respect the quote_columns=TRUE flag as a test argument |
| 45 | +* Improve release process, and fix tests ([#251](https://github.com/fishtown-analytics/dbt-utils/pull/251)) |
| 46 | +* Make deprecation warnings more useful ([#258](https://github.com/fishtown-analytics/dbt-utils/pull/258) [@tayloramurphy](https://github.com/tayloramurphy)) |
0 commit comments