Skip to content

Commit

Permalink
Merge branch 'main' into add-diststyle-all
Browse files Browse the repository at this point in the history
  • Loading branch information
dataders authored Jul 4, 2023
2 parents 2b04a57 + 607c309 commit c546c39
Show file tree
Hide file tree
Showing 290 changed files with 4,220 additions and 7,606 deletions.
24 changes: 16 additions & 8 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
[bumpversion]
current_version = 1.4.0b1
parse = (?P<major>\d+)
\.(?P<minor>\d+)
\.(?P<patch>\d+)
((?P<prerelease>a|b|rc)(?P<num>\d+))?
current_version = 1.6.0b5
parse = (?P<major>[\d]+) # major version number
\.(?P<minor>[\d]+) # minor version number
\.(?P<patch>[\d]+) # patch version number
(?P<prerelease> # optional pre-release - ex: a1, b2, rc25
(?P<prekind>a|b|rc) # pre-release type
(?P<num>[\d]+) # pre-release version number
)?
( # optional nightly release indicator
\.(?P<nightly>dev[0-9]+) # ex: .dev02142023
)? # expected matches: `1.15.0`, `1.5.0a11`, `1.5.0a1.dev123`, `1.5.0.dev123457`, expected failures: `1`, `1.5`, `1.5.2-a1`, `text1.5.0`
serialize =
{major}.{minor}.{patch}{prerelease}{num}
{major}.{minor}.{patch}{prekind}{num}.{nightly}
{major}.{minor}.{patch}.{nightly}
{major}.{minor}.{patch}{prekind}{num}
{major}.{minor}.{patch}
commit = False
tag = False

[bumpversion:part:prerelease]
[bumpversion:part:prekind]
first_value = a
optional_value = final
values =
Expand All @@ -22,6 +30,6 @@ values =
[bumpversion:part:num]
first_value = 1

[bumpversion:file:setup.py]
[bumpversion:part:nightly]

