diff --git a/.bumpversion.cfg b/.bumpversion.cfg index e2cb4c013f2..5b9d96b2e81 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.3.0b1 +current_version = 1.3.0b2 parse = (?P\d+) \.(?P\d+) \.(?P\d+) diff --git a/.changes/1.3.0-b2.md b/.changes/1.3.0-b2.md new file mode 100644 index 00000000000..24e46da0fc7 --- /dev/null +++ b/.changes/1.3.0-b2.md @@ -0,0 +1,49 @@ +## 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)) diff --git a/.changes/unreleased/Dependency-20220808-132327.yaml b/.changes/1.3.0/Dependency-20220808-132327.yaml similarity index 100% rename from .changes/unreleased/Dependency-20220808-132327.yaml rename to .changes/1.3.0/Dependency-20220808-132327.yaml diff --git a/.changes/unreleased/Dependency-20220815-182731.yaml b/.changes/1.3.0/Dependency-20220815-182731.yaml similarity index 100% rename from .changes/unreleased/Dependency-20220815-182731.yaml rename to .changes/1.3.0/Dependency-20220815-182731.yaml diff --git a/.changes/unreleased/Docs-20220804-134138.yaml b/.changes/1.3.0/Docs-20220804-134138.yaml similarity index 100% rename from .changes/unreleased/Docs-20220804-134138.yaml rename to .changes/1.3.0/Docs-20220804-134138.yaml diff --git a/.changes/unreleased/Features-20220314-181127.yaml b/.changes/1.3.0/Features-20220314-181127.yaml similarity index 100% rename from .changes/unreleased/Features-20220314-181127.yaml rename to .changes/1.3.0/Features-20220314-181127.yaml diff --git a/.changes/unreleased/Features-20220729-173231.yaml b/.changes/1.3.0/Features-20220729-173231.yaml similarity index 100% rename from .changes/unreleased/Features-20220729-173231.yaml rename to .changes/1.3.0/Features-20220729-173231.yaml diff --git a/.changes/unreleased/Features-20220803-104230.yaml b/.changes/1.3.0/Features-20220803-104230.yaml similarity index 100% rename from .changes/unreleased/Features-20220803-104230.yaml rename to .changes/1.3.0/Features-20220803-104230.yaml diff --git a/.changes/unreleased/Features-20220804-120936.yaml b/.changes/1.3.0/Features-20220804-120936.yaml similarity index 100% rename from .changes/unreleased/Features-20220804-120936.yaml rename to .changes/1.3.0/Features-20220804-120936.yaml diff --git a/.changes/unreleased/Features-20220815-134312.yaml b/.changes/1.3.0/Features-20220815-134312.yaml similarity index 100% rename from .changes/unreleased/Features-20220815-134312.yaml rename to .changes/1.3.0/Features-20220815-134312.yaml diff --git a/.changes/unreleased/Fixes-20220523-103843.yaml b/.changes/1.3.0/Fixes-20220523-103843.yaml similarity index 100% rename from .changes/unreleased/Fixes-20220523-103843.yaml rename to .changes/1.3.0/Fixes-20220523-103843.yaml diff --git a/.changes/unreleased/Fixes-20220607-123058.yaml b/.changes/1.3.0/Fixes-20220607-123058.yaml similarity index 100% rename from .changes/unreleased/Fixes-20220607-123058.yaml rename to .changes/1.3.0/Fixes-20220607-123058.yaml diff --git a/.changes/unreleased/Fixes-20220617-193731.yaml b/.changes/1.3.0/Fixes-20220617-193731.yaml similarity index 100% rename from .changes/unreleased/Fixes-20220617-193731.yaml rename to .changes/1.3.0/Fixes-20220617-193731.yaml diff --git a/.changes/unreleased/Fixes-20220720-213746.yaml b/.changes/1.3.0/Fixes-20220720-213746.yaml similarity index 100% rename from .changes/unreleased/Fixes-20220720-213746.yaml rename to .changes/1.3.0/Fixes-20220720-213746.yaml diff --git a/.changes/unreleased/Fixes-20220803-144221.yaml b/.changes/1.3.0/Fixes-20220803-144221.yaml similarity index 100% rename from .changes/unreleased/Fixes-20220803-144221.yaml rename to .changes/1.3.0/Fixes-20220803-144221.yaml diff --git a/.changes/unreleased/Fixes-20220805-221022.yaml b/.changes/1.3.0/Fixes-20220805-221022.yaml similarity index 100% rename from .changes/unreleased/Fixes-20220805-221022.yaml rename to .changes/1.3.0/Fixes-20220805-221022.yaml diff --git a/.changes/unreleased/Fixes-20220808-112001.yaml b/.changes/1.3.0/Fixes-20220808-112001.yaml similarity index 100% rename from .changes/unreleased/Fixes-20220808-112001.yaml rename to .changes/1.3.0/Fixes-20220808-112001.yaml diff --git a/.changes/unreleased/Fixes-20220815-230409.yaml b/.changes/1.3.0/Fixes-20220815-230409.yaml similarity index 100% rename from .changes/unreleased/Fixes-20220815-230409.yaml rename to .changes/1.3.0/Fixes-20220815-230409.yaml diff --git a/.changes/unreleased/Fixes-20220816-153401.yaml b/.changes/1.3.0/Fixes-20220816-153401.yaml similarity index 100% rename from .changes/unreleased/Fixes-20220816-153401.yaml rename to .changes/1.3.0/Fixes-20220816-153401.yaml diff --git a/.changes/unreleased/Fixes-20220817-163642.yaml b/.changes/1.3.0/Fixes-20220817-163642.yaml similarity index 100% rename from .changes/unreleased/Fixes-20220817-163642.yaml rename to .changes/1.3.0/Fixes-20220817-163642.yaml diff --git a/.changes/unreleased/Under the Hood-20220802-112936.yaml b/.changes/1.3.0/Under the Hood-20220802-112936.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20220802-112936.yaml rename to .changes/1.3.0/Under the Hood-20220802-112936.yaml diff --git a/.changes/unreleased/Under the Hood-20220816-122032.yaml b/.changes/1.3.0/Under the Hood-20220816-122032.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20220816-122032.yaml rename to .changes/1.3.0/Under the Hood-20220816-122032.yaml diff --git a/.changes/unreleased/Under the Hood-20220822-103739.yaml b/.changes/1.3.0/Under the Hood-20220822-103739.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20220822-103739.yaml rename to .changes/1.3.0/Under the Hood-20220822-103739.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ff7f9eb701..929651953fa 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,58 @@ - Changes are listed under the (pre)release in which they first appear. Subsequent releases include changes from previous releases. - "Breaking changes" listed under a version may require action from end users or external maintainers when upgrading to that version. - Do not edit this file directly. This file is auto-generated using [changie](https://github.com/miniscruff/changie). For details on how to document a change, see [the contributing guide](https://github.com/dbt-labs/dbt-core/blob/main/CONTRIBUTING.md#adding-changelog-entry) + +## 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)) + + ## 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)) @@ -42,6 +94,7 @@ - [@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)) + ## Previous Releases For information on prior major and minor releases, see their changelogs: diff --git a/core/dbt/version.py b/core/dbt/version.py index 4b2b2fe26ad..8eca3ddedb9 100644 --- a/core/dbt/version.py +++ b/core/dbt/version.py @@ -235,5 +235,5 @@ def _get_adapter_plugin_names() -> Iterator[str]: yield plugin_name -__version__ = "1.3.0b1" +__version__ = "1.3.0b2" installed = get_installed_version() diff --git a/core/setup.py b/core/setup.py index e5c0389e730..fdb7066a591 100644 --- a/core/setup.py +++ b/core/setup.py @@ -25,7 +25,7 @@ package_name = "dbt-core" -package_version = "1.3.0b1" +package_version = "1.3.0b2" description = """With dbt, data analysts and engineers can build analytics \ the way engineers build applications.""" diff --git a/docker/Dockerfile b/docker/Dockerfile index d285f749046..283ee5df036 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -14,12 +14,12 @@ FROM --platform=$build_for python:3.10.6-slim-bullseye as base # N.B. The refs updated automagically every release via bumpversion # N.B. dbt-postgres is currently found in the core codebase so a value of dbt-core@ is correct -ARG dbt_core_ref=dbt-core@v1.3.0b1 -ARG dbt_postgres_ref=dbt-core@v1.3.0b1 -ARG dbt_redshift_ref=dbt-redshift@v1.3.0b1 -ARG dbt_bigquery_ref=dbt-bigquery@v1.3.0b1 -ARG dbt_snowflake_ref=dbt-snowflake@v1.3.0b1 -ARG dbt_spark_ref=dbt-spark@v1.3.0b1 +ARG dbt_core_ref=dbt-core@v1.3.0b2 +ARG dbt_postgres_ref=dbt-core@v1.3.0b2 +ARG dbt_redshift_ref=dbt-redshift@v1.3.0b2 +ARG dbt_bigquery_ref=dbt-bigquery@v1.3.0b2 +ARG dbt_snowflake_ref=dbt-snowflake@v1.3.0b2 +ARG dbt_spark_ref=dbt-spark@v1.3.0b2 # special case args ARG dbt_spark_version=all ARG dbt_third_party diff --git a/plugins/postgres/dbt/adapters/postgres/__version__.py b/plugins/postgres/dbt/adapters/postgres/__version__.py index 4b49b750df6..e2c1a233c0c 100644 --- a/plugins/postgres/dbt/adapters/postgres/__version__.py +++ b/plugins/postgres/dbt/adapters/postgres/__version__.py @@ -1 +1 @@ -version = "1.3.0b1" +version = "1.3.0b2" diff --git a/plugins/postgres/setup.py b/plugins/postgres/setup.py index 57a5565d1a2..a5585c01e0e 100644 --- a/plugins/postgres/setup.py +++ b/plugins/postgres/setup.py @@ -41,7 +41,7 @@ def _dbt_psycopg2_name(): package_name = "dbt-postgres" -package_version = "1.3.0b1" +package_version = "1.3.0b2" description = """The postgres adapter plugin for dbt (data build tool)""" this_directory = os.path.abspath(os.path.dirname(__file__)) diff --git a/tests/adapter/dbt/tests/adapter/__version__.py b/tests/adapter/dbt/tests/adapter/__version__.py index 4b49b750df6..e2c1a233c0c 100644 --- a/tests/adapter/dbt/tests/adapter/__version__.py +++ b/tests/adapter/dbt/tests/adapter/__version__.py @@ -1 +1 @@ -version = "1.3.0b1" +version = "1.3.0b2" diff --git a/tests/adapter/setup.py b/tests/adapter/setup.py index 50882dddba5..b5b5c71b8f2 100644 --- a/tests/adapter/setup.py +++ b/tests/adapter/setup.py @@ -20,7 +20,7 @@ package_name = "dbt-tests-adapter" -package_version = "1.3.0b1" +package_version = "1.3.0b2" description = """The dbt adapter tests for adapter plugins""" this_directory = os.path.abspath(os.path.dirname(__file__))