diff --git a/CHANGELOG.md b/CHANGELOG.md index 7282270c..3a0cf05e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,13 @@ ## Contributors: ---> +# 0.9.6 +## Fixes +- Fix to utilize dbt Core version of `escape_single_quotes` instead of version from dbt Utils ([[#689](https://github.com/dbt-labs/dbt-utils/issues/689)], [#692](https://github.com/dbt-labs/dbt-utils/pull/692)) + +## Contributors: +- [@zachoj10](https://github.com/zachoj10) (#692) + # 0.9.5 ## Fixes - Stop showing cross-db deprecation warnings for macros who have already been migrated ([#725](https://github.com/dbt-labs/dbt-utils/pull/725)) diff --git a/LICENSE b/LICENSE index 261eeb9e..d807259a 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright 2022 dbt Labs, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index 906c1760..f3ce6319 100644 --- a/README.md +++ b/README.md @@ -1477,7 +1477,7 @@ A useful workaround is to change the above post-hook to: ### Reporting bugs and contributing code - Want to report a bug or request a feature? Let us know in the `#package-ecosystem` channel on [Slack](http://community.getdbt.com/), or open [an issue](https://github.com/dbt-labs/dbt-utils/issues/new) -- Want to help us build dbt-utils? Check out the [Contributing Guide](https://github.com/dbt-utils/dbt-core/blob/HEAD/CONTRIBUTING.md) +- Want to help us build dbt-utils? Check out the [Contributing Guide](https://github.com/dbt-labs/dbt-utils/blob/main/CONTRIBUTING.md) - **TL;DR** Open a Pull Request with 1) your changes, 2) updated documentation for the `README.md` file, and 3) a working integration test. ---- diff --git a/macros/generic_tests/mutually_exclusive_ranges.sql b/macros/generic_tests/mutually_exclusive_ranges.sql index b7545981..041788dd 100644 --- a/macros/generic_tests/mutually_exclusive_ranges.sql +++ b/macros/generic_tests/mutually_exclusive_ranges.sql @@ -56,7 +56,7 @@ with window_functions as ( calc as ( -- We want to return records where one of our assumptions fails, so we'll use - -- the `not` function with `and` statements so we can write our assumptions nore cleanly + -- the `not` function with `and` statements so we can write our assumptions more cleanly select *, diff --git a/macros/sql/pivot.sql b/macros/sql/pivot.sql index 88751062..4233ba9d 100644 --- a/macros/sql/pivot.sql +++ b/macros/sql/pivot.sql @@ -69,7 +69,7 @@ Arguments: {{ agg }}( {% if distinct %} distinct {% endif %} case - when {{ column }} {{ cmp }} '{{ dbt_utils.escape_single_quotes(value) }}' + when {{ column }} {{ cmp }} '{{ escape_single_quotes(value) }}' then {{ then_value }} else {{ else_value }} end