diff --git a/.changes/0.1.1.md b/.changes/0.1.1.md new file mode 100644 index 00000000..c5c8087f --- /dev/null +++ b/.changes/0.1.1.md @@ -0,0 +1,10 @@ +## dbt-common 0.1.1 - January 26, 2024 + +### Under the Hood + +- Clean up macro contexts. ([#35](https://github.com/dbt-labs/dbt-common/issues/35)) +- Change metadata_vars \`if not\` to \`if ... is None\` ([#6073](https://github.com/dbt-labs/dbt-common/issues/6073)) +- Inject TagIterator into BlockIterator for greater flexibility. ([#38](https://github.com/dbt-labs/dbt-common/issues/38)) + +### Contributors +- [@truls-p](https://github.com/truls-p) ([#6073](https://github.com/dbt-labs/dbt-common/issues/6073)) diff --git a/.changes/0.1.3.md b/.changes/0.1.3.md new file mode 100644 index 00000000..08a00b1a --- /dev/null +++ b/.changes/0.1.3.md @@ -0,0 +1,7 @@ +## dbt-common 0.1.3 - February 1, 2024 + +### Features + +- Cache static objects between tests to accelerate integration runs. ([#55](https://github.com/dbt-labs/dbt-common/issues/55)) +- Added a new InvocationContext class for application context management. ([#57](https://github.com/dbt-labs/dbt-common/issues/57)) +- Add dataclass utility `Mergeable` ([#58](https://github.com/dbt-labs/dbt-common/issues/58)) diff --git a/.changes/0.1.4.md b/.changes/0.1.4.md new file mode 100644 index 00000000..13633475 --- /dev/null +++ b/.changes/0.1.4.md @@ -0,0 +1,9 @@ +## dbt-common 0.1.4 - February 7, 2024 + +### Fixes + +- Make invocation contexts more reliable in testing scenarios. ([#52](https://github.com/dbt-labs/dbt-common/issues/52)) + +### Under the Hood + +- Remove `fire_event_if_test` method ([#66](https://github.com/dbt-labs/dbt-common/issues/66)) diff --git a/.changes/0.1.5.md b/.changes/0.1.5.md new file mode 100644 index 00000000..579829f4 --- /dev/null +++ b/.changes/0.1.5.md @@ -0,0 +1,5 @@ +## dbt-common 0.1.65- February 8, 2024 + +### Under the Hood + +- Add Invocation Context Support to MultiThreadedExecutor ([#75](https://github.com/dbt-labs/dbt-common/issues/75)) diff --git a/.changes/0.1.6.md b/.changes/0.1.6.md new file mode 100644 index 00000000..bf11004a --- /dev/null +++ b/.changes/0.1.6.md @@ -0,0 +1,9 @@ +## dbt-common 0.1.6 - February 22, 2024 + +### Fixes + +- Fix the unset_contextvars function in events/contextvars.py ([#82](https://github.com/dbt-labs/dbt-common/issues/82)) + +### Under the Hood + +- Restrict protobuf library to major version 4. ([#9566](https://github.com/dbt-labs/dbt-common/issues/9566)) diff --git a/.changes/1.0.0.md b/.changes/1.0.0.md new file mode 100644 index 00000000..6ae4f827 --- /dev/null +++ b/.changes/1.0.0.md @@ -0,0 +1,7 @@ +## dbt-common 1.0.0 - April 1, 2024 + +### Under the Hood + +- Implement record/replay mechanism ([#9689](https://github.com/dbt-labs/dbt-common/issues/9689)) +- Stream JSON on read/write instead of holding it in memory ([#96](https://github.com/dbt-labs/dbt-common/issues/96)) +- Improve startup performance by lazy-compiling mashumaro serialization functions ([#97](https://github.com/dbt-labs/dbt-common/issues/97)) diff --git a/.changes/1.0.1.md b/.changes/1.0.1.md new file mode 100644 index 00000000..dd926ad9 --- /dev/null +++ b/.changes/1.0.1.md @@ -0,0 +1,6 @@ +## dbt-common 1.0.1 - April 12, 2024 + +### Features + +- Support environment variables which dbt can see but user code cannot. ([#103](https://github.com/dbt-labs/dbt-common/issues/103)) +- Add `error_tag` util to the `ui` module ([#107](https://github.com/dbt-labs/dbt-common/issues/107)) diff --git a/.changes/1.0.2.md b/.changes/1.0.2.md new file mode 100644 index 00000000..5feb9a17 --- /dev/null +++ b/.changes/1.0.2.md @@ -0,0 +1,9 @@ +## dbt-common 1.0.2 - April 24, 2024 + +### Features + +- Add ability to silence warnings via `WarnErrorOptions` ([#111](https://github.com/dbt-labs/dbt-common/issues/111)) + +### Under the Hood + +- Remove the final underscore from secret and private environment variable constants. ([#109](https://github.com/dbt-labs/dbt-common/issues/109)) diff --git a/.changes/1.0.3.md b/.changes/1.0.3.md new file mode 100644 index 00000000..a3d5b7a1 --- /dev/null +++ b/.changes/1.0.3.md @@ -0,0 +1,6 @@ +## dbt-common 1.0.3 - May 1, 2024 + +### Dependencies + +- Pin agate `>=1.7.0,<1.10` ([#119](https://github.com/dbt-labs/dbt-common/pull/119)) +- update pathspec upper version limitation ([#120](https://github.com/dbt-labs/dbt-common/pull/120)) diff --git a/.changes/1.0.4.md b/.changes/1.0.4.md new file mode 100644 index 00000000..333027ca --- /dev/null +++ b/.changes/1.0.4.md @@ -0,0 +1,5 @@ +## dbt-common 1.0.4 - May 7, 2024 + +### Features + +- Enable serialization contexts ([#126](https://github.com/dbt-labs/dbt-common/issues/126)) diff --git a/.changes/1.1.0.md b/.changes/1.1.0.md new file mode 100644 index 00000000..54d1ea93 --- /dev/null +++ b/.changes/1.1.0.md @@ -0,0 +1,6 @@ +## dbt-common 1.1.0 - May 21, 2024 + +### Features + +- Support adding callbacks to the event manager ([#131](https://github.com/dbt-labs/dbt-common/issues/131)) +- Add a print event to support firing event to console in --quiet mode ([#8756](https://github.com/dbt-labs/dbt-common/issues/8756)) diff --git a/.changes/1.2.0.md b/.changes/1.2.0.md new file mode 100644 index 00000000..5847497b --- /dev/null +++ b/.changes/1.2.0.md @@ -0,0 +1,6 @@ +## dbt-common 1.2.0 - May 29, 2024 + +### Under the Hood + +- Allow dynamic selection of record types when recording. ([#140](https://github.com/dbt-labs/dbt-common/issues/140)) +- Move StatsItem, StatsDict, TableMetadata to dbt-common ([#141](https://github.com/dbt-labs/dbt-common/issues/141)) diff --git a/.changes/1.3.0.md b/.changes/1.3.0.md new file mode 100644 index 00000000..9b94faea --- /dev/null +++ b/.changes/1.3.0.md @@ -0,0 +1,5 @@ +## dbt-common 1.3.0 - June 5, 2024 + +### Under the Hood + +- Move CatalogKey, ColumnMetadata, ColumnMap, CatalogTable to dbt-common ([#147](https://github.com/dbt-labs/dbt-common/issues/147)) diff --git a/.changes/1.4.0.md b/.changes/1.4.0.md new file mode 100644 index 00000000..b5db0b87 --- /dev/null +++ b/.changes/1.4.0.md @@ -0,0 +1,6 @@ +## dbt-common 1.4.0 - June 18, 2024 + +### Under the Hood + +- Add support for basic diff of run recordings. ([#144](https://github.com/dbt-labs/dbt-common/issues/144)) +- Deserialize Record objects on a just-in-time basis. ([#151](https://github.com/dbt-labs/dbt-common/issues/151)) diff --git a/.changes/1.6.0.md b/.changes/1.6.0.md new file mode 100644 index 00000000..64ab6217 --- /dev/null +++ b/.changes/1.6.0.md @@ -0,0 +1,9 @@ +## dbt-common 1.6.0 - July 2, 2024 + +### Features + +- Add to and to_columns to ColumnLevelConstraint and ModelLevelConstraint contracts ([#168](https://github.com/dbt-labs/dbt-common/issues/168)) + +### Fixes + +- Fix case-insensitive env vars for Windows ([#166](https://github.com/dbt-labs/dbt-common/issues/166)) diff --git a/.changes/1.7.0.md b/.changes/1.7.0.md new file mode 100644 index 00000000..2d86eb53 --- /dev/null +++ b/.changes/1.7.0.md @@ -0,0 +1,5 @@ +## dbt-common 1.7.0 - July 30, 2024 + +### Under the Hood + +- Add record grouping mechanism to record/replay. ([#169](https://github.com/dbt-labs/dbt-common/issues/169)) diff --git a/.changes/header.tpl.md b/.changes/header.tpl.md index 8bee7b4a..4dbd7204 100644 --- a/.changes/header.tpl.md +++ b/.changes/header.tpl.md @@ -1,4 +1,4 @@ -# dbt Core Changelog +# dbt-common Changelog - This file provides a full account of all changes to `dbt-common` - Changes are listed under the (pre)release in which they first appear. Subsequent releases include changes from previous releases. diff --git a/.changes/unreleased/Dependencies-20240425-112704.yaml b/.changes/unreleased/Dependencies-20240425-112704.yaml deleted file mode 100644 index 1805a413..00000000 --- a/.changes/unreleased/Dependencies-20240425-112704.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Dependencies -body: Pin agate `>=1.7.0,<1.10` -time: 2024-04-25T11:27:04.91767-05:00 -custom: - Author: emmyoop - PR: "119" diff --git a/.changes/unreleased/Dependencies-20240501-140032.yaml b/.changes/unreleased/Dependencies-20240501-140032.yaml deleted file mode 100644 index bc21f82f..00000000 --- a/.changes/unreleased/Dependencies-20240501-140032.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Dependencies -body: update pathspec upper version limitation -time: 2024-05-01T14:00:32.257513+10:00 -custom: - Author: jerry153fish - PR: "120" diff --git a/.changes/unreleased/Features-20240131-152923.yaml b/.changes/unreleased/Features-20240131-152923.yaml deleted file mode 100644 index fc649269..00000000 --- a/.changes/unreleased/Features-20240131-152923.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Cache static objects between tests to accelerate integration runs. -time: 2024-01-31T15:29:23.951857-05:00 -custom: - Author: peterallenwebb - Issue: "55" diff --git a/.changes/unreleased/Features-20240201-101851.yaml b/.changes/unreleased/Features-20240201-101851.yaml deleted file mode 100644 index fdd88f5c..00000000 --- a/.changes/unreleased/Features-20240201-101851.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add dataclass utility `Mergeable` -time: 2024-02-01T10:18:51.474231-08:00 -custom: - Author: QMalcolm - Issue: "58" diff --git a/.changes/unreleased/Features-20240201-104437.yaml b/.changes/unreleased/Features-20240201-104437.yaml deleted file mode 100644 index ff251faf..00000000 --- a/.changes/unreleased/Features-20240201-104437.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Added a new InvocationContext class for application context management. -time: 2024-02-01T10:44:37.161298-05:00 -custom: - Author: peterallenwebb - Issue: "57" diff --git a/.changes/unreleased/Features-20240410-090810.yaml b/.changes/unreleased/Features-20240410-090810.yaml deleted file mode 100644 index e9473165..00000000 --- a/.changes/unreleased/Features-20240410-090810.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Support environment variables which dbt can see but user code cannot. -time: 2024-04-10T09:08:10.068999-04:00 -custom: - Author: peterallenwebb - Issue: "103" diff --git a/.changes/unreleased/Features-20240412-105245.yaml b/.changes/unreleased/Features-20240412-105245.yaml deleted file mode 100644 index 2712c277..00000000 --- a/.changes/unreleased/Features-20240412-105245.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add `error_tag` util to the `ui` module -time: 2024-04-12T10:52:45.887334-07:00 -custom: - Author: QMalcolm - Issue: "107" diff --git a/.changes/unreleased/Features-20240419-232030.yaml b/.changes/unreleased/Features-20240419-232030.yaml deleted file mode 100644 index bd4e621c..00000000 --- a/.changes/unreleased/Features-20240419-232030.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add ability to silence warnings via `WarnErrorOptions` -time: 2024-04-19T23:20:30.014054-07:00 -custom: - Author: QMalcolm - Issue: "111" diff --git a/.changes/unreleased/Features-20240506-170058.yaml b/.changes/unreleased/Features-20240506-170058.yaml deleted file mode 100644 index d378e228..00000000 --- a/.changes/unreleased/Features-20240506-170058.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Enable serialization contexts -time: 2024-05-06T17:00:58.272104-04:00 -custom: - Author: gshank - Issue: "126" diff --git a/.changes/unreleased/Features-20240514-162052.yaml b/.changes/unreleased/Features-20240514-162052.yaml deleted file mode 100644 index 1503c479..00000000 --- a/.changes/unreleased/Features-20240514-162052.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Support adding callbacks to the event manager -time: 2024-05-14T16:20:52.120336-07:00 -custom: - Author: QMalcolm - Issue: "131" diff --git a/.changes/unreleased/Features-20240515-161106.yaml b/.changes/unreleased/Features-20240515-161106.yaml deleted file mode 100644 index ef4b7afb..00000000 --- a/.changes/unreleased/Features-20240515-161106.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add a print event to support firing event to console in --quiet mode -time: 2024-05-15T16:11:06.815526-07:00 -custom: - Author: ChenyuLInx - Issue: "8756" diff --git a/.changes/unreleased/Features-20240716-102457.yaml b/.changes/unreleased/Features-20240716-102457.yaml deleted file mode 100644 index 096b4259..00000000 --- a/.changes/unreleased/Features-20240716-102457.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Features -body: Add to and to_columns to ColumnLevelConstraint and ModelLevelConstraint contracts -time: 2024-07-16T10:24:57.11251-04:00 -custom: - Author: michelleark - Issue: "168" diff --git a/.changes/unreleased/Fixes-20240206-160231.yaml b/.changes/unreleased/Fixes-20240206-160231.yaml deleted file mode 100644 index a00205b3..00000000 --- a/.changes/unreleased/Fixes-20240206-160231.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Make invocation contexts more reliable in testing scenarios. -time: 2024-02-06T16:02:31.81842-05:00 -custom: - Author: peterallenwebb - Issue: "52" diff --git a/.changes/unreleased/Fixes-20240221-200204.yaml b/.changes/unreleased/Fixes-20240221-200204.yaml deleted file mode 100644 index 8df4eb14..00000000 --- a/.changes/unreleased/Fixes-20240221-200204.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix the unset_contextvars function in events/contextvars.py -time: 2024-02-21T20:02:04.341681-05:00 -custom: - Author: gshank - Issue: "82" diff --git a/.changes/unreleased/Fixes-20240715-205355.yaml b/.changes/unreleased/Fixes-20240715-205355.yaml deleted file mode 100644 index 780a6ad9..00000000 --- a/.changes/unreleased/Fixes-20240715-205355.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Fixes -body: Fix case-insensitive env vars for Windows -time: 2024-07-15T20:53:55.946355+01:00 -custom: - Author: peterallenwebb aranke - Issue: "166" diff --git a/.changes/unreleased/Under the Hood-20240122-163546.yaml b/.changes/unreleased/Under the Hood-20240122-163546.yaml deleted file mode 100644 index 0d32e2e3..00000000 --- a/.changes/unreleased/Under the Hood-20240122-163546.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Clean up macro contexts. -time: 2024-01-22T16:35:46.907999-05:00 -custom: - Author: peterallenwebb - Issue: "35" diff --git a/.changes/unreleased/Under the Hood-20240123-161107.yaml b/.changes/unreleased/Under the Hood-20240123-161107.yaml deleted file mode 100644 index 68a83ab4..00000000 --- a/.changes/unreleased/Under the Hood-20240123-161107.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Inject TagIterator into BlockIterator for greater flexibility. -time: 2024-01-23T16:11:07.24321-05:00 -custom: - Author: peterallenwebb - Issue: "38" diff --git a/.changes/unreleased/Under the Hood-20240123-194242.yaml b/.changes/unreleased/Under the Hood-20240123-194242.yaml deleted file mode 100644 index a0cb7431..00000000 --- a/.changes/unreleased/Under the Hood-20240123-194242.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Change metadata_vars \`if not\` to \`if ... is None\` -time: 2024-01-23T19:42:42.95727089Z -custom: - Author: truls-p - Issue: "6073" diff --git a/.changes/unreleased/Under the Hood-20240206-081323.yaml b/.changes/unreleased/Under the Hood-20240206-081323.yaml deleted file mode 100644 index f5565b06..00000000 --- a/.changes/unreleased/Under the Hood-20240206-081323.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Remove `fire_event_if_test` method -time: 2024-02-06T08:13:23.722615-06:00 -custom: - Author: emmyoop - Issue: "66" diff --git a/.changes/unreleased/Under the Hood-20240208-100709.yaml b/.changes/unreleased/Under the Hood-20240208-100709.yaml deleted file mode 100644 index 2c824b39..00000000 --- a/.changes/unreleased/Under the Hood-20240208-100709.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Add Invocation Context Support to MultiThreadedExecutor -time: 2024-02-08T10:07:09.584747-05:00 -custom: - Author: peterallenwebb - Issue: "75" diff --git a/.changes/unreleased/Under the Hood-20240221-104344.yaml b/.changes/unreleased/Under the Hood-20240221-104344.yaml deleted file mode 100644 index bd1423a9..00000000 --- a/.changes/unreleased/Under the Hood-20240221-104344.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Restrict protobuf library to major version 4. -time: 2024-02-21T10:43:44.642458-05:00 -custom: - Author: peterallenwebb - Issue: "9566" diff --git a/.changes/unreleased/Under the Hood-20240227-145400.yaml b/.changes/unreleased/Under the Hood-20240227-145400.yaml deleted file mode 100644 index baf3b0fa..00000000 --- a/.changes/unreleased/Under the Hood-20240227-145400.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Implement record/replay mechanism -time: 2024-02-27T14:54:00.94815-05:00 -custom: - Author: peterallenwebb - Issue: "9689" diff --git a/.changes/unreleased/Under the Hood-20240314-161737.yaml b/.changes/unreleased/Under the Hood-20240314-161737.yaml deleted file mode 100644 index d5d58059..00000000 --- a/.changes/unreleased/Under the Hood-20240314-161737.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Stream JSON on read/write instead of holding it in memory -time: 2024-03-14T16:17:37.570328-04:00 -custom: - Author: peterallenwebb - Issue: "96" diff --git a/.changes/unreleased/Under the Hood-20240319-122548.yaml b/.changes/unreleased/Under the Hood-20240319-122548.yaml deleted file mode 100644 index 15640369..00000000 --- a/.changes/unreleased/Under the Hood-20240319-122548.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Improve startup performance by lazy-compiling mashumaro serialization functions -time: 2024-03-19T12:25:48.615365-04:00 -custom: - Author: peterallenwebb - Issue: "97" diff --git a/.changes/unreleased/Under the Hood-20240423-080648.yaml b/.changes/unreleased/Under the Hood-20240423-080648.yaml deleted file mode 100644 index 448630c8..00000000 --- a/.changes/unreleased/Under the Hood-20240423-080648.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Remove the final underscore from secret and private environment variable constants. -time: 2024-04-23T08:06:48.857514-05:00 -custom: - Author: emmyoop - Issue: "109" diff --git a/.changes/unreleased/Under the Hood-20240528-110518.yaml b/.changes/unreleased/Under the Hood-20240528-110518.yaml deleted file mode 100644 index 58b243c7..00000000 --- a/.changes/unreleased/Under the Hood-20240528-110518.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Allow dynamic selection of record types when recording. -time: 2024-05-28T11:05:18.290107-05:00 -custom: - Author: emmyoop - Issue: "140" diff --git a/.changes/unreleased/Under the Hood-20240529-143154.yaml b/.changes/unreleased/Under the Hood-20240529-143154.yaml deleted file mode 100644 index e9664254..00000000 --- a/.changes/unreleased/Under the Hood-20240529-143154.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Move StatsItem, StatsDict, TableMetadata to dbt-common -time: 2024-05-29T14:31:54.854468+01:00 -custom: - Author: aranke - Issue: "141" diff --git a/.changes/unreleased/Under the Hood-20240603-123631.yaml b/.changes/unreleased/Under the Hood-20240603-123631.yaml deleted file mode 100644 index 18a649df..00000000 --- a/.changes/unreleased/Under the Hood-20240603-123631.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Move CatalogKey, ColumnMetadata, ColumnMap, CatalogTable to dbt-common -time: 2024-06-03T12:36:31.542118+02:00 -custom: - Author: aranke - Issue: "147" diff --git a/.changes/unreleased/Under the Hood-20240617-204541.yaml b/.changes/unreleased/Under the Hood-20240617-204541.yaml deleted file mode 100644 index b4e33c36..00000000 --- a/.changes/unreleased/Under the Hood-20240617-204541.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Add support for basic diff of run recordings. -time: 2024-06-17T20:45:41.123374-05:00 -custom: - Author: emmyoop - Issue: "144" diff --git a/.changes/unreleased/Under the Hood-20240618-155025.yaml b/.changes/unreleased/Under the Hood-20240618-155025.yaml deleted file mode 100644 index b540d3d7..00000000 --- a/.changes/unreleased/Under the Hood-20240618-155025.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Deserialize Record objects on a just-in-time basis. -time: 2024-06-18T15:50:25.985387-04:00 -custom: - Author: peterallenwebb - Issue: "151" diff --git a/.changes/unreleased/Under the Hood-20240716-125753.yaml b/.changes/unreleased/Under the Hood-20240716-125753.yaml deleted file mode 100644 index 55b36cb3..00000000 --- a/.changes/unreleased/Under the Hood-20240716-125753.yaml +++ /dev/null @@ -1,6 +0,0 @@ -kind: Under the Hood -body: Add record grouping mechanism to record/replay. -time: 2024-07-16T12:57:53.434099-04:00 -custom: - Author: peterallenwebb - Issue: "169" diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ca9d33a..5666d54b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,132 @@ -# Changelog -All notable changes to this project will be documented in this file. +# dbt-common Changelog -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), -and is generated by [Changie](https://github.com/miniscruff/changie). +- This file provides a full account of all changes to `dbt-common` +- 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-common/blob/main/CONTRIBUTING.md#adding-changelog-entry) +## dbt-common 1.7.0 - July 30, 2024 -No releases yet, this file will be updated when generating your first release. +### Under the Hood + +- Add record grouping mechanism to record/replay. ([#169](https://github.com/dbt-labs/dbt-common/issues/169)) + +## dbt-common 1.6.0 - July 2, 2024 + +### Features + +- Add to and to_columns to ColumnLevelConstraint and ModelLevelConstraint contracts ([#168](https://github.com/dbt-labs/dbt-common/issues/168)) + +### Fixes + +- Fix case-insensitive env vars for Windows ([#166](https://github.com/dbt-labs/dbt-common/issues/166)) + +## dbt-common 1.4.0 - June 18, 2024 + +### Under the Hood + +- Add support for basic diff of run recordings. ([#144](https://github.com/dbt-labs/dbt-common/issues/144)) +- Deserialize Record objects on a just-in-time basis. ([#151](https://github.com/dbt-labs/dbt-common/issues/151)) + +## dbt-common 1.3.0 - June 5, 2024 + +### Under the Hood + +- Move CatalogKey, ColumnMetadata, ColumnMap, CatalogTable to dbt-common ([#147](https://github.com/dbt-labs/dbt-common/issues/147)) + +## dbt-common 1.2.0 - May 29, 2024 + +### Under the Hood + +- Allow dynamic selection of record types when recording. ([#140](https://github.com/dbt-labs/dbt-common/issues/140)) +- Move StatsItem, StatsDict, TableMetadata to dbt-common ([#141](https://github.com/dbt-labs/dbt-common/issues/141)) + +## dbt-common 1.1.0 - May 21, 2024 + +### Features + +- Support adding callbacks to the event manager ([#131](https://github.com/dbt-labs/dbt-common/issues/131)) +- Add a print event to support firing event to console in --quiet mode ([#8756](https://github.com/dbt-labs/dbt-common/issues/8756)) + +## dbt-common 1.0.4 - May 7, 2024 + +### Features + +- Enable serialization contexts ([#126](https://github.com/dbt-labs/dbt-common/issues/126)) + +## dbt-common 1.0.3 - May 1, 2024 + +### Dependencies + +- Pin agate `>=1.7.0,<1.10` ([#119](https://github.com/dbt-labs/dbt-common/pull/119)) +- update pathspec upper version limitation ([#120](https://github.com/dbt-labs/dbt-common/pull/120)) + +## dbt-common 1.0.2 - April 24, 2024 + +### Features + +- Add ability to silence warnings via `WarnErrorOptions` ([#111](https://github.com/dbt-labs/dbt-common/issues/111)) + +### Under the Hood + +- Remove the final underscore from secret and private environment variable constants. ([#109](https://github.com/dbt-labs/dbt-common/issues/109)) + +## dbt-common 1.0.1 - April 12, 2024 + +### Features + +- Support environment variables which dbt can see but user code cannot. ([#103](https://github.com/dbt-labs/dbt-common/issues/103)) +- Add `error_tag` util to the `ui` module ([#107](https://github.com/dbt-labs/dbt-common/issues/107)) + +## dbt-common 1.0.0 - April 1, 2024 + +### Under the Hood + +- Implement record/replay mechanism ([#9689](https://github.com/dbt-labs/dbt-common/issues/9689)) +- Stream JSON on read/write instead of holding it in memory ([#96](https://github.com/dbt-labs/dbt-common/issues/96)) +- Improve startup performance by lazy-compiling mashumaro serialization functions ([#97](https://github.com/dbt-labs/dbt-common/issues/97)) + +## dbt-common 0.1.6 - February 22, 2024 + +### Fixes + +- Fix the unset_contextvars function in events/contextvars.py ([#82](https://github.com/dbt-labs/dbt-common/issues/82)) + +### Under the Hood + +- Restrict protobuf library to major version 4. ([#9566](https://github.com/dbt-labs/dbt-common/issues/9566)) + +## dbt-common 0.1.65- February 8, 2024 + +### Under the Hood + +- Add Invocation Context Support to MultiThreadedExecutor ([#75](https://github.com/dbt-labs/dbt-common/issues/75)) + +## dbt-common 0.1.4 - February 7, 2024 + +### Fixes + +- Make invocation contexts more reliable in testing scenarios. ([#52](https://github.com/dbt-labs/dbt-common/issues/52)) + +### Under the Hood + +- Remove `fire_event_if_test` method ([#66](https://github.com/dbt-labs/dbt-common/issues/66)) + +## dbt-common 0.1.3 - February 1, 2024 + +### Features + +- Cache static objects between tests to accelerate integration runs. ([#55](https://github.com/dbt-labs/dbt-common/issues/55)) +- Added a new InvocationContext class for application context management. ([#57](https://github.com/dbt-labs/dbt-common/issues/57)) +- Add dataclass utility `Mergeable` ([#58](https://github.com/dbt-labs/dbt-common/issues/58)) + +## dbt-common 0.1.1 - January 26, 2024 + +### Under the Hood + +- Clean up macro contexts. ([#35](https://github.com/dbt-labs/dbt-common/issues/35)) +- Change metadata_vars \`if not\` to \`if ... is None\` ([#6073](https://github.com/dbt-labs/dbt-common/issues/6073)) +- Inject TagIterator into BlockIterator for greater flexibility. ([#38](https://github.com/dbt-labs/dbt-common/issues/38)) + +### Contributors +- [@truls-p](https://github.com/truls-p) ([#6073](https://github.com/dbt-labs/dbt-common/issues/6073))