mirror of
https://github.com/dbt-labs/dbt-core
synced 2025-12-19 20:41:28 +00:00
Compare commits
172 Commits
adding-sem
...
v1.5.0b4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6db899eddd | ||
|
|
8ea20b4ba2 | ||
|
|
3f76f82c88 | ||
|
|
6cbf66db58 | ||
|
|
8cd11b380f | ||
|
|
814eb65d59 | ||
|
|
f24452a3ab | ||
|
|
30503697f2 | ||
|
|
90902689c3 | ||
|
|
5a0e776cff | ||
|
|
9368e7a6a1 | ||
|
|
c02ddf8c0e | ||
|
|
64b8a12a42 | ||
|
|
e895fe9e4b | ||
|
|
8d987521dd | ||
|
|
4aafc5ef4a | ||
|
|
24ca76ea58 | ||
|
|
b681908ee2 | ||
|
|
72076b3fe5 | ||
|
|
0683c59dcd | ||
|
|
8019498f09 | ||
|
|
6234aec7d2 | ||
|
|
edd8059eb3 | ||
|
|
e3be347768 | ||
|
|
597acf1fa1 | ||
|
|
effa1a0813 | ||
|
|
726800be57 | ||
|
|
8b79747908 | ||
|
|
ec5d31de0e | ||
|
|
5d61ebbfdb | ||
|
|
0ef9931d19 | ||
|
|
a2213abbc0 | ||
|
|
915585c36e | ||
|
|
5ddd40885e | ||
|
|
58d1bccd26 | ||
|
|
70c26f5c74 | ||
|
|
ac962a4a31 | ||
|
|
bb2d062cc5 | ||
|
|
7667784985 | ||
|
|
05ecfbcc3a | ||
|
|
e06ae97068 | ||
|
|
ed50877c4f | ||
|
|
6b5e38ee28 | ||
|
|
63a1bf9adb | ||
|
|
2c7238fbb4 | ||
|
|
b1d597109f | ||
|
|
7617eece3a | ||
|
|
8ce92b56d7 | ||
|
|
21fae1c4a4 | ||
|
|
c952d44ec5 | ||
|
|
971b38c26b | ||
|
|
b7884facbf | ||
|
|
57ce461067 | ||
|
|
b1b830643e | ||
|
|
3cee9d16fa | ||
|
|
c647706ac2 | ||
|
|
7b33ffb1bd | ||
|
|
f38cbc4feb | ||
|
|
480e0e55c5 | ||
|
|
e5c468bb93 | ||
|
|
605c72e86e | ||
|
|
aad46ac5a8 | ||
|
|
d85618ef26 | ||
|
|
1250f23c44 | ||
|
|
daea7d59a7 | ||
|
|
4575757c2a | ||
|
|
d7a2f77705 | ||
|
|
4a4b89606b | ||
|
|
1ebe2e7118 | ||
|
|
f1087e57bf | ||
|
|
250537ba58 | ||
|
|
ccc7222868 | ||
|
|
311a57a21e | ||
|
|
b7c45de6b1 | ||
|
|
c53c3cf181 | ||
|
|
a77d325c8a | ||
|
|
dd41384d82 | ||
|
|
aa55fb2d30 | ||
|
|
864f4efb8b | ||
|
|
83c5a8c24b | ||
|
|
57aef33fb3 | ||
|
|
6d78e5e640 | ||
|
|
f54a876f65 | ||
|
|
8bbae7926b | ||
|
|
db2b12021e | ||
|
|
8b2c9bf39d | ||
|
|
298bf8a1d4 | ||
|
|
77748571b4 | ||
|
|
8ce4c289c5 | ||
|
|
abbece8876 | ||
|
|
3ad40372e6 | ||
|
|
c6d0e7c926 | ||
|
|
bc015843d4 | ||
|
|
df64511feb | ||
|
|
db0981afe7 | ||
|
|
dcf6544f93 | ||
|
|
c2c8959fee | ||
|
|
ccb4fa26cd | ||
|
|
d0b5d752df | ||
|
|
4c63b630de | ||
|
|
9c0b62b4f5 | ||
|
|
e08eede5e2 | ||
|
|
05e53d4143 | ||
|
|
b2ea2b8b25 | ||
|
|
2245d8d710 | ||
|
|
d9424cc710 | ||
|
|
0503c141b7 | ||
|
|
1a6e4a00c7 | ||
|
|
42b7caae19 | ||
|
|
622e5fd71d | ||
|
|
59d773ea7e | ||
|
|
84bf5b4620 | ||
|
|
726c4d6c58 | ||
|
|
acc88d47a3 | ||
|
|
0a74594d09 | ||
|
|
d2f3cdd6de | ||
|
|
92d1ef8482 | ||
|
|
a8abc49632 | ||
|
|
d6ac340df0 | ||
|
|
c653330911 | ||
|
|
82d9b2fa87 | ||
|
|
3f96fad4f9 | ||
|
|
c2c4757a2b | ||
|
|
08b2d94ccd | ||
|
|
7fa61f0816 | ||
|
|
c65ba11ae6 | ||
|
|
b0651b13b5 | ||
|
|
a34521ec07 | ||
|
|
da47b90503 | ||
|
|
d27016a4e7 | ||
|
|
db99e2f68d | ||
|
|
cbb9117ab9 | ||
|
|
e2ccf011d9 | ||
|
|
17014bfad3 | ||
|
|
92b7166c10 | ||
|
|
7b464b8a49 | ||
|
|
5c765bf3e2 | ||
|
|
93619a9a37 | ||
|
|
a181cee6ae | ||
|
|
a0ade13f5a | ||
|
|
9823a56e1d | ||
|
|
3aeab73740 | ||
|
|
9801eebc58 | ||
|
|
11c622230c | ||
|
|
f0349488ed | ||
|
|
c85be323f5 | ||
|
|
6954c4df1b | ||
|
|
30a1595f72 | ||
|
|
f841a7ca76 | ||
|
|
07a004b301 | ||
|
|
b05582de39 | ||
|
|
fa7c4d19f0 | ||
|
|
1913eac5ed | ||
|
|
066346faa2 | ||
|
|
0a03355ceb | ||
|
|
53127daad8 | ||
|
|
91b20b7482 | ||
|
|
5b31cc4266 | ||
|
|
9bb1250869 | ||
|
|
cc5a38ec5a | ||
|
|
b0909b8f5d | ||
|
|
5d278dacf1 | ||
|
|
ce1aaec31d | ||
|
|
1809852a0d | ||
|
|
88d2ee4813 | ||
|
|
77be2e4fdf | ||
|
|
e91863de59 | ||
|
|
44b457c191 | ||
|
|
a0ec0b6f9d | ||
|
|
1ec54abdc4 | ||
|
|
5efc4aa066 | ||
|
|
847c0b9644 |
@@ -1,13 +1,19 @@
|
|||||||
[bumpversion]
|
[bumpversion]
|
||||||
current_version = 1.5.0a1
|
current_version = 1.5.0b4
|
||||||
parse = (?P<major>\d+)
|
parse = (?P<major>[\d]+) # major version number
|
||||||
\.(?P<minor>\d+)
|
\.(?P<minor>[\d]+) # minor version number
|
||||||
\.(?P<patch>\d+)
|
\.(?P<patch>[\d]+) # patch version number
|
||||||
((?P<prekind>a|b|rc)
|
(?P<prerelease> # optional pre-release - ex: a1, b2, rc25
|
||||||
(?P<pre>\d+) # pre-release version num
|
(?P<prekind>a|b|rc) # pre-release type
|
||||||
|
(?P<num>[\d]+) # pre-release version number
|
||||||
)?
|
)?
|
||||||
|
( # optional nightly release indicator
|
||||||
|
\.(?P<nightly>dev[0-9]+) # ex: .dev02142023
|
||||||
|
)? # expected matches: `1.15.0`, `1.5.0a11`, `1.5.0a1.dev123`, `1.5.0.dev123457`, expected failures: `1`, `1.5`, `1.5.2-a1`, `text1.5.0`
|
||||||
serialize =
|
serialize =
|
||||||
{major}.{minor}.{patch}{prekind}{pre}
|
{major}.{minor}.{patch}{prekind}{num}.{nightly}
|
||||||
|
{major}.{minor}.{patch}.{nightly}
|
||||||
|
{major}.{minor}.{patch}{prekind}{num}
|
||||||
{major}.{minor}.{patch}
|
{major}.{minor}.{patch}
|
||||||
commit = False
|
commit = False
|
||||||
tag = False
|
tag = False
|
||||||
@@ -21,9 +27,11 @@ values =
|
|||||||
rc
|
rc
|
||||||
final
|
final
|
||||||
|
|
||||||
[bumpversion:part:pre]
|
[bumpversion:part:num]
|
||||||
first_value = 1
|
first_value = 1
|
||||||
|
|
||||||
|
[bumpversion:part:nightly]
|
||||||
|
|
||||||
[bumpversion:file:core/setup.py]
|
[bumpversion:file:core/setup.py]
|
||||||
|
|
||||||
[bumpversion:file:core/dbt/version.py]
|
[bumpversion:file:core/dbt/version.py]
|
||||||
|
|||||||
80
.changes/1.5.0-b1.md
Normal file
80
.changes/1.5.0-b1.md
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
## dbt-core 1.5.0-b1 - February 17, 2023
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- Data type constraints are now native to SQL table materializations. Enforce columns are specific data types and not null depending on database functionality. ([#6079](https://github.com/dbt-labs/dbt-core/issues/6079))
|
||||||
|
- Have dbt debug spit out structured json logs with flags enabled. ([#5353](https://github.com/dbt-labs/dbt-core/issues/5353))
|
||||||
|
- add adapter_response to dbt test and freshness result ([#2964](https://github.com/dbt-labs/dbt-core/issues/2964))
|
||||||
|
- Improve error message for packages missing `dbt_project.yml` ([#6663](https://github.com/dbt-labs/dbt-core/issues/6663))
|
||||||
|
- Adjust makefile to have clearer instructions for CI env var changes. ([#6689](https://github.com/dbt-labs/dbt-core/issues/6689))
|
||||||
|
- Stand-alone Python module for PostgresColumn ([#6772](https://github.com/dbt-labs/dbt-core/issues/6772))
|
||||||
|
- Exposure owner requires one of name or email keys, and accepts additional arbitrary keys ([#6833](https://github.com/dbt-labs/dbt-core/issues/6833))
|
||||||
|
- Parse 'group' resource ([#6921](https://github.com/dbt-labs/dbt-core/issues/6921))
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
|
||||||
|
- add merge_exclude_columns adapter tests ([#6699](https://github.com/dbt-labs/dbt-core/issues/6699))
|
||||||
|
- Include adapter_response in NodeFinished run_result log event ([#6703](https://github.com/dbt-labs/dbt-core/issues/6703))
|
||||||
|
- Sort cli vars before hashing for partial parsing ([#6710](https://github.com/dbt-labs/dbt-core/issues/6710))
|
||||||
|
- [Regression] exposure_content referenced incorrectly ([#6738](https://github.com/dbt-labs/dbt-core/issues/6738))
|
||||||
|
- Remove pin on packaging and stop using it for prerelease comparisons ([#6834](https://github.com/dbt-labs/dbt-core/issues/6834))
|
||||||
|
- Readd depends_on.macros to SeedNode, to support seeds with hooks calling macros ([#6806](https://github.com/dbt-labs/dbt-core/issues/6806))
|
||||||
|
- Fix regression of --quiet cli parameter behavior ([#6749](https://github.com/dbt-labs/dbt-core/issues/6749))
|
||||||
|
- Ensure results from hooks contain nodes when processing them ([#6796](https://github.com/dbt-labs/dbt-core/issues/6796))
|
||||||
|
- Always flush stdout after logging ([#6901](https://github.com/dbt-labs/dbt-core/issues/6901))
|
||||||
|
- Reapply logging fixes which were accidentally reverted ([#6936](https://github.com/dbt-labs/dbt-core/issues/6936))
|
||||||
|
- Set relation_name in test nodes at compile time ([#6930](https://github.com/dbt-labs/dbt-core/issues/6930))
|
||||||
|
- Readd initialization events, --log-cache-events in new CLI ([#6933](https://github.com/dbt-labs/dbt-core/issues/6933))
|
||||||
|
- Fix previous state tests and disabled exposures, metrics ([#6752](https://github.com/dbt-labs/dbt-core/issues/6752), [#6753](https://github.com/dbt-labs/dbt-core/issues/6753))
|
||||||
|
- Make use of hashlib.md5() FIPS compliant ([#6900](https://github.com/dbt-labs/dbt-core/issues/6900))
|
||||||
|
|
||||||
|
### Docs
|
||||||
|
|
||||||
|
- update link to installation instructions ([dbt-docs/#None](https://github.com/dbt-labs/dbt-docs/issues/None))
|
||||||
|
- Fix JSON path to overview docs ([dbt-docs/#366](https://github.com/dbt-labs/dbt-docs/issues/366))
|
||||||
|
- Searchable column descriptions ([dbt-docs/#140](https://github.com/dbt-labs/dbt-docs/issues/140), [dbt-docs/#322](https://github.com/dbt-labs/dbt-docs/issues/322), [dbt-docs/#369](https://github.com/dbt-labs/dbt-docs/issues/369))
|
||||||
|
|
||||||
|
### Under the Hood
|
||||||
|
|
||||||
|
- [CT-921] dbt compile works in click ([#5545](https://github.com/dbt-labs/dbt-core/issues/5545))
|
||||||
|
- Fix use of ConnectionReused logging event ([#6168](https://github.com/dbt-labs/dbt-core/issues/6168))
|
||||||
|
- Port docs tests to pytest ([#6573](https://github.com/dbt-labs/dbt-core/issues/6573))
|
||||||
|
- Update deprecated github action command ([#6153](https://github.com/dbt-labs/dbt-core/issues/6153))
|
||||||
|
- dbt snapshot works in click ([#5554](https://github.com/dbt-labs/dbt-core/issues/5554))
|
||||||
|
- dbt list working with click ([#5549](https://github.com/dbt-labs/dbt-core/issues/5549))
|
||||||
|
- Add dbt run-operation to click CLI ([#5552](https://github.com/dbt-labs/dbt-core/issues/5552))
|
||||||
|
- dbt build working with new click framework ([#5541](https://github.com/dbt-labs/dbt-core/issues/5541))
|
||||||
|
- dbt docs generate works with new click framework ([#5543](https://github.com/dbt-labs/dbt-core/issues/5543))
|
||||||
|
- Replaced the EmptyLine event with a more general Formatting event, and added a Note event. ([#6481](https://github.com/dbt-labs/dbt-core/issues/6481))
|
||||||
|
- Small optimization on manifest parsing benefitting large DAGs ([#6697](https://github.com/dbt-labs/dbt-core/issues/6697))
|
||||||
|
- Revised and simplified various structured logging events ([#6664](https://github.com/dbt-labs/dbt-core/issues/6664), [#6665](https://github.com/dbt-labs/dbt-core/issues/6665), [#6666](https://github.com/dbt-labs/dbt-core/issues/6666))
|
||||||
|
- dbt init works with click ([#5548](https://github.com/dbt-labs/dbt-core/issues/5548))
|
||||||
|
- [CT-920][CT-1900] Create Click CLI runner and use it to fix dbt docs commands ([#5544](https://github.com/dbt-labs/dbt-core/issues/5544), [#6722](https://github.com/dbt-labs/dbt-core/issues/6722))
|
||||||
|
- Migrate debug task to click ([#5546](https://github.com/dbt-labs/dbt-core/issues/5546))
|
||||||
|
- Optimized GraphQueue to remove graph analysis bottleneck in large dags. ([#6759](https://github.com/dbt-labs/dbt-core/issues/6759))
|
||||||
|
- Implement --version for click cli ([#6757](https://github.com/dbt-labs/dbt-core/issues/6757))
|
||||||
|
- [CT-1841] Convert custom target test to Pytest ([#6638](https://github.com/dbt-labs/dbt-core/issues/6638))
|
||||||
|
- Remove BigQuery-specific btye abbreviations ([#6741](https://github.com/dbt-labs/dbt-core/issues/6741))
|
||||||
|
- warn_error/warn_error_options mutual exclusivity in click ([#6579](https://github.com/dbt-labs/dbt-core/issues/6579))
|
||||||
|
- Enables the new Click Cli on the commandline! 🚀 ([#6784](https://github.com/dbt-labs/dbt-core/issues/6784))
|
||||||
|
- Lazily call --version ([#6812](https://github.com/dbt-labs/dbt-core/issues/6812))
|
||||||
|
- Moving simple_seed to adapter zone to help adapter test conversions ([#CT-1959](https://github.com/dbt-labs/dbt-core/issues/CT-1959))
|
||||||
|
- flags.THREADS defaults to None ([#6887](https://github.com/dbt-labs/dbt-core/issues/6887))
|
||||||
|
- Fixing target type exposure error ([#6928](https://github.com/dbt-labs/dbt-core/issues/6928))
|
||||||
|
- Test binary serialization of logging events ([#6852](https://github.com/dbt-labs/dbt-core/issues/6852))
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Bump ubuntu from 22.04 to 23.04 ([#6865](https://github.com/dbt-labs/dbt-core/pull/6865))
|
||||||
|
- Revert hoisting dbt.cli.main into the dbt.name namespace ([#](https://github.com/dbt-labs/dbt-core/pull/))
|
||||||
|
|
||||||
|
### Contributors
|
||||||
|
- [@aezomz](https://github.com/aezomz) ([#2964](https://github.com/dbt-labs/dbt-core/issues/2964))
|
||||||
|
- [@boxysean](https://github.com/boxysean) ([#6697](https://github.com/dbt-labs/dbt-core/issues/6697))
|
||||||
|
- [@callum-mcdata](https://github.com/callum-mcdata) ([#6928](https://github.com/dbt-labs/dbt-core/issues/6928))
|
||||||
|
- [@dave-connors-3](https://github.com/dave-connors-3) ([#6699](https://github.com/dbt-labs/dbt-core/issues/6699))
|
||||||
|
- [@davidbloss](https://github.com/davidbloss) ([#6153](https://github.com/dbt-labs/dbt-core/issues/6153))
|
||||||
|
- [@halvorlu](https://github.com/halvorlu) ([#366](https://github.com/dbt-labs/dbt-core/issues/366))
|
||||||
|
- [@nielspardon](https://github.com/nielspardon) ([#6900](https://github.com/dbt-labs/dbt-core/issues/6900))
|
||||||
|
- [@ryancharris](https://github.com/ryancharris) ([#None](https://github.com/dbt-labs/dbt-core/issues/None))
|
||||||
|
- [@sungchun12](https://github.com/sungchun12) ([#6079](https://github.com/dbt-labs/dbt-core/issues/6079))
|
||||||
40
.changes/1.5.0-b2.md
Normal file
40
.changes/1.5.0-b2.md
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
## dbt-core 1.5.0-b2 - March 01, 2023
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- Make project version optional ([#6603](https://github.com/dbt-labs/dbt-core/issues/6603))
|
||||||
|
- parse 'group' config on groupable nodes ([#6823](https://github.com/dbt-labs/dbt-core/issues/6823))
|
||||||
|
- Implemented new log cli parameters for finer-grained control. ([#6639](https://github.com/dbt-labs/dbt-core/issues/6639))
|
||||||
|
- Add access attribute to parsed nodes ([#6824](https://github.com/dbt-labs/dbt-core/issues/6824))
|
||||||
|
- Add ability to select by group resource ([#6825](https://github.com/dbt-labs/dbt-core/issues/6825))
|
||||||
|
- Disallow refing private model across groups ([#6826](https://github.com/dbt-labs/dbt-core/issues/6826))
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
|
||||||
|
- Remove trailing slashes from source paths (#6102) ([#6102](https://github.com/dbt-labs/dbt-core/issues/6102))
|
||||||
|
- Fix compilation logic for ephemeral nodes ([#6885](https://github.com/dbt-labs/dbt-core/issues/6885))
|
||||||
|
- Fix semver comparison logic by ensuring numeric values ([#7039](https://github.com/dbt-labs/dbt-core/issues/7039))
|
||||||
|
- add pytz dependency ([#7077](https://github.com/dbt-labs/dbt-core/issues/7077))
|
||||||
|
|
||||||
|
### Docs
|
||||||
|
|
||||||
|
- Improve displayed message under "Arguments" section for argumentless macro ([dbt-docs/#358](https://github.com/dbt-labs/dbt-docs/issues/358))
|
||||||
|
- Add access property to model details ([dbt-docs/#381](https://github.com/dbt-labs/dbt-docs/issues/381))
|
||||||
|
- Display model owner by name and email ([dbt-docs/#377](https://github.com/dbt-labs/dbt-docs/issues/377))
|
||||||
|
- Add view of public models sorted by group to left navigation ([dbt-docs/#379](https://github.com/dbt-labs/dbt-docs/issues/379))
|
||||||
|
|
||||||
|
### Under the Hood
|
||||||
|
|
||||||
|
- Rename "constraint_enabled" to "contract" ([#6748](https://github.com/dbt-labs/dbt-core/issues/6748))
|
||||||
|
- Make output_keys click param multi-option instead of a string ([#6676](https://github.com/dbt-labs/dbt-core/issues/6676))
|
||||||
|
- Move validation of group earlier ([#7087](https://github.com/dbt-labs/dbt-core/issues/7087))
|
||||||
|
|
||||||
|
### Dependency
|
||||||
|
|
||||||
|
- Bump mypy from 0.971 to 0.981 ([#4904](https://github.com/dbt-labs/dbt-core/issues/4904))
|
||||||
|
|
||||||
|
### Contributors
|
||||||
|
- [@MartinGuindon](https://github.com/MartinGuindon) ([#358](https://github.com/dbt-labs/dbt-core/issues/358))
|
||||||
|
- [@jmg-duarte](https://github.com/jmg-duarte) ([#6102](https://github.com/dbt-labs/dbt-core/issues/6102))
|
||||||
|
- [@sdebruyn](https://github.com/sdebruyn) ([#7077](https://github.com/dbt-labs/dbt-core/issues/7077))
|
||||||
|
- [@seub](https://github.com/seub) ([#6603](https://github.com/dbt-labs/dbt-core/issues/6603))
|
||||||
5
.changes/1.5.0-b3.md
Normal file
5
.changes/1.5.0-b3.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
## dbt-core 1.5.0-b3 - March 02, 2023
|
||||||
|
|
||||||
|
### Under the Hood
|
||||||
|
|
||||||
|
- Remove cli doc generation workflow ([#7088](https://github.com/dbt-labs/dbt-core/issues/7088))
|
||||||
39
.changes/1.5.0-b4.md
Normal file
39
.changes/1.5.0-b4.md
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
## dbt-core 1.5.0-b4 - March 16, 2023
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
- ✨ add unix-style wildcard selector method ([#6598](https://github.com/dbt-labs/dbt-core/issues/6598))
|
||||||
|
- add support for DBT_PROJECT_DIR env var ([#6078](https://github.com/dbt-labs/dbt-core/issues/6078))
|
||||||
|
- Enable diff based partial parsing ([#6592](https://github.com/dbt-labs/dbt-core/issues/6592))
|
||||||
|
- Enforce contracts on models materialized as tables and views ([#6751](https://github.com/dbt-labs/dbt-core/issues/6751), [#7034](https://github.com/dbt-labs/dbt-core/issues/7034), [#6756](https://github.com/dbt-labs/dbt-core/issues/6756))
|
||||||
|
- make version configs optional ([#7054](https://github.com/dbt-labs/dbt-core/issues/7054))
|
||||||
|
- [CT-1584] New top level commands: interactive compile ([#6358](https://github.com/dbt-labs/dbt-core/issues/6358))
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
|
||||||
|
- allow adapters to change model name resolution in py models ([#7114](https://github.com/dbt-labs/dbt-core/issues/7114))
|
||||||
|
|
||||||
|
### Docs
|
||||||
|
|
||||||
|
- Distiguish node "access" in the DAG with node borders & opacity. ([dbt-docs/#378](https://github.com/dbt-labs/dbt-docs/issues/378))
|
||||||
|
- Fix JSON path to package overview docs ([dbt-docs/#390](https://github.com/dbt-labs/dbt-docs/issues/390))
|
||||||
|
- Add selection by group to DAG ([dbt-docs/#380](https://github.com/dbt-labs/dbt-docs/issues/380))
|
||||||
|
|
||||||
|
### Under the Hood
|
||||||
|
|
||||||
|
- Add deprecation warning for DBT_NO_PRINT ([#6960](https://github.com/dbt-labs/dbt-core/issues/6960))
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
|
||||||
|
- Update pathspec requirement from <0.11,>=0.9 to >=0.9,<0.12 in /core ([#6737](https://github.com/dbt-labs/dbt-core/pull/6737))
|
||||||
|
|
||||||
|
### Dependency
|
||||||
|
|
||||||
|
- Bump python from 3.10.7-slim-bullseye to 3.11.1-slim-bullseye in /docker ([#4904](https://github.com/dbt-labs/dbt-core/issues/4904))
|
||||||
|
- Bump black from 22.10.0 to 22.12.0 ([#4904](https://github.com/dbt-labs/dbt-core/issues/4904))
|
||||||
|
|
||||||
|
### Contributors
|
||||||
|
- [@dave-connors-3](https://github.com/dave-connors-3) ([#7054](https://github.com/dbt-labs/dbt-core/issues/7054))
|
||||||
|
- [@leo-schick](https://github.com/leo-schick) ([#6078](https://github.com/dbt-labs/dbt-core/issues/6078))
|
||||||
|
- [@rlh1994](https://github.com/rlh1994) ([#390](https://github.com/dbt-labs/dbt-core/issues/390))
|
||||||
|
- [@z3z1ma](https://github.com/z3z1ma) ([#6598](https://github.com/dbt-labs/dbt-core/issues/6598))
|
||||||
6
.changes/1.5.0/Dependencies-20230126-000237.yaml
Normal file
6
.changes/1.5.0/Dependencies-20230126-000237.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: "Dependencies"
|
||||||
|
body: "Update pathspec requirement from <0.11,>=0.9 to >=0.9,<0.12 in /core"
|
||||||
|
time: 2023-01-26T00:02:37.00000Z
|
||||||
|
custom:
|
||||||
|
Author: dependabot[bot]
|
||||||
|
PR: 6737
|
||||||
6
.changes/1.5.0/Dependencies-20230206-000926.yaml
Normal file
6
.changes/1.5.0/Dependencies-20230206-000926.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: "Dependencies"
|
||||||
|
body: "Bump ubuntu from 22.04 to 23.04"
|
||||||
|
time: 2023-02-06T00:09:26.00000Z
|
||||||
|
custom:
|
||||||
|
Author: dependabot[bot]
|
||||||
|
PR: 6865
|
||||||
6
.changes/1.5.0/Dependencies-20230215-091759.yaml
Normal file
6
.changes/1.5.0/Dependencies-20230215-091759.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Dependencies
|
||||||
|
body: Revert hoisting dbt.cli.main into the dbt.name namespace
|
||||||
|
time: 2023-02-15T09:17:59.04148-08:00
|
||||||
|
custom:
|
||||||
|
Author: aranke
|
||||||
|
PR: ''
|
||||||
7
.changes/1.5.0/Dependency-20220927-000822.yaml
Normal file
7
.changes/1.5.0/Dependency-20220927-000822.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
kind: "Dependency"
|
||||||
|
body: "Bump mypy from 0.971 to 0.981"
|
||||||
|
time: 2022-09-27T00:08:22.00000Z
|
||||||
|
custom:
|
||||||
|
Author: dependabot[bot]
|
||||||
|
Issue: 4904
|
||||||
|
PR: 5937
|
||||||
7
.changes/1.5.0/Dependency-20221212-000240.yaml
Normal file
7
.changes/1.5.0/Dependency-20221212-000240.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
kind: "Dependency"
|
||||||
|
body: "Bump python from 3.10.7-slim-bullseye to 3.11.1-slim-bullseye in /docker"
|
||||||
|
time: 2022-12-12T00:02:40.00000Z
|
||||||
|
custom:
|
||||||
|
Author: dependabot[bot]
|
||||||
|
Issue: 4904
|
||||||
|
PR: 6424
|
||||||
7
.changes/1.5.0/Dependency-20221212-002659.yaml
Normal file
7
.changes/1.5.0/Dependency-20221212-002659.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
kind: "Dependency"
|
||||||
|
body: "Bump black from 22.10.0 to 22.12.0"
|
||||||
|
time: 2022-12-12T00:26:59.00000Z
|
||||||
|
custom:
|
||||||
|
Author: dependabot[bot]
|
||||||
|
Issue: 4904
|
||||||
|
PR: 6425
|
||||||
7
.changes/1.5.0/Docs-20230113-094855.yaml
Normal file
7
.changes/1.5.0/Docs-20230113-094855.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
kind: Docs
|
||||||
|
body: Improve displayed message under "Arguments" section for argumentless macro
|
||||||
|
time: 2023-01-13T09:48:55.574898-05:00
|
||||||
|
custom:
|
||||||
|
Author: MartinGuindon
|
||||||
|
Issue: "358"
|
||||||
|
PR: "359"
|
||||||
6
.changes/1.5.0/Docs-20230207-123807.yaml
Normal file
6
.changes/1.5.0/Docs-20230207-123807.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Docs
|
||||||
|
body: update link to installation instructions
|
||||||
|
time: 2023-02-07T12:38:07.336783-05:00
|
||||||
|
custom:
|
||||||
|
Author: ryancharris
|
||||||
|
Issue: None
|
||||||
6
.changes/1.5.0/Docs-20230209-082901.yaml
Normal file
6
.changes/1.5.0/Docs-20230209-082901.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Docs
|
||||||
|
body: Fix JSON path to overview docs
|
||||||
|
time: 2023-02-09T08:29:01.432616-07:00
|
||||||
|
custom:
|
||||||
|
Author: halvorlu
|
||||||
|
Issue: "366"
|
||||||
6
.changes/1.5.0/Docs-20230209-212729.yaml
Normal file
6
.changes/1.5.0/Docs-20230209-212729.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Docs
|
||||||
|
body: Searchable column descriptions
|
||||||
|
time: 2023-02-09T21:27:29.570243-07:00
|
||||||
|
custom:
|
||||||
|
Author: dbeatty10
|
||||||
|
Issue: 140 322 369
|
||||||
6
.changes/1.5.0/Docs-20230227-114510.yaml
Normal file
6
.changes/1.5.0/Docs-20230227-114510.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Docs
|
||||||
|
body: Add access property to model details
|
||||||
|
time: 2023-02-27T11:45:10.424513-06:00
|
||||||
|
custom:
|
||||||
|
Author: emmyoop
|
||||||
|
Issue: "381"
|
||||||
6
.changes/1.5.0/Docs-20230227-141424.yaml
Normal file
6
.changes/1.5.0/Docs-20230227-141424.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Docs
|
||||||
|
body: Display model owner by name and email
|
||||||
|
time: 2023-02-27T14:14:24.630816-06:00
|
||||||
|
custom:
|
||||||
|
Author: emmyoop
|
||||||
|
Issue: "377"
|
||||||
6
.changes/1.5.0/Docs-20230228-100932.yaml
Normal file
6
.changes/1.5.0/Docs-20230228-100932.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Docs
|
||||||
|
body: Add view of public models sorted by group to left navigation
|
||||||
|
time: 2023-02-28T10:09:32.015415-06:00
|
||||||
|
custom:
|
||||||
|
Author: emmyoop
|
||||||
|
Issue: "379"
|
||||||
6
.changes/1.5.0/Docs-20230307-104219.yaml
Normal file
6
.changes/1.5.0/Docs-20230307-104219.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Docs
|
||||||
|
body: Distiguish node "access" in the DAG with node borders & opacity.
|
||||||
|
time: 2023-03-07T10:42:19.044231-06:00
|
||||||
|
custom:
|
||||||
|
Author: emmyoop jtcohen6
|
||||||
|
Issue: "378"
|
||||||
6
.changes/1.5.0/Docs-20230307-174951.yaml
Normal file
6
.changes/1.5.0/Docs-20230307-174951.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Docs
|
||||||
|
body: Fix JSON path to package overview docs
|
||||||
|
time: 2023-03-07T17:49:51.256097-07:00
|
||||||
|
custom:
|
||||||
|
Author: rlh1994 dbeatty10
|
||||||
|
Issue: "390"
|
||||||
6
.changes/1.5.0/Docs-20230308-093736.yaml
Normal file
6
.changes/1.5.0/Docs-20230308-093736.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Docs
|
||||||
|
body: Add selection by group to DAG
|
||||||
|
time: 2023-03-08T09:37:36.78968-06:00
|
||||||
|
custom:
|
||||||
|
Author: emmyoop
|
||||||
|
Issue: "380"
|
||||||
8
.changes/1.5.0/Features-20221118-141120.yaml
Normal file
8
.changes/1.5.0/Features-20221118-141120.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
kind: Features
|
||||||
|
body: Data type constraints are now native to SQL table materializations. Enforce
|
||||||
|
columns are specific data types and not null depending on database functionality.
|
||||||
|
time: 2022-11-18T14:11:20.868062-08:00
|
||||||
|
custom:
|
||||||
|
Author: sungchun12
|
||||||
|
Issue: "6079"
|
||||||
|
PR: "6271"
|
||||||
6
.changes/1.5.0/Features-20230107-003157.yaml
Normal file
6
.changes/1.5.0/Features-20230107-003157.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: Have dbt debug spit out structured json logs with flags enabled.
|
||||||
|
time: 2023-01-07T00:31:57.516063-08:00
|
||||||
|
custom:
|
||||||
|
Author: versusfacit
|
||||||
|
Issue: "5353"
|
||||||
6
.changes/1.5.0/Features-20230112-191705.yaml
Normal file
6
.changes/1.5.0/Features-20230112-191705.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: ✨ add unix-style wildcard selector method
|
||||||
|
time: 2023-01-12T19:17:05.841918-07:00
|
||||||
|
custom:
|
||||||
|
Author: z3z1ma
|
||||||
|
Issue: "6598"
|
||||||
6
.changes/1.5.0/Features-20230118-233801.yaml
Normal file
6
.changes/1.5.0/Features-20230118-233801.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: add adapter_response to dbt test and freshness result
|
||||||
|
time: 2023-01-18T23:38:01.857342+08:00
|
||||||
|
custom:
|
||||||
|
Author: aezomz
|
||||||
|
Issue: "2964"
|
||||||
6
.changes/1.5.0/Features-20230119-141156.yaml
Normal file
6
.changes/1.5.0/Features-20230119-141156.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: add support for DBT_PROJECT_DIR env var
|
||||||
|
time: 2023-01-19T14:11:56.638325919+01:00
|
||||||
|
custom:
|
||||||
|
Author: leo-schick
|
||||||
|
Issue: "6078"
|
||||||
6
.changes/1.5.0/Features-20230120-112921.yaml
Normal file
6
.changes/1.5.0/Features-20230120-112921.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: Improve error message for packages missing `dbt_project.yml`
|
||||||
|
time: 2023-01-20T11:29:21.509967-07:00
|
||||||
|
custom:
|
||||||
|
Author: dbeatty10
|
||||||
|
Issue: "6663"
|
||||||
6
.changes/1.5.0/Features-20230124-135550.yaml
Normal file
6
.changes/1.5.0/Features-20230124-135550.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: Make project version optional
|
||||||
|
time: 2023-01-24T13:55:50.86071024-08:00
|
||||||
|
custom:
|
||||||
|
Author: seub
|
||||||
|
Issue: "6603"
|
||||||
6
.changes/1.5.0/Features-20230126-154716.yaml
Normal file
6
.changes/1.5.0/Features-20230126-154716.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: Adjust makefile to have clearer instructions for CI env var changes.
|
||||||
|
time: 2023-01-26T15:47:16.887327-08:00
|
||||||
|
custom:
|
||||||
|
Author: versusfacit
|
||||||
|
Issue: "6689"
|
||||||
6
.changes/1.5.0/Features-20230127-162812.yaml
Normal file
6
.changes/1.5.0/Features-20230127-162812.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: Stand-alone Python module for PostgresColumn
|
||||||
|
time: 2023-01-27T16:28:12.212427-08:00
|
||||||
|
custom:
|
||||||
|
Author: nssalian
|
||||||
|
Issue: "6772"
|
||||||
6
.changes/1.5.0/Features-20230206-084749.yaml
Normal file
6
.changes/1.5.0/Features-20230206-084749.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: Enable diff based partial parsing
|
||||||
|
time: 2023-02-06T08:47:49.688889-05:00
|
||||||
|
custom:
|
||||||
|
Author: gshank
|
||||||
|
Issue: "6592"
|
||||||
7
.changes/1.5.0/Features-20230209-092059.yaml
Normal file
7
.changes/1.5.0/Features-20230209-092059.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
kind: Features
|
||||||
|
body: Exposure owner requires one of name or email keys, and accepts additional arbitrary
|
||||||
|
keys
|
||||||
|
time: 2023-02-09T09:20:59.300272-05:00
|
||||||
|
custom:
|
||||||
|
Author: michelleark
|
||||||
|
Issue: "6833"
|
||||||
6
.changes/1.5.0/Features-20230209-093409.yaml
Normal file
6
.changes/1.5.0/Features-20230209-093409.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: Parse 'group' resource
|
||||||
|
time: 2023-02-09T09:34:09.547006-05:00
|
||||||
|
custom:
|
||||||
|
Author: michelleark
|
||||||
|
Issue: "6921"
|
||||||
6
.changes/1.5.0/Features-20230214-225134.yaml
Normal file
6
.changes/1.5.0/Features-20230214-225134.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: parse 'group' config on groupable nodes
|
||||||
|
time: 2023-02-14T22:51:34.936228-05:00
|
||||||
|
custom:
|
||||||
|
Author: michelleark
|
||||||
|
Issue: "6823"
|
||||||
6
.changes/1.5.0/Features-20230216-144534.yaml
Normal file
6
.changes/1.5.0/Features-20230216-144534.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: Implemented new log cli parameters for finer-grained control.
|
||||||
|
time: 2023-02-16T14:45:34.038453-05:00
|
||||||
|
custom:
|
||||||
|
Author: peterallenwebb
|
||||||
|
Issue: "6639"
|
||||||
6
.changes/1.5.0/Features-20230218-092816.yaml
Normal file
6
.changes/1.5.0/Features-20230218-092816.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: Add access attribute to parsed nodes
|
||||||
|
time: 2023-02-18T09:28:16.448175-05:00
|
||||||
|
custom:
|
||||||
|
Author: gshank
|
||||||
|
Issue: "6824"
|
||||||
6
.changes/1.5.0/Features-20230222-130632.yaml
Normal file
6
.changes/1.5.0/Features-20230222-130632.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: Enforce contracts on models materialized as tables and views
|
||||||
|
time: 2023-02-22T13:06:32.583743-05:00
|
||||||
|
custom:
|
||||||
|
Author: jtcohen6 michelleark emmyoop
|
||||||
|
Issue: 6751 7034 6756
|
||||||
6
.changes/1.5.0/Features-20230224-134533.yaml
Normal file
6
.changes/1.5.0/Features-20230224-134533.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: Add ability to select by group resource
|
||||||
|
time: 2023-02-24T13:45:33.974287-06:00
|
||||||
|
custom:
|
||||||
|
Author: emmyoop
|
||||||
|
Issue: "6825"
|
||||||
6
.changes/1.5.0/Features-20230224-182214.yaml
Normal file
6
.changes/1.5.0/Features-20230224-182214.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: Disallow refing private model across groups
|
||||||
|
time: 2023-02-24T18:22:14.965136-05:00
|
||||||
|
custom:
|
||||||
|
Author: gshank
|
||||||
|
Issue: "6826"
|
||||||
6
.changes/1.5.0/Features-20230227-091316.yaml
Normal file
6
.changes/1.5.0/Features-20230227-091316.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: make version configs optional
|
||||||
|
time: 2023-02-27T09:13:16.104386-06:00
|
||||||
|
custom:
|
||||||
|
Author: dave-connors-3
|
||||||
|
Issue: "7054"
|
||||||
6
.changes/1.5.0/Features-20230306-170251.yaml
Normal file
6
.changes/1.5.0/Features-20230306-170251.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Features
|
||||||
|
body: '[CT-1584] New top level commands: interactive compile'
|
||||||
|
time: 2023-03-06T17:02:51.240582-08:00
|
||||||
|
custom:
|
||||||
|
Author: aranke
|
||||||
|
Issue: "6358"
|
||||||
7
.changes/1.5.0/Fixes-20221030-102114.yaml
Normal file
7
.changes/1.5.0/Fixes-20221030-102114.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: Remove trailing slashes from source paths (#6102)
|
||||||
|
time: 2022-10-30T10:21:14.660221Z
|
||||||
|
custom:
|
||||||
|
Author: jmg-duarte
|
||||||
|
Issue: "6102"
|
||||||
|
PR: "6179"
|
||||||
6
.changes/1.5.0/Fixes-20230123-132814.yaml
Normal file
6
.changes/1.5.0/Fixes-20230123-132814.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: add merge_exclude_columns adapter tests
|
||||||
|
time: 2023-01-23T13:28:14.808748-06:00
|
||||||
|
custom:
|
||||||
|
Author: dave-connors-3
|
||||||
|
Issue: "6699"
|
||||||
6
.changes/1.5.0/Fixes-20230124-115837.yaml
Normal file
6
.changes/1.5.0/Fixes-20230124-115837.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: Include adapter_response in NodeFinished run_result log event
|
||||||
|
time: 2023-01-24T11:58:37.74179-05:00
|
||||||
|
custom:
|
||||||
|
Author: gshank
|
||||||
|
Issue: "6703"
|
||||||
6
.changes/1.5.0/Fixes-20230124-141943.yaml
Normal file
6
.changes/1.5.0/Fixes-20230124-141943.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: Sort cli vars before hashing for partial parsing
|
||||||
|
time: 2023-01-24T14:19:43.333628-05:00
|
||||||
|
custom:
|
||||||
|
Author: gshank
|
||||||
|
Issue: "6710"
|
||||||
6
.changes/1.5.0/Fixes-20230125-191739.yaml
Normal file
6
.changes/1.5.0/Fixes-20230125-191739.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: '[Regression] exposure_content referenced incorrectly'
|
||||||
|
time: 2023-01-25T19:17:39.942081-05:00
|
||||||
|
custom:
|
||||||
|
Author: Mathyoub
|
||||||
|
Issue: "6738"
|
||||||
6
.changes/1.5.0/Fixes-20230201-154418.yaml
Normal file
6
.changes/1.5.0/Fixes-20230201-154418.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: Remove pin on packaging and stop using it for prerelease comparisons
|
||||||
|
time: 2023-02-01T15:44:18.279158-05:00
|
||||||
|
custom:
|
||||||
|
Author: gshank
|
||||||
|
Issue: "6834"
|
||||||
6
.changes/1.5.0/Fixes-20230203-135557.yaml
Normal file
6
.changes/1.5.0/Fixes-20230203-135557.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: Readd depends_on.macros to SeedNode, to support seeds with hooks calling macros
|
||||||
|
time: 2023-02-03T13:55:57.853715+01:00
|
||||||
|
custom:
|
||||||
|
Author: jtcohen6
|
||||||
|
Issue: "6806"
|
||||||
6
.changes/1.5.0/Fixes-20230207-143544.yaml
Normal file
6
.changes/1.5.0/Fixes-20230207-143544.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: Fix regression of --quiet cli parameter behavior
|
||||||
|
time: 2023-02-07T14:35:44.160163-05:00
|
||||||
|
custom:
|
||||||
|
Author: peterallenwebb
|
||||||
|
Issue: "6749"
|
||||||
6
.changes/1.5.0/Fixes-20230208-110551.yaml
Normal file
6
.changes/1.5.0/Fixes-20230208-110551.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: Ensure results from hooks contain nodes when processing them
|
||||||
|
time: 2023-02-08T11:05:51.952494-06:00
|
||||||
|
custom:
|
||||||
|
Author: emmyoop
|
||||||
|
Issue: "6796"
|
||||||
6
.changes/1.5.0/Fixes-20230208-154935.yaml
Normal file
6
.changes/1.5.0/Fixes-20230208-154935.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: Always flush stdout after logging
|
||||||
|
time: 2023-02-08T15:49:35.175874-05:00
|
||||||
|
custom:
|
||||||
|
Author: peterallenwebb
|
||||||
|
Issue: "6901"
|
||||||
6
.changes/1.5.0/Fixes-20230210-103028.yaml
Normal file
6
.changes/1.5.0/Fixes-20230210-103028.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: Reapply logging fixes which were accidentally reverted
|
||||||
|
time: 2023-02-10T10:30:28.179997-05:00
|
||||||
|
custom:
|
||||||
|
Author: peterallenwebb
|
||||||
|
Issue: "6936"
|
||||||
6
.changes/1.5.0/Fixes-20230210-194157.yaml
Normal file
6
.changes/1.5.0/Fixes-20230210-194157.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: Set relation_name in test nodes at compile time
|
||||||
|
time: 2023-02-10T19:41:57.386766-05:00
|
||||||
|
custom:
|
||||||
|
Author: gshank
|
||||||
|
Issue: "6930"
|
||||||
6
.changes/1.5.0/Fixes-20230213-130522.yaml
Normal file
6
.changes/1.5.0/Fixes-20230213-130522.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: Readd initialization events, --log-cache-events in new CLI
|
||||||
|
time: 2023-02-13T13:05:22.989477+01:00
|
||||||
|
custom:
|
||||||
|
Author: jtcohen6
|
||||||
|
Issue: "6933"
|
||||||
6
.changes/1.5.0/Fixes-20230213-170723.yaml
Normal file
6
.changes/1.5.0/Fixes-20230213-170723.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: Fix previous state tests and disabled exposures, metrics
|
||||||
|
time: 2023-02-13T17:07:23.185679-05:00
|
||||||
|
custom:
|
||||||
|
Author: gshank
|
||||||
|
Issue: 6752 6753
|
||||||
6
.changes/1.5.0/Fixes-20230215-104536.yaml
Normal file
6
.changes/1.5.0/Fixes-20230215-104536.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: Make use of hashlib.md5() FIPS compliant
|
||||||
|
time: 2023-02-15T10:45:36.755797+01:00
|
||||||
|
custom:
|
||||||
|
Author: nielspardon
|
||||||
|
Issue: "6900"
|
||||||
6
.changes/1.5.0/Fixes-20230221-170630.yaml
Normal file
6
.changes/1.5.0/Fixes-20230221-170630.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: Fix compilation logic for ephemeral nodes
|
||||||
|
time: 2023-02-21T17:06:30.218568-05:00
|
||||||
|
custom:
|
||||||
|
Author: gshank
|
||||||
|
Issue: "6885"
|
||||||
6
.changes/1.5.0/Fixes-20230224-001338.yaml
Normal file
6
.changes/1.5.0/Fixes-20230224-001338.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: Fix semver comparison logic by ensuring numeric values
|
||||||
|
time: 2023-02-24T00:13:38.23242+01:00
|
||||||
|
custom:
|
||||||
|
Author: jtcohen6
|
||||||
|
Issue: "7039"
|
||||||
6
.changes/1.5.0/Fixes-20230228-130318.yaml
Normal file
6
.changes/1.5.0/Fixes-20230228-130318.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: add pytz dependency
|
||||||
|
time: 2023-02-28T13:03:18.353468+01:00
|
||||||
|
custom:
|
||||||
|
Author: sdebruyn
|
||||||
|
Issue: "7077"
|
||||||
6
.changes/1.5.0/Fixes-20230303-112519.yaml
Normal file
6
.changes/1.5.0/Fixes-20230303-112519.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Fixes
|
||||||
|
body: allow adapters to change model name resolution in py models
|
||||||
|
time: 2023-03-03T11:25:19.276637-08:00
|
||||||
|
custom:
|
||||||
|
Author: colin-rogers-dbt
|
||||||
|
Issue: "7114"
|
||||||
6
.changes/1.5.0/Under the Hood-20230111-145143.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230111-145143.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: '[CT-921] dbt compile works in click'
|
||||||
|
time: 2023-01-11T14:51:43.324107-08:00
|
||||||
|
custom:
|
||||||
|
Author: aranke
|
||||||
|
Issue: "5545"
|
||||||
6
.changes/1.5.0/Under the Hood-20230113-150700.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230113-150700.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Port docs tests to pytest
|
||||||
|
time: 2023-01-13T15:07:00.477038-05:00
|
||||||
|
custom:
|
||||||
|
Author: peterallenwebb
|
||||||
|
Issue: "6573"
|
||||||
6
.changes/1.5.0/Under the Hood-20230117-162505.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230117-162505.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: dbt snapshot works in click
|
||||||
|
time: 2023-01-17T16:25:05.973769-08:00
|
||||||
|
custom:
|
||||||
|
Author: ChenyuLInx
|
||||||
|
Issue: "5554"
|
||||||
6
.changes/1.5.0/Under the Hood-20230117-213729.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230117-213729.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: dbt list working with click
|
||||||
|
time: 2023-01-17T21:37:29.91632-05:00
|
||||||
|
custom:
|
||||||
|
Author: michelleark
|
||||||
|
Issue: "5549"
|
||||||
6
.changes/1.5.0/Under the Hood-20230119-105304.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230119-105304.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Add dbt run-operation to click CLI
|
||||||
|
time: 2023-01-19T10:53:04.154871+01:00
|
||||||
|
custom:
|
||||||
|
Author: jtcohen6
|
||||||
|
Issue: "5552"
|
||||||
6
.changes/1.5.0/Under the Hood-20230119-205650.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230119-205650.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: dbt build working with new click framework
|
||||||
|
time: 2023-01-19T20:56:50.50549-05:00
|
||||||
|
custom:
|
||||||
|
Author: michelleark
|
||||||
|
Issue: "5541"
|
||||||
6
.changes/1.5.0/Under the Hood-20230119-211040.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230119-211040.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: dbt docs generate works with new click framework
|
||||||
|
time: 2023-01-19T21:10:40.698851-05:00
|
||||||
|
custom:
|
||||||
|
Author: michelleark
|
||||||
|
Issue: "5543"
|
||||||
7
.changes/1.5.0/Under the Hood-20230120-172254.yaml
Normal file
7
.changes/1.5.0/Under the Hood-20230120-172254.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Replaced the EmptyLine event with a more general Formatting event, and added
|
||||||
|
a Note event.
|
||||||
|
time: 2023-01-20T17:22:54.45828-05:00
|
||||||
|
custom:
|
||||||
|
Author: peterallenwebb
|
||||||
|
Issue: "6481"
|
||||||
6
.changes/1.5.0/Under the Hood-20230122-215235.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230122-215235.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Small optimization on manifest parsing benefitting large DAGs
|
||||||
|
time: 2023-01-22T21:52:35.549814+01:00
|
||||||
|
custom:
|
||||||
|
Author: boxysean
|
||||||
|
Issue: "6697"
|
||||||
6
.changes/1.5.0/Under the Hood-20230124-153553.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230124-153553.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Revised and simplified various structured logging events
|
||||||
|
time: 2023-01-24T15:35:53.065356-05:00
|
||||||
|
custom:
|
||||||
|
Author: peterallenwebb
|
||||||
|
Issue: 6664 6665 6666
|
||||||
6
.changes/1.5.0/Under the Hood-20230124-175110.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230124-175110.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: dbt init works with click
|
||||||
|
time: 2023-01-24T17:51:10.74065-05:00
|
||||||
|
custom:
|
||||||
|
Author: michelleark
|
||||||
|
Issue: "5548"
|
||||||
6
.changes/1.5.0/Under the Hood-20230125-041136.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230125-041136.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: '[CT-920][CT-1900] Create Click CLI runner and use it to fix dbt docs commands'
|
||||||
|
time: 2023-01-25T04:11:36.57506-08:00
|
||||||
|
custom:
|
||||||
|
Author: aranke
|
||||||
|
Issue: 5544 6722
|
||||||
6
.changes/1.5.0/Under the Hood-20230125-102606.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230125-102606.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Migrate debug task to click
|
||||||
|
time: 2023-01-25T10:26:06.735994-06:00
|
||||||
|
custom:
|
||||||
|
Author: stu-k
|
||||||
|
Issue: "5546"
|
||||||
6
.changes/1.5.0/Under the Hood-20230126-135939.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230126-135939.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: ' Optimized GraphQueue to remove graph analysis bottleneck in large dags.'
|
||||||
|
time: 2023-01-26T13:59:39.518345-05:00
|
||||||
|
custom:
|
||||||
|
Author: peterallenwebb
|
||||||
|
Issue: "6759"
|
||||||
6
.changes/1.5.0/Under the Hood-20230126-143102.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230126-143102.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Implement --version for click cli
|
||||||
|
time: 2023-01-26T14:31:02.740282-06:00
|
||||||
|
custom:
|
||||||
|
Author: stu-k
|
||||||
|
Issue: "6757"
|
||||||
6
.changes/1.5.0/Under the Hood-20230126-164741.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230126-164741.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: '[CT-1841] Convert custom target test to Pytest'
|
||||||
|
time: 2023-01-26T16:47:41.198714-08:00
|
||||||
|
custom:
|
||||||
|
Author: aranke
|
||||||
|
Issue: "6638"
|
||||||
6
.changes/1.5.0/Under the Hood-20230130-153306.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230130-153306.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Remove BigQuery-specific btye abbreviations
|
||||||
|
time: 2023-01-30T15:33:06.28965-07:00
|
||||||
|
custom:
|
||||||
|
Author: dbeatty10
|
||||||
|
Issue: "6741"
|
||||||
6
.changes/1.5.0/Under the Hood-20230130-175752.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230130-175752.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: "Enables the new Click Cli on the commandline! \U0001F680"
|
||||||
|
time: 2023-01-30T17:57:52.65626-06:00
|
||||||
|
custom:
|
||||||
|
Author: iknox-fa
|
||||||
|
Issue: "6784"
|
||||||
6
.changes/1.5.0/Under the Hood-20230130-180917.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230130-180917.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: warn_error/warn_error_options mutual exclusivity in click
|
||||||
|
time: 2023-01-30T18:09:17.240662-05:00
|
||||||
|
custom:
|
||||||
|
Author: michelleark
|
||||||
|
Issue: "6579"
|
||||||
6
.changes/1.5.0/Under the Hood-20230131-141806.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230131-141806.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Lazily call --version
|
||||||
|
time: 2023-01-31T14:18:06.02312-06:00
|
||||||
|
custom:
|
||||||
|
Author: stu-k
|
||||||
|
Issue: "6812"
|
||||||
6
.changes/1.5.0/Under the Hood-20230203-143551.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230203-143551.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Moving simple_seed to adapter zone to help adapter test conversions
|
||||||
|
time: 2023-02-03T14:35:51.481856-08:00
|
||||||
|
custom:
|
||||||
|
Author: nssalian
|
||||||
|
Issue: CT-1959
|
||||||
6
.changes/1.5.0/Under the Hood-20230207-165111.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230207-165111.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: flags.THREADS defaults to None
|
||||||
|
time: 2023-02-07T16:51:11.011984-05:00
|
||||||
|
custom:
|
||||||
|
Author: michelleark
|
||||||
|
Issue: "6887"
|
||||||
6
.changes/1.5.0/Under the Hood-20230210-084647.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230210-084647.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Fixing target type exposure error
|
||||||
|
time: 2023-02-10T08:46:47.72936-06:00
|
||||||
|
custom:
|
||||||
|
Author: callum-mcdata
|
||||||
|
Issue: "6928"
|
||||||
6
.changes/1.5.0/Under the Hood-20230216-143252.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230216-143252.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Test binary serialization of logging events
|
||||||
|
time: 2023-02-16T14:32:52.524225-05:00
|
||||||
|
custom:
|
||||||
|
Author: gshank
|
||||||
|
Issue: "6852"
|
||||||
6
.changes/1.5.0/Under the Hood-20230217-105223.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230217-105223.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Rename "constraint_enabled" to "contract"
|
||||||
|
time: 2023-02-17T10:52:23.212474-05:00
|
||||||
|
custom:
|
||||||
|
Author: gshank
|
||||||
|
Issue: "6748"
|
||||||
6
.changes/1.5.0/Under the Hood-20230224-132811.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230224-132811.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Add deprecation warning for DBT_NO_PRINT
|
||||||
|
time: 2023-02-24T13:28:11.295561-06:00
|
||||||
|
custom:
|
||||||
|
Author: stu-k
|
||||||
|
Issue: "6960"
|
||||||
6
.changes/1.5.0/Under the Hood-20230227-102016.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230227-102016.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Make output_keys click param multi-option instead of a string
|
||||||
|
time: 2023-02-27T10:20:16.16233-06:00
|
||||||
|
custom:
|
||||||
|
Author: stu-k
|
||||||
|
Issue: "6676"
|
||||||
6
.changes/1.5.0/Under the Hood-20230228-130435.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230228-130435.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Remove cli doc generation workflow
|
||||||
|
time: 2023-02-28T13:04:35.20038-06:00
|
||||||
|
custom:
|
||||||
|
Author: stu-k
|
||||||
|
Issue: "7088"
|
||||||
6
.changes/1.5.0/Under the Hood-20230228-140440.yaml
Normal file
6
.changes/1.5.0/Under the Hood-20230228-140440.yaml
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
kind: Under the Hood
|
||||||
|
body: Move validation of group earlier
|
||||||
|
time: 2023-02-28T14:04:40.978022-05:00
|
||||||
|
custom:
|
||||||
|
Author: gshank
|
||||||
|
Issue: "7087"
|
||||||
@@ -4,6 +4,7 @@ headerPath: header.tpl.md
|
|||||||
versionHeaderPath: ""
|
versionHeaderPath: ""
|
||||||
changelogPath: CHANGELOG.md
|
changelogPath: CHANGELOG.md
|
||||||
versionExt: md
|
versionExt: md
|
||||||
|
envPrefix: "CHANGIE_"
|
||||||
versionFormat: '## dbt-core {{.Version}} - {{.Time.Format "January 02, 2006"}}'
|
versionFormat: '## dbt-core {{.Version}} - {{.Time.Format "January 02, 2006"}}'
|
||||||
kindFormat: '### {{.Kind}}'
|
kindFormat: '### {{.Kind}}'
|
||||||
changeFormat: |-
|
changeFormat: |-
|
||||||
@@ -87,32 +88,44 @@ custom:
|
|||||||
|
|
||||||
footerFormat: |
|
footerFormat: |
|
||||||
{{- $contributorDict := dict }}
|
{{- $contributorDict := dict }}
|
||||||
{{- /* any names added to this list should be all lowercase for later matching purposes */}}
|
{{- /* ensure all names in this list are all lowercase for later matching purposes */}}
|
||||||
{{- $core_team := list "michelleark" "peterallenwebb" "emmyoop" "nathaniel-may" "gshank" "leahwicz" "chenyulinx" "stu-k" "iknox-fa" "versusfacit" "mcknight-42" "jtcohen6" "aranke" "dependabot[bot]" "snyk-bot" "colin-rogers-dbt" }}
|
{{- $core_team := splitList " " .Env.CORE_TEAM }}
|
||||||
|
{{- /* ensure we always skip snyk and dependabot in addition to the core team */}}
|
||||||
|
{{- $maintainers := list "dependabot[bot]" "snyk-bot"}}
|
||||||
|
{{- range $team_member := $core_team }}
|
||||||
|
{{- $team_member_lower := lower $team_member }}
|
||||||
|
{{- $maintainers = append $maintainers $team_member_lower }}
|
||||||
|
{{- end }}
|
||||||
{{- range $change := .Changes }}
|
{{- range $change := .Changes }}
|
||||||
{{- $authorList := splitList " " $change.Custom.Author }}
|
{{- $authorList := splitList " " $change.Custom.Author }}
|
||||||
{{- /* loop through all authors for a single changelog */}}
|
{{- /* loop through all authors for a single changelog */}}
|
||||||
{{- range $author := $authorList }}
|
{{- range $author := $authorList }}
|
||||||
{{- $authorLower := lower $author }}
|
{{- $authorLower := lower $author }}
|
||||||
{{- /* we only want to include non-core team contributors */}}
|
{{- /* we only want to include non-core team contributors */}}
|
||||||
{{- if not (has $authorLower $core_team)}}
|
{{- if not (has $authorLower $maintainers)}}
|
||||||
{{- $changeList := splitList " " $change.Custom.Author }}
|
{{- $changeList := splitList " " $change.Custom.Author }}
|
||||||
{{- /* Docs kind link back to dbt-docs instead of dbt-core issues */}}
|
{{- $IssueList := list }}
|
||||||
{{- $changeLink := $change.Kind }}
|
{{- $changeLink := $change.Kind }}
|
||||||
{{- if or (eq $change.Kind "Dependencies") (eq $change.Kind "Security") }}
|
{{- if or (eq $change.Kind "Dependencies") (eq $change.Kind "Security") }}
|
||||||
{{- $changeLink = "[#nbr](https://github.com/dbt-labs/dbt-core/pull/nbr)" | replace "nbr" $change.Custom.PR }}
|
{{- $changes := splitList " " $change.Custom.PR }}
|
||||||
{{- else if eq $change.Kind "Docs"}}
|
{{- range $issueNbr := $changes }}
|
||||||
{{- $changeLink = "[dbt-docs/#nbr](https://github.com/dbt-labs/dbt-docs/issues/nbr)" | replace "nbr" $change.Custom.Issue }}
|
{{- $changeLink := "[#nbr](https://github.com/dbt-labs/dbt-core/pull/nbr)" | replace "nbr" $issueNbr }}
|
||||||
|
{{- $IssueList = append $IssueList $changeLink }}
|
||||||
|
{{- end -}}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- $changeLink = "[#nbr](https://github.com/dbt-labs/dbt-core/issues/nbr)" | replace "nbr" $change.Custom.Issue }}
|
{{- $changes := splitList " " $change.Custom.Issue }}
|
||||||
|
{{- range $issueNbr := $changes }}
|
||||||
|
{{- $changeLink := "[#nbr](https://github.com/dbt-labs/dbt-core/issues/nbr)" | replace "nbr" $issueNbr }}
|
||||||
|
{{- $IssueList = append $IssueList $changeLink }}
|
||||||
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- /* check if this contributor has other changes associated with them already */}}
|
{{- /* check if this contributor has other changes associated with them already */}}
|
||||||
{{- if hasKey $contributorDict $author }}
|
{{- if hasKey $contributorDict $author }}
|
||||||
{{- $contributionList := get $contributorDict $author }}
|
{{- $contributionList := get $contributorDict $author }}
|
||||||
{{- $contributionList = append $contributionList $changeLink }}
|
{{- $contributionList = concat $contributionList $IssueList }}
|
||||||
{{- $contributorDict := set $contributorDict $author $contributionList }}
|
{{- $contributorDict := set $contributorDict $author $contributionList }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- $contributionList := list $changeLink }}
|
{{- $contributionList := $IssueList }}
|
||||||
{{- $contributorDict := set $contributorDict $author $contributionList }}
|
{{- $contributorDict := set $contributorDict $author $contributionList }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|||||||
41
.github/workflows/cut-release-branch.yml
vendored
Normal file
41
.github/workflows/cut-release-branch.yml
vendored
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
# **what?**
|
||||||
|
# Cuts a new `*.latest` branch
|
||||||
|
# Also cleans up all files in `.changes/unreleased` and `.changes/previous verion on
|
||||||
|
# `main` and bumps `main` to the input version.
|
||||||
|
|
||||||
|
# **why?**
|
||||||
|
# Generally reduces the workload of engineers and reduces error. Allow automation.
|
||||||
|
|
||||||
|
# **when?**
|
||||||
|
# This will run when called manually.
|
||||||
|
|
||||||
|
name: Cut new release branch
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
version_to_bump_main:
|
||||||
|
description: 'The alpha version main should bump to (ex. 1.6.0a1)'
|
||||||
|
required: true
|
||||||
|
new_branch_name:
|
||||||
|
description: 'The full name of the new branch (ex. 1.5.latest)'
|
||||||
|
required: true
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
cut_branch:
|
||||||
|
name: "Cut branch and clean up main for dbt-core"
|
||||||
|
uses: dbt-labs/actions/.github/workflows/cut-release-branch.yml@main
|
||||||
|
with:
|
||||||
|
version_to_bump_main: ${{ inputs.version_to_bump_main }}
|
||||||
|
new_branch_name: ${{ inputs.new_branch_name }}
|
||||||
|
PR_title: "Cleanup main after cutting new ${{ inputs.new_branch_name }} branch"
|
||||||
|
PR_body: "All adapter PRs will fail CI until the dbt-core PR has been merged due to release version conflicts."
|
||||||
|
secrets:
|
||||||
|
FISHTOWN_BOT_PAT: ${{ secrets.FISHTOWN_BOT_PAT }}
|
||||||
165
.github/workflows/generate-cli-api-docs.yml
vendored
165
.github/workflows/generate-cli-api-docs.yml
vendored
@@ -1,165 +0,0 @@
|
|||||||
# **what?**
|
|
||||||
# On push, if anything in core/dbt/docs or core/dbt/cli has been
|
|
||||||
# created or modified, regenerate the CLI API docs using sphinx.
|
|
||||||
|
|
||||||
# **why?**
|
|
||||||
# We watch for changes in core/dbt/cli because the CLI API docs rely on click
|
|
||||||
# and all supporting flags/params to be generated. We watch for changes in
|
|
||||||
# core/dbt/docs since any changes to sphinx configuration or any of the
|
|
||||||
# .rst files there could result in a differently build final index.html file.
|
|
||||||
|
|
||||||
# **when?**
|
|
||||||
# Whenever a change has been pushed to a branch, and only if there is a diff
|
|
||||||
# between the PR branch and main's core/dbt/cli and or core/dbt/docs dirs.
|
|
||||||
|
|
||||||
# TODO: add bot comment to PR informing contributor that the docs have been committed
|
|
||||||
# TODO: figure out why github action triggered pushes cause github to fail to report
|
|
||||||
# the status of jobs
|
|
||||||
|
|
||||||
name: Generate CLI API docs
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
env:
|
|
||||||
CLI_DIR: ${{ github.workspace }}/core/dbt/cli
|
|
||||||
DOCS_DIR: ${{ github.workspace }}/core/dbt/docs
|
|
||||||
DOCS_BUILD_DIR: ${{ github.workspace }}/core/dbt/docs/build
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
check_gen:
|
|
||||||
name: check if generation needed
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: ${{ github.event.pull_request.head.repo.fork == false }}
|
|
||||||
outputs:
|
|
||||||
cli_dir_changed: ${{ steps.check_cli.outputs.cli_dir_changed }}
|
|
||||||
docs_dir_changed: ${{ steps.check_docs.outputs.docs_dir_changed }}
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: "[DEBUG] print variables"
|
|
||||||
run: |
|
|
||||||
echo "env.CLI_DIR: ${{ env.CLI_DIR }}"
|
|
||||||
echo "env.DOCS_BUILD_DIR: ${{ env.DOCS_BUILD_DIR }}"
|
|
||||||
echo "env.DOCS_DIR: ${{ env.DOCS_DIR }}"
|
|
||||||
|
|
||||||
- name: git checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
ref: ${{ github.head_ref }}
|
|
||||||
|
|
||||||
- name: set shas
|
|
||||||
id: set_shas
|
|
||||||
run: |
|
|
||||||
THIS_SHA=$(git rev-parse @)
|
|
||||||
LAST_SHA=$(git rev-parse @~1)
|
|
||||||
|
|
||||||
echo "this sha: $THIS_SHA"
|
|
||||||
echo "last sha: $LAST_SHA"
|
|
||||||
|
|
||||||
echo "this_sha=$THIS_SHA" >> $GITHUB_OUTPUT
|
|
||||||
echo "last_sha=$LAST_SHA" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: check for changes in core/dbt/cli
|
|
||||||
id: check_cli
|
|
||||||
run: |
|
|
||||||
CLI_DIR_CHANGES=$(git diff \
|
|
||||||
${{ steps.set_shas.outputs.last_sha }} \
|
|
||||||
${{ steps.set_shas.outputs.this_sha }} \
|
|
||||||
-- ${{ env.CLI_DIR }})
|
|
||||||
|
|
||||||
if [ -n "$CLI_DIR_CHANGES" ]; then
|
|
||||||
echo "changes found"
|
|
||||||
echo $CLI_DIR_CHANGES
|
|
||||||
echo "cli_dir_changed=true" >> $GITHUB_OUTPUT
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
echo "cli_dir_changed=false" >> $GITHUB_OUTPUT
|
|
||||||
echo "no changes found"
|
|
||||||
|
|
||||||
- name: check for changes in core/dbt/docs
|
|
||||||
id: check_docs
|
|
||||||
if: steps.check_cli.outputs.cli_dir_changed == 'false'
|
|
||||||
run: |
|
|
||||||
DOCS_DIR_CHANGES=$(git diff --name-only \
|
|
||||||
${{ steps.set_shas.outputs.last_sha }} \
|
|
||||||
${{ steps.set_shas.outputs.this_sha }} \
|
|
||||||
-- ${{ env.DOCS_DIR }} ':!${{ env.DOCS_BUILD_DIR }}')
|
|
||||||
|
|
||||||
DOCS_BUILD_DIR_CHANGES=$(git diff --name-only \
|
|
||||||
${{ steps.set_shas.outputs.last_sha }} \
|
|
||||||
${{ steps.set_shas.outputs.this_sha }} \
|
|
||||||
-- ${{ env.DOCS_BUILD_DIR }})
|
|
||||||
|
|
||||||
if [ -n "$DOCS_DIR_CHANGES" ] && [ -z "$DOCS_BUILD_DIR_CHANGES" ]; then
|
|
||||||
echo "changes found"
|
|
||||||
echo $DOCS_DIR_CHANGES
|
|
||||||
echo "docs_dir_changed=true" >> $GITHUB_OUTPUT
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
echo "docs_dir_changed=false" >> $GITHUB_OUTPUT
|
|
||||||
echo "no changes found"
|
|
||||||
|
|
||||||
gen_docs:
|
|
||||||
name: generate docs
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: [check_gen]
|
|
||||||
if: |
|
|
||||||
needs.check_gen.outputs.cli_dir_changed == 'true'
|
|
||||||
|| needs.check_gen.outputs.docs_dir_changed == 'true'
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: "[DEBUG] print variables"
|
|
||||||
run: |
|
|
||||||
echo "env.DOCS_DIR: ${{ env.DOCS_DIR }}"
|
|
||||||
echo "github head_ref: ${{ github.head_ref }}"
|
|
||||||
|
|
||||||
- name: git checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
ref: ${{ github.head_ref }}
|
|
||||||
|
|
||||||
- name: install python
|
|
||||||
uses: actions/setup-python@v4.3.0
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: install dev requirements
|
|
||||||
run: |
|
|
||||||
python3 -m venv env
|
|
||||||
source env/bin/activate
|
|
||||||
python -m pip install --upgrade pip
|
|
||||||
pip install -r requirements.txt -r dev-requirements.txt
|
|
||||||
|
|
||||||
- name: generate docs
|
|
||||||
run: |
|
|
||||||
source env/bin/activate
|
|
||||||
cd ${{ env.DOCS_DIR }}
|
|
||||||
|
|
||||||
echo "cleaning existing docs"
|
|
||||||
make clean
|
|
||||||
|
|
||||||
echo "creating docs"
|
|
||||||
make html
|
|
||||||
|
|
||||||
- name: debug
|
|
||||||
run: |
|
|
||||||
echo ">>>>> status"
|
|
||||||
git status
|
|
||||||
echo ">>>>> remotes"
|
|
||||||
git remote -v
|
|
||||||
echo ">>>>> branch"
|
|
||||||
git branch -v
|
|
||||||
echo ">>>>> log"
|
|
||||||
git log --pretty=oneline | head -5
|
|
||||||
|
|
||||||
- name: commit docs
|
|
||||||
run: |
|
|
||||||
git config user.name 'Github Build Bot'
|
|
||||||
git config user.email 'buildbot@fishtownanalytics.com'
|
|
||||||
git commit -am "Add generated CLI API docs"
|
|
||||||
git push -u origin ${{ github.head_ref }}
|
|
||||||
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@@ -55,10 +55,9 @@ jobs:
|
|||||||
python -m pip --version
|
python -m pip --version
|
||||||
python -m pip install pre-commit
|
python -m pip install pre-commit
|
||||||
pre-commit --version
|
pre-commit --version
|
||||||
python -m pip install mypy==0.942
|
|
||||||
mypy --version
|
|
||||||
python -m pip install -r requirements.txt
|
python -m pip install -r requirements.txt
|
||||||
python -m pip install -r dev-requirements.txt
|
python -m pip install -r dev-requirements.txt
|
||||||
|
mypy --version
|
||||||
dbt --version
|
dbt --version
|
||||||
|
|
||||||
- name: Run pre-commit hooks
|
- name: Run pre-commit hooks
|
||||||
|
|||||||
109
.github/workflows/nightly-release.yml
vendored
Normal file
109
.github/workflows/nightly-release.yml
vendored
Normal file
@@ -0,0 +1,109 @@
|
|||||||
|
# **what?**
|
||||||
|
# Nightly releases to GitHub and PyPI. This workflow produces the following outcome:
|
||||||
|
# - generate and validate data for night release (commit SHA, version number, release branch);
|
||||||
|
# - pass data to release workflow;
|
||||||
|
# - night release will be pushed to GitHub as a draft release;
|
||||||
|
# - night build will be pushed to test PyPI;
|
||||||
|
#
|
||||||
|
# **why?**
|
||||||
|
# Ensure an automated and tested release process for nightly builds
|
||||||
|
#
|
||||||
|
# **when?**
|
||||||
|
# This workflow runs on schedule or can be run manually on demand.
|
||||||
|
|
||||||
|
name: Nightly Test Release to GitHub and PyPI
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch: # for manual triggering
|
||||||
|
schedule:
|
||||||
|
- cron: 0 9 * * *
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write # this is the permission that allows creating a new release
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
env:
|
||||||
|
RELEASE_BRANCH: "main"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
aggregate-release-data:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
commit_sha: ${{ steps.resolve-commit-sha.outputs.release_commit }}
|
||||||
|
version_number: ${{ steps.nightly-release-version.outputs.number }}
|
||||||
|
release_branch: ${{ steps.release-branch.outputs.name }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "Checkout ${{ github.repository }} Branch ${{ env.RELEASE_BRANCH }}"
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ env.RELEASE_BRANCH }}
|
||||||
|
|
||||||
|
- name: "Resolve Commit To Release"
|
||||||
|
id: resolve-commit-sha
|
||||||
|
run: |
|
||||||
|
commit_sha=$(git rev-parse HEAD)
|
||||||
|
echo "release_commit=$commit_sha" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: "Get Current Version Number"
|
||||||
|
id: version-number-sources
|
||||||
|
run: |
|
||||||
|
current_version=`awk -F"current_version = " '{print $2}' .bumpversion.cfg | tr '\n' ' '`
|
||||||
|
echo "current_version=$current_version" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: "Audit Version And Parse Into Parts"
|
||||||
|
id: semver
|
||||||
|
uses: dbt-labs/actions/parse-semver@v1.1.0
|
||||||
|
with:
|
||||||
|
version: ${{ steps.version-number-sources.outputs.current_version }}
|
||||||
|
|
||||||
|
- name: "Get Current Date"
|
||||||
|
id: current-date
|
||||||
|
run: echo "date=$(date +'%m%d%Y')" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: "Generate Nightly Release Version Number"
|
||||||
|
id: nightly-release-version
|
||||||
|
run: |
|
||||||
|
number="${{ steps.semver.outputs.version }}.dev${{ steps.current-date.outputs.date }}"
|
||||||
|
echo "number=$number" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: "Audit Nightly Release Version And Parse Into Parts"
|
||||||
|
uses: dbt-labs/actions/parse-semver@v1.1.0
|
||||||
|
with:
|
||||||
|
version: ${{ steps.nightly-release-version.outputs.number }}
|
||||||
|
|
||||||
|
- name: "Set Release Branch"
|
||||||
|
id: release-branch
|
||||||
|
run: |
|
||||||
|
echo "name=${{ env.RELEASE_BRANCH }}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
log-outputs-aggregate-release-data:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: [aggregate-release-data]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "[DEBUG] Log Outputs"
|
||||||
|
run: |
|
||||||
|
echo commit_sha : ${{ needs.aggregate-release-data.outputs.commit_sha }}
|
||||||
|
echo version_number: ${{ needs.aggregate-release-data.outputs.version_number }}
|
||||||
|
echo release_branch: ${{ needs.aggregate-release-data.outputs.release_branch }}
|
||||||
|
|
||||||
|
release-github-pypi:
|
||||||
|
needs: [aggregate-release-data]
|
||||||
|
|
||||||
|
uses: ./.github/workflows/release.yml
|
||||||
|
with:
|
||||||
|
sha: ${{ needs.aggregate-release-data.outputs.commit_sha }}
|
||||||
|
target_branch: ${{ needs.aggregate-release-data.outputs.release_branch }}
|
||||||
|
version_number: ${{ needs.aggregate-release-data.outputs.version_number }}
|
||||||
|
build_script_path: "scripts/build-dist.sh"
|
||||||
|
env_setup_script_path: "scripts/env-setup.sh"
|
||||||
|
s3_bucket_name: "core-team-artifacts"
|
||||||
|
package_test_command: "dbt --version"
|
||||||
|
test_run: true
|
||||||
|
nightly_release: true
|
||||||
|
secrets: inherit
|
||||||
30
.github/workflows/release-branch-tests.yml
vendored
30
.github/workflows/release-branch-tests.yml
vendored
@@ -28,7 +28,33 @@ on:
|
|||||||
permissions: read-all
|
permissions: read-all
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
fetch-latest-branches:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
latest-branches: ${{ steps.get-latest-branches.outputs.repo-branches }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: "Fetch dbt-core Latest Branches"
|
||||||
|
uses: dbt-labs/actions/fetch-repo-branches@v1.1.1
|
||||||
|
id: get-latest-branches
|
||||||
|
with:
|
||||||
|
repo_name: ${{ github.event.repository.name }}
|
||||||
|
organization: "dbt-labs"
|
||||||
|
pat: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
fetch_protected_branches_only: true
|
||||||
|
regex: "^1.[0-9]+.latest$"
|
||||||
|
perform_match_method: "match"
|
||||||
|
retries: 3
|
||||||
|
|
||||||
|
- name: "[ANNOTATION] ${{ github.event.repository.name }} - branches to test"
|
||||||
|
run: |
|
||||||
|
title="${{ github.event.repository.name }} - branches to test"
|
||||||
|
message="The workflow will run tests for the following branches of the ${{ github.event.repository.name }} repo: ${{ steps.get-latest-branches.outputs.repo-branches }}"
|
||||||
|
echo "::notice $title::$message"
|
||||||
|
|
||||||
kick-off-ci:
|
kick-off-ci:
|
||||||
|
needs: [fetch-latest-branches]
|
||||||
name: Kick-off CI
|
name: Kick-off CI
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@@ -39,7 +65,9 @@ jobs:
|
|||||||
max-parallel: 1
|
max-parallel: 1
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
branch: [1.0.latest, 1.1.latest, 1.2.latest, 1.3.latest, main]
|
branch: ${{ fromJSON(needs.fetch-latest-branches.outputs.latest-branches) }}
|
||||||
|
include:
|
||||||
|
- branch: 'main'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Call CI workflow for ${{ matrix.branch }} branch
|
- name: Call CI workflow for ${{ matrix.branch }} branch
|
||||||
|
|||||||
339
.github/workflows/release.yml
vendored
339
.github/workflows/release.yml
vendored
@@ -1,24 +1,110 @@
|
|||||||
# **what?**
|
# **what?**
|
||||||
# Take the given commit, run unit tests specifically on that sha, build and
|
# Release workflow provides the following steps:
|
||||||
# package it, and then release to GitHub and PyPi with that specific build
|
# - checkout the given commit;
|
||||||
|
# - validate version in sources and changelog file for given version;
|
||||||
|
# - bump the version and generate a changelog if needed;
|
||||||
|
# - merge all changes to the target branch if needed;
|
||||||
|
# - run unit and integration tests against given commit;
|
||||||
|
# - build and package that SHA;
|
||||||
|
# - release it to GitHub and PyPI with that specific build;
|
||||||
|
#
|
||||||
# **why?**
|
# **why?**
|
||||||
# Ensure an automated and tested release process
|
# Ensure an automated and tested release process
|
||||||
|
#
|
||||||
# **when?**
|
# **when?**
|
||||||
# This will only run manually with a given sha and version
|
# This workflow can be run manually on demand or can be called by other workflows
|
||||||
|
|
||||||
name: Release to GitHub and PyPi
|
name: Release to GitHub and PyPI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
sha:
|
sha:
|
||||||
description: 'The last commit sha in the release'
|
description: "The last commit sha in the release"
|
||||||
required: true
|
type: string
|
||||||
|
required: true
|
||||||
|
target_branch:
|
||||||
|
description: "The branch to release from"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
version_number:
|
version_number:
|
||||||
description: 'The release version number (i.e. 1.0.0b1)'
|
description: "The release version number (i.e. 1.0.0b1)"
|
||||||
required: true
|
type: string
|
||||||
|
required: true
|
||||||
|
build_script_path:
|
||||||
|
description: "Build script path"
|
||||||
|
type: string
|
||||||
|
default: "scripts/build-dist.sh"
|
||||||
|
required: true
|
||||||
|
env_setup_script_path:
|
||||||
|
description: "Environment setup script path"
|
||||||
|
type: string
|
||||||
|
default: "scripts/env-setup.sh"
|
||||||
|
required: false
|
||||||
|
s3_bucket_name:
|
||||||
|
description: "AWS S3 bucket name"
|
||||||
|
type: string
|
||||||
|
default: "core-team-artifacts"
|
||||||
|
required: true
|
||||||
|
package_test_command:
|
||||||
|
description: "Package test command"
|
||||||
|
type: string
|
||||||
|
default: "dbt --version"
|
||||||
|
required: true
|
||||||
|
test_run:
|
||||||
|
description: "Test run (Publish release as draft)"
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
required: false
|
||||||
|
nightly_release:
|
||||||
|
description: "Nightly release to dev environment"
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
required: false
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
sha:
|
||||||
|
description: "The last commit sha in the release"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
target_branch:
|
||||||
|
description: "The branch to release from"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
version_number:
|
||||||
|
description: "The release version number (i.e. 1.0.0b1)"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
build_script_path:
|
||||||
|
description: "Build script path"
|
||||||
|
type: string
|
||||||
|
default: "scripts/build-dist.sh"
|
||||||
|
required: true
|
||||||
|
env_setup_script_path:
|
||||||
|
description: "Environment setup script path"
|
||||||
|
type: string
|
||||||
|
default: "scripts/env-setup.sh"
|
||||||
|
required: false
|
||||||
|
s3_bucket_name:
|
||||||
|
description: "AWS S3 bucket name"
|
||||||
|
type: string
|
||||||
|
default: "core-team-artifacts"
|
||||||
|
required: true
|
||||||
|
package_test_command:
|
||||||
|
description: "Package test command"
|
||||||
|
type: string
|
||||||
|
default: "dbt --version"
|
||||||
|
required: true
|
||||||
|
test_run:
|
||||||
|
description: "Test run (Publish release as draft)"
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
required: false
|
||||||
|
nightly_release:
|
||||||
|
description: "Nightly release to dev environment"
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
required: false
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # this is the permission that allows creating a new release
|
contents: write # this is the permission that allows creating a new release
|
||||||
@@ -28,175 +114,116 @@ defaults:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
unit:
|
log-inputs:
|
||||||
name: Unit test
|
name: Log Inputs
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
env:
|
|
||||||
TOXENV: "unit"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: "[DEBUG] Print Variables"
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
persist-credentials: false
|
|
||||||
ref: ${{ github.event.inputs.sha }}
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
run: |
|
||||||
pip install --user --upgrade pip
|
echo The last commit sha in the release: ${{ inputs.sha }}
|
||||||
pip install tox
|
echo The branch to release from: ${{ inputs.target_branch }}
|
||||||
pip --version
|
echo The release version number: ${{ inputs.version_number }}
|
||||||
tox --version
|
echo Build script path: ${{ inputs.build_script_path }}
|
||||||
|
echo Environment setup script path: ${{ inputs.env_setup_script_path }}
|
||||||
|
echo AWS S3 bucket name: ${{ inputs.s3_bucket_name }}
|
||||||
|
echo Package test command: ${{ inputs.package_test_command }}
|
||||||
|
echo Test run: ${{ inputs.test_run }}
|
||||||
|
echo Nightly release: ${{ inputs.nightly_release }}
|
||||||
|
|
||||||
- name: Run tox
|
bump-version-generate-changelog:
|
||||||
run: tox
|
name: Bump package version, Generate changelog
|
||||||
|
|
||||||
build:
|
uses: dbt-labs/dbt-release/.github/workflows/release-prep.yml@main
|
||||||
name: build packages
|
|
||||||
|
with:
|
||||||
|
sha: ${{ inputs.sha }}
|
||||||
|
version_number: ${{ inputs.version_number }}
|
||||||
|
target_branch: ${{ inputs.target_branch }}
|
||||||
|
env_setup_script_path: ${{ inputs.env_setup_script_path }}
|
||||||
|
test_run: ${{ inputs.test_run }}
|
||||||
|
nightly_release: ${{ inputs.nightly_release }}
|
||||||
|
|
||||||
|
secrets: inherit
|
||||||
|
|
||||||
|
log-outputs-bump-version-generate-changelog:
|
||||||
|
name: "[Log output] Bump package version, Generate changelog"
|
||||||
|
if: ${{ !failure() && !cancelled() }}
|
||||||
|
|
||||||
|
needs: [bump-version-generate-changelog]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out the repository
|
- name: Print variables
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
persist-credentials: false
|
|
||||||
ref: ${{ github.event.inputs.sha }}
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
run: |
|
||||||
pip install --user --upgrade pip
|
echo Final SHA : ${{ needs.bump-version-generate-changelog.outputs.final_sha }}
|
||||||
pip install --upgrade setuptools wheel twine check-wheel-contents
|
echo Changelog path: ${{ needs.bump-version-generate-changelog.outputs.changelog_path }}
|
||||||
pip --version
|
|
||||||
|
|
||||||
- name: Build distributions
|
build-test-package:
|
||||||
run: ./scripts/build-dist.sh
|
name: Build, Test, Package
|
||||||
|
if: ${{ !failure() && !cancelled() }}
|
||||||
|
needs: [bump-version-generate-changelog]
|
||||||
|
|
||||||
- name: Show distributions
|
uses: dbt-labs/dbt-release/.github/workflows/build.yml@main
|
||||||
run: ls -lh dist/
|
|
||||||
|
|
||||||
- name: Check distribution descriptions
|
with:
|
||||||
run: |
|
sha: ${{ needs.bump-version-generate-changelog.outputs.final_sha }}
|
||||||
twine check dist/*
|
version_number: ${{ inputs.version_number }}
|
||||||
|
changelog_path: ${{ needs.bump-version-generate-changelog.outputs.changelog_path }}
|
||||||
|
build_script_path: ${{ inputs.build_script_path }}
|
||||||
|
s3_bucket_name: ${{ inputs.s3_bucket_name }}
|
||||||
|
package_test_command: ${{ inputs.package_test_command }}
|
||||||
|
test_run: ${{ inputs.test_run }}
|
||||||
|
nightly_release: ${{ inputs.nightly_release }}
|
||||||
|
|
||||||
- name: Check wheel contents
|
secrets:
|
||||||
run: |
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
check-wheel-contents dist/*.whl --ignore W007,W008
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: dist
|
|
||||||
path: |
|
|
||||||
dist/
|
|
||||||
!dist/dbt-${{github.event.inputs.version_number}}.tar.gz
|
|
||||||
|
|
||||||
test-build:
|
|
||||||
name: verify packages
|
|
||||||
|
|
||||||
needs: [build, unit]
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.8
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
pip install --user --upgrade pip
|
|
||||||
pip install --upgrade wheel
|
|
||||||
pip --version
|
|
||||||
|
|
||||||
- uses: actions/download-artifact@v2
|
|
||||||
with:
|
|
||||||
name: dist
|
|
||||||
path: dist/
|
|
||||||
|
|
||||||
- name: Show distributions
|
|
||||||
run: ls -lh dist/
|
|
||||||
|
|
||||||
- name: Install wheel distributions
|
|
||||||
run: |
|
|
||||||
find ./dist/*.whl -maxdepth 1 -type f | xargs pip install --force-reinstall --find-links=dist/
|
|
||||||
|
|
||||||
- name: Check wheel distributions
|
|
||||||
run: |
|
|
||||||
dbt --version
|
|
||||||
|
|
||||||
- name: Install source distributions
|
|
||||||
run: |
|
|
||||||
find ./dist/*.gz -maxdepth 1 -type f | xargs pip install --force-reinstall --find-links=dist/
|
|
||||||
|
|
||||||
- name: Check source distributions
|
|
||||||
run: |
|
|
||||||
dbt --version
|
|
||||||
|
|
||||||
github-release:
|
github-release:
|
||||||
name: GitHub Release
|
name: GitHub Release
|
||||||
|
if: ${{ !failure() && !cancelled() }}
|
||||||
|
|
||||||
needs: test-build
|
needs: [bump-version-generate-changelog, build-test-package]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
uses: dbt-labs/dbt-release/.github/workflows/github-release.yml@main
|
||||||
|
|
||||||
steps:
|
with:
|
||||||
- uses: actions/download-artifact@v2
|
sha: ${{ needs.bump-version-generate-changelog.outputs.final_sha }}
|
||||||
with:
|
version_number: ${{ inputs.version_number }}
|
||||||
name: dist
|
changelog_path: ${{ needs.bump-version-generate-changelog.outputs.changelog_path }}
|
||||||
path: '.'
|
test_run: ${{ inputs.test_run }}
|
||||||
|
|
||||||
# Need to set an output variable because env variables can't be taken as input
|
|
||||||
# This is needed for the next step with releasing to GitHub
|
|
||||||
- name: Find release type
|
|
||||||
id: release_type
|
|
||||||
env:
|
|
||||||
IS_PRERELEASE: ${{ contains(github.event.inputs.version_number, 'rc') || contains(github.event.inputs.version_number, 'b') }}
|
|
||||||
run: |
|
|
||||||
echo "isPrerelease=$IS_PRERELEASE" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Creating GitHub Release
|
|
||||||
uses: softprops/action-gh-release@v1
|
|
||||||
with:
|
|
||||||
name: dbt-core v${{github.event.inputs.version_number}}
|
|
||||||
tag_name: v${{github.event.inputs.version_number}}
|
|
||||||
prerelease: ${{ steps.release_type.outputs.isPrerelease }}
|
|
||||||
target_commitish: ${{github.event.inputs.sha}}
|
|
||||||
body: |
|
|
||||||
[Release notes](https://github.com/dbt-labs/dbt-core/blob/main/CHANGELOG.md)
|
|
||||||
files: |
|
|
||||||
dbt_postgres-${{github.event.inputs.version_number}}-py3-none-any.whl
|
|
||||||
dbt_core-${{github.event.inputs.version_number}}-py3-none-any.whl
|
|
||||||
dbt-postgres-${{github.event.inputs.version_number}}.tar.gz
|
|
||||||
dbt-core-${{github.event.inputs.version_number}}.tar.gz
|
|
||||||
|
|
||||||
pypi-release:
|
pypi-release:
|
||||||
name: Pypi release
|
name: PyPI Release
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
needs: [github-release]
|
||||||
|
|
||||||
needs: github-release
|
uses: dbt-labs/dbt-release/.github/workflows/pypi-release.yml@main
|
||||||
|
|
||||||
environment: PypiProd
|
with:
|
||||||
steps:
|
version_number: ${{ inputs.version_number }}
|
||||||
- uses: actions/download-artifact@v2
|
test_run: ${{ inputs.test_run }}
|
||||||
with:
|
|
||||||
name: dist
|
|
||||||
path: 'dist'
|
|
||||||
|
|
||||||
- name: Publish distribution to PyPI
|
secrets:
|
||||||
uses: pypa/gh-action-pypi-publish@v1.4.2
|
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
|
||||||
with:
|
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
||||||
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
||||||
|
slack-notification:
|
||||||
|
name: Slack Notification
|
||||||
|
if: ${{ failure() && (!inputs.test_run || inputs.nightly_release) }}
|
||||||
|
|
||||||
|
needs:
|
||||||
|
[
|
||||||
|
bump-version-generate-changelog,
|
||||||
|
build-test-package,
|
||||||
|
github-release,
|
||||||
|
pypi-release,
|
||||||
|
]
|
||||||
|
|
||||||
|
uses: dbt-labs/dbt-release/.github/workflows/slack-post-notification.yml@main
|
||||||
|
with:
|
||||||
|
status: "failure"
|
||||||
|
|
||||||
|
secrets:
|
||||||
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_DEV_CORE_ALERTS }}
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ jobs:
|
|||||||
LOG_DIR: "/home/runner/work/dbt-core/dbt-core/logs"
|
LOG_DIR: "/home/runner/work/dbt-core/dbt-core/logs"
|
||||||
# tells integration tests to output into json format
|
# tells integration tests to output into json format
|
||||||
DBT_LOG_FORMAT: "json"
|
DBT_LOG_FORMAT: "json"
|
||||||
|
# tell eventmgr to convert logging events into bytes
|
||||||
|
DBT_TEST_BINARY_SERIALIZATION: "true"
|
||||||
# Additional test users
|
# Additional test users
|
||||||
DBT_TEST_USER_1: dbt_test_user_1
|
DBT_TEST_USER_1: dbt_test_user_1
|
||||||
DBT_TEST_USER_2: dbt_test_user_2
|
DBT_TEST_USER_2: dbt_test_user_2
|
||||||
|
|||||||
107
.github/workflows/version-bump.yml
vendored
107
.github/workflows/version-bump.yml
vendored
@@ -20,106 +20,9 @@ on:
|
|||||||
description: 'The version number to bump to (ex. 1.2.0, 1.3.0b1)'
|
description: 'The version number to bump to (ex. 1.2.0, 1.3.0b1)'
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
bump:
|
version_bump_and_changie:
|
||||||
runs-on: ubuntu-latest
|
uses: dbt-labs/actions/.github/workflows/version-bump.yml@main
|
||||||
steps:
|
with:
|
||||||
- name: "[DEBUG] Print Variables"
|
version_number: ${{ inputs.version_number }}
|
||||||
run: |
|
secrets: inherit # ok since what we are calling is internally maintained
|
||||||
echo "all variables defined as inputs"
|
|
||||||
echo The version_number: ${{ github.event.inputs.version_number }}
|
|
||||||
|
|
||||||
- name: Check out the repository
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: "3.8"
|
|
||||||
|
|
||||||
- name: Install python dependencies
|
|
||||||
run: |
|
|
||||||
python3 -m venv env
|
|
||||||
source env/bin/activate
|
|
||||||
pip install --upgrade pip
|
|
||||||
|
|
||||||
- name: Add Homebrew to PATH
|
|
||||||
run: |
|
|
||||||
echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
|
|
||||||
|
|
||||||
- name: Install Homebrew packages
|
|
||||||
run: |
|
|
||||||
brew install pre-commit
|
|
||||||
brew tap miniscruff/changie https://github.com/miniscruff/changie
|
|
||||||
brew install changie
|
|
||||||
|
|
||||||
- name: Audit Version and Parse Into Parts
|
|
||||||
id: semver
|
|
||||||
uses: dbt-labs/actions/parse-semver@v1
|
|
||||||
with:
|
|
||||||
version: ${{ github.event.inputs.version_number }}
|
|
||||||
|
|
||||||
- name: Set branch value
|
|
||||||
id: variables
|
|
||||||
run: |
|
|
||||||
echo "BRANCH_NAME=prep-release/${{ github.event.inputs.version_number }}_$GITHUB_RUN_ID" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Create PR branch
|
|
||||||
run: |
|
|
||||||
git checkout -b ${{ steps.variables.outputs.BRANCH_NAME }}
|
|
||||||
git push origin ${{ steps.variables.outputs.BRANCH_NAME }}
|
|
||||||
git branch --set-upstream-to=origin/${{ steps.variables.outputs.BRANCH_NAME }} ${{ steps.variables.outputs.BRANCH_NAME }}
|
|
||||||
|
|
||||||
- name: Bump version
|
|
||||||
run: |
|
|
||||||
source env/bin/activate
|
|
||||||
pip install -r dev-requirements.txt
|
|
||||||
env/bin/bumpversion --allow-dirty --new-version ${{ github.event.inputs.version_number }} major
|
|
||||||
git status
|
|
||||||
|
|
||||||
- name: Run changie
|
|
||||||
run: |
|
|
||||||
if [[ ${{ steps.semver.outputs.is-pre-release }} -eq 1 ]]
|
|
||||||
then
|
|
||||||
changie batch ${{ steps.semver.outputs.base-version }} --move-dir '${{ steps.semver.outputs.base-version }}' --prerelease '${{ steps.semver.outputs.pre-release }}'
|
|
||||||
else
|
|
||||||
changie batch ${{ steps.semver.outputs.base-version }} --include '${{ steps.semver.outputs.base-version }}' --remove-prereleases
|
|
||||||
fi
|
|
||||||
changie merge
|
|
||||||
git status
|
|
||||||
|
|
||||||
# this step will fail on whitespace errors but also correct them
|
|
||||||
- name: Remove trailing whitespace
|
|
||||||
continue-on-error: true
|
|
||||||
run: |
|
|
||||||
pre-commit run trailing-whitespace --files .bumpversion.cfg CHANGELOG.md .changes/*
|
|
||||||
git status
|
|
||||||
|
|
||||||
# this step will fail on newline errors but also correct them
|
|
||||||
- name: Removing extra newlines
|
|
||||||
continue-on-error: true
|
|
||||||
run: |
|
|
||||||
pre-commit run end-of-file-fixer --files .bumpversion.cfg CHANGELOG.md .changes/*
|
|
||||||
git status
|
|
||||||
|
|
||||||
- name: Commit version bump to branch
|
|
||||||
uses: EndBug/add-and-commit@v7
|
|
||||||
with:
|
|
||||||
author_name: 'Github Build Bot'
|
|
||||||
author_email: 'buildbot@fishtownanalytics.com'
|
|
||||||
message: 'Bumping version to ${{ github.event.inputs.version_number }} and generate CHANGELOG'
|
|
||||||
branch: '${{ steps.variables.outputs.BRANCH_NAME }}'
|
|
||||||
push: 'origin origin/${{ steps.variables.outputs.BRANCH_NAME }}'
|
|
||||||
|
|
||||||
- name: Create Pull Request
|
|
||||||
uses: peter-evans/create-pull-request@v3
|
|
||||||
with:
|
|
||||||
author: 'Github Build Bot <buildbot@fishtownanalytics.com>'
|
|
||||||
base: ${{github.ref}}
|
|
||||||
title: 'Bumping version to ${{ github.event.inputs.version_number }} and generate changelog'
|
|
||||||
branch: '${{ steps.variables.outputs.BRANCH_NAME }}'
|
|
||||||
labels: |
|
|
||||||
Skip Changelog
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user