You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+64-58Lines changed: 64 additions & 58 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,37 +2,43 @@
2
2
3
3
### v1.4.1
4
4
5
-
This is a minor release following up on 1.4.0 with fixes of long outstanding issues.
6
-
Thanks to all the people who contributed to this release!
5
+
This is a minor release following up on 1.4.0 with fixes for long outstanding issues.
6
+
Contributors to this release are [@cbini](https://github.com/cbini), [@rlshuhart](https://github.com/rlshuhart), [@jacobm001](https://github.com/jacobm001), [@baldwicc](https://github.com/baldwicc) and [@sdebruyn](https://github.com/sdebruyn).
7
7
8
8
#### Features
9
9
10
10
* Added support for a custom schema owner. You can now add `schema_authorization` (or `schema_auth`) to your profile.
11
11
If you do so, dbt will create schemas with the `authorization` option suffixed by this value.
12
12
If you are authorizing dbt users or service principals on Azure SQL based on an Azure AD group,
13
-
it's recommended to set this value to the name of the group.
13
+
it's recommended to set this value to the name of the group.[#153](https://github.com/dbt-msft/dbt-sqlserver/issues/153)[#382](https://github.com/dbt-msft/dbt-sqlserver/issues/382)
14
14
* Documentation: added more information about the permissions which you'll need to grant to run dbt.
15
-
* Support for `DATETIMEOFFSET` as type to be used in dbt source freshness tests.
16
-
*`nolock` for all information_schema/sys tables and views. dbt runs a lot of queries on these metadata schemas.
17
-
This can often lead to deadlock issues if you are using a high number of threads
18
-
or if you are running multiple dbt commands in parallel. Adding `nolock` to these queries avoids the deadlocks.
15
+
* Support for `DATETIMEOFFSET` as type to be used in dbt source freshness tests. [#254](https://github.com/dbt-msft/dbt-sqlserver/issues/254)[#346](https://github.com/dbt-msft/dbt-sqlserver/issues/346)
16
+
* Added 2 options related to timeouts to the profile: `login_timeout` and `query_timeout`.
17
+
The default values are `0` (no timeout). [#162](https://github.com/dbt-msft/dbt-sqlserver/issues/162)[#395](https://github.com/dbt-msft/dbt-sqlserver/issues/395)
19
18
20
19
#### Bugfixes
21
20
22
-
* Fixed issues with databases with a case-sensitive collation.
23
-
* Index names are now MD5 hashed to avoid running into the maximum amount of characters in index names.
24
-
* Fixed the batch size calculation for seeds. Seeds will run more efficiently now.
21
+
* Fixed issues with databases with a case-sensitive collation
22
+
and added automated testing for it so that we won't break it again. [#212](https://github.com/dbt-msft/dbt-sqlserver/issues/212)[#391](https://github.com/dbt-msft/dbt-sqlserver/issues/391)
23
+
* Index names are now MD5 hashed to avoid running into the maximum amount of characters in index names
24
+
with index with lots of columns with long names. [#317](https://github.com/dbt-msft/dbt-sqlserver/issues/317)[#386](https://github.com/dbt-msft/dbt-sqlserver/issues/386)
25
+
* Fixed the batch size calculation for seeds. Seeds will run more efficiently now. [#396](https://github.com/dbt-msft/dbt-sqlserver/issues/396)[#179](https://github.com/dbt-msft/dbt-sqlserver/issues/179)[#210](https://github.com/dbt-msft/dbt-sqlserver/issues/210)[#211](https://github.com/dbt-msft/dbt-sqlserver/issues/211)
26
+
* Added `nolock` to queries for all information_schema/sys tables and views.
27
+
dbt runs a lot of queries on these metadata schemas.
28
+
This can often lead to deadlock issues if you are using a high number of threads or dbt processes.
29
+
Adding `nolock` to these queries avoids the deadlocks. [#379](https://github.com/dbt-msft/dbt-sqlserver/issues/379)[#381](https://github.com/dbt-msft/dbt-sqlserver/issues/381)
30
+
* Fixed implementation of `{{ hash(...) }}` for null values. [#392](https://github.com/dbt-msft/dbt-sqlserver/issues/392)
25
31
26
32
#### Under the hood
27
33
28
34
* Fixed more concurrency issues with automated Azure integration testing.
29
-
* Removed extra `__init__.py` files.
30
-
* Added commits to be ignored in git blame for easier blaming.
35
+
* Removed extra `__init__.py` files.[#171](https://github.com/dbt-msft/dbt-sqlserver/issues/171)[#202](https://github.com/dbt-msft/dbt-sqlserver/issues/202)
36
+
* Added commits to be ignored in git blame for easier blaming.[#385](https://github.com/dbt-msft/dbt-sqlserver/issues/385)
31
37
32
38
### v1.4.0
33
39
34
-
*@Elliot2718 made their first contribution in https://github.com/dbt-msft/dbt-sqlserver/pull/204
35
-
*@i-j made their first contribution in https://github.com/dbt-msft/dbt-sqlserver/pull/345
40
+
*[@Elliot2718](https://github.com/Elliot2718) made their first contribution in https://github.com/dbt-msft/dbt-sqlserver/pull/204
41
+
*[@i-j](https://github.com/i-j) made their first contribution in https://github.com/dbt-msft/dbt-sqlserver/pull/345
36
42
37
43
#### Features
38
44
@@ -44,10 +50,10 @@ or if you are running multiple dbt commands in parallel. Adding `nolock` to thes
44
50
45
51
#### Bugfixes
46
52
47
-
* Add `nolock` query hint to several metadata queries to avoid deadlocks by @Elliot2718 in https://github.com/dbt-msft/dbt-sqlserver/pull/204
48
-
* Rework column metadata retrieval to avoid duplicate results and deadlocks by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/368
49
-
* Model removal will now cascade and also drop related views so that views are no longer in a broken state by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/366
50
-
* Fixed handling of on_schema_change for incremental models by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/376
53
+
* Add `nolock` query hint to several metadata queries to avoid deadlocks by [@Elliot2718](https://github.com/Elliot2718) in https://github.com/dbt-msft/dbt-sqlserver/pull/204
54
+
* Rework column metadata retrieval to avoid duplicate results and deadlocks by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/368
55
+
* Model removal will now cascade and also drop related views so that views are no longer in a broken state by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/366
56
+
* Fixed handling of on_schema_change for incremental models by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/376
51
57
52
58
#### Under the hood
53
59
@@ -59,34 +65,34 @@ or if you are running multiple dbt commands in parallel. Adding `nolock` to thes
59
65
<details><summary>PR changelog</summary>
60
66
<p>
61
67
62
-
* Bump pre-commit from 2.20.0 to 3.2.0 by @dependabot in https://github.com/dbt-msft/dbt-sqlserver/pull/344
63
-
* Bump docker/build-push-action from 3.2.0 to 4.0.0 by @dependabot in https://github.com/dbt-msft/dbt-sqlserver/pull/331
64
-
*[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/dbt-msft/dbt-sqlserver/pull/316
65
-
* Bump wheel from 0.38.4 to 0.40.0 by @dependabot in https://github.com/dbt-msft/dbt-sqlserver/pull/343
66
-
* Copy for workflow schtuff by @dataders in https://github.com/dbt-msft/dbt-sqlserver/pull/350
67
-
* avoid publishing docker from other branches than master by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/351
68
-
* bump pre-commit by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/353
69
-
* fix pre-commit for python 3.7 by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/354
70
-
* use 127.0.0.1 to avoid issues with local testing by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/358
71
-
* allow for more flexible local testing with azure auth by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/359
72
-
* credit where due by @dataders in https://github.com/dbt-msft/dbt-sqlserver/pull/355
73
-
* remove condition for azure testing by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/360
74
-
* ignore owner when testing docs in azure by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/365
75
-
* impl of information_schema name closer to default by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/367
76
-
* Add nolock by @Elliot2718 in https://github.com/dbt-msft/dbt-sqlserver/pull/204
77
-
* Fix concurrency issues and document create as by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/368
78
-
* add debug tests by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/363
79
-
* add concurrency test by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/362
80
-
* add aliases tests by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/361
81
-
* add ephemeral error handling test by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/364
82
-
* mark db-wide tests as flaky by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/369
83
-
* remove azure max parallel test runs by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/370
84
-
* add nolock to more metadata calls to avoid deadlocks by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/374
85
-
* add query comment tests by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/375
86
-
* add seed tests and add cascade to drop relation by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/366
87
-
* make testing faster by running multithreaded by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/372
88
-
* add tests for changing relation type by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/373
89
-
*[incremental models] add tests, various bugfixes and support for incremental predicates by @sdebruyn in https://github.com/dbt-msft/dbt-sqlserver/pull/376
68
+
* Bump pre-commit from 2.20.0 to 3.2.0 by [@dependabot](https://github.com/dependabot) in https://github.com/dbt-msft/dbt-sqlserver/pull/344
69
+
* Bump docker/build-push-action from 3.2.0 to 4.0.0 by [@dependabot](https://github.com/dependabot) in https://github.com/dbt-msft/dbt-sqlserver/pull/331
70
+
*[pre-commit.ci] pre-commit autoupdate by [@pre-commit-ci](https://github.com/pre-commit-ci) in https://github.com/dbt-msft/dbt-sqlserver/pull/316
71
+
* Bump wheel from 0.38.4 to 0.40.0 by [@dependabot](https://github.com/dependabot) in https://github.com/dbt-msft/dbt-sqlserver/pull/343
72
+
* Copy for workflow schtuff by [@dataders](https://github.com/dataders) in https://github.com/dbt-msft/dbt-sqlserver/pull/350
73
+
* avoid publishing docker from other branches than master by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/351
74
+
* bump pre-commit by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/353
75
+
* fix pre-commit for python 3.7 by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/354
76
+
* use 127.0.0.1 to avoid issues with local testing by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/358
77
+
* allow for more flexible local testing with azure auth by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/359
78
+
* credit where due by [@dataders](https://github.com/dataders) in https://github.com/dbt-msft/dbt-sqlserver/pull/355
79
+
* remove condition for azure testing by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/360
80
+
* ignore owner when testing docs in azure by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/365
81
+
* impl of information_schema name closer to default by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/367
82
+
* Add nolock by [@Elliot2718](https://github.com/Elliot2718) in https://github.com/dbt-msft/dbt-sqlserver/pull/204
83
+
* Fix concurrency issues and document create as by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/368
84
+
* add debug tests by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/363
85
+
* add concurrency test by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/362
86
+
* add aliases tests by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/361
87
+
* add ephemeral error handling test by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/364
88
+
* mark db-wide tests as flaky by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/369
89
+
* remove azure max parallel test runs by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/370
90
+
* add nolock to more metadata calls to avoid deadlocks by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/374
91
+
* add query comment tests by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/375
92
+
* add seed tests and add cascade to drop relation by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/366
93
+
* make testing faster by running multithreaded by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/372
94
+
* add tests for changing relation type by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/373
95
+
*[incremental models] add tests, various bugfixes and support for incremental predicates by [@sdebruyn](https://github.com/sdebruyn) in https://github.com/dbt-msft/dbt-sqlserver/pull/376
90
96
91
97
</p>
92
98
</details>
@@ -96,7 +102,7 @@ or if you are running multiple dbt commands in parallel. Adding `nolock` to thes
96
102
####
97
103
98
104
Minor release to loosen dependency on dbt-core and pyodbc
99
-
105
+
100
106
### v1.3.0
101
107
102
108
#### Features
@@ -215,7 +221,7 @@ Please see [dbt-core v1.0.0 release notes](https://github.com/dbt-labs/dbt-core/
215
221
### v0.21.0
216
222
217
223
Please see [dbt-core v0.21.0 release notes](https://github.com/dbt-labs/dbt-core/releases/tag/v0.21.0) for upstream changes
218
-
224
+
219
225
#### fixes
220
226
221
227
- in dbt-sqlserver v0.20.0, users couldn't use some out of the box tests, such as accepted_values. users can now also use CTEs in their ~bespoke~ custom data tests
@@ -239,7 +245,7 @@ Please see [dbt-core v0.21.0 release notes](https://github.com/dbt-labs/dbt-core
239
245
240
246
-`sqlserver__load_csv_rows` now has a safety provided by `calc_batch_size()` to ensure the insert statements won't exceed SQL Server's 2100 parameter limit. [#127](https://github.com/dbt-msft/dbt-sqlserver/issues/127) and [#151](https://github.com/dbt-msft/dbt-sqlserver/pull/151) thanks [@jacobm001](https://github.com/jacobm001)
241
247
- switched to using a `MANIFEST.in` to declare which files should be included
242
-
- updated `pyodbc` and `azure-identity` dependencies to their latest versions
248
+
- updated `pyodbc` and `azure-identity` dependencies to their latest versions
243
249
### v0.19.2
244
250
245
251
#### fixes
@@ -268,7 +274,7 @@ Please see [dbt-core v0.21.0 release notes](https://github.com/dbt-labs/dbt-core
268
274
### v0.19.0.2
269
275
270
276
#### fixes
271
-
- solved a bug in snapshots introduced in v0.19.0. Fixes: [#108](https://github.com/dbt-msft/dbt-sqlserver/issues/108), [#117](https://github.com/dbt-msft/dbt-sqlserver/issues/117).
277
+
- solved a bug in snapshots introduced in v0.19.0. Fixes: [#108](https://github.com/dbt-msft/dbt-sqlserver/issues/108), [#117](https://github.com/dbt-msft/dbt-sqlserver/issues/117).
272
278
273
279
### v0.19.0.1
274
280
@@ -296,18 +302,18 @@ Please see [dbt-core v0.21.0 release notes](https://github.com/dbt-labs/dbt-core
296
302
### v0.18.1
297
303
#### New Features:
298
304
Adds support for:
299
-
- SQL Server down to version 2012
305
+
- SQL Server down to version 2012
300
306
- authentication via:
301
-
- Azure CLI (see #71, thanks @JCZuurmond !), and
302
-
- MSFT ODBC Active Directory options (#53#55#58 thanks to @NandanHegde15 and @alieus)
303
-
- using a named instance (#51 thanks @alangsbo)
307
+
- Azure CLI (see #71, thanks [@JCZuurmond](https://github.com/JCZuurmond) !), and
308
+
- MSFT ODBC Active Directory options (#53#55#58 thanks to [@NandanHegde15](https://github.com/NandanHegde15) and [@alieus](https://github.com/alieus))
309
+
- using a named instance (#51 thanks [@alangsbo](https://github.com/alangsbo))
304
310
- Adds support down to SQL Server 2012
305
-
- The adapter is now automatically tested with Fishtowns official adapter-tests to increase stability when making
311
+
- The adapter is now automatically tested with Fishtowns official adapter-tests to increase stability when making
306
312
changes and upgrades to the adapter.
307
313
308
314
#### Fixes:
309
315
- Fix for lack of precision in the snapshot check strategy. Previously when executing two check snapshots the same
310
-
second, there was inconsistent data as a result. This was mostly noted when running the automatic adapter tests.
316
+
second, there was inconsistent data as a result. This was mostly noted when running the automatic adapter tests.
311
317
NOTE: This fix will create a new snapshot version in the target table
312
318
on first run after upgrade.
313
319
@@ -316,10 +322,10 @@ on first run after upgrade.
316
322
- Adds support for Azure Active Directory as authentication provider
317
323
318
324
#### Fixes:
319
-
- Fix for lack of precision in the snapshot check strategy. (#74 and #56 thanks @qed) Previously when executing two check snapshots the same second, there was inconsistent data as a result. This was mostly noted when running the automatic adapter tests.
325
+
- Fix for lack of precision in the snapshot check strategy. (#74 and #56 thanks [@qed](https://github.com/qed)) Previously when executing two check snapshots the same second, there was inconsistent data as a result. This was mostly noted when running the automatic adapter tests.
320
326
NOTE: This fix will create a new snapshot version in the target table
- The adapter is now automatically tested with Fishtowns official adapter-tests to increase stability when making changes and upgrades to the adapter. (#62#64#69#74)
0 commit comments