diff --git a/CHANGELOG.md b/CHANGELOG.md index 32a2ea09..b2aced8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## v.0.19.0.1 + +### Fixes + +- Resolves bug where snapshot and seeds materializations weren't working correctly [#45](https://github.com/dbt-msft/dbt-synapse/pull/45) thanks [@alieus] + +### Under the hood + +- `dbt-synapse` will allow all patches to `dbt-sqlserver` version 0.19 +- Per issue with `pyICU` package ([fishtown-analytics/dbt/#3161](https://github.com/fishtown-analytics/dbt/pull/3161)), temporarily pin agate to between `1.6.0` and `1.6.2`, inclusive, until `dbt` `0.19.1` is released. ## v.0.19.0 ### BREAKING CHANGES @@ -11,7 +21,7 @@ - dbt v0.19.0 ([release notes](https://github.com/fishtown-analytics/dbt/releases/tag/v0.19.0)) and - dbt-sqlserver v0.19.0.1 & v0.19.0 ([release](https://github.com/dbt-msft/dbt-sqlserver/releases/tag/v0.19.0.1) [notes](https://github.com/dbt-msft/dbt-sqlserver/releases/tag/v0.19.0)) -## Under the hood +### Under the hood - the snapshot materialization, except for the [`MERGE` workaround](dbt/include/synapse/macros/materializations/snapshot/snapshot_merge.sql), now depends entirely on dbt-core's global project. Made possible due to tempdb.INFO_SCHEMA workaround [#42](https://github.com/dbt-msft/dbt-synapse/pull/42) - make the adapter inheirit from `dbt-sqlserver` [#32](https://github.com/dbt-msft/dbt-synapse/pull/32) [#33](https://github.com/dbt-msft/dbt-synapse/pull/33) thanks [@jtcohen6](https://github.com/jtcohen6) [@chaerinlee1](https://github.com/chaerinlee1) - the snapshot materialization, now depends entirely on dbt-core's global project. See dbt-sqlserver release notes for more info [#44](https://github.com/dbt-msft/dbt-synapse/pull/44) diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 00000000..39795f41 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +recursive-include dbt/include *.sql *.yml *.md \ No newline at end of file diff --git a/dbt/adapters/synapse/__version__.py b/dbt/adapters/synapse/__version__.py index f8bf85e8..558d887b 100644 --- a/dbt/adapters/synapse/__version__.py +++ b/dbt/adapters/synapse/__version__.py @@ -1 +1 @@ -version = '0.19.0' +version = '0.19.0.1' diff --git a/setup.py b/setup.py index c510c119..f8de03a0 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ package_name = "dbt-synapse" -authors_list = ["Nandan Hegde", "Anders Swanson"] +authors_list = ["Nandan Hegde", "Chaerin Lee", "Alieu Sanneh", "Anders Swanson"] # get this from a separate file @@ -49,14 +49,9 @@ def _dbt_synapse_version(): author_email="swanson.anders@gmail.com", url="https://github.com/dbt-msft/dbt-synapse", packages=find_packages(), - package_data={ - "dbt": [ - "include/synapse/dbt_project.yml", - "include/synapse/macros/*.sql", - "include/synapse/macros/**/*.sql", - ] - }, + include_package_data=True, install_requires=[ - "dbt-sqlserver==0.19.0.1", + "dbt-sqlserver~=0.19.0", + "agate>=1.6,<1.6.2" ] )