diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 486768676..595914b21 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 1.8.0a1 +current_version = 1.8.0b1 parse = (?P[\d]+) # major version number \.(?P[\d]+) # minor version number \.(?P[\d]+) # patch version number diff --git a/.changes/1.8.0-b1.md b/.changes/1.8.0-b1.md new file mode 100644 index 000000000..4f4091a91 --- /dev/null +++ b/.changes/1.8.0-b1.md @@ -0,0 +1,39 @@ +## dbt-spark 1.8.0-b1 - March 01, 2024 + +### Features + +- Implement spark__safe_cast and add functional tests for unit testing ([#987](https://github.com/dbt-labs/dbt-spark/issues/987)) + +### Fixes + +- Support new agate Integer type and empty seed test ([#935](https://github.com/dbt-labs/dbt-spark/issues/935)) +- Fix hardcoded file format for python models ([#803](https://github.com/dbt-labs/dbt-spark/issues/803)) + +### Under the Hood + +- Add GitHub action for integration testing and use dagger-io to run tests. Remove CircleCI workflow. ([#719](https://github.com/dbt-labs/dbt-spark/issues/719)) +- Add tests for --empty flag ([#949](https://github.com/dbt-labs/dbt-spark/issues/949)) +- Remove unused `invalid_insert_overwrite_delta_msg` message ([#962](https://github.com/dbt-labs/dbt-spark/issues/962)) +- Update import paths and list_relations to support decoupling adapters/core ([#972](https://github.com/dbt-labs/dbt-spark/issues/972)) + +### Dependencies + +- Update pre-commit-hooks requirement from ~=4.4 to ~=4.5 ([#903](https://github.com/dbt-labs/dbt-spark/pull/903)) +- Bump mypy from 1.5.1 to 1.6.0 ([#904](https://github.com/dbt-labs/dbt-spark/pull/904)) +- Update pyodbc requirement from ~=4.0.39 to ~=5.0.0 ([#905](https://github.com/dbt-labs/dbt-spark/pull/905)) +- Update pre-commit requirement from ~=3.4 to ~=3.5 ([#914](https://github.com/dbt-labs/dbt-spark/pull/914)) +- Update pyodbc requirement from ~=5.0.0 to ~=5.0.1 ([#925](https://github.com/dbt-labs/dbt-spark/pull/925)) +- Bump mypy from 1.6.0 to 1.6.1 ([#926](https://github.com/dbt-labs/dbt-spark/pull/926)) +- Update black requirement from ~=23.9 to ~=23.10 ([#927](https://github.com/dbt-labs/dbt-spark/pull/927)) +- Update black requirement from ~=23.10 to ~=23.11 ([#942](https://github.com/dbt-labs/dbt-spark/pull/942)) +- Bump mypy from 1.6.1 to 1.7.0 ([#946](https://github.com/dbt-labs/dbt-spark/pull/946)) +- Update pytest-xdist requirement from ~=3.3 to ~=3.4 ([#947](https://github.com/dbt-labs/dbt-spark/pull/947)) +- Update pytest-xdist requirement from ~=3.4 to ~=3.5 ([#951](https://github.com/dbt-labs/dbt-spark/pull/951)) +- Update wheel requirement from ~=0.41 to ~=0.42 ([#952](https://github.com/dbt-labs/dbt-spark/pull/952)) +- Bump mypy from 1.7.0 to 1.7.1 ([#953](https://github.com/dbt-labs/dbt-spark/pull/953)) +- Update freezegun requirement from ~=1.2 to ~=1.3 ([#956](https://github.com/dbt-labs/dbt-spark/pull/956)) +- Update black requirement from ~=23.11 to ~=23.12 ([#959](https://github.com/dbt-labs/dbt-spark/pull/959)) + +### Contributors +- [@JCZuurmond,](https://github.com/JCZuurmond,) ([#719](https://github.com/dbt-labs/dbt-spark/issues/719)) +- [@ben-schreiber](https://github.com/ben-schreiber) ([#803](https://github.com/dbt-labs/dbt-spark/issues/803)) diff --git a/.changes/unreleased/Dependencies-20231009-220732.yaml b/.changes/1.8.0/Dependencies-20231009-220732.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20231009-220732.yaml rename to .changes/1.8.0/Dependencies-20231009-220732.yaml diff --git a/.changes/unreleased/Dependencies-20231010-222853.yaml b/.changes/1.8.0/Dependencies-20231010-222853.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20231010-222853.yaml rename to .changes/1.8.0/Dependencies-20231010-222853.yaml diff --git a/.changes/unreleased/Dependencies-20231010-222910.yaml b/.changes/1.8.0/Dependencies-20231010-222910.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20231010-222910.yaml rename to .changes/1.8.0/Dependencies-20231010-222910.yaml diff --git a/.changes/unreleased/Dependencies-20231013-223750.yaml b/.changes/1.8.0/Dependencies-20231013-223750.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20231013-223750.yaml rename to .changes/1.8.0/Dependencies-20231013-223750.yaml diff --git a/.changes/unreleased/Dependencies-20231027-230251.yaml b/.changes/1.8.0/Dependencies-20231027-230251.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20231027-230251.yaml rename to .changes/1.8.0/Dependencies-20231027-230251.yaml diff --git a/.changes/unreleased/Dependencies-20231027-230254.yaml b/.changes/1.8.0/Dependencies-20231027-230254.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20231027-230254.yaml rename to .changes/1.8.0/Dependencies-20231027-230254.yaml diff --git a/.changes/unreleased/Dependencies-20231027-230301.yaml b/.changes/1.8.0/Dependencies-20231027-230301.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20231027-230301.yaml rename to .changes/1.8.0/Dependencies-20231027-230301.yaml diff --git a/.changes/unreleased/Dependencies-20231108-222326.yaml b/.changes/1.8.0/Dependencies-20231108-222326.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20231108-222326.yaml rename to .changes/1.8.0/Dependencies-20231108-222326.yaml diff --git a/.changes/unreleased/Dependencies-20231110-224056.yaml b/.changes/1.8.0/Dependencies-20231110-224056.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20231110-224056.yaml rename to .changes/1.8.0/Dependencies-20231110-224056.yaml diff --git a/.changes/unreleased/Dependencies-20231113-224111.yaml b/.changes/1.8.0/Dependencies-20231113-224111.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20231113-224111.yaml rename to .changes/1.8.0/Dependencies-20231113-224111.yaml diff --git a/.changes/unreleased/Dependencies-20231127-220733.yaml b/.changes/1.8.0/Dependencies-20231127-220733.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20231127-220733.yaml rename to .changes/1.8.0/Dependencies-20231127-220733.yaml diff --git a/.changes/unreleased/Dependencies-20231127-220737.yaml b/.changes/1.8.0/Dependencies-20231127-220737.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20231127-220737.yaml rename to .changes/1.8.0/Dependencies-20231127-220737.yaml diff --git a/.changes/unreleased/Dependencies-20231127-220741.yaml b/.changes/1.8.0/Dependencies-20231127-220741.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20231127-220741.yaml rename to .changes/1.8.0/Dependencies-20231127-220741.yaml diff --git a/.changes/unreleased/Dependencies-20231204-224210.yaml b/.changes/1.8.0/Dependencies-20231204-224210.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20231204-224210.yaml rename to .changes/1.8.0/Dependencies-20231204-224210.yaml diff --git a/.changes/unreleased/Dependencies-20231212-223929.yaml b/.changes/1.8.0/Dependencies-20231212-223929.yaml similarity index 100% rename from .changes/unreleased/Dependencies-20231212-223929.yaml rename to .changes/1.8.0/Dependencies-20231212-223929.yaml diff --git a/.changes/unreleased/Features-20240220-195925.yaml b/.changes/1.8.0/Features-20240220-195925.yaml similarity index 100% rename from .changes/unreleased/Features-20240220-195925.yaml rename to .changes/1.8.0/Features-20240220-195925.yaml diff --git a/.changes/unreleased/Fixes-20231107-134141.yaml b/.changes/1.8.0/Fixes-20231107-134141.yaml similarity index 100% rename from .changes/unreleased/Fixes-20231107-134141.yaml rename to .changes/1.8.0/Fixes-20231107-134141.yaml diff --git a/.changes/unreleased/Fixes-20231221-081949.yaml b/.changes/1.8.0/Fixes-20231221-081949.yaml similarity index 100% rename from .changes/unreleased/Fixes-20231221-081949.yaml rename to .changes/1.8.0/Fixes-20231221-081949.yaml diff --git a/.changes/unreleased/Under the Hood-20230929-161218.yaml b/.changes/1.8.0/Under the Hood-20230929-161218.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20230929-161218.yaml rename to .changes/1.8.0/Under the Hood-20230929-161218.yaml diff --git a/.changes/unreleased/Under the Hood-20231119-132050.yaml b/.changes/1.8.0/Under the Hood-20231119-132050.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20231119-132050.yaml rename to .changes/1.8.0/Under the Hood-20231119-132050.yaml diff --git a/.changes/unreleased/Under the Hood-20231214-134728.yaml b/.changes/1.8.0/Under the Hood-20231214-134728.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20231214-134728.yaml rename to .changes/1.8.0/Under the Hood-20231214-134728.yaml diff --git a/.changes/unreleased/Under the Hood-20240111-114806.yaml b/.changes/1.8.0/Under the Hood-20240111-114806.yaml similarity index 100% rename from .changes/unreleased/Under the Hood-20240111-114806.yaml rename to .changes/1.8.0/Under the Hood-20240111-114806.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 902db37fc..d65c50be4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,47 @@ - "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-spark/blob/main/CONTRIBUTING.md#adding-changelog-entry) +## dbt-spark 1.8.0-b1 - March 01, 2024 + +### Features + +- Implement spark__safe_cast and add functional tests for unit testing ([#987](https://github.com/dbt-labs/dbt-spark/issues/987)) + +### Fixes + +- Support new agate Integer type and empty seed test ([#935](https://github.com/dbt-labs/dbt-spark/issues/935)) +- Fix hardcoded file format for python models ([#803](https://github.com/dbt-labs/dbt-spark/issues/803)) + +### Under the Hood + +- Add GitHub action for integration testing and use dagger-io to run tests. Remove CircleCI workflow. ([#719](https://github.com/dbt-labs/dbt-spark/issues/719)) +- Add tests for --empty flag ([#949](https://github.com/dbt-labs/dbt-spark/issues/949)) +- Remove unused `invalid_insert_overwrite_delta_msg` message ([#962](https://github.com/dbt-labs/dbt-spark/issues/962)) +- Update import paths and list_relations to support decoupling adapters/core ([#972](https://github.com/dbt-labs/dbt-spark/issues/972)) + +### Dependencies + +- Update pre-commit-hooks requirement from ~=4.4 to ~=4.5 ([#903](https://github.com/dbt-labs/dbt-spark/pull/903)) +- Bump mypy from 1.5.1 to 1.6.0 ([#904](https://github.com/dbt-labs/dbt-spark/pull/904)) +- Update pyodbc requirement from ~=4.0.39 to ~=5.0.0 ([#905](https://github.com/dbt-labs/dbt-spark/pull/905)) +- Update pre-commit requirement from ~=3.4 to ~=3.5 ([#914](https://github.com/dbt-labs/dbt-spark/pull/914)) +- Update pyodbc requirement from ~=5.0.0 to ~=5.0.1 ([#925](https://github.com/dbt-labs/dbt-spark/pull/925)) +- Bump mypy from 1.6.0 to 1.6.1 ([#926](https://github.com/dbt-labs/dbt-spark/pull/926)) +- Update black requirement from ~=23.9 to ~=23.10 ([#927](https://github.com/dbt-labs/dbt-spark/pull/927)) +- Update black requirement from ~=23.10 to ~=23.11 ([#942](https://github.com/dbt-labs/dbt-spark/pull/942)) +- Bump mypy from 1.6.1 to 1.7.0 ([#946](https://github.com/dbt-labs/dbt-spark/pull/946)) +- Update pytest-xdist requirement from ~=3.3 to ~=3.4 ([#947](https://github.com/dbt-labs/dbt-spark/pull/947)) +- Update pytest-xdist requirement from ~=3.4 to ~=3.5 ([#951](https://github.com/dbt-labs/dbt-spark/pull/951)) +- Update wheel requirement from ~=0.41 to ~=0.42 ([#952](https://github.com/dbt-labs/dbt-spark/pull/952)) +- Bump mypy from 1.7.0 to 1.7.1 ([#953](https://github.com/dbt-labs/dbt-spark/pull/953)) +- Update freezegun requirement from ~=1.2 to ~=1.3 ([#956](https://github.com/dbt-labs/dbt-spark/pull/956)) +- Update black requirement from ~=23.11 to ~=23.12 ([#959](https://github.com/dbt-labs/dbt-spark/pull/959)) + +### Contributors +- [@JCZuurmond,](https://github.com/JCZuurmond,) ([#719](https://github.com/dbt-labs/dbt-spark/issues/719)) +- [@ben-schreiber](https://github.com/ben-schreiber) ([#803](https://github.com/dbt-labs/dbt-spark/issues/803)) + + ## Previous Releases For information on prior major and minor releases, see their changelogs: - [1.6](https://github.com/dbt-labs/dbt-spark/blob/1.6.latest/CHANGELOG.md) diff --git a/dbt/adapters/spark/__version__.py b/dbt/adapters/spark/__version__.py index f15b401d1..6496f3e22 100644 --- a/dbt/adapters/spark/__version__.py +++ b/dbt/adapters/spark/__version__.py @@ -1 +1 @@ -version = "1.8.0a1" +version = "1.8.0b1" diff --git a/setup.py b/setup.py index 7342c8660..24de0fbc2 100644 --- a/setup.py +++ b/setup.py @@ -40,7 +40,7 @@ def _get_plugin_version_dict(): package_name = "dbt-spark" -package_version = "1.8.0a1" +package_version = "1.8.0b1" description = """The Apache Spark adapter plugin for dbt""" odbc_extras = ["pyodbc~=4.0.39"]