diff --git a/CHANGELOG.md b/CHANGELOG.md index 4cbd3192e3a..a027aa3cfb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ### Under the hood - Upgraded snowflake-connector-python dependency to 2.2.10 and enabled the SSO token cache ([#2613](https://github.com/fishtown-analytics/dbt/issues/2613), [#2689](https://github.com/fishtown-analytics/dbt/issues/2689), [#2698](https://github.com/fishtown-analytics/dbt/pull/2698)) +- Add deprecation warnings to anonymous usage tracking ([#2688](https://github.com/fishtown-analytics/dbt/issues/2688), [#2710](https://github.com/fishtown-analytics/dbt/issues/2710)) ### Features - Support TTL for BigQuery tables([#2711](https://github.com/fishtown-analytics/dbt/pull/2711)) @@ -17,9 +18,20 @@ - Macros in the current project can override internal dbt macros that are called through `execute_macros`. ([#2301](https://github.com/fishtown-analytics/dbt/issues/2301), [#2686](https://github.com/fishtown-analytics/dbt/pull/2686)) - Add state:modified and state:new selectors ([#2641](https://github.com/fishtown-analytics/dbt/issues/2641), [#2695](https://github.com/fishtown-analytics/dbt/pull/2695)) +### Fixes +- Fix Redshift table size estimation; e.g. 44 GB tables are no longer reported as 44 KB. [#2702](https://github.com/fishtown-analytics/dbt/issues/2702) + +### Docs +- Add "Referenced By" and "Depends On" sections for each node ([docs#106](https://github.com/fishtown-analytics/dbt-docs/pull/106)) +- Add Name, Description, Column, SQL, Tags filters to site search ([docs#108](https://github.com/fishtown-analytics/dbt-docs/pull/108)) +- Add relevance criteria to site search ([docs#113](https://github.com/fishtown-analytics/dbt-docs/pull/113)) +- Support new selector methods, intersection, and arbitrary parent/child depth in DAG selection syntax ([docs#118](https://github.com/fishtown-analytics/dbt-docs/pull/118)) + Contributors: - [@bbhoss](https://github.com/bbhoss) ([#2677](https://github.com/fishtown-analytics/dbt/pull/2677)) - [@kconvey](https://github.com/kconvey) ([#2694](https://github.com/fishtown-analytics/dbt/pull/2694), [#2711], (https://github.com/fishtown-analytics/dbt/pull/2711)) +- [@vogt4nick](https://github.com/vogt4nick) ([#2702](https://github.com/fishtown-analytics/dbt/issues/2702)) +- [@stephen8chang](https://github.com/stephen8chang) ([docs#106](https://github.com/fishtown-analytics/dbt-docs/pull/106), [docs#108](https://github.com/fishtown-analytics/dbt-docs/pull/108), [docs#113](https://github.com/fishtown-analytics/dbt-docs/pull/113)) ## dbt 0.18.0b2 (July 30, 2020) diff --git a/core/dbt/deprecations.py b/core/dbt/deprecations.py index 7fae52431c2..da8f1f79c25 100644 --- a/core/dbt/deprecations.py +++ b/core/dbt/deprecations.py @@ -3,6 +3,8 @@ import dbt.exceptions from dbt import ui +import dbt.tracking + class DBTDeprecation: _name: ClassVar[Optional[str]] = None @@ -16,6 +18,11 @@ def name(self) -> str: 'name not implemented for {}'.format(self) ) + def track_deprecation_warn(self) -> None: + dbt.tracking.track_deprecation_warn({ + "deprecation_name": self.name + }) + @property def description(self) -> str: if self._description is not None: @@ -31,6 +38,7 @@ def show(self, *args, **kwargs) -> None: desc, prefix='* Deprecation Warning: ' ) dbt.exceptions.warn_or_error(msg) + self.track_deprecation_warn() active_deprecations.add(self.name) diff --git a/core/dbt/include/index.html b/core/dbt/include/index.html index 9dbe6bdbf4c..cac398baaf4 100644 --- a/core/dbt/include/index.html +++ b/core/dbt/include/index.html @@ -8,7 +8,7 @@ - + @@ -24,7 +24,7 @@
-