[bumpversion:file:dbt/adapters/redshift/__version__.py]
2 changes: 2 additions & 0 deletions .changes/0.0.0.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Previous Releases
For information on prior major and minor releases, see their changelogs:
- [1.5](https://github.com/dbt-labs/dbt-redshift/blob/1.5.latest/CHANGELOG.md)
- [1.4](https://github.com/dbt-labs/dbt-redshift/blob/1.4.latest/CHANGELOG.md)
- [1.3](https://github.com/dbt-labs/dbt-redshift/blob/1.3.latest/CHANGELOG.md)
- [1.2](https://github.com/dbt-labs/dbt-redshift/blob/1.2.latest/CHANGELOG.md)
- [1.1](https://github.com/dbt-labs/dbt-redshift/blob/1.1.latest/CHANGELOG.md)
Expand Down
3 changes: 0 additions & 3 deletions .changes/1.4.0-b1.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changes/1.4.0/Under the Hood-20220926-101606.yaml

This file was deleted.

1 change: 1 addition & 0 deletions .changes/1.6.0-a1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## dbt-redshift 1.6.0-a1 - April 17, 2023
10 changes: 10 additions & 0 deletions .changes/1.6.0-b1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## dbt-redshift 1.6.0-b1 - May 12, 2023

### Fixes

- Adding region as independent param in profiles ([#419](https://github.com/dbt-labs/dbt-redshift/issues/419))
- Update signature for execute method ([#'](https://github.com/dbt-labs/dbt-redshift/issues/'), [#'](https://github.com/dbt-labs/dbt-redshift/issues/'))

### Dependencies

- Update pytest requirement from ~=7.2 to ~=7.3 ([#414](https://github.com/dbt-labs/dbt-redshift/pull/414))
11 changes: 11 additions & 0 deletions .changes/1.6.0-b2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## dbt-redshift 1.6.0-b2 - May 25, 2023

### Fixes

- Fix redshift_connector issue of timing out after 30s ([#427](https://github.com/dbt-labs/dbt-redshift/issues/427))
- Add a new connection param to reenable certain Redshift commands in macros. ([#463](https://github.com/dbt-labs/dbt-redshift/issues/463))
- Escape `%` symbols in table/view/column comments ([#441](https://github.com/dbt-labs/dbt-redshift/issues/441))
- Use smaller default batch size for seeds ([#347](https://github.com/dbt-labs/dbt-redshift/issues/347))

### Contributors
- [@jiezhen-chen](https://github.com/jiezhen-chen) ([#427](https://github.com/dbt-labs/dbt-redshift/issues/427))
23 changes: 23 additions & 0 deletions .changes/1.6.0-b3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## dbt-redshift 1.6.0-b3 - June 09, 2023

### Breaking Changes

- sslmode behavior has changed. To connect without ssl, set sslmode = disable. To connect using ssl, set sslmode to verify-ca, or verify-full. ([#429](https://github.com/dbt-labs/dbt-redshift/issues/429))
- Drop support for python 3.7 ([#dbt-core/7082](https://github.com/dbt-labs/dbt-redshift/issues/dbt-core/7082))

### Features

- Standardize the _connection_keys and debug_query for `dbt debug`. ([#PR754](https://github.com/dbt-labs/dbt-redshift/issues/PR754))

### Fixes

- translate psycopg2 sslmode to ssl and sslmode in redshift_connector ([#429](https://github.com/dbt-labs/dbt-redshift/issues/429))
- Get autocommit on by default to restore old semantics users had relied on prior to 1.5. Add tests. ([#425](https://github.com/dbt-labs/dbt-redshift/issues/425))
- remove depdency on postgres__list_relations_without_caching macro ([#488](https://github.com/dbt-labs/dbt-redshift/issues/488))

### Under the Hood

- test constraint rendering of foreign key and unique constraints ([#7417](https://github.com/dbt-labs/dbt-redshift/issues/7417))

### Contributors
- [@jiezhen-chen](https://github.com/jiezhen-chen) ([#429](https://github.com/dbt-labs/dbt-redshift/issues/429), [#429](https://github.com/dbt-labs/dbt-redshift/issues/429))
12 changes: 12 additions & 0 deletions .changes/1.6.0-b4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## dbt-redshift 1.6.0-b4 - June 16, 2023

### Breaking Changes

- require latest version of redshift_connector driver ([#492](https://github.com/dbt-labs/dbt-redshift/issues/492))

### Fixes

- remove requirement for region param ([#484](https://github.com/dbt-labs/dbt-redshift/issues/484))

### Contributors
- [@dataders](https://github.com/dataders) ([#492](https://github.com/dbt-labs/dbt-redshift/issues/492))
5 changes: 5 additions & 0 deletions .changes/1.6.0-b5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## dbt-redshift 1.6.0-b5 - June 23, 2023

### Features

- Add support for materialized views ([#dbt-labs/dbt-core#6911](https://github.com/dbt-labs/dbt-redshift/issues/dbt-labs/dbt-core#6911))
7 changes: 7 additions & 0 deletions .changes/1.6.0/Breaking Changes-20230522-111945.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
kind: Breaking Changes
body: sslmode behavior has changed. To connect without ssl, set sslmode = disable.
To connect using ssl, set sslmode to verify-ca, or verify-full.
time: 2023-05-22T11:19:45.927903-07:00
custom:
Author: jiezhen-chen
Issue: "429"
6 changes: 6 additions & 0 deletions .changes/1.6.0/Breaking Changes-20230530-165542.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Breaking Changes
body: Drop support for python 3.7
time: 2023-05-30T16:55:42.393416-04:00
custom:
Author: mikealfare
Issue: dbt-core/7082
6 changes: 6 additions & 0 deletions .changes/1.6.0/Breaking Changes-20230614-144743.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Breaking Changes
body: require latest version of redshift_connector driver
time: 2023-06-14T14:47:43.90505-04:00
custom:
Author: dataders
Issue: "492"
6 changes: 6 additions & 0 deletions .changes/1.6.0/Dependencies-20230421-032407.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Dependencies
body: "Update pytest requirement from ~=7.2 to ~=7.3"
time: 2023-04-21T03:24:07.00000Z
custom:
Author: mikealfare
PR: 414
6 changes: 6 additions & 0 deletions .changes/1.6.0/Features-20230330-165842.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Features
body: Add support for materialized views
time: 2023-03-30T16:58:42.413699-04:00
custom:
Author: mikealfare McKnight-42
Issue: dbt-labs/dbt-core#6911
6 changes: 6 additions & 0 deletions .changes/1.6.0/Features-20230604-041410.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Features
body: Standardize the _connection_keys and debug_query for `dbt debug`.
time: 2023-06-04T04:14:10.191263-07:00
custom:
Author: versusfacit
Issue: PR754
6 changes: 6 additions & 0 deletions .changes/1.6.0/Fixes-20230428-142321.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Adding region as independent param in profiles
time: 2023-04-28T14:23:21.041865-07:00
custom:
Author: nssalian
Issue: "419"
6 changes: 6 additions & 0 deletions .changes/1.6.0/Fixes-20230508-094834.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Fix redshift_connector issue of timing out after 30s
time: 2023-05-08T09:48:34.019843-07:00
custom:
Author: jiezhen-chen
Issue: "427"
6 changes: 6 additions & 0 deletions .changes/1.6.0/Fixes-20230509-143721.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Update signature for execute method
time: 2023-05-09T14:37:21.163869-07:00
custom:
Author: nssalian
Issue: ''' '''
6 changes: 6 additions & 0 deletions .changes/1.6.0/Fixes-20230512-082027.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: translate psycopg2 sslmode to ssl and sslmode in redshift_connector
time: 2023-05-12T08:20:27.486301-07:00
custom:
Author: jiezhen-chen
Issue: "429"
6 changes: 6 additions & 0 deletions .changes/1.6.0/Fixes-20230520-043039.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Add a new connection param to reenable certain Redshift commands in macros.
time: 2023-05-20T04:30:39.358755-07:00
custom:
Author: versusfacit
Issue: "463"
6 changes: 6 additions & 0 deletions .changes/1.6.0/Fixes-20230524-151825.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Escape `%` symbols in table/view/column comments
time: 2023-05-24T15:18:25.834088-06:00
custom:
Author: dbeatty10
Issue: "441"
6 changes: 6 additions & 0 deletions .changes/1.6.0/Fixes-20230524-165236.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Use smaller default batch size for seeds
time: 2023-05-24T16:52:36.915348-06:00
custom:
Author: dbeatty10
Issue: "347"
7 changes: 7 additions & 0 deletions .changes/1.6.0/Fixes-20230531-153347.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
kind: Fixes
body: Get autocommit on by default to restore old semantics users had relied on prior
to 1.5. Add tests.
time: 2023-05-31T15:33:47.180508-07:00
custom:
Author: versusfacit
Issue: "425"
6 changes: 6 additions & 0 deletions .changes/1.6.0/Fixes-20230608-180130.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: remove depdency on postgres__list_relations_without_caching macro
time: 2023-06-08T18:01:30.954976-07:00
custom:
Author: colin-rogers-dbt
Issue: "488"
6 changes: 6 additions & 0 deletions .changes/1.6.0/Fixes-20230612-114853.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: remove requirement for region param
time: 2023-06-12T11:48:53.980327-07:00
custom:
Author: colin-rogers-dbt
Issue: "484"
6 changes: 6 additions & 0 deletions .changes/1.6.0/Under the Hood-20230511-162623.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Under the Hood
body: test constraint rendering of foreign key and unique constraints
time: 2023-05-11T16:26:23.49096-04:00
custom:
Author: michelleark
Issue: "7417"
7 changes: 0 additions & 7 deletions .changes/unreleased/Dependencies-20221209-233905.yaml

This file was deleted.

6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20230515-195952.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: "Dependencies"
body: "Update pytest-xdist requirement from ~=3.2 to ~=3.3"
time: 2023-05-15T19:59:52.00000Z
custom:
Author: dependabot[bot]
PR: 449
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20230523-195945.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: "Dependencies"
body: "Update types-requests requirement from ~=2.28 to ~=2.31"
time: 2023-05-23T19:59:45.00000Z
custom:
Author: dependabot[bot]
PR: 461
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20230605-195944.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: "Dependencies"
body: "Update tox requirement from ~=4.5 to ~=4.6"
time: 2023-06-05T19:59:44.00000Z
custom:
Author: dependabot[bot]
PR: 481
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20230620-195844.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: "Dependencies"
body: "Bump mypy from 1.2.0 to 1.4.0"
time: 2023-06-20T19:58:44.00000Z
custom:
Author: dependabot[bot]
PR: 503
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20230624-182902.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: "Dependencies"
body: "Update pre-commit requirement from ~=2.21 to ~=3.3"
time: 2023-06-24T18:29:02.00000Z
custom:
Author: dependabot[bot]
PR: 426
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20230626-195917.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: "Dependencies"
body: "Update pytest requirement from ~=7.3 to ~=7.4"
time: 2023-06-26T19:59:17.00000Z
custom:
Author: dependabot[bot]
PR: 507
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20230626-195934.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: "Dependencies"
body: "Bump mypy from 1.4.0 to 1.4.1"
time: 2023-06-26T19:59:34.00000Z
custom:
Author: dependabot[bot]
PR: 508
6 changes: 6 additions & 0 deletions .changes/unreleased/Fixes-20230628-123227.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Remove dependent_projects argument from PartialProject call in unit tests
time: 2023-06-28T12:32:27.637669-04:00
custom:
Author: mikealfare
Issue: "7955"
7 changes: 0 additions & 7 deletions .changes/unreleased/Under the Hood-20221219-163610.yaml

This file was deleted.

Loading

0 comments on commit c546c39

Please sign in to comment.