mirror of
https://github.com/dbt-labs/dbt-core
synced 2025-12-19 16:01:28 +00:00
Compare commits
76 Commits
jerco/pyth
...
v1.0.5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7e5a6c6b3 | ||
|
|
9f5688bf84 | ||
|
|
4838411039 | ||
|
|
37344dd87c | ||
|
|
7202a1c78e | ||
|
|
8489e99854 | ||
|
|
4a1d8a2986 | ||
|
|
64ff87d7e4 | ||
|
|
5d0ebd502b | ||
|
|
7aa7259b1a | ||
|
|
7d1410acc9 | ||
|
|
88fc45b156 | ||
|
|
c6cde6ee2d | ||
|
|
c8f3f22e15 | ||
|
|
2748e4b822 | ||
|
|
7fca9ec2c9 | ||
|
|
ad3063a612 | ||
|
|
5218438704 | ||
|
|
33d08f8faa | ||
|
|
9ff2c8024c | ||
|
|
75696a1797 | ||
|
|
5b41b12779 | ||
|
|
27ed2f961b | ||
|
|
f2dcb6f23c | ||
|
|
77afe63c7c | ||
|
|
ca7c4c147a | ||
|
|
4145834c5b | ||
|
|
aaeb94d683 | ||
|
|
a2662b2f83 | ||
|
|
056db408cf | ||
|
|
bec6becd18 | ||
|
|
3be057b6a4 | ||
|
|
e2a6c25a6d | ||
|
|
92b3fc470d | ||
|
|
1e9fe67393 | ||
|
|
d9361259f4 | ||
|
|
7990974bd8 | ||
|
|
544d3e7a3a | ||
|
|
31962beb14 | ||
|
|
f6a0853901 | ||
|
|
336a3d4987 | ||
|
|
74dc5c49ae | ||
|
|
29fa687349 | ||
|
|
39d4e729c9 | ||
|
|
406bdcc89c | ||
|
|
9702aa733f | ||
|
|
44265716f9 | ||
|
|
20b27fd3b6 | ||
|
|
76c2e182ba | ||
|
|
791625ddf5 | ||
|
|
1baa05a764 | ||
|
|
1b47b53aff | ||
|
|
ec1f609f3e | ||
|
|
b4ea003559 | ||
|
|
23e1a9aa4f | ||
|
|
9882d08a24 | ||
|
|
79cc811a68 | ||
|
|
c82572f745 | ||
|
|
42a38e4deb | ||
|
|
ecf0ffe68c | ||
|
|
e9f26ef494 | ||
|
|
c77dc59af8 | ||
|
|
a5ebe4ff59 | ||
|
|
5c01f9006c | ||
|
|
c92e1ed9f2 | ||
|
|
85dee41a9f | ||
|
|
a4456feff0 | ||
|
|
8d27764b0f | ||
|
|
e56256d968 | ||
|
|
86cb3ba6fa | ||
|
|
4d0d2d0d6f | ||
|
|
f8a3c27fb8 | ||
|
|
30f05b0213 | ||
|
|
f1bebb3629 | ||
|
|
e7a40345ad | ||
|
|
ba94b8212c |
@@ -1,12 +1,12 @@
|
|||||||
[bumpversion]
|
[bumpversion]
|
||||||
current_version = 1.3.0b2
|
current_version = 1.0.5
|
||||||
parse = (?P<major>\d+)
|
parse = (?P<major>\d+)
|
||||||
\.(?P<minor>\d+)
|
\.(?P<minor>\d+)
|
||||||
\.(?P<patch>\d+)
|
\.(?P<patch>\d+)
|
||||||
((?P<prekind>a|b|rc)
|
((?P<prekind>a|b|rc)
|
||||||
(?P<pre>\d+) # pre-release version num
|
(?P<pre>\d+) # pre-release version num
|
||||||
)?
|
)?
|
||||||
serialize =
|
serialize =
|
||||||
{major}.{minor}.{patch}{prekind}{pre}
|
{major}.{minor}.{patch}{prekind}{pre}
|
||||||
{major}.{minor}.{patch}
|
{major}.{minor}.{patch}
|
||||||
commit = False
|
commit = False
|
||||||
@@ -15,7 +15,7 @@ tag = False
|
|||||||
[bumpversion:part:prekind]
|
[bumpversion:part:prekind]
|
||||||
first_value = a
|
first_value = a
|
||||||
optional_value = final
|
optional_value = final
|
||||||
values =
|
values =
|
||||||
a
|
a
|
||||||
b
|
b
|
||||||
rc
|
rc
|
||||||
@@ -24,16 +24,16 @@ values =
|
|||||||
[bumpversion:part:pre]
|
[bumpversion:part:pre]
|
||||||
first_value = 1
|
first_value = 1
|
||||||
|
|
||||||
|
[bumpversion:file:setup.py]
|
||||||
|
|
||||||
[bumpversion:file:core/setup.py]
|
[bumpversion:file:core/setup.py]
|
||||||
|
|
||||||
[bumpversion:file:core/dbt/version.py]
|
[bumpversion:file:core/dbt/version.py]
|
||||||
|
|
||||||
|
[bumpversion:file:core/scripts/create_adapter_plugins.py]
|
||||||
|
|
||||||
[bumpversion:file:plugins/postgres/setup.py]
|
[bumpversion:file:plugins/postgres/setup.py]
|
||||||
|
|
||||||
[bumpversion:file:plugins/postgres/dbt/adapters/postgres/__version__.py]
|
[bumpversion:file:plugins/postgres/dbt/adapters/postgres/__version__.py]
|
||||||
|
|
||||||
[bumpversion:file:docker/Dockerfile]
|
[bumpversion:file:docker/requirements/requirements.txt]
|
||||||
|
|
||||||
[bumpversion:file:tests/adapter/setup.py]
|
|
||||||
|
|
||||||
[bumpversion:file:tests/adapter/dbt/tests/adapter/__version__.py]
|
|
||||||
|
|||||||
@@ -2,10 +2,6 @@
|
|||||||
|
|
||||||
For information on prior major and minor releases, see their changelogs:
|
For information on prior major and minor releases, see their changelogs:
|
||||||
|
|
||||||
|
|
||||||
* [1.2](https://github.com/dbt-labs/dbt-core/blob/1.2.latest/CHANGELOG.md)
|
|
||||||
* [1.1](https://github.com/dbt-labs/dbt-core/blob/1.1.latest/CHANGELOG.md)
|
|
||||||
* [1.0](https://github.com/dbt-labs/dbt-core/blob/1.0.latest/CHANGELOG.md)
|
|
||||||
* [0.21](https://github.com/dbt-labs/dbt-core/blob/0.21.latest/CHANGELOG.md)
|
* [0.21](https://github.com/dbt-labs/dbt-core/blob/0.21.latest/CHANGELOG.md)
|
||||||
* [0.20](https://github.com/dbt-labs/dbt-core/blob/0.20.latest/CHANGELOG.md)
|
* [0.20](https://github.com/dbt-labs/dbt-core/blob/0.20.latest/CHANGELOG.md)
|
||||||
* [0.19](https://github.com/dbt-labs/dbt-core/blob/0.19.latest/CHANGELOG.md)
|
* [0.19](https://github.com/dbt-labs/dbt-core/blob/0.19.latest/CHANGELOG.md)
|
||||||
|
|||||||
250
.changes/1.0.3.md
Normal file
250
.changes/1.0.3.md
Normal file
@@ -0,0 +1,250 @@
|
|||||||
|
## dbt-core 1.0.3 (February 21, 2022)
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Fix bug accessing target fields in deps and clean commands ([#4752](https://github.com/dbt-labs/dbt-core/issues/4752), [#4758](https://github.com/dbt-labs/dbt-core/issues/4758))
|
||||||
|
|
||||||
|
## dbt-core 1.0.2 (February 18, 2022)
|
||||||
|
|
||||||
|
### Dependencies
|
||||||
|
- Pin `MarkupSafe==2.0.1`. Deprecation of `soft_unicode` in `MarkupSafe==2.1.0` is not supported by `Jinja2==2.11`
|
||||||
|
|
||||||
|
## dbt-core 1.0.2rc1 (February 4, 2022)
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Projects created using `dbt init` now have the correct `seeds` directory created (instead of `data`) ([#4588](https://github.com/dbt-labs/dbt-core/issues/4588), [#4599](https://github.com/dbt-labs/dbt-core/pull/4589))
|
||||||
|
- Don't require a profile for dbt deps and clean commands ([#4554](https://github.com/dbt-labs/dbt-core/issues/4554), [#4610](https://github.com/dbt-labs/dbt-core/pull/4610))
|
||||||
|
- Select modified.body works correctly when new model added([#4570](https://github.com/dbt-labs/dbt-core/issues/4570), [#4631](https://github.com/dbt-labs/dbt-core/pull/4631))
|
||||||
|
- Fix bug in retry logic for bad response from hub and when there is a bad git tarball download. ([#4577](https://github.com/dbt-labs/dbt-core/issues/4577), [#4579](https://github.com/dbt-labs/dbt-core/issues/4579), [#4609](https://github.com/dbt-labs/dbt-core/pull/4609))
|
||||||
|
- Restore previous log level (DEBUG) when a test depends on a disabled resource. Still WARN if the resource is missing ([#4594](https://github.com/dbt-labs/dbt-core/issues/4594), [#4647](https://github.com/dbt-labs/dbt-core/pull/4647))
|
||||||
|
- User wasn't asked for permission to overwite a profile entry when running init inside an existing project ([#4375](https://github.com/dbt-labs/dbt-core/issues/4375), [#4447](https://github.com/dbt-labs/dbt-core/pull/4447))
|
||||||
|
- A change in secret environment variables won't trigger a full reparse [#4650](https://github.com/dbt-labs/dbt-core/issues/4650) [4665](https://github.com/dbt-labs/dbt-core/pull/4665)
|
||||||
|
- adapter compability messaging added([#4438](https://github.com/dbt-labs/dbt-core/pull/4438) [#4565](https://github.com/dbt-labs/dbt-core/pull/4565))
|
||||||
|
- Add project name validation to `dbt init` ([#4490](https://github.com/dbt-labs/dbt-core/issues/4490),[#4536](https://github.com/dbt-labs/dbt-core/pull/4536))
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
- [@NiallRees](https://github.com/NiallRees) ([#4447](https://github.com/dbt-labs/dbt-core/pull/4447))
|
||||||
|
- [@amirkdv](https://github.com/amirkdv) ([#4536](https://github.com/dbt-labs/dbt-core/pull/4536))
|
||||||
|
- [@nkyuray](https://github.com/nkyuray) ([#4565](https://github.com/dbt-labs/dbt-core/pull/4565))
|
||||||
|
|
||||||
|
## dbt-core 1.0.1 (January 03, 2022)
|
||||||
|
|
||||||
|
|
||||||
|
## dbt-core 1.0.1rc1 (December 20, 2021)
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Fix wrong url in the dbt docs overview homepage ([#4442](https://github.com/dbt-labs/dbt-core/pull/4442))
|
||||||
|
- Fix redefined status param of SQLQueryStatus to typecheck the string which passes on `._message` value of `AdapterResponse` or the `str` value sent by adapter plugin. ([#4463](https://github.com/dbt-labs/dbt-core/pull/4463#issuecomment-990174166))
|
||||||
|
- Fix `DepsStartPackageInstall` event to use package name instead of version number. ([#4482](https://github.com/dbt-labs/dbt-core/pull/4482))
|
||||||
|
- Reimplement log message to use adapter name instead of the object method. ([#4501](https://github.com/dbt-labs/dbt-core/pull/4501))
|
||||||
|
- Issue better error message for incompatible schemas ([#4470](https://github.com/dbt-labs/dbt-core/pull/4442), [#4497](https://github.com/dbt-labs/dbt-core/pull/4497))
|
||||||
|
- Remove secrets from error related to packages. ([#4507](https://github.com/dbt-labs/dbt-core/pull/4507))
|
||||||
|
- Prevent coercion of boolean values (`True`, `False`) to numeric values (`0`, `1`) in query results ([#4511](https://github.com/dbt-labs/dbt-core/issues/4511), [#4512](https://github.com/dbt-labs/dbt-core/pull/4512))
|
||||||
|
- Fix error with an env_var in a project hook ([#4523](https://github.com/dbt-labs/dbt-core/issues/4523), [#4524](https://github.com/dbt-labs/dbt-core/pull/4524))
|
||||||
|
|
||||||
|
### Docs
|
||||||
|
- Fix missing data on exposures in docs ([#4467](https://github.com/dbt-labs/dbt-core/issues/4467))
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
- [remoyson](https://github.com/remoyson) ([#4442](https://github.com/dbt-labs/dbt-core/pull/4442))
|
||||||
|
|
||||||
|
## dbt-core 1.0.0 (December 3, 2021)
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Configure the CLI logger destination to use stdout instead of stderr ([#4368](https://github.com/dbt-labs/dbt-core/pull/4368))
|
||||||
|
- Make the size of `EVENT_HISTORY` configurable, via `EVENT_BUFFER_SIZE` global config ([#4411](https://github.com/dbt-labs/dbt-core/pull/4411), [#4416](https://github.com/dbt-labs/dbt-core/pull/4416))
|
||||||
|
- Change type of `log_format` in `profiles.yml` user config to be string, not boolean ([#4394](https://github.com/dbt-labs/dbt-core/pull/4394))
|
||||||
|
|
||||||
|
### Under the hood
|
||||||
|
- Only log cache events if `LOG_CACHE_EVENTS` is enabled, and disable by default. This restores previous behavior ([#4369](https://github.com/dbt-labs/dbt-core/pull/4369))
|
||||||
|
- Move event codes to be a top-level attribute of JSON-formatted logs, rather than nested in `data` ([#4381](https://github.com/dbt-labs/dbt-core/pull/4381))
|
||||||
|
- Fix failing integration test on Windows ([#4380](https://github.com/dbt-labs/dbt-core/pull/4380))
|
||||||
|
- Clean up warning messages for `clean` + `deps` ([#4366](https://github.com/dbt-labs/dbt-core/pull/4366))
|
||||||
|
- Use RFC3339 timestamps for log messages ([#4384](https://github.com/dbt-labs/dbt-core/pull/4384))
|
||||||
|
- Different text output for console (info) and file (debug) logs ([#4379](https://github.com/dbt-labs/dbt-core/pull/4379), [#4418](https://github.com/dbt-labs/dbt-core/pull/4418))
|
||||||
|
- Remove unused events. More structured `ConcurrencyLine`. Replace `\n` message starts/ends with `EmptyLine` events, and exclude `EmptyLine` from JSON-formatted output ([#4388](https://github.com/dbt-labs/dbt-core/pull/4388))
|
||||||
|
- Update `events` module README ([#4395](https://github.com/dbt-labs/dbt-core/pull/4395))
|
||||||
|
- Rework approach to JSON serialization for events with non-standard properties ([#4396](https://github.com/dbt-labs/dbt-core/pull/4396))
|
||||||
|
- Update legacy logger file name to `dbt.log.legacy` ([#4402](https://github.com/dbt-labs/dbt-core/pull/4402))
|
||||||
|
- Rollover `dbt.log` at 10 MB, and keep up to 5 backups, restoring previous behavior ([#4405](https://github.com/dbt-labs/dbt-core/pull/4405))
|
||||||
|
- Use reference keys instead of full relation objects in cache events ([#4410](https://github.com/dbt-labs/dbt-core/pull/4410))
|
||||||
|
- Add `node_type` contextual info to more events ([#4378](https://github.com/dbt-labs/dbt-core/pull/4378))
|
||||||
|
- Make `materialized` config optional in `node_type` ([#4417](https://github.com/dbt-labs/dbt-core/pull/4417))
|
||||||
|
- Stringify exception in `GenericExceptionOnRun` to support JSON serialization ([#4424](https://github.com/dbt-labs/dbt-core/pull/4424))
|
||||||
|
- Add "interop" tests for machine consumption of structured log output ([#4327](https://github.com/dbt-labs/dbt-core/pull/4327))
|
||||||
|
- Relax version specifier for `dbt-extractor` to `~=0.4.0`, to support compiled wheels for additional architectures when available ([#4427](https://github.com/dbt-labs/dbt-core/pull/4427))
|
||||||
|
|
||||||
|
## dbt-core 1.0.0rc3 (November 30, 2021)
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Support partial parsing of env_vars in metrics ([#4253](https://github.com/dbt-labs/dbt-core/issues/4293), [#4322](https://github.com/dbt-labs/dbt-core/pull/4322))
|
||||||
|
- Fix typo in `UnparsedSourceDefinition.__post_serialize__` ([#3545](https://github.com/dbt-labs/dbt-core/issues/3545), [#4349](https://github.com/dbt-labs/dbt-core/pull/4349))
|
||||||
|
|
||||||
|
### Under the hood
|
||||||
|
- Change some CompilationExceptions to ParsingExceptions ([#4254](http://github.com/dbt-labs/dbt-core/issues/4254), [#4328](https://github.com/dbt-core/pull/4328))
|
||||||
|
- Reorder logic for static parser sampling to speed up model parsing ([#4332](https://github.com/dbt-labs/dbt-core/pull/4332))
|
||||||
|
- Use more augmented assignment statements ([#4315](https://github.com/dbt-labs/dbt-core/issues/4315)), ([#4311](https://github.com/dbt-labs/dbt-core/pull/4331))
|
||||||
|
- Adjust logic when finding approximate matches for models and tests ([#3835](https://github.com/dbt-labs/dbt-core/issues/3835)), [#4076](https://github.com/dbt-labs/dbt-core/pull/4076))
|
||||||
|
- Restore small previous behaviors for logging: JSON formatting for first few events; `WARN`-level stdout for `list` task; include tracking events in `dbt.log` ([#4341](https://github.com/dbt-labs/dbt-core/pull/4341))
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
- [@sarah-weatherbee](https://github.com/sarah-weatherbee) ([#4331](https://github.com/dbt-labs/dbt-core/pull/4331))
|
||||||
|
- [@emilieschario](https://github.com/emilieschario) ([#4076](https://github.com/dbt-labs/dbt-core/pull/4076))
|
||||||
|
- [@sneznaj](https://github.com/sneznaj) ([#4349](https://github.com/dbt-labs/dbt-core/pull/4349))
|
||||||
|
|
||||||
|
## dbt-core 1.0.0rc2 (November 22, 2021)
|
||||||
|
|
||||||
|
### Breaking changes
|
||||||
|
- Restrict secret env vars (prefixed `DBT_ENV_SECRET_`) to `profiles.yml` + `packages.yml` _only_. Raise an exception if a secret env var is used elsewhere ([#4310](https://github.com/dbt-labs/dbt-core/issues/4310), [#4311](https://github.com/dbt-labs/dbt-core/pull/4311))
|
||||||
|
- Reorder arguments to `config.get()` so that `default` is second ([#4273](https://github.com/dbt-labs/dbt-core/issues/4273), [#4297](https://github.com/dbt-labs/dbt-core/pull/4297))
|
||||||
|
|
||||||
|
### Features
|
||||||
|
- Avoid error when missing column in YAML description ([#4151](https://github.com/dbt-labs/dbt-core/issues/4151), [#4285](https://github.com/dbt-labs/dbt-core/pull/4285))
|
||||||
|
- Allow `--defer` flag to `dbt snapshot` ([#4110](https://github.com/dbt-labs/dbt-core/issues/4110), [#4296](https://github.com/dbt-labs/dbt-core/pull/4296))
|
||||||
|
- Install prerelease packages when `version` explicitly references a prerelease version, regardless of `install-prerelease` status ([#4243](https://github.com/dbt-labs/dbt-core/issues/4243), [#4295](https://github.com/dbt-labs/dbt-core/pull/4295))
|
||||||
|
- Add data attributes to json log messages ([#4301](https://github.com/dbt-labs/dbt-core/pull/4301))
|
||||||
|
- Add event codes to all log events ([#4319](https://github.com/dbt-labs/dbt-core/pull/4319))
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Fix serialization error with missing quotes in metrics model ref ([#4252](https://github.com/dbt-labs/dbt-core/issues/4252), [#4287](https://github.com/dbt-labs/dbt-core/pull/4289))
|
||||||
|
- Correct definition of 'created_at' in ParsedMetric nodes ([#4298](http://github.com/dbt-labs/dbt-core/issues/4298), [#4299](https://github.com/dbt-labs/dbt-core/pull/4299))
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Allow specifying default in Jinja config.get with default keyword ([#4273](https://github.com/dbt-labs/dbt-core/issues/4273), [#4297](https://github.com/dbt-labs/dbt-core/pull/4297))
|
||||||
|
- Fix serialization error with missing quotes in metrics model ref ([#4252](https://github.com/dbt-labs/dbt-core/issues/4252), [#4287](https://github.com/dbt-labs/dbt-core/pull/4289))
|
||||||
|
- Correct definition of 'created_at' in ParsedMetric nodes ([#4298](https://github.com/dbt-labs/dbt-core/issues/4298), [#4299](https://github.com/dbt-labs/dbt-core/pull/4299))
|
||||||
|
|
||||||
|
### Under the hood
|
||||||
|
- Add --indirect-selection parameter to profiles.yml and builtin DBT_ env vars; stringified parameter to enable multi-modal use ([#3997](https://github.com/dbt-labs/dbt-core/issues/3997), [#4270](https://github.com/dbt-labs/dbt-core/pull/4270))
|
||||||
|
- Fix filesystem searcher test failure on Python 3.9 ([#3689](https://github.com/dbt-labs/dbt-core/issues/3689), [#4271](https://github.com/dbt-labs/dbt-core/pull/4271))
|
||||||
|
- Clean up deprecation warnings shown for `dbt_project.yml` config renames ([#4276](https://github.com/dbt-labs/dbt-core/issues/4276), [#4291](https://github.com/dbt-labs/dbt-core/pull/4291))
|
||||||
|
- Fix metrics count in compiled project stats ([#4290](https://github.com/dbt-labs/dbt-core/issues/4290), [#4292](https://github.com/dbt-labs/dbt-core/pull/4292))
|
||||||
|
- First pass at supporting more dbt tasks via python lib ([#4200](https://github.com/dbt-labs/dbt-core/pull/4200))
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
- [@kadero](https://github.com/kadero) ([#4285](https://github.com/dbt-labs/dbt-core/pull/4285), [#4296](https://github.com/dbt-labs/dbt-core/pull/4296))
|
||||||
|
- [@joellabes](https://github.com/joellabes) ([#4295](https://github.com/dbt-labs/dbt-core/pull/4295))
|
||||||
|
|
||||||
|
## dbt-core 1.0.0rc1 (November 10, 2021)
|
||||||
|
|
||||||
|
### Breaking changes
|
||||||
|
- Replace `greedy` flag/property for test selection with `indirect_selection: eager/cautious` flag/property. Set to `eager` by default. **Note:** This reverts test selection to its pre-v0.20 behavior by default. `dbt test -s my_model` _will_ select multi-parent tests, such as `relationships`, that depend on unselected resources. To achieve the behavior change in v0.20 + v0.21, set `--indirect-selection=cautious` on the CLI or `indirect_selection: cautious` in yaml selectors. ([#4082](https://github.com/dbt-labs/dbt-core/issues/4082), [#4104](https://github.com/dbt-labs/dbt-core/pull/4104))
|
||||||
|
- In v1.0.0, **`pip install dbt` will raise an explicit error.** Instead, please use `pip install dbt-<adapter>` (to use dbt with that database adapter), or `pip install dbt-core` (for core functionality). For parity with the previous behavior of `pip install dbt`, you can use: `pip install dbt-core dbt-postgres dbt-redshift dbt-snowflake dbt-bigquery` ([#4100](https://github.com/dbt-labs/dbt-core/issues/4100), [#4133](https://github.com/dbt-labs/dbt-core/pull/4133))
|
||||||
|
- Reorganize the `global_project` (macros) into smaller files with clearer names. Remove unused global macros: `column_list`, `column_list_for_create_table`, `incremental_upsert` ([#4154](https://github.com/dbt-labs/dbt-core/pull/4154))
|
||||||
|
- Introduce structured event interface, and begin conversion of all legacy logging ([#3359](https://github.com/dbt-labs/dbt-core/issues/3359), [#4055](https://github.com/dbt-labs/dbt-core/pull/4055))
|
||||||
|
- **This is a breaking change for adapter plugins, requiring a very simple migration.** See [`events` module README](core/dbt/events/README.md#adapter-maintainers) for details.
|
||||||
|
- If you maintain another kind of dbt-core plugin that makes heavy use of legacy logging, and you need time to cut over to the new event interface, you can re-enable the legacy logger via an environment variable shim, `DBT_ENABLE_LEGACY_LOGGER=True`. Be advised that we will remove this capability in a future version of dbt-core.
|
||||||
|
|
||||||
|
### Features
|
||||||
|
- Allow nullable `error_after` in source freshness ([#3874](https://github.com/dbt-labs/dbt-core/issues/3874), [#3955](https://github.com/dbt-labs/dbt-core/pull/3955))
|
||||||
|
- Add `metrics` nodes ([#4071](https://github.com/dbt-labs/dbt-core/issues/4071), [#4235](https://github.com/dbt-labs/dbt-core/pull/4235))
|
||||||
|
- Add support for `dbt init <project_name>`, and support for `skip_profile_setup` argument (`dbt init -s`) ([#4156](https://github.com/dbt-labs/dbt-core/issues/4156), [#4249](https://github.com/dbt-labs/dbt-core/pull/4249))
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Changes unit tests using `assertRaisesRegexp` to `assertRaisesRegex` ([#4136](https://github.com/dbt-labs/dbt-core/issues/4132), [#4136](https://github.com/dbt-labs/dbt-core/pull/4136))
|
||||||
|
- Allow retries when the answer from a `dbt deps` is `None` ([#4178](https://github.com/dbt-labs/dbt-core/issues/4178), [#4225](https://github.com/dbt-labs/dbt-core/pull/4225))
|
||||||
|
|
||||||
|
### Docs
|
||||||
|
|
||||||
|
- Fix non-alphabetical sort of Source Tables in source overview page ([docs#81](https://github.com/dbt-labs/dbt-docs/issues/81), [docs#218](https://github.com/dbt-labs/dbt-docs/pull/218))
|
||||||
|
- Add title tag to node elements in tree ([docs#202](https://github.com/dbt-labs/dbt-docs/issues/202), [docs#203](https://github.com/dbt-labs/dbt-docs/pull/203))
|
||||||
|
- Account for test rename: `schema` → `generic`, `data` →` singular`. Use `test_metadata` instead of `schema`/`data` tags to differentiate ([docs#216](https://github.com/dbt-labs/dbt-docs/issues/216), [docs#222](https://github.com/dbt-labs/dbt-docs/pull/222))
|
||||||
|
- Add `metrics` ([core#216](https://github.com/dbt-labs/dbt-core/issues/4235), [docs#223](https://github.com/dbt-labs/dbt-docs/pull/223))
|
||||||
|
|
||||||
|
### Under the hood
|
||||||
|
- Bump artifact schema versions for 1.0.0: manifest v4, run results v4, sources v3. Notable changes: added `metrics` nodes; schema test + data test nodes are renamed to generic test + singular test nodes; freshness threshold default values ([#4191](https://github.com/dbt-labs/dbt-core/pull/4191))
|
||||||
|
- Speed up node selection by skipping `incorporate_indirect_nodes` if not needed ([#4213](https://github.com/dbt-labs/dbt-core/issues/4213), [#4214](https://github.com/dbt-labs/dbt-core/issues/4214))
|
||||||
|
- When `on_schema_change` is set, pass common columns as `dest_columns` in incremental merge macros ([#4144](https://github.com/dbt-labs/dbt-core/issues/4144), [#4170](https://github.com/dbt-labs/dbt-core/pull/4170))
|
||||||
|
- Clear adapters before registering in `lib` module config generation ([#4218](https://github.com/dbt-labs/dbt-core/pull/4218))
|
||||||
|
- Remove official support for python 3.6, which is reaching end of life on December 23, 2021 ([#4134](https://github.com/dbt-labs/dbt-core/issues/4134), [#4223](https://github.com/dbt-labs/dbt-core/pull/4223))
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
- [@kadero](https://github.com/kadero) ([#3955](https://github.com/dbt-labs/dbt-core/pull/3955), [#4249](https://github.com/dbt-labs/dbt-core/pull/4249))
|
||||||
|
- [@frankcash](https://github.com/frankcash) ([#4136](https://github.com/dbt-labs/dbt-core/pull/4136))
|
||||||
|
- [@Kayrnt](https://github.com/Kayrnt) ([#4136](https://github.com/dbt-labs/dbt-core/pull/4170))
|
||||||
|
- [@VersusFacit](https://github.com/VersusFacit) ([#4104](https://github.com/dbt-labs/dbt-core/pull/4104))
|
||||||
|
- [@joellabes](https://github.com/joellabes) ([#4104](https://github.com/dbt-labs/dbt-core/pull/4104))
|
||||||
|
- [@b-per](https://github.com/b-per) ([#4225](https://github.com/dbt-labs/dbt-core/pull/4225))
|
||||||
|
- [@salmonsd](https://github.com/salmonsd) ([docs#218](https://github.com/dbt-labs/dbt-docs/pull/218))
|
||||||
|
- [@miike](https://github.com/miike) ([docs#203](https://github.com/dbt-labs/dbt-docs/pull/203))
|
||||||
|
|
||||||
|
|
||||||
|
## dbt-core 1.0.0b2 (October 25, 2021)
|
||||||
|
|
||||||
|
### Breaking changes
|
||||||
|
|
||||||
|
- Enable `on-run-start` and `on-run-end` hooks for `dbt test`. Add `flags.WHICH` to execution context, representing current task ([#3463](https://github.com/dbt-labs/dbt-core/issues/3463), [#4004](https://github.com/dbt-labs/dbt-core/pull/4004))
|
||||||
|
|
||||||
|
### Features
|
||||||
|
- Normalize global CLI arguments/flags ([#2990](https://github.com/dbt-labs/dbt/issues/2990), [#3839](https://github.com/dbt-labs/dbt/pull/3839))
|
||||||
|
- Turns on the static parser by default and adds the flag `--no-static-parser` to disable it. ([#3377](https://github.com/dbt-labs/dbt/issues/3377), [#3939](https://github.com/dbt-labs/dbt/pull/3939))
|
||||||
|
- Generic test FQNs have changed to include the relative path, resource, and column (if applicable) where they are defined. This makes it easier to configure them from the `tests` block in `dbt_project.yml` ([#3259](https://github.com/dbt-labs/dbt/pull/3259), [#3880](https://github.com/dbt-labs/dbt/pull/3880)
|
||||||
|
- Turn on partial parsing by default ([#3867](https://github.com/dbt-labs/dbt/issues/3867), [#3989](https://github.com/dbt-labs/dbt/issues/3989))
|
||||||
|
- Add `result:<status>` selectors to automatically rerun failed tests and erroneous models. This makes it easier to rerun failed dbt jobs with a simple selector flag instead of restarting from the beginning or manually running the dbt models in scope. ([#3859](https://github.com/dbt-labs/dbt/issues/3891), [#4017](https://github.com/dbt-labs/dbt/pull/4017))
|
||||||
|
- `dbt init` is now interactive, generating profiles.yml when run inside existing project ([#3625](https://github.com/dbt-labs/dbt/pull/3625))
|
||||||
|
|
||||||
|
### Under the hood
|
||||||
|
|
||||||
|
- Fix intermittent errors in partial parsing tests ([#4060](https://github.com/dbt-labs/dbt-core/issues/4060), [#4068](https://github.com/dbt-labs/dbt-core/pull/4068))
|
||||||
|
- Make finding disabled nodes more consistent ([#4069](https://github.com/dbt-labs/dbt-core/issues/4069), [#4073](https://github.com/dbt-labas/dbt-core/pull/4073))
|
||||||
|
- Remove connection from `render_with_context` during parsing, thereby removing misleading log message ([#3137](https://github.com/dbt-labs/dbt-core/issues/3137), [#4062](https://github.com/dbt-labas/dbt-core/pull/4062))
|
||||||
|
- Wait for postgres docker container to be ready in `setup_db.sh`. ([#3876](https://github.com/dbt-labs/dbt-core/issues/3876), [#3908](https://github.com/dbt-labs/dbt-core/pull/3908))
|
||||||
|
- Prefer macros defined in the project over the ones in a package by default ([#4106](https://github.com/dbt-labs/dbt-core/issues/4106), [#4114](https://github.com/dbt-labs/dbt-core/pull/4114))
|
||||||
|
- Dependency updates ([#4079](https://github.com/dbt-labs/dbt-core/pull/4079)), ([#3532](https://github.com/dbt-labs/dbt-core/pull/3532)
|
||||||
|
- Schedule partial parsing for SQL files with env_var changes ([#3885](https://github.com/dbt-labs/dbt-core/issues/3885), [#4101](https://github.com/dbt-labs/dbt-core/pull/4101))
|
||||||
|
- Schedule partial parsing for schema files with env_var changes ([#3885](https://github.com/dbt-labs/dbt-core/issues/3885), [#4162](https://github.com/dbt-labs/dbt-core/pull/4162))
|
||||||
|
- Skip partial parsing when env_vars change in dbt_project or profile ([#3885](https://github.com/dbt-labs/dbt-core/issues/3885), [#4212](https://github.com/dbt-labs/dbt-core/pull/4212))
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
- [@sungchun12](https://github.com/sungchun12) ([#4017](https://github.com/dbt-labs/dbt/pull/4017))
|
||||||
|
- [@matt-winkler](https://github.com/matt-winkler) ([#4017](https://github.com/dbt-labs/dbt/pull/4017))
|
||||||
|
- [@NiallRees](https://github.com/NiallRees) ([#3625](https://github.com/dbt-labs/dbt/pull/3625))
|
||||||
|
- [@rvacaru](https://github.com/rvacaru) ([#3908](https://github.com/dbt-labs/dbt/pull/3908))
|
||||||
|
- [@JCZuurmond](https://github.com/jczuurmond) ([#4114](https://github.com/dbt-labs/dbt-core/pull/4114))
|
||||||
|
- [@ljhopkins2](https://github.com/dbt-labs/dbt-core/pull/4079)
|
||||||
|
|
||||||
|
## dbt-core 1.0.0b1 (October 11, 2021)
|
||||||
|
|
||||||
|
### Breaking changes
|
||||||
|
|
||||||
|
- The two type of test definitions are now "singular" and "generic" (instead of "data" and "schema", respectively). The `test_type:` selection method accepts `test_type:singular` and `test_type:generic`. (It will also accept `test_type:schema` and `test_type:data` for backwards compatibility) ([#3234](https://github.com/dbt-labs/dbt-core/issues/3234), [#3880](https://github.com/dbt-labs/dbt-core/pull/3880)). **Not backwards compatible:** The `--data` and `--schema` flags to `dbt test` are no longer supported, and tests no longer have the tags `'data'` and `'schema'` automatically applied.
|
||||||
|
- Deprecated the use of the `packages` arg `adapter.dispatch` in favor of the `macro_namespace` arg. ([#3895](https://github.com/dbt-labs/dbt-core/issues/3895))
|
||||||
|
|
||||||
|
### Features
|
||||||
|
- Normalize global CLI arguments/flags ([#2990](https://github.com/dbt-labs/dbt-core/issues/2990), [#3839](https://github.com/dbt-labs/dbt-core/pull/3839))
|
||||||
|
- Turns on the static parser by default and adds the flag `--no-static-parser` to disable it. ([#3377](https://github.com/dbt-labs/dbt-core/issues/3377), [#3939](https://github.com/dbt-labs/dbt-core/pull/3939))
|
||||||
|
- Generic test FQNs have changed to include the relative path, resource, and column (if applicable) where they are defined. This makes it easier to configure them from the `tests` block in `dbt_project.yml` ([#3259](https://github.com/dbt-labs/dbt-core/pull/3259), [#3880](https://github.com/dbt-labs/dbt-core/pull/3880)
|
||||||
|
- Turn on partial parsing by default ([#3867](https://github.com/dbt-labs/dbt-core/issues/3867), [#3989](https://github.com/dbt-labs/dbt-core/issues/3989))
|
||||||
|
- Generic test can now be added under a `generic` subfolder in the `test-paths` directory. ([#4052](https://github.com/dbt-labs/dbt-core/pull/4052))
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
- Add generic tests defined on sources to the manifest once, not twice ([#3347](https://github.com/dbt-labs/dbt/issues/3347), [#3880](https://github.com/dbt-labs/dbt/pull/3880))
|
||||||
|
- Skip partial parsing if certain macros have changed ([#3810](https://github.com/dbt-labs/dbt/issues/3810), [#3982](https://github.com/dbt-labs/dbt/pull/3892))
|
||||||
|
- Enable cataloging of unlogged Postgres tables ([3961](https://github.com/dbt-labs/dbt/issues/3961), [#3993](https://github.com/dbt-labs/dbt/pull/3993))
|
||||||
|
- Fix multiple disabled nodes ([#4013](https://github.com/dbt-labs/dbt/issues/4013), [#4018](https://github.com/dbt-labs/dbt/pull/4018))
|
||||||
|
- Fix multiple partial parsing errors ([#3996](https://github.com/dbt-labs/dbt/issues/3006), [#4020](https://github.com/dbt-labs/dbt/pull/4018))
|
||||||
|
- Return an error instead of a warning when runing with `--warn-error` and no models are selected ([#4006](https://github.com/dbt-labs/dbt/issues/4006), [#4019](https://github.com/dbt-labs/dbt/pull/4019))
|
||||||
|
- Fixed bug with `error_if` test option ([#4070](https://github.com/dbt-labs/dbt-core/pull/4070))
|
||||||
|
|
||||||
|
### Under the hood
|
||||||
|
- Enact deprecation for `materialization-return` and replace deprecation warning with an exception. ([#3896](https://github.com/dbt-labs/dbt-core/issues/3896))
|
||||||
|
- Build catalog for only relational, non-ephemeral nodes in the graph ([#3920](https://github.com/dbt-labs/dbt-core/issues/3920))
|
||||||
|
- Enact deprecation to remove the `release` arg from the `execute_macro` method. ([#3900](https://github.com/dbt-labs/dbt-core/issues/3900))
|
||||||
|
- Enact deprecation for default quoting to be True. Override for the `dbt-snowflake` adapter so it stays `False`. ([#3898](https://github.com/dbt-labs/dbt-core/issues/3898))
|
||||||
|
- Enact deprecation for object used as dictionaries when they should be dataclasses. Replace deprecation warning with an exception for the dunder methods of `__iter__` and `__len__` for all superclasses of FakeAPIObject. ([#3897](https://github.com/dbt-labs/dbt-core/issues/3897))
|
||||||
|
- Enact deprecation for `adapter-macro` and replace deprecation warning with an exception. ([#3901](https://github.com/dbt-labs/dbt-core/issues/3901))
|
||||||
|
- Add warning when trying to put a node under the wrong key. ie. A seed under models in a `schema.yml` file. ([#3899](https://github.com/dbt-labs/dbt-core/issues/3899))
|
||||||
|
- Plugins for `redshift`, `snowflake`, and `bigquery` have moved to separate repos: [`dbt-redshift`](https://github.com/dbt-labs/dbt-redshift), [`dbt-snowflake`](https://github.com/dbt-labs/dbt-snowflake), [`dbt-bigquery`](https://github.com/dbt-labs/dbt-bigquery)
|
||||||
|
- Change the default dbt packages installation directory to `dbt_packages` from `dbt_modules`. Also rename `module-path` to `packages-install-path` to allow default overrides of package install directory. Deprecation warning added for projects using the old `dbt_modules` name without specifying a `packages-install-path`. ([#3523](https://github.com/dbt-labs/dbt-core/issues/3523))
|
||||||
|
- Update the default project paths to be `analysis-paths = ['analyses']` and `test-paths = ['tests]`. Also have starter project set `analysis-paths: ['analyses']` from now on. ([#2659](https://github.com/dbt-labs/dbt-core/issues/2659))
|
||||||
|
- Define the data type of `sources` as an array of arrays of string in the manifest artifacts. ([#3966](https://github.com/dbt-labs/dbt-core/issues/3966), [#3967](https://github.com/dbt-labs/dbt-core/pull/3967))
|
||||||
|
- Marked `source-paths` and `data-paths` as deprecated keys in `dbt_project.yml` in favor of `model-paths` and `seed-paths` respectively.([#1607](https://github.com/dbt-labs/dbt-core/issues/1607))
|
||||||
|
- Surface git errors to `stdout` when cloning dbt packages from Github. ([#3167](https://github.com/dbt-labs/dbt-core/issues/3167))
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
|
||||||
|
- [@dave-connors-3](https://github.com/dave-connors-3) ([#3920](https://github.com/dbt-labs/dbt-core/pull/3922))
|
||||||
|
- [@kadero](https://github.com/kadero) ([#3952](https://github.com/dbt-labs/dbt-core/pull/3953))
|
||||||
|
- [@samlader](https://github.com/samlader) ([#3993](https://github.com/dbt-labs/dbt-core/pull/3993))
|
||||||
|
- [@yu-iskw](https://github.com/yu-iskw) ([#3967](https://github.com/dbt-labs/dbt-core/pull/3967))
|
||||||
|
- [@laxjesse](https://github.com/laxjesse) ([#4019](https://github.com/dbt-labs/dbt-core/pull/4019))
|
||||||
|
- [@gitznik](https://github.com/Gitznik) ([#4124](https://github.com/dbt-labs/dbt-core/pull/4124))
|
||||||
3
.changes/1.0.4.md
Normal file
3
.changes/1.0.4.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
## dbt-core 1.0.4 - March 18, 2022
|
||||||
|
### Fixes
|
||||||
|
- Depend on new dbt-extractor version with fixed GitHub links to resolve Homebrew installation issues ([#4891](https://github.com/dbt-labs/dbt-core/issues/4891), [#4890](https://github.com/dbt-labs/dbt-core/pull/4890))
|
||||||
20
.changes/1.0.5.md
Normal file
20
.changes/1.0.5.md
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
## dbt-core 1.0.5 - April 20, 2022
|
||||||
|
### Fixes
|
||||||
|
- Fix bug causing empty node level meta, snapshot config errors ([#4459](https://github.com/dbt-labs/dbt-core/issues/4459), [#4726](https://github.com/dbt-labs/dbt-core/pull/4726))
|
||||||
|
- Support click versions in the v7.x series ([#4566](https://github.com/dbt-labs/dbt-core/issues/4566), [#4681](https://github.com/dbt-labs/dbt-core/pull/4681))
|
||||||
|
- Fixed a bug where nodes that depend on multiple macros couldn't be selected using `-s state:modified` ([#4678](https://github.com/dbt-labs/dbt-core/issues/4678), [#4820](https://github.com/dbt-labs/dbt-core/pull/4820))
|
||||||
|
- Catch all Requests Exceptions on deps install to attempt retries. Also log the exceptions hit. ([#4849](https://github.com/dbt-labs/dbt-core/issues/4849), [#4865](https://github.com/dbt-labs/dbt-core/pull/4865))
|
||||||
|
- Fix partial parsing bug with multiple snapshot blocks ([#4771](https://github.com/dbt-labs/dbt-core/issues/4771), [#4773](https://github.com/dbt-labs/dbt-core/pull/4773))
|
||||||
|
- Use cli_vars instead of context to create package and selector renderers ([#4876](https://github.com/dbt-labs/dbt-core/issues/4876), [#4878](https://github.com/dbt-labs/dbt-core/pull/4878))
|
||||||
|
- Catch more cases to retry package retrieval for deps pointing to the hub. Also start to cache the package requests. ([#4849](https://github.com/dbt-labs/dbt-core/issues/4849), [#4982](https://github.com/dbt-labs/dbt-core/pull/4982))
|
||||||
|
- Relax minimum supported version of MarkupSafe ([#4745](https://github.com/dbt-labs/dbt-core/issues/4745), [#5039](https://github.com/dbt-labs/dbt-core/pull/5039))
|
||||||
|
### Under the Hood
|
||||||
|
- Automate changelog generation with changie ([#4652](https://github.com/dbt-labs/dbt-core/issues/4652), [#4743](https://github.com/dbt-labs/dbt-core/pull/4743))
|
||||||
|
- Fix broken links for changelog generation and tweak GHA to only post a comment once when changelog entry is missing ([#4848](https://github.com/dbt-labs/dbt-core/issues/4848), [#4857](https://github.com/dbt-labs/dbt-core/pull/4857))
|
||||||
|
### Docs
|
||||||
|
- Resolve errors related to operations preventing DAG from generating in the docs. Also patch a spark issue to allow search to filter accurately past the missing columns. ([#4578](https://github.com/dbt-labs/dbt-core/issues/4578), [#4763](https://github.com/dbt-labs/dbt-core/pull/4763))
|
||||||
|
- backporting performance regression testing readme ([#4904](https://github.com/dbt-labs/dbt-core/issues/4904), [#5042](https://github.com/dbt-labs/dbt-core/pull/5042))
|
||||||
|
|
||||||
|
### Contributors
|
||||||
|
- [@adamantike](https://github.com/adamantike) ([#5039](https://github.com/dbt-labs/dbt-core/pull/5039))
|
||||||
|
- [@twilly](https://github.com/twilly) ([#4681](https://github.com/dbt-labs/dbt-core/pull/4681))
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
## dbt-core 1.3.0-b1 - July 29, 2022
|
|
||||||
### Features
|
|
||||||
- Python model inital version ([#5261](https://github.com/dbt-labs/dbt-core/issues/5261), [#5421](https://github.com/dbt-labs/dbt-core/pull/5421))
|
|
||||||
- allows user to include the file extension for .py models in the dbt run -m command. ([#5289](https://github.com/dbt-labs/dbt-core/issues/5289), [#5295](https://github.com/dbt-labs/dbt-core/pull/5295))
|
|
||||||
- Incremental materialization refactor and cleanup ([#5245](https://github.com/dbt-labs/dbt-core/issues/5245), [#5359](https://github.com/dbt-labs/dbt-core/pull/5359))
|
|
||||||
- Python models can support incremental logic ([#0](https://github.com/dbt-labs/dbt-core/issues/0), [#35](https://github.com/dbt-labs/dbt-core/pull/35))
|
|
||||||
- Add reusable function for retrying adapter connections. Utilize said function to add retries for Postgres (and Redshift). ([#5022](https://github.com/dbt-labs/dbt-core/issues/5022), [#5432](https://github.com/dbt-labs/dbt-core/pull/5432))
|
|
||||||
- add exponential backoff to connection retries on Postgres (and Redshift) ([#5502](https://github.com/dbt-labs/dbt-core/issues/5502), [#5503](https://github.com/dbt-labs/dbt-core/pull/5503))
|
|
||||||
### Fixes
|
|
||||||
- Add context to compilation errors generated while rendering generic test configuration values. ([#5294](https://github.com/dbt-labs/dbt-core/issues/5294), [#5393](https://github.com/dbt-labs/dbt-core/pull/5393))
|
|
||||||
- Rename try to strict for more intuitiveness ([#5475](https://github.com/dbt-labs/dbt-core/issues/5475), [#5477](https://github.com/dbt-labs/dbt-core/pull/5477))
|
|
||||||
- Ignore empty strings passed in as secrets ([#5312](https://github.com/dbt-labs/dbt-core/issues/5312), [#5518](https://github.com/dbt-labs/dbt-core/pull/5518))
|
|
||||||
- Fix handling of top-level exceptions ([#5564](https://github.com/dbt-labs/dbt-core/issues/5564), [#5560](https://github.com/dbt-labs/dbt-core/pull/5560))
|
|
||||||
### Docs
|
|
||||||
- Update dependency inline-source from ^6.1.5 to ^7.2.0 ([#5574](https://github.com/dbt-labs/dbt-core/issues/5574), [#5577](https://github.com/dbt-labs/dbt-core/pull/5577))
|
|
||||||
- Update dependency jest from ^26.2.2 to ^28.1.3 ([#5574](https://github.com/dbt-labs/dbt-core/issues/5574), [#5577](https://github.com/dbt-labs/dbt-core/pull/5577))
|
|
||||||
- Update dependency underscore from ^1.9.0 to ^1.13.4 ([#5574](https://github.com/dbt-labs/dbt-core/issues/5574), [#5577](https://github.com/dbt-labs/dbt-core/pull/5577))
|
|
||||||
- Update dependency webpack-cli from ^3.3.12 to ^4.7.0 ([#5574](https://github.com/dbt-labs/dbt-core/issues/5574), [#5577](https://github.com/dbt-labs/dbt-core/pull/5577))
|
|
||||||
- Update dependency webpack-dev-server from ^3.1.11 to ^4.9.3 ([#5574](https://github.com/dbt-labs/dbt-core/issues/5574), [#5577](https://github.com/dbt-labs/dbt-core/pull/5577))
|
|
||||||
- Searches no longer require perfect matches, and instead consider each word individually. `my model` or `model my` will now find `my_model`, without the need for underscores ([#5574](https://github.com/dbt-labs/dbt-core/issues/5574), [#5577](https://github.com/dbt-labs/dbt-core/pull/5577))
|
|
||||||
- Support the renaming of SQL to code happening in dbt-core ([#5574](https://github.com/dbt-labs/dbt-core/issues/5574), [#5577](https://github.com/dbt-labs/dbt-core/pull/5577))
|
|
||||||
### Under the Hood
|
|
||||||
- Added language to tracked fields in run_model event ([#5571](https://github.com/dbt-labs/dbt-core/issues/5571), [#5469](https://github.com/dbt-labs/dbt-core/pull/5469))
|
|
||||||
- Update mashumaro to 3.0.3 ([#4940](https://github.com/dbt-labs/dbt-core/issues/4940), [#5118](https://github.com/dbt-labs/dbt-core/pull/5118))
|
|
||||||
- Add python incremental materialization test ([#0000](https://github.com/dbt-labs/dbt-core/issues/0000), [#5571](https://github.com/dbt-labs/dbt-core/pull/5571))
|
|
||||||
### Dependencies
|
|
||||||
- Upgrade to Jinja2==3.1.2 from Jinja2==2.11.3 ([#4748](https://github.com/dbt-labs/dbt-core/issues/4748), [#5465](https://github.com/dbt-labs/dbt-core/pull/5465))
|
|
||||||
- Bump mypy from 0.961 to 0.971 ([#4904](https://github.com/dbt-labs/dbt-core/issues/4904), [#5495](https://github.com/dbt-labs/dbt-core/pull/5495))
|
|
||||||
- Remove pin for MarkUpSafe from >=0.23,<2.1 ([#5506](https://github.com/dbt-labs/dbt-core/issues/5506), [#5507](https://github.com/dbt-labs/dbt-core/pull/5507))
|
|
||||||
|
|
||||||
### Contributors
|
|
||||||
- [@Goodkat](https://github.com/Goodkat) ([#5518](https://github.com/dbt-labs/dbt-core/pull/5518))
|
|
||||||
- [@drewbanin](https://github.com/drewbanin) ([#5577](https://github.com/dbt-labs/dbt-core/pull/5577))
|
|
||||||
- [@jeremyyeo](https://github.com/jeremyyeo) ([#5477](https://github.com/dbt-labs/dbt-core/pull/5477))
|
|
||||||
- [@joellabes](https://github.com/joellabes) ([#5577](https://github.com/dbt-labs/dbt-core/pull/5577))
|
|
||||||
- [@leoebfolsom](https://github.com/leoebfolsom) ([#5295](https://github.com/dbt-labs/dbt-core/pull/5295))
|
|
||||||
- [@nicholasyager](https://github.com/nicholasyager) ([#5393](https://github.com/dbt-labs/dbt-core/pull/5393))
|
|
||||||
- [@tomasfarias](https://github.com/tomasfarias) ([#5432](https://github.com/dbt-labs/dbt-core/pull/5432))
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
## dbt-core 1.3.0-b2 - August 29, 2022
|
|
||||||
|
|
||||||
### Features
|
|
||||||
|
|
||||||
- Add `--defer` flag to dbt compile & dbt docs generate ([#4110](https://github.com/dbt-labs/dbt-core/issues/4110), [#4514](https://github.com/dbt-labs/dbt-core/pull/4514))
|
|
||||||
- use MethodName.File when value ends with .csv ([#5578](https://github.com/dbt-labs/dbt-core/issues/5578), [#5581](https://github.com/dbt-labs/dbt-core/pull/5581))
|
|
||||||
- Make `docs` configurable in `dbt_project.yml` and add a `node_color` attribute to change the color of nodes in the DAG ([#5333](https://github.com/dbt-labs/dbt-core/issues/5333), [#5397](https://github.com/dbt-labs/dbt-core/pull/5397))
|
|
||||||
- Adding ResolvedMetricReference helper functions and tests ([#5567](https://github.com/dbt-labs/dbt-core/issues/5567), [#5607](https://github.com/dbt-labs/dbt-core/pull/5607))
|
|
||||||
- Check dbt-core version requirements when installing Hub packages ([#5648](https://github.com/dbt-labs/dbt-core/issues/5648), [#5651](https://github.com/dbt-labs/dbt-core/pull/5651))
|
|
||||||
|
|
||||||
### Fixes
|
|
||||||
|
|
||||||
- Remove the default 256 characters limit on postgres character varying type when no limitation is set ([#5238](https://github.com/dbt-labs/dbt-core/issues/5238), [#5292](https://github.com/dbt-labs/dbt-core/pull/5292))
|
|
||||||
- Include schema file config in unrendered_config ([#5338](https://github.com/dbt-labs/dbt-core/issues/5338), [#5344](https://github.com/dbt-labs/dbt-core/pull/5344))
|
|
||||||
- Resolves #5351 - Do not consider shorter varchar cols as schema changes ([#5351](https://github.com/dbt-labs/dbt-core/issues/5351), [#5395](https://github.com/dbt-labs/dbt-core/pull/5395))
|
|
||||||
- on_shchma_change fail verbosity enhancement ([#5504](https://github.com/dbt-labs/dbt-core/issues/5504), [#5505](https://github.com/dbt-labs/dbt-core/pull/5505))
|
|
||||||
- Fix error rendering docs block in metrics description ([#5585](https://github.com/dbt-labs/dbt-core/issues/5585), [#5603](https://github.com/dbt-labs/dbt-core/pull/5603))
|
|
||||||
- Extended validations for the project names ([#5379](https://github.com/dbt-labs/dbt-core/issues/5379), [#5620](https://github.com/dbt-labs/dbt-core/pull/5620))
|
|
||||||
- Use sys.exit instead of exit ([#5621](https://github.com/dbt-labs/dbt-core/issues/5621), [#5627](https://github.com/dbt-labs/dbt-core/pull/5627))
|
|
||||||
- Finishing logic upgrade to Redshift for name truncation collisions. ([#5586](https://github.com/dbt-labs/dbt-core/issues/5586), [#5656](https://github.com/dbt-labs/dbt-core/pull/5656))
|
|
||||||
- multiple args for ref and source ([#5634](https://github.com/dbt-labs/dbt-core/issues/5634), [#5635](https://github.com/dbt-labs/dbt-core/pull/5635))
|
|
||||||
- Fix Unexpected behavior when chaining methods on dbt-ref'ed/sourced dataframes ([#5646](https://github.com/dbt-labs/dbt-core/issues/5646), [#5677](https://github.com/dbt-labs/dbt-core/pull/5677))
|
|
||||||
|
|
||||||
### Docs
|
|
||||||
|
|
||||||
- Leverages `docs.node_color` from `dbt-core` to color nodes in the DAG ([dbt-docs/#44](https://github.com/dbt-labs/dbt-docs/issues/44), [dbt-docs/#281](https://github.com/dbt-labs/dbt-docs/pull/281))
|
|
||||||
|
|
||||||
### Under the Hood
|
|
||||||
|
|
||||||
- Save use of default env vars to manifest to enable partial parsing in those cases. ([#5155](https://github.com/dbt-labs/dbt-core/issues/5155), [#5589](https://github.com/dbt-labs/dbt-core/pull/5589))
|
|
||||||
- add more information to log line interop test failures ([#5658](https://github.com/dbt-labs/dbt-core/issues/5658), [#5659](https://github.com/dbt-labs/dbt-core/pull/5659))
|
|
||||||
- Add supported languages to materializations ([#5569](https://github.com/dbt-labs/dbt-core/issues/5569), [#5695](https://github.com/dbt-labs/dbt-core/pull/5695))
|
|
||||||
|
|
||||||
### Dependency
|
|
||||||
|
|
||||||
- Bump python from 3.10.5-slim-bullseye to 3.10.6-slim-bullseye in /docker ([#4904](https://github.com/dbt-labs/dbt-core/issues/4904), [#5623](https://github.com/dbt-labs/dbt-core/pull/5623))
|
|
||||||
- Bump mashumaro[msgpack] from 3.0.3 to 3.0.4 in /core ([#4904](https://github.com/dbt-labs/dbt-core/issues/4904), [#5649](https://github.com/dbt-labs/dbt-core/pull/5649))
|
|
||||||
|
|
||||||
### Contributors
|
|
||||||
- [@Goodkat](https://github.com/Goodkat) ([#5581](https://github.com/dbt-labs/dbt-core/pull/5581), [#5620](https://github.com/dbt-labs/dbt-core/pull/5620))
|
|
||||||
- [@Ilanbenb](https://github.com/Ilanbenb) ([#5505](https://github.com/dbt-labs/dbt-core/pull/5505))
|
|
||||||
- [@b-per](https://github.com/b-per) ([#5397](https://github.com/dbt-labs/dbt-core/pull/5397), [dbt-docs/#281](https://github.com/dbt-labs/dbt-docs/pull/281))
|
|
||||||
- [@callum-mcdata](https://github.com/callum-mcdata) ([#5607](https://github.com/dbt-labs/dbt-core/pull/5607))
|
|
||||||
- [@epapineau](https://github.com/epapineau) ([#5395](https://github.com/dbt-labs/dbt-core/pull/5395))
|
|
||||||
- [@kadero](https://github.com/kadero) ([#4514](https://github.com/dbt-labs/dbt-core/pull/4514))
|
|
||||||
- [@matt-winkler](https://github.com/matt-winkler) ([#5397](https://github.com/dbt-labs/dbt-core/pull/5397), [dbt-docs/#281](https://github.com/dbt-labs/dbt-docs/pull/281))
|
|
||||||
- [@shrodingers](https://github.com/shrodingers) ([#5292](https://github.com/dbt-labs/dbt-core/pull/5292))
|
|
||||||
- [@sungchun12](https://github.com/sungchun12) ([#5397](https://github.com/dbt-labs/dbt-core/pull/5397), [dbt-docs/#281](https://github.com/dbt-labs/dbt-docs/pull/281))
|
|
||||||
- [@varun-dc](https://github.com/varun-dc) ([#5627](https://github.com/dbt-labs/dbt-core/pull/5627))
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Dependencies
|
|
||||||
body: Upgrade to Jinja2==3.1.2 from Jinja2==2.11.3
|
|
||||||
time: 2022-07-19T14:16:46.665631-05:00
|
|
||||||
custom:
|
|
||||||
Author: emmyoop
|
|
||||||
Issue: "4748"
|
|
||||||
PR: "5465"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Dependencies
|
|
||||||
body: "Bump mypy from 0.961 to 0.971"
|
|
||||||
time: 2022-07-20T00:07:41.000000-05:00
|
|
||||||
custom:
|
|
||||||
Author: dependabot[bot]
|
|
||||||
Issue: "4904"
|
|
||||||
PR: "5495"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Dependencies
|
|
||||||
body: Remove pin for MarkUpSafe from >=0.23,<2.1
|
|
||||||
time: 2022-07-21T09:32:33.494002-05:00
|
|
||||||
custom:
|
|
||||||
Author: emmyoop
|
|
||||||
Issue: "5506"
|
|
||||||
PR: "5507"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Dependency
|
|
||||||
body: "Bump python from 3.10.5-slim-bullseye to 3.10.6-slim-bullseye in /docker"
|
|
||||||
time: 2022-08-08T13:23:27.00000Z
|
|
||||||
custom:
|
|
||||||
Author: dependabot[bot]
|
|
||||||
Issue: 4904
|
|
||||||
PR: 5623
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Dependency
|
|
||||||
body: "Bump mashumaro[msgpack] from 3.0.3 to 3.0.4 in /core"
|
|
||||||
time: 2022-08-15T18:27:31.00000Z
|
|
||||||
custom:
|
|
||||||
Author: dependabot[bot]
|
|
||||||
Issue: 4904
|
|
||||||
PR: 5649
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Docs
|
|
||||||
body: Update dependency inline-source from ^6.1.5 to ^7.2.0
|
|
||||||
time: 2022-07-28T14:02:58.441963-07:00
|
|
||||||
custom:
|
|
||||||
Author: emmyoop
|
|
||||||
Issue: "299"
|
|
||||||
PR: "291"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Docs
|
|
||||||
body: Update dependency jest from ^26.2.2 to ^28.1.3
|
|
||||||
time: 2022-07-28T14:03:29.837274-07:00
|
|
||||||
custom:
|
|
||||||
Author: emmyoop
|
|
||||||
Issue: "299"
|
|
||||||
PR: "291"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Docs
|
|
||||||
body: Update dependency underscore from ^1.9.0 to ^1.13.4
|
|
||||||
time: 2022-07-28T14:03:51.123441-07:00
|
|
||||||
custom:
|
|
||||||
Author: emmyoop
|
|
||||||
Issue: "299"
|
|
||||||
PR: "291"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Docs
|
|
||||||
body: Update dependency webpack-cli from ^3.3.12 to ^4.7.0
|
|
||||||
time: 2022-07-28T14:04:25.629638-07:00
|
|
||||||
custom:
|
|
||||||
Author: emmyoop
|
|
||||||
Issue: "299"
|
|
||||||
PR: "291"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Docs
|
|
||||||
body: Update dependency webpack-dev-server from ^3.1.11 to ^4.9.3
|
|
||||||
time: 2022-07-28T14:04:49.637369-07:00
|
|
||||||
custom:
|
|
||||||
Author: emmyoop
|
|
||||||
Issue: "299"
|
|
||||||
PR: "291"
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
kind: Docs
|
|
||||||
body: Searches no longer require perfect matches, and instead consider each word individually.
|
|
||||||
`my model` or `model my` will now find `my_model`, without the need for underscores
|
|
||||||
time: 2022-07-28T14:06:20.371364-07:00
|
|
||||||
custom:
|
|
||||||
Author: joellabes
|
|
||||||
Issue: "143"
|
|
||||||
PR: "145"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Docs
|
|
||||||
body: Support the renaming of SQL to code happening in dbt-core
|
|
||||||
time: 2022-07-28T14:08:06.184934-07:00
|
|
||||||
custom:
|
|
||||||
Author: jtcohen6 stu-k drewbanin ChenyuLInx
|
|
||||||
Issue: "299"
|
|
||||||
PR: "292"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Docs
|
|
||||||
body: Leverages `docs.node_color` from `dbt-core` to color nodes in the DAG
|
|
||||||
time: 2022-08-04T13:41:38.669987-05:00
|
|
||||||
custom:
|
|
||||||
Author: matt-winkler sungchun12 b-per
|
|
||||||
Issue: "44"
|
|
||||||
PR: "281"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Add `--defer` flag to dbt compile & dbt docs generate
|
|
||||||
time: 2022-03-14T18:11:27.783107864+01:00
|
|
||||||
custom:
|
|
||||||
Author: kadero
|
|
||||||
Issue: "4110"
|
|
||||||
PR: "4514"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Python model inital version
|
|
||||||
time: 2022-05-10T16:51:30.245589-07:00
|
|
||||||
custom:
|
|
||||||
Author: ChenyuLInx
|
|
||||||
Issue: "5261"
|
|
||||||
PR: "5421"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: allows user to include the file extension for .py models in the dbt run -m command.
|
|
||||||
time: 2022-05-26T16:53:23.389671-07:00
|
|
||||||
custom:
|
|
||||||
Author: leoebfolsom
|
|
||||||
Issue: "5289"
|
|
||||||
PR: "5295"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Incremental materialization refactor and cleanup
|
|
||||||
time: 2022-06-10T10:56:47.226887-04:00
|
|
||||||
custom:
|
|
||||||
Author: gshank
|
|
||||||
Issue: "5245"
|
|
||||||
PR: "5359"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Python models can support incremental logic
|
|
||||||
time: 2022-06-27T13:10:42.123303-05:00
|
|
||||||
custom:
|
|
||||||
Author: iknox-fa
|
|
||||||
Issue: "0"
|
|
||||||
PR: "35"
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Add reusable function for retrying adapter connections. Utilize said function
|
|
||||||
to add retries for Postgres (and Redshift).
|
|
||||||
time: 2022-07-15T03:55:55.270637265+02:00
|
|
||||||
custom:
|
|
||||||
Author: tomasfarias
|
|
||||||
Issue: "5022"
|
|
||||||
PR: "5432"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: add exponential backoff to connection retries on Postgres (and Redshift)
|
|
||||||
time: 2022-07-20T17:12:57.486949-04:00
|
|
||||||
custom:
|
|
||||||
Author: nathaniel-may
|
|
||||||
Issue: "5502"
|
|
||||||
PR: "5503"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: use MethodName.File when value ends with .csv
|
|
||||||
time: 2022-07-29T17:32:31.395677157+02:00
|
|
||||||
custom:
|
|
||||||
Author: Goodkat
|
|
||||||
Issue: "5578"
|
|
||||||
PR: "5581"
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Make `docs` configurable in `dbt_project.yml` and add a `node_color` attribute
|
|
||||||
to change the color of nodes in the DAG
|
|
||||||
time: 2022-08-03T10:42:30.60624+02:00
|
|
||||||
custom:
|
|
||||||
Author: matt-winkler sungchun12 b-per
|
|
||||||
Issue: "5333"
|
|
||||||
PR: "5397"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Adding ResolvedMetricReference helper functions and tests
|
|
||||||
time: 2022-08-04T12:09:36.202919-04:00
|
|
||||||
custom:
|
|
||||||
Author: callum-mcdata
|
|
||||||
Issue: "5567"
|
|
||||||
PR: "5607"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Check dbt-core version requirements when installing Hub packages
|
|
||||||
time: 2022-08-15T13:43:12.965143+01:00
|
|
||||||
custom:
|
|
||||||
Author: jtcohen6
|
|
||||||
Issue: "5648"
|
|
||||||
PR: "5651"
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Remove the default 256 characters limit on postgres character varying type when
|
|
||||||
no limitation is set
|
|
||||||
time: 2022-05-23T10:38:43.392232+02:00
|
|
||||||
custom:
|
|
||||||
Author: shrodingers
|
|
||||||
Issue: "5238"
|
|
||||||
PR: "5292"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Include schema file config in unrendered_config
|
|
||||||
time: 2022-06-07T12:30:58.535207-04:00
|
|
||||||
custom:
|
|
||||||
Author: gshank
|
|
||||||
Issue: "5338"
|
|
||||||
PR: "5344"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: 'Resolves #5351 - Do not consider shorter varchar cols as schema changes'
|
|
||||||
time: 2022-06-17T19:37:31.885484-07:00
|
|
||||||
custom:
|
|
||||||
Author: epapineau
|
|
||||||
Issue: "5351"
|
|
||||||
PR: "5395"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Rename try to strict for more intuitiveness
|
|
||||||
time: 2022-07-15T23:11:48.327928+12:00
|
|
||||||
custom:
|
|
||||||
Author: jeremyyeo
|
|
||||||
Issue: "5475"
|
|
||||||
PR: "5477"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: on_shchma_change fail verbosity enhancement
|
|
||||||
time: 2022-07-20T21:37:46.474241+03:00
|
|
||||||
custom:
|
|
||||||
Author: Ilanbenb
|
|
||||||
Issue: "5504"
|
|
||||||
PR: "5505"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Ignore empty strings passed in as secrets
|
|
||||||
time: 2022-07-23T21:53:30.907759094+02:00
|
|
||||||
custom:
|
|
||||||
Author: Goodkat
|
|
||||||
Issue: "5312"
|
|
||||||
PR: "5518"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Fix handling of top-level exceptions
|
|
||||||
time: 2022-07-26T11:36:36.824979-04:00
|
|
||||||
custom:
|
|
||||||
Author: gshank
|
|
||||||
Issue: "5564"
|
|
||||||
PR: "5560"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Fix error rendering docs block in metrics description
|
|
||||||
time: 2022-08-03T14:42:21.386265-04:00
|
|
||||||
custom:
|
|
||||||
Author: gshank
|
|
||||||
Issue: "5585"
|
|
||||||
PR: "5603"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Extended validations for the project names
|
|
||||||
time: 2022-08-05T22:10:22.746830854+02:00
|
|
||||||
custom:
|
|
||||||
Author: Goodkat
|
|
||||||
Issue: "5379"
|
|
||||||
PR: "5620"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Use sys.exit instead of exit
|
|
||||||
time: 2022-08-08T11:20:01.838171926-04:00
|
|
||||||
custom:
|
|
||||||
Author: varun-dc
|
|
||||||
Issue: "5621"
|
|
||||||
PR: "5627"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Finishing logic upgrade to Redshift for name truncation collisions.
|
|
||||||
time: 2022-08-15T23:04:09.173645-07:00
|
|
||||||
custom:
|
|
||||||
Author: versusfacit
|
|
||||||
Issue: "5586"
|
|
||||||
PR: "5656"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: multiple args for ref and source
|
|
||||||
time: 2022-08-16T15:34:01.348339-07:00
|
|
||||||
custom:
|
|
||||||
Author: ChenyuLInx
|
|
||||||
Issue: "5634"
|
|
||||||
PR: "5635"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Fix Unexpected behavior when chaining methods on dbt-ref'ed/sourced dataframes
|
|
||||||
time: 2022-08-17T16:36:42.678275-07:00
|
|
||||||
custom:
|
|
||||||
Author: ChenyuLInx
|
|
||||||
Issue: "5646"
|
|
||||||
PR: "5677"
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Add context to compilation errors generated while rendering generic test configuration
|
|
||||||
values.
|
|
||||||
time: 2022-06-17T15:07:44.751037-04:00
|
|
||||||
custom:
|
|
||||||
Author: nicholasyager
|
|
||||||
Issue: "5294"
|
|
||||||
PR: "5393"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: Added language to tracked fields in run_model event
|
|
||||||
time: 2022-07-13T12:49:25.362678-05:00
|
|
||||||
custom:
|
|
||||||
Author: stu-k
|
|
||||||
Issue: "5571"
|
|
||||||
PR: "5469"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: Update mashumaro to 3.0.3
|
|
||||||
time: 2022-07-20T11:52:26.210876-04:00
|
|
||||||
custom:
|
|
||||||
Author: gshank
|
|
||||||
Issue: "4940"
|
|
||||||
PR: "5118"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: Add python incremental materialization test
|
|
||||||
time: 2022-07-28T09:45:36.13608-05:00
|
|
||||||
custom:
|
|
||||||
Author: stu-k
|
|
||||||
Issue: "0000"
|
|
||||||
PR: "5571"
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: Save use of default env vars to manifest to enable partial parsing in those
|
|
||||||
cases.
|
|
||||||
time: 2022-08-02T11:29:36.417589-05:00
|
|
||||||
custom:
|
|
||||||
Author: emmyoop
|
|
||||||
Issue: "5155"
|
|
||||||
PR: "5589"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: add more information to log line interop test failures
|
|
||||||
time: 2022-08-16T12:20:32.119588+01:00
|
|
||||||
custom:
|
|
||||||
Author: nathaniel-may
|
|
||||||
Issue: "5658"
|
|
||||||
PR: "5659"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: Add supported languages to materializations
|
|
||||||
time: 2022-08-22T10:37:39.50743-05:00
|
|
||||||
custom:
|
|
||||||
Author: stu-k
|
|
||||||
Issue: "5569"
|
|
||||||
PR: "5695"
|
|
||||||
@@ -26,12 +26,6 @@ changie batch <version> --move-dir '<version>' --prerelease 'rc1'
|
|||||||
changie merge
|
changie merge
|
||||||
```
|
```
|
||||||
|
|
||||||
Example
|
|
||||||
```
|
|
||||||
changie batch 1.0.5 --move-dir '1.0.5' --prerelease 'rc1'
|
|
||||||
changie merge
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Final Release Workflow
|
#### Final Release Workflow
|
||||||
These commands batch up changes in `/.changes/unreleased` as well as `/.changes/<version>` to be included in this final release and delete all prereleases. This rolls all prereleases up into a single final release. All `yaml` files in `/unreleased` and `<version>` will be deleted at this point.
|
These commands batch up changes in `/.changes/unreleased` as well as `/.changes/<version>` to be included in this final release and delete all prereleases. This rolls all prereleases up into a single final release. All `yaml` files in `/unreleased` and `<version>` will be deleted at this point.
|
||||||
|
|
||||||
@@ -40,14 +34,7 @@ changie batch <version> --include '<version>' --remove-prereleases
|
|||||||
changie merge
|
changie merge
|
||||||
```
|
```
|
||||||
|
|
||||||
Example
|
|
||||||
```
|
|
||||||
changie batch 1.0.5 --include '1.0.5' --remove-prereleases
|
|
||||||
changie merge
|
|
||||||
```
|
|
||||||
|
|
||||||
### A Note on Manual Edits & Gotchas
|
### A Note on Manual Edits & Gotchas
|
||||||
- Changie generates markdown files in the `.changes` directory that are parsed together with the `changie merge` command. Every time `changie merge` is run, it regenerates the entire file. For this reason, any changes made directly to `CHANGELOG.md` will be overwritten on the next run of `changie merge`.
|
- Changie generates markdown files in the `.changes` directory that are parsed together with the `changie merge` command. Every time `changie merge` is run, it regenerates the entire file. For this reason, any changes made directly to `CHANGELOG.md` will be overwritten on the next run of `changie merge`.
|
||||||
- If changes need to be made to the `CHANGELOG.md`, make the changes to the relevant `<version>.md` file located in the `/.changes` directory. You will then run `changie merge` to regenerate the `CHANGELOG.MD`.
|
- If changes need to be made to the `CHANGELOG.md`, make the changes to the relevant `<version>.md` file located in the `/.changes` directory. You will then run `changie merge` to regenerate the `CHANGELOG.MD`.
|
||||||
- Do not run `changie batch` again on released versions. Our final release workflow deletes all of the yaml files associated with individual changes. If for some reason modifications to the `CHANGELOG.md` are required after we've generated the final release `CHANGELOG.md`, the modifications need to be done manually to the `<version>.md` file in the `/.changes` directory.
|
- Do not run `changie batch` again on released versions. Our final release workflow deletes all of the yaml files associated with individual changes. If for some reason modifications to the `CHANGELOG.md` are required after we've generated the final release `CHANGELOG.md`, the modifications need to be done manually to the `<version>.md` file in the `/.changes` directory.
|
||||||
- changie can modify, create and delete files depending on the command you run. This is expected. Be sure to commit everything that has been modified and deleted.
|
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Breaking Changes
|
|
||||||
body: Renaming Metric Spec Attributes
|
|
||||||
time: 2022-09-06T15:45:21.2769-05:00
|
|
||||||
custom:
|
|
||||||
Author: callum-mcdata
|
|
||||||
Issue: "5774"
|
|
||||||
PR: "5775"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: "Dependency"
|
|
||||||
body: "Bump black from 22.6.0 to 22.8.0"
|
|
||||||
time: 2022-09-06T13:48:58.00000Z
|
|
||||||
custom:
|
|
||||||
Author: dependabot[bot]
|
|
||||||
Issue: 4904
|
|
||||||
PR: 5750
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: "Dependency"
|
|
||||||
body: "Bump python from 3.10.6-slim-bullseye to 3.10.7-slim-bullseye in /docker"
|
|
||||||
time: 2022-09-12T00:22:53.00000Z
|
|
||||||
custom:
|
|
||||||
Author: dependabot[bot]
|
|
||||||
Issue: 4904
|
|
||||||
PR: 5805
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Docs
|
|
||||||
body: Refer to exposures by their label by default.
|
|
||||||
time: 2022-09-20T15:20:40.652948-05:00
|
|
||||||
custom:
|
|
||||||
Author: emmyoop
|
|
||||||
Issue: "306"
|
|
||||||
PR: "307"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: merge_exclude_columns for incremental materialization
|
|
||||||
time: 2022-07-16T14:21:16.592519-05:00
|
|
||||||
custom:
|
|
||||||
Author: dave-connors-3
|
|
||||||
Issue: "5260"
|
|
||||||
PR: "5457"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Search current working directory for `profiles.yml`
|
|
||||||
time: 2022-08-25T19:50:23.940417-06:00
|
|
||||||
custom:
|
|
||||||
Author: dbeatty10
|
|
||||||
Issue: "5411"
|
|
||||||
PR: "5717"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Adding the `window` parameter to the metric spec.
|
|
||||||
time: 2022-08-31T12:13:19.48356-05:00
|
|
||||||
custom:
|
|
||||||
Author: callum-mcdata
|
|
||||||
Issue: "5721"
|
|
||||||
PR: "5722"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Add invocation args dict to ProviderContext class
|
|
||||||
time: 2022-09-08T08:13:15.17337+01:00
|
|
||||||
custom:
|
|
||||||
Author: jared-rimmer
|
|
||||||
Issue: "5524"
|
|
||||||
PR: "5782"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Adds new cli framework
|
|
||||||
time: 2022-09-08T10:41:49.375734-05:00
|
|
||||||
custom:
|
|
||||||
Author: iknox-fa
|
|
||||||
Issue: "5526"
|
|
||||||
PR: "5647"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Flags work with new Click CLI
|
|
||||||
time: 2022-09-08T12:36:50.386978-05:00
|
|
||||||
custom:
|
|
||||||
Author: iknox-fa
|
|
||||||
Issue: "5529"
|
|
||||||
PR: "5790"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Add metadata env method to ProviderContext class
|
|
||||||
time: 2022-09-09T20:46:43.889302+01:00
|
|
||||||
custom:
|
|
||||||
Author: jared-rimmer
|
|
||||||
Issue: "5522"
|
|
||||||
PR: "5794"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Array macros
|
|
||||||
time: 2022-09-12T22:22:27.475515-06:00
|
|
||||||
custom:
|
|
||||||
Author: graciegoheen dbeatty10
|
|
||||||
Issue: "5520"
|
|
||||||
PR: "5823"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Add enabled config to exposures and metrics
|
|
||||||
time: 2022-09-13T09:59:24.445918-05:00
|
|
||||||
custom:
|
|
||||||
Author: emmyoop
|
|
||||||
Issue: "5422"
|
|
||||||
PR: "5815"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: add -fr flag shorthand
|
|
||||||
time: 2022-09-19T11:29:03.774678-05:00
|
|
||||||
custom:
|
|
||||||
Author: dave-connors-3
|
|
||||||
Issue: "5878"
|
|
||||||
PR: "5879"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: add type_boolean as a data type macro
|
|
||||||
time: 2022-09-19T23:14:14.9871+01:00
|
|
||||||
custom:
|
|
||||||
Author: jpmmcneill
|
|
||||||
Issue: "5739"
|
|
||||||
PR: "5875"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: Support .dbtignore in project root to ignore certain files being read by dbt
|
|
||||||
time: 2022-09-21T14:52:22.131627-07:00
|
|
||||||
custom:
|
|
||||||
Author: ChenyuLInx
|
|
||||||
Issue: "5733"
|
|
||||||
PR: "5897"
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
kind: Features
|
|
||||||
body: This conditionally no-ops warehouse connection at compile depending on an env
|
|
||||||
var, disabling introspection/queries during compilation only. This is a temporary
|
|
||||||
solution to more complex permissions requirements for the semantic layer.
|
|
||||||
time: 2022-09-26T13:06:27.591061-05:00
|
|
||||||
custom:
|
|
||||||
Author: racheldaniel
|
|
||||||
Issue: "5936"
|
|
||||||
PR: "5926"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Fix typos of comments in core/dbt/adapters/
|
|
||||||
time: 2022-08-22T19:42:38.593923+09:00
|
|
||||||
custom:
|
|
||||||
Author: yoiki
|
|
||||||
Issue: "5690"
|
|
||||||
PR: "5693"
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Include py.typed in MANIFEST.in. This enables packages that install dbt-core
|
|
||||||
from pypi to use mypy.
|
|
||||||
time: 2022-08-23T11:26:33.8415455-07:00
|
|
||||||
custom:
|
|
||||||
Author: panasenco
|
|
||||||
Issue: "5703"
|
|
||||||
PR: "5703"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Removal of all .coverage files when using make clean command
|
|
||||||
time: 2022-09-03T15:54:09.741554082+01:00
|
|
||||||
custom:
|
|
||||||
Author: jared-rimmer
|
|
||||||
Issue: "5633"
|
|
||||||
PR: "5759"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Remove temp files generated by unit tests
|
|
||||||
time: 2022-09-09T09:28:32.590208+02:00
|
|
||||||
custom:
|
|
||||||
Author: bbroeksema
|
|
||||||
Issue: "5631"
|
|
||||||
PR: "5749"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Fix warnings as errors during tests
|
|
||||||
time: 2022-09-09T09:56:27.90654-05:00
|
|
||||||
custom:
|
|
||||||
Author: stu-k
|
|
||||||
Issue: "5424"
|
|
||||||
PR: "5800"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Prevent event_history from holding references
|
|
||||||
time: 2022-09-16T09:17:23.273847-04:00
|
|
||||||
custom:
|
|
||||||
Author: gshank
|
|
||||||
Issue: "5848"
|
|
||||||
PR: "5858"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: ConfigSelectorMethod should check for bools
|
|
||||||
time: 2022-09-20T18:18:56.630628+01:00
|
|
||||||
custom:
|
|
||||||
Author: danielcmessias
|
|
||||||
Issue: "5890"
|
|
||||||
PR: "5889"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: shorthand for full refresh should be one character
|
|
||||||
time: 2022-09-22T08:39:26.948671-05:00
|
|
||||||
custom:
|
|
||||||
Author: dave-connors-3
|
|
||||||
Issue: "5878"
|
|
||||||
PR: "5908"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Fix macro resolution order during static analysis for custom generic tests
|
|
||||||
time: 2022-09-23T14:32:26.857376+02:00
|
|
||||||
custom:
|
|
||||||
Author: jtcohen6
|
|
||||||
Issue: "5720"
|
|
||||||
PR: "5907"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Fixes
|
|
||||||
body: Fix race condition when invoking dbt via lib.py concurrently
|
|
||||||
time: 2022-09-23T17:45:04.405026-04:00
|
|
||||||
custom:
|
|
||||||
Author: drewbanin
|
|
||||||
Issue: "5919"
|
|
||||||
PR: "5921"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: Migrate integration test 014 but also fix the snapshot hard delete test's timezone logic and force all integration tests to run flags.set_from_args to force environment variables are accessible to all integration test threads.
|
|
||||||
time: 2022-09-05T00:17:49.564534-07:00
|
|
||||||
custom:
|
|
||||||
Author: versusfacit
|
|
||||||
Issue: "5760"
|
|
||||||
PR: "5760"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: Support dbt-metrics compilation by rebuilding flat_graph
|
|
||||||
time: 2022-09-08T14:56:44.173322-04:00
|
|
||||||
custom:
|
|
||||||
Author: gshank
|
|
||||||
Issue: "5525"
|
|
||||||
PR: "5786"
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: Reworking the way we define the window attribute of metrics to match freshness
|
|
||||||
tests
|
|
||||||
time: 2022-09-08T18:07:31.532608-05:00
|
|
||||||
custom:
|
|
||||||
Author: callum-mcdata
|
|
||||||
Issue: "5722"
|
|
||||||
PR: "5793"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: Add PythonJobHelper base class in core and add more type checking
|
|
||||||
time: 2022-09-09T11:52:20.419364-07:00
|
|
||||||
custom:
|
|
||||||
Author: ChenyuLInx
|
|
||||||
Issue: "5802"
|
|
||||||
PR: "5802"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: Convert default selector tests to pytest
|
|
||||||
time: 2022-09-12T13:40:00.625912-05:00
|
|
||||||
custom:
|
|
||||||
Author: stu-k
|
|
||||||
Issue: "5728"
|
|
||||||
PR: "5820"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: The link did not go to the anchor directly, now it does
|
|
||||||
time: 2022-09-12T14:00:35.899828+02:00
|
|
||||||
custom:
|
|
||||||
Author: sdebruyn
|
|
||||||
Issue: "5813"
|
|
||||||
PR: "5814"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: remove key as reserved keyword from test_bool_or
|
|
||||||
time: 2022-09-12T19:03:41.481601+02:00
|
|
||||||
custom:
|
|
||||||
Author: sdebruyn
|
|
||||||
Issue: "5817"
|
|
||||||
PR: "5818"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: Compatibiltiy for metric attribute renaming
|
|
||||||
time: 2022-09-13T11:17:44.953536+02:00
|
|
||||||
custom:
|
|
||||||
Author: jtcohen6 callum-mcdata
|
|
||||||
Issue: "5807"
|
|
||||||
PR: "5825"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: Add name validation for metrics
|
|
||||||
time: 2022-09-14T13:26:32.387524-05:00
|
|
||||||
custom:
|
|
||||||
Author: emmyoop
|
|
||||||
Issue: "5456"
|
|
||||||
PR: "5841"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: Validate exposure name and add label
|
|
||||||
time: 2022-09-14T15:00:58.982982-05:00
|
|
||||||
custom:
|
|
||||||
Author: emmyoop
|
|
||||||
Issue: "5606"
|
|
||||||
PR: "5844"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: remove source quoting setting in adapter tests
|
|
||||||
time: 2022-09-14T19:39:33.688385+02:00
|
|
||||||
custom:
|
|
||||||
Author: sdebruyn
|
|
||||||
Issue: "5836"
|
|
||||||
PR: "5839"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: Adding validation for metric expression attribute
|
|
||||||
time: 2022-09-16T15:47:12.799002-05:00
|
|
||||||
custom:
|
|
||||||
Author: callum-mcdata
|
|
||||||
Issue: "5871"
|
|
||||||
PR: "5873"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: Profiling and Adapter Management work with Click CLI
|
|
||||||
time: 2022-09-20T14:48:42.070256-05:00
|
|
||||||
custom:
|
|
||||||
Author: iknox-fa
|
|
||||||
Issue: "5531"
|
|
||||||
PR: "5892"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
kind: Under the Hood
|
|
||||||
body: Reparse references to deleted metric
|
|
||||||
time: 2022-09-23T13:35:25.681656-04:00
|
|
||||||
custom:
|
|
||||||
Author: gshank
|
|
||||||
Issue: "5444"
|
|
||||||
PR: "5920"
|
|
||||||
@@ -7,26 +7,13 @@ versionExt: md
|
|||||||
versionFormat: '## dbt-core {{.Version}} - {{.Time.Format "January 02, 2006"}}'
|
versionFormat: '## dbt-core {{.Version}} - {{.Time.Format "January 02, 2006"}}'
|
||||||
kindFormat: '### {{.Kind}}'
|
kindFormat: '### {{.Kind}}'
|
||||||
changeFormat: '- {{.Body}} ([#{{.Custom.Issue}}](https://github.com/dbt-labs/dbt-core/issues/{{.Custom.Issue}}), [#{{.Custom.PR}}](https://github.com/dbt-labs/dbt-core/pull/{{.Custom.PR}}))'
|
changeFormat: '- {{.Body}} ([#{{.Custom.Issue}}](https://github.com/dbt-labs/dbt-core/issues/{{.Custom.Issue}}), [#{{.Custom.PR}}](https://github.com/dbt-labs/dbt-core/pull/{{.Custom.PR}}))'
|
||||||
|
|
||||||
kinds:
|
kinds:
|
||||||
- label: Breaking Changes
|
- label: Fixes
|
||||||
- label: Features
|
- label: Features
|
||||||
- label: Fixes
|
- label: Under the Hood
|
||||||
- label: Docs
|
- label: Breaking Changes
|
||||||
changeFormat: '- {{.Body}} ([dbt-docs/#{{.Custom.Issue}}](https://github.com/dbt-labs/dbt-docs/issues/{{.Custom.Issue}}), [dbt-docs/#{{.Custom.PR}}](https://github.com/dbt-labs/dbt-docs/pull/{{.Custom.PR}}))'
|
- label: Docs
|
||||||
- label: Under the Hood
|
- label: Dependencies
|
||||||
- label: Dependencies
|
|
||||||
changeFormat: '- {{.Body}} ({{if ne .Custom.Issue ""}}[#{{.Custom.Issue}}](https://github.com/dbt-labs/dbt-core/issues/{{.Custom.Issue}}), {{end}}[#{{.Custom.PR}}](https://github.com/dbt-labs/dbt-core/pull/{{.Custom.PR}}))'
|
|
||||||
- label: Security
|
|
||||||
changeFormat: '- {{.Body}} ({{if ne .Custom.Issue ""}}[#{{.Custom.Issue}}](https://github.com/dbt-labs/dbt-core/issues/{{.Custom.Issue}}), {{end}}[#{{.Custom.PR}}](https://github.com/dbt-labs/dbt-core/pull/{{.Custom.PR}}))'
|
|
||||||
|
|
||||||
newlines:
|
|
||||||
afterChangelogHeader: 1
|
|
||||||
afterKind: 1
|
|
||||||
afterChangelogVersion: 1
|
|
||||||
beforeKind: 1
|
|
||||||
endOfVersion: 1
|
|
||||||
|
|
||||||
custom:
|
custom:
|
||||||
- key: Author
|
- key: Author
|
||||||
label: GitHub Username(s) (separated by a single space if multiple)
|
label: GitHub Username(s) (separated by a single space if multiple)
|
||||||
@@ -35,16 +22,15 @@ custom:
|
|||||||
- key: Issue
|
- key: Issue
|
||||||
label: GitHub Issue Number
|
label: GitHub Issue Number
|
||||||
type: int
|
type: int
|
||||||
minInt: 1
|
minLength: 4
|
||||||
- key: PR
|
- key: PR
|
||||||
label: GitHub Pull Request Number
|
label: GitHub Pull Request Number
|
||||||
type: int
|
type: int
|
||||||
minInt: 1
|
minLength: 4
|
||||||
|
|
||||||
footerFormat: |
|
footerFormat: |
|
||||||
{{- $contributorDict := dict }}
|
{{- $contributorDict := dict }}
|
||||||
{{- /* any names added to this list should be all lowercase for later matching purposes */}}
|
{{- /* any names added to this list should be all lowercase for later matching purposes */}}
|
||||||
{{- $core_team := list "peterallenwebb" "emmyoop" "nathaniel-may" "gshank" "leahwicz" "chenyulinx" "stu-k" "iknox-fa" "versusfacit" "mcknight-42" "jtcohen6" "dependabot[bot]" "snyk-bot" }}
|
{{- $core_team := list "emmyoop" "nathaniel-may" "gshank" "leahwicz" "chenyulinx" "stu-k" "iknox-fa" "versusfacit" "mcknight-42" "jtcohen6" "dependabot" }}
|
||||||
{{- range $change := .Changes }}
|
{{- range $change := .Changes }}
|
||||||
{{- $authorList := splitList " " $change.Custom.Author }}
|
{{- $authorList := splitList " " $change.Custom.Author }}
|
||||||
{{- /* loop through all authors for a PR */}}
|
{{- /* loop through all authors for a PR */}}
|
||||||
@@ -52,20 +38,14 @@ footerFormat: |
|
|||||||
{{- $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 $core_team)}}
|
||||||
{{- /* Docs kind link back to dbt-docs instead of dbt-core PRs */}}
|
{{- $pr := $change.Custom.PR }}
|
||||||
{{- $prLink := $change.Kind }}
|
|
||||||
{{- if eq $change.Kind "Docs" }}
|
|
||||||
{{- $prLink = "[dbt-docs/#pr](https://github.com/dbt-labs/dbt-docs/pull/pr)" | replace "pr" $change.Custom.PR }}
|
|
||||||
{{- else }}
|
|
||||||
{{- $prLink = "[#pr](https://github.com/dbt-labs/dbt-core/pull/pr)" | replace "pr" $change.Custom.PR }}
|
|
||||||
{{- end }}
|
|
||||||
{{- /* check if this contributor has other PRs associated with them already */}}
|
{{- /* check if this contributor has other PRs associated with them already */}}
|
||||||
{{- if hasKey $contributorDict $author }}
|
{{- if hasKey $contributorDict $author }}
|
||||||
{{- $prList := get $contributorDict $author }}
|
{{- $prList := get $contributorDict $author }}
|
||||||
{{- $prList = append $prList $prLink }}
|
{{- $prList = append $prList $pr }}
|
||||||
{{- $contributorDict := set $contributorDict $author $prList }}
|
{{- $contributorDict := set $contributorDict $author $prList }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- $prList := list $prLink }}
|
{{- $prList := list $change.Custom.PR }}
|
||||||
{{- $contributorDict := set $contributorDict $author $prList }}
|
{{- $contributorDict := set $contributorDict $author $prList }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
@@ -75,6 +55,6 @@ footerFormat: |
|
|||||||
{{- if $contributorDict}}
|
{{- if $contributorDict}}
|
||||||
### Contributors
|
### Contributors
|
||||||
{{- range $k,$v := $contributorDict }}
|
{{- range $k,$v := $contributorDict }}
|
||||||
- [@{{$k}}](https://github.com/{{$k}}) ({{ range $index, $element := $v }}{{if $index}}, {{end}}{{$element}}{{end}})
|
- [@{{$k}}](https://github.com/{{$k}}) ({{ range $index, $element := $v }}{{if $index}}, {{end}}[#{{$element}}](https://github.com/dbt-labs/dbt-core/pull/{{$element}}){{end}})
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
12
.flake8
12
.flake8
@@ -1,12 +0,0 @@
|
|||||||
[flake8]
|
|
||||||
select =
|
|
||||||
E
|
|
||||||
W
|
|
||||||
F
|
|
||||||
ignore =
|
|
||||||
W503 # makes Flake8 work like black
|
|
||||||
W504
|
|
||||||
E203 # makes Flake8 work like black
|
|
||||||
E741
|
|
||||||
E501 # long line checking is done in black
|
|
||||||
exclude = test
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
# Reformatting dbt-core via black, flake8, mypy, and assorted pre-commit hooks.
|
|
||||||
43e3fc22c4eae4d3d901faba05e33c40f1f1dc5a
|
|
||||||
75
.github/CODEOWNERS
vendored
75
.github/CODEOWNERS
vendored
@@ -1,75 +0,0 @@
|
|||||||
# This file contains the code owners for the dbt-core repo.
|
|
||||||
# PRs will be automatically assigned for review to the associated
|
|
||||||
# team(s) or person(s) that touches any files that are mapped to them.
|
|
||||||
#
|
|
||||||
# A statement takes precedence over the statements above it so more general
|
|
||||||
# assignments are found at the top with specific assignments being lower in
|
|
||||||
# the ordering (i.e. catch all assignment should be the first item)
|
|
||||||
#
|
|
||||||
# Consult GitHub documentation for formatting guidelines:
|
|
||||||
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#example-of-a-codeowners-file
|
|
||||||
|
|
||||||
# As a default for areas with no assignment,
|
|
||||||
# the core team as a whole will be assigned
|
|
||||||
* @dbt-labs/core
|
|
||||||
|
|
||||||
# Changes to GitHub configurations including Actions
|
|
||||||
/.github/ @leahwicz
|
|
||||||
|
|
||||||
### LANGUAGE
|
|
||||||
|
|
||||||
# Language core modules
|
|
||||||
/core/dbt/config/ @dbt-labs/core-language
|
|
||||||
/core/dbt/context/ @dbt-labs/core-language
|
|
||||||
/core/dbt/contracts/ @dbt-labs/core-language
|
|
||||||
/core/dbt/deps/ @dbt-labs/core-language
|
|
||||||
/core/dbt/events/ @dbt-labs/core-language # structured logging
|
|
||||||
/core/dbt/parser/ @dbt-labs/core-language
|
|
||||||
|
|
||||||
# Language misc files
|
|
||||||
/core/dbt/dataclass_schema.py @dbt-labs/core-language
|
|
||||||
/core/dbt/hooks.py @dbt-labs/core-language
|
|
||||||
/core/dbt/node_types.py @dbt-labs/core-language
|
|
||||||
/core/dbt/semver.py @dbt-labs/core-language
|
|
||||||
|
|
||||||
|
|
||||||
### EXECUTION
|
|
||||||
|
|
||||||
# Execution core modules
|
|
||||||
/core/dbt/graph/ @dbt-labs/core-execution
|
|
||||||
/core/dbt/task/ @dbt-labs/core-execution
|
|
||||||
|
|
||||||
# Execution misc files
|
|
||||||
/core/dbt/compilation.py @dbt-labs/core-execution
|
|
||||||
/core/dbt/flags.py @dbt-labs/core-execution
|
|
||||||
/core/dbt/lib.py @dbt-labs/core-execution
|
|
||||||
/core/dbt/main.py @dbt-labs/core-execution
|
|
||||||
/core/dbt/profiler.py @dbt-labs/core-execution
|
|
||||||
/core/dbt/selected_resources.py @dbt-labs/core-execution
|
|
||||||
/core/dbt/tracking.py @dbt-labs/core-execution
|
|
||||||
/core/dbt/version.py @dbt-labs/core-execution
|
|
||||||
|
|
||||||
|
|
||||||
### ADAPTERS
|
|
||||||
|
|
||||||
# Adapter interface ("base" + "sql" adapter defaults, cache)
|
|
||||||
/core/dbt/adapters @dbt-labs/core-adapters
|
|
||||||
|
|
||||||
# Global project (default macros + materializations), starter project
|
|
||||||
/core/dbt/include @dbt-labs/core-adapters
|
|
||||||
|
|
||||||
# Postgres plugin
|
|
||||||
/plugins/ @dbt-labs/core-adapters
|
|
||||||
|
|
||||||
# Functional tests for adapter plugins
|
|
||||||
/tests/adapter @dbt-labs/core-adapters
|
|
||||||
|
|
||||||
### TESTS
|
|
||||||
|
|
||||||
# Overlapping ownership for vast majority of unit + functional tests
|
|
||||||
|
|
||||||
# Perf regression testing framework
|
|
||||||
# This excludes the test project files itself since those aren't specific
|
|
||||||
# framework changes (excluded by not setting an owner next to it- no owner)
|
|
||||||
/performance @nathaniel-may
|
|
||||||
/performance/projects
|
|
||||||
30
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
30
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
@@ -9,33 +9,23 @@ body:
|
|||||||
Thanks for taking the time to fill out this bug report!
|
Thanks for taking the time to fill out this bug report!
|
||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
attributes:
|
attributes:
|
||||||
label: Is this a new bug in dbt-core?
|
label: Is there an existing issue for this?
|
||||||
description: >
|
description: Please search to see if an issue already exists for the bug you encountered.
|
||||||
In other words, is this an error, flaw, failure or fault in our software?
|
|
||||||
|
|
||||||
If this is a bug that broke existing functionality that used to work, please open a regression issue.
|
|
||||||
If this is a bug in an adapter plugin, please open an issue in the adapter's repository.
|
|
||||||
If this is a bug experienced while using dbt Cloud, please report to [support](mailto:support@getdbt.com).
|
|
||||||
If this is a request for help or troubleshooting code in your own dbt project, please join our [dbt Community Slack](https://www.getdbt.com/community/join-the-community/) or open a [Discussion question](https://github.com/dbt-labs/docs.getdbt.com/discussions).
|
|
||||||
|
|
||||||
Please search to see if an issue already exists for the bug you encountered.
|
|
||||||
options:
|
options:
|
||||||
- label: I believe this is a new bug in dbt-core
|
- label: I have searched the existing issues
|
||||||
required: true
|
|
||||||
- label: I have searched the existing issues, and I could not find an existing issue for this bug
|
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: Current Behavior
|
label: Current Behavior
|
||||||
description: A concise description of what you're experiencing.
|
description: A concise description of what you're experiencing.
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: false
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: Expected Behavior
|
label: Expected Behavior
|
||||||
description: A concise description of what you expected to happen.
|
description: A concise description of what you expected to happen.
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: false
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: Steps To Reproduce
|
label: Steps To Reproduce
|
||||||
@@ -46,7 +36,7 @@ body:
|
|||||||
3. Run '...'
|
3. Run '...'
|
||||||
4. See error...
|
4. See error...
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: false
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: logs
|
id: logs
|
||||||
attributes:
|
attributes:
|
||||||
@@ -62,8 +52,8 @@ body:
|
|||||||
description: |
|
description: |
|
||||||
examples:
|
examples:
|
||||||
- **OS**: Ubuntu 20.04
|
- **OS**: Ubuntu 20.04
|
||||||
- **Python**: 3.9.12 (`python3 --version`)
|
- **Python**: 3.7.2 (`python --version`)
|
||||||
- **dbt-core**: 1.1.1 (`dbt --version`)
|
- **dbt**: 0.21.0 (`dbt --version`)
|
||||||
value: |
|
value: |
|
||||||
- OS:
|
- OS:
|
||||||
- Python:
|
- Python:
|
||||||
@@ -74,15 +64,13 @@ body:
|
|||||||
- type: dropdown
|
- type: dropdown
|
||||||
id: database
|
id: database
|
||||||
attributes:
|
attributes:
|
||||||
label: Which database adapter are you using with dbt?
|
label: What database are you using dbt with?
|
||||||
description: If the bug is specific to the database or adapter, please open the issue in that adapter's repository instead
|
|
||||||
multiple: true
|
multiple: true
|
||||||
options:
|
options:
|
||||||
- postgres
|
- postgres
|
||||||
- redshift
|
- redshift
|
||||||
- snowflake
|
- snowflake
|
||||||
- bigquery
|
- bigquery
|
||||||
- spark
|
|
||||||
- other (mention it in "Additional Context")
|
- other (mention it in "Additional Context")
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
|
|||||||
19
.github/ISSUE_TEMPLATE/config.yml
vendored
19
.github/ISSUE_TEMPLATE/config.yml
vendored
@@ -1,14 +1,4 @@
|
|||||||
blank_issues_enabled: false
|
|
||||||
contact_links:
|
contact_links:
|
||||||
- name: Ask the community for help
|
|
||||||
url: https://github.com/dbt-labs/docs.getdbt.com/discussions
|
|
||||||
about: Need help troubleshooting? Check out our guide on how to ask
|
|
||||||
- name: Contact dbt Cloud support
|
|
||||||
url: mailto:support@getdbt.com
|
|
||||||
about: Are you using dbt Cloud? Contact our support team for help!
|
|
||||||
- name: Participate in Discussions
|
|
||||||
url: https://github.com/dbt-labs/dbt-core/discussions
|
|
||||||
about: Do you have a Big Idea for dbt? Read open discussions, or start a new one
|
|
||||||
- name: Create an issue for dbt-redshift
|
- name: Create an issue for dbt-redshift
|
||||||
url: https://github.com/dbt-labs/dbt-redshift/issues/new/choose
|
url: https://github.com/dbt-labs/dbt-redshift/issues/new/choose
|
||||||
about: Report a bug or request a feature for dbt-redshift
|
about: Report a bug or request a feature for dbt-redshift
|
||||||
@@ -18,6 +8,9 @@ contact_links:
|
|||||||
- name: Create an issue for dbt-snowflake
|
- name: Create an issue for dbt-snowflake
|
||||||
url: https://github.com/dbt-labs/dbt-snowflake/issues/new/choose
|
url: https://github.com/dbt-labs/dbt-snowflake/issues/new/choose
|
||||||
about: Report a bug or request a feature for dbt-snowflake
|
about: Report a bug or request a feature for dbt-snowflake
|
||||||
- name: Create an issue for dbt-spark
|
- name: Ask a question or get support
|
||||||
url: https://github.com/dbt-labs/dbt-spark/issues/new/choose
|
url: https://docs.getdbt.com/docs/guides/getting-help
|
||||||
about: Report a bug or request a feature for dbt-spark
|
about: Ask a question or request support
|
||||||
|
- name: Questions on Stack Overflow
|
||||||
|
url: https://stackoverflow.com/questions/tagged/dbt
|
||||||
|
about: Look at questions/answers at Stack Overflow
|
||||||
|
|||||||
22
.github/ISSUE_TEMPLATE/feature-request.yml
vendored
22
.github/ISSUE_TEMPLATE/feature-request.yml
vendored
@@ -1,32 +1,22 @@
|
|||||||
name: ✨ Feature
|
name: ✨ Feature
|
||||||
description: Propose a straightforward extension of dbt functionality
|
description: Suggest an idea for dbt
|
||||||
title: "[Feature] <title>"
|
title: "[Feature] <title>"
|
||||||
labels: ["enhancement", "triage"]
|
labels: ["enhancement", "triage"]
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
value: |
|
value: |
|
||||||
Thanks for taking the time to fill out this feature request!
|
Thanks for taking the time to fill out this feature requests!
|
||||||
- type: checkboxes
|
- type: checkboxes
|
||||||
attributes:
|
attributes:
|
||||||
label: Is this your first time submitting a feature request?
|
label: Is there an existing feature request for this?
|
||||||
description: >
|
description: Please search to see if an issue already exists for the feature you would like.
|
||||||
We want to make sure that features are distinct and discoverable,
|
|
||||||
so that other members of the community can find them and offer their thoughts.
|
|
||||||
|
|
||||||
Issues are the right place to request straightforward extensions of existing dbt functionality.
|
|
||||||
For "big ideas" about future capabilities of dbt, we ask that you open a
|
|
||||||
[discussion](https://github.com/dbt-labs/dbt-core/discussions) in the "Ideas" category instead.
|
|
||||||
options:
|
options:
|
||||||
- label: I have read the [expectations for open source contributors](https://docs.getdbt.com/docs/contributing/oss-expectations)
|
- label: I have searched the existing issues
|
||||||
required: true
|
|
||||||
- label: I have searched the existing issues, and I could not find an existing issue for this feature
|
|
||||||
required: true
|
|
||||||
- label: I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion
|
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: Describe the feature
|
label: Describe the Feature
|
||||||
description: A clear and concise description of what you want to happen.
|
description: A clear and concise description of what you want to happen.
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user