Releases: dbt-athena/dbt-athena
v1.8.2
What's Changed
Fixes
- fix: Add wait_random_exponential for query retries by @svdimchenko in #655
- fix: Resolve error when cloning Python models (#645) by @jeancochrane in #651
- fix: Fixed table_type for GOVERNED tables by @svdimchenko in #661
Features
- feat: Set unique table suffix to allow parallel incremental executions by @pierrebzl in #650
- feat: Allow custom schema def for tmp tables generated by incremental by @pierrebzl in #659
- feat: Implement iceberg retry logic by @svdimchenko in #657
Dependencies
- chore: Update moto requirement from ~=5.0.7 to ~=5.0.8 by @dependabot in #660
- chore: Bumped version to 1.8.2 for release by @svdimchenko in #663
Docs
New Contributors
- @jeancochrane made their first contribution in #651
- @pierrebzl made their first contribution in #650
Full Changelog: v1.8.1...v1.8.2
v1.8.1
What's Changed
Relevant notes
You can install the changes from this release via
pip install dbt-athena-community==1.8.1
Features
- feat: Add column meta to glue column parameters by @SoumayaMauthoorMOJ in #644
Dependencies
- chore: Update moto requirement from ~=5.0.6 to ~=5.0.7 by @dependabot in #648
Docs
New Contributors
v1.8.0
What's Changed
Relevant notes
You can install the changes from this release via
pip install dbt-athena-community==1.8.1
Features
- feat: Add column meta to glue column parameters by @SoumayaMauthoorMOJ in #644
Dependencies
- chore: prepare release 1.8.0 by @nicor88 in #646
- chore: Update moto requirement from ~=5.0.6 to ~=5.0.7 by @dependabot in #648
Docs
New Contributors
Full Changelog: v1.8.0rc1...v1.8.0
v1.8.0rc1
What's Changed
Breaking changes
You should install dbt-core separately, because the adapter won't take care of installing it anymore
pip install dbt-core==1.8.0rc1
pip install dbt-athena-community==1.8.0rc1
Fixes
- fix: allow switch from hive to iceberg table by @nicor88 in #625
- fix: avoid deleting S3 location because listing relations continues on error by @hiro-o918 in #629
- fix: get_columns_in_relation for LAMBDA catalogs by @antonysouthworth-halter in #637
- fix: prevent secret key and session token from being logged by @colin-rogers-dbt in #638
Dependencies
- chore: Update moto requirement from ~=5.0.5 to ~=5.0.6 by @dependabot in #636
- chore: Update pytest-xdist requirement from ~=3.5 to ~=3.6 by @dependabot in #634
- chore: Update pytest requirement from ~=8.0 to ~=8.2 by @dependabot in #635
- chore: bump to dbt-core to 1.8.0rc1 by @nicor88 in #640
- chore: Update dbt-tests-adapter requirement from ~=1.8.0b1 to ~=1.8.0rc1 by @dependabot in #639
New Contributors
- @antonysouthworth-halter made their first contribution in #637
- @colin-rogers-dbt made their first contribution in #638
Full Changelog: v1.8.0b1...v1.8.0rc1
v1.8.0b1
What's Changed
Breaking changes
You should install dbt-core separately, because the adapter won't take care of installing it anymore
pip install dbt-core==1.8.0b1
pip install dbt-athena-community==1.8.0b1
Features
- feat: Add table_type param to ddl_data_type macro by @sashakcc in #599
- feat: remove partition schema when incremental model overwrites partitions by @hiro-o918 in #620
- feat: cache workgroup by @nicor88 in #596
Fixes
- fix: bug in iceberg materialisation, and add iceberg ha tests by @nicor88 in #598
- fix: Use dbt-core md5 to inheret FIPS compatibility by @chrischin478 in #604
- fix: improve docs by @nicor88 in #617
- docs: add sashakcc as a contributor for code by @allcontributors in #600
- fix: downgrade boto3 for airflow 2.7 compatibility by @octiva in #609
- fix: Optimize regex in post-hooks by @CommonCrisis in #623
- fix: allow release to be beta by @nicor88 in #624
Dependencies
- chore: upgrade to dbt 1.8 by @Jrmyy in #614
- chore: Update moto requirement from ~=5.0.1 to ~=5.0.2 by @dependabot in #584
- chore: Update dbt-tests-adapter requirement from ~=1.7.7 to ~=1.7.8 by @dependabot in #582
- chore: Update black requirement from ~=24.1 to ~=24.2 by @dependabot in #583
- chore: Update autoflake requirement from ~=1.7 to ~=2.3 by @dependabot in #586
- chore: Update dbt-tests-adapter requirement from ~=1.7.8 to ~=1.7.9 by @dependabot in #590
- chore: Update moto requirement from ~=5.0.2 to ~=5.0.3 by @dependabot in #593
- chore: Update pyparsing requirement from ~=3.1.1 to ~=3.1.2 by @dependabot in #592
- chore: Add contrib.rocks image instead of all-contributors by @svdimchenko in #601
- chore: Update black requirement from ~=24.2 to ~=24.3 by @dependabot in #606
- chore: Update dbt-tests-adapter requirement from ~=1.7.9 to ~=1.7.10 by @dependabot in #605
- chore: Update pytest-cov requirement from ~=4.1 to ~=5.0 by @dependabot in #611
- chore: Update dbt-tests-adapter requirement from ~=1.7.10 to ~=1.7.11 by @dependabot in #616
- chore: Update moto requirement from ~=5.0.3 to ~=5.0.4 by @dependabot in #615
- chore: Update moto requirement from ~=5.0.4 to ~=5.0.5 by @dependabot in #619
- chore: Update black requirement from ~=24.3 to ~=24.4 by @dependabot in #622
Full Changelog: v1.7.2...v1.8.0b1
v1.7.2
What's Changed
Features
- feat: add possibility to set external_location for incremental model on iceberg table by @rokity in #560
- feat: support python submissions by @Avinash-1394 in #248
Fixes
- fix: backup table would be deleted, even if it doesnt exist by @octiva in #562
- fix: remove lf_inherited_tags parameter from create_or_replace_view macros by @sanromeo in #565
- fix: duplication of hooks in incremental materialization by @sashakcc in #575
Docs
- docs: Fixed contributors table alignment by @svdimchenko in #576
- docs: add Avinash-1394 as a contributor for code by @allcontributors in #577
Dependencies
- chore: Update moto requirement from ~=4.2.12 to ~=4.2.13 by @dependabot in #558
- chore: Update flake8 requirement from ~=6.1 to ~=7.0 by @dependabot in #557
- chore: Update mmh3 requirement from ~=4.0.1 to >=4.0.1,<4.2.0 by @dependabot in #563
- chore: Update dbt-tests-adapter requirement from ~=1.7.4 to ~=1.7.5 by @dependabot in #566
- chore: Update pytest requirement from ~=7.4 to ~=8.0 by @dependabot in #569
- chore: Update black requirement from ~=23.12 to ~=24.1 by @dependabot in #570
- chore: Update dbt-tests-adapter requirement from ~=1.7.5 to ~=1.7.6 by @dependabot in #568
- chore: Update dbt-tests-adapter requirement from ~=1.7.6 to ~=1.7.7 by @dependabot in #574
- chore: Update moto requirement from ~=4.2.13 to ~=5.0.1 by @dependabot in #573
- chore: Bump version for release by @svdimchenko in #578
New Contributors
Full Changelog: v1.7.1...v1.7.2
v1.7.1
What's Changed
Features
- feat: add
detailed_table_type
property tolist_relations_without_caching
function by @sanromeo in #513 - feat: optimize retry if needed by @Jrmyy in #532
- feat: Implement support bucket function for more than 100 partitions by @sanromeo in #549
Fix
- fix: prune old versions also for views by @juliansteger-sc in #522
- fix: Null as comment in columns after change in yml by @Danya-Fpnk in #525
- fix: implement quote seed column by @davidbridgwood in #512
- fix: Log athena query id when it is available. Closes #530 by @WarFox in #534
- fix: Prune old table version for incremental models by @svdimchenko in #533
- fix: Update README.md by @nicor88 in #501
- fix: check for old tmp table before deleting it by @octiva in #550
Chore
- chore: improve tests for contracts by @nicor88 in #500
- chore: Update moto requirement from ~=4.2.7 to ~=4.2.8 by @dependabot in #502
- chore: Update dbt-tests-adapter requirement from ~=1.7.0 to ~=1.7.1 by @dependabot in #505
- chore: Update black requirement from ~=23.10 to ~=23.11 by @dependabot in #504
- chore: Update pytest-xdist requirement from ~=3.3 to ~=3.4 by @dependabot in #503
- chore: add concurrency control for functional tests by @nicor88 in #506
- chore: use region for concurrency functional tests by @nicor88 in #508
- chore: remove concurrency and reduce threads by @nicor88 in #509
- chore: Update moto requirement from ~=4.2.8 to ~=4.2.9 by @dependabot in #517
- chore: Update boto3-stubs[s3] requirement from ~=1.28 to ~=1.29 by @dependabot in #516
- chore: Update dbt-tests-adapter requirement from ~=1.7.1 to ~=1.7.2 by @dependabot in #515
- chore: Update moto requirement from ~=4.2.9 to ~=4.2.10 by @dependabot in #520
- chore: Update pytest-xdist requirement from ~=3.4 to ~=3.5 by @dependabot in #521
- chore: Update dbt-tests-adapter requirement from ~=1.7.2 to ~=1.7.3 by @dependabot in #526
- chore: Update moto requirement from ~=4.2.10 to ~=4.2.11 by @dependabot in #528
- chore: Update boto3-stubs[s3] requirement from ~=1.29 to ~=1.33 by @dependabot in #527
- chore: Update isort requirement from ~=5.11 to ~=5.13 by @dependabot in #536
- chore: Update black requirement from ~=23.11 to ~=23.12 by @dependabot in #541
- chore: Update moto requirement from ~=4.2.11 to ~=4.2.12 by @dependabot in #543
- chore: Update boto3-stubs[s3] requirement from ~=1.33 to ~=1.34 by @dependabot in #544
- chore: Update dbt-tests-adapter requirement from ~=1.7.3 to ~=1.7.4 by @dependabot in #542
New Contributors
- @sanromeo made their first contribution in #513
- @davidbridgwood made their first contribution in #512
- @WarFox made their first contribution in #534
- @octiva made their first contribution in #550
Full Changelog: v1.7.0...v1.7.1
v1.7.0
What's Changed
Features
- feat: add force_batch to iceberg_merge and incremental_insert by @Danya-Fpnk in #482
- feat(athena-adapter): support custom retry configurations for boto3 calls by @lukealexmiller in #494
Fix
- fix: change default table_type in cast_timestamp macro by @nicor88 in #484
- fix: lf_inherited_tags null value by @svdimchenko in #487
- fix: remove seed_s3_upload_args by @nicor88 in #493
- fix: persist_docs too long comment by @Jrmyy in #485
- fix: add retries to functional tests by @nicor88 in #499
- fix: use string when text is passed by @nicor88 in #498
Chore
New Contributors
- @lukealexmiller made their first contribution in #494
Full Changelog: v1.6.4...v1.7.0
v1.6.4
What's Changed
Features
- feat(persist_docs): write dbt model and project metadata to properties by @roslovets in #449
- feat: lf_inherited_tags config to exclude certain tags from CRUD by @dacreify in #453
- feat: Implement insert condition for merge strategy. by @talhasenSC in #475
- feat: Implement force_batch flag to allow dbt-athena to skip the attempt to create tables with partition limitations by @Danya-Fpnk in #472
- feat: allow aws session token in profiles file by @benjamin-awd in #459
Fixes
- fix(docs): generate docs for Federated Data Sources with capitalized table names by @roslovets in #456
- fix: in swap_table we need to use get_partitions pagination by @nicor88 in #465
- fix: add 'CatalogId' Parameter to Glue Paginator Call (Related to PR #370) by @brunofaustino in #467
- fix: bug when setting pre-hook=MSCK REPAIR TABLE by @binhnq94 in #469
- fix(ci): make flake 8 working in the pre-commit by @nicor88 in #476
Chore
Dependencies
- chore: Update pre-commit requirement from ~=3.4 to ~=3.5 by @dependabot in #462
- chore: Update moto requirement from ~=4.2.5 to ~=4.2.6 by @dependabot in #460
- chore: Update dbt-tests-adapter requirement from ~=1.6.5 to ~=1.6.6 by @dependabot in #461
- chore: Update black requirement from ~=23.9 to ~=23.10 by @dependabot in #470
- chore: Update moto requirement from ~=4.2.6 to ~=4.2.7 by @dependabot in #477
New Contributors
- @benjamin-awd made their first contribution in #459
- @dacreify made their first contribution in #453
- @binhnq94 made their first contribution in #469
- @talhasenSC made their first contribution in #475
- @Danya-Fpnk made their first contribution in #472
Full Changelog: v1.6.3...v1.6.4
v1.6.3
What's Changed
Features
- feat: Implement update condition for merge strategy by @svdimchenko in #431
- feat: add config for s3_tmp_table_dir by @hiro-o918 in #434
Fixes
- fix: wrong num_retries counting the first run by @Jrmyy in #440
- fix: insert_overwrite updates for tables with int partitions by @artem-garmash in #450
Dependencies
- chore: Update dbt-tests-adapter requirement from ~=1.6.3 to ~=1.6.4 by @dependabot in #430
- chore: Update moto requirement from ~=4.2.4 to ~=4.2.5 by @dependabot in #429
- chore: Update pyupgrade requirement from ~=3.13 to ~=3.15 by @dependabot in #438
- chore: Update dbt-tests-adapter requirement from ~=1.6.4 to ~=1.6.5 by @dependabot in #439
Chore
- chore: md lint pre commit by @svdimchenko in #432
- chore: make use of new features introduced by Python 3.8 by @Jrmyy in #441
- chore: add python 3.12 support by @Jrmyy in #445
- chore: release v1.6.3 by @nicor88 in #451
Full Changelog: v1.6.2...v1.6.3