diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b63af45..16e296f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,33 +1,50 @@ - -# Unreleased -## New features -- The `equality` test now accepts an additional argument, `precision` to aide in comparing floating point numbers ([#757](https://github.com/dbt-labs/dbt-utils/issues/757), [#765](https://github.com/dbt-labs/dbt-utils/pull/765)) -- Add option to ignore columns in equality test ([#734](https://github.com/dbt-labs/dbt-utils/issues/734), [#737](https://github.com/dbt-labs/dbt-utils/pull/737)) -## Fixes -- deduplicate macro for Databricks now uses the QUALIFY clause, which fixes NULL columns issues from the default natural join logic -- deduplicate macro for Redshift now uses the QUALIFY clause, which fixes NULL columns issues from the default natural join logic -- Equality test will now raise an error when the second model has less columns than the first ([#785](https://github.com/dbt-labs/dbt-utils/issues/785)) -- get_tables_by_pattern_sql will now: - - return redshift external tables ([#752](https://github.com/dbt-labs/dbt-utils/issues/752) - - work with valid redshift database names that contain dashes -## Under the hood -- created a new dispatch redshift__get_tables_by_pattern which unions the result of the default macro and querying svv_external_tables for the same conditions (schema name, pattern, exclude pattern). +**Full Changelog**: https://github.com/dbt-labs/dbt-utils/compare/1.2.0...main -## Contributors: -- [@graciegoheen](https://github.com/graciegoheen) -- [@yauhen-sobaleu](https://github.com/yauhen-sobaleu) -- [@rlh1994](https://github.com/rlh1994) -- [@brunocostalopes](https://github.com/brunocostalopes) -[@brendan-cook-87](https://github.com/brendan-cook-87) +# dbt utils v1.2.0 + +## What's Changed + +### New features +- Add option to ignore columns in equality test by @brunocostalopes in https://github.com/dbt-labs/dbt-utils/pull/765 +- The `equality` test now accepts an additional argument, `precision` to aide in comparing floating point numbers by @rlh1994 in https://github.com/dbt-labs/dbt-utils/pull/765 + +### Fixes + +* `deduplicate` macro for Databricks now uses the `QUALIFY` clause, which fixes `NULL` columns issues from the default natural join logic by @graciegoheen in https://github.com/dbt-labs/dbt-utils/pull/786 +* Use QUALIFY clause in `deduplicate` macro for Redshift by @yauhen-sobaleu in https://github.com/dbt-labs/dbt-utils/pull/811 +* get redshift external tables by @brendan-cook-87 in https://github.com/dbt-labs/dbt-utils/pull/753 +* Equality test will now raise an error when the second model has less columns than the first by @rlh1994 in https://github.com/dbt-labs/dbt-utils/pull/765 + +### Documentation + +* Update documentation for `get_column_values()` to specify that the `order_by` argument must be expressed as an aggregate function by @bakerbryce in https://github.com/dbt-labs/dbt-utils/pull/872 +* Set the correct language identifier in code blocks within the documentation by @yamotech in https://github.com/dbt-labs/dbt-utils/pull/876 +* Fix typo of `not_null_proportion` in README.md by @PChambino in https://github.com/dbt-labs/dbt-utils/pull/853 +* Fix failing example for `dbt_utils.deduplicate()` in README.md by @pruoff in https://github.com/dbt-labs/dbt-utils/pull/856 +* Link to Haversine Distance article on Wikipedia by @dbeatty10 in https://github.com/dbt-labs/dbt-utils/pull/889 + +### Under the hood + +* GitHub Action to close issues as stale as-needed by @dbeatty10 in https://github.com/dbt-labs/dbt-utils/pull/813 +* GitHub Action to add/remove triage labels as-needed by @dbeatty10 in https://github.com/dbt-labs/dbt-utils/pull/812 +* Instructions for the release process by @dbeatty10 in https://github.com/dbt-labs/dbt-utils/pull/821 +* Update dev-requirements for new pip syntax by @gwenwindflower in https://github.com/dbt-labs/dbt-utils/pull/870 +* Disable auto-generation of table of contents (TOC) by @dbeatty10 in https://github.com/dbt-labs/dbt-utils/pull/887 +* Update tests: -> data_tests: by @graciegoheen in https://github.com/dbt-labs/dbt-utils/pull/893 + +## New Contributors +* @yauhen-sobaleu made their first contribution in https://github.com/dbt-labs/dbt-utils/pull/811 +* @brendan-cook-87 made their first contribution in https://github.com/dbt-labs/dbt-utils/pull/753 +* @gwenwindflower made their first contribution in https://github.com/dbt-labs/dbt-utils/pull/870 +* @brunocostalopes made their first contribution in https://github.com/dbt-labs/dbt-utils/pull/765 +* @rlh1994 made their first contribution in https://github.com/dbt-labs/dbt-utils/pull/765 +* @yamotech made their first contribution in https://github.com/dbt-labs/dbt-utils/pull/876 +* @PChambino made their first contribution in https://github.com/dbt-labs/dbt-utils/pull/853 +* @pruoff made their first contribution in https://github.com/dbt-labs/dbt-utils/pull/856 + +**Full Changelog**: https://github.com/dbt-labs/dbt-utils/compare/1.1.1...1.2.0 # dbt utils v1.1.1 ## New features