From ce4a8475fd65622e66ca34f77b5a0b2dd83e192f Mon Sep 17 00:00:00 2001 From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Date: Tue, 1 Oct 2024 12:00:46 -0600 Subject: [PATCH 1/4] Link to docs for generic data tests (#6195) [Preview](https://docs-getdbt-com-git-dbeatty10-patch-1-dbt-labs.vercel.app/reference/project-configs/test-paths) ## What are you changing in this pull request and why? Generic data tests are also located in the [`test-paths`](https://docs.getdbt.com/reference/project-configs/test-paths), specifically _always_ under the `generic` subdirectory. ## Checklist - [x] I have reviewed the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md) so my content adheres to these guidelines. --- website/docs/reference/project-configs/test-paths.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/reference/project-configs/test-paths.md b/website/docs/reference/project-configs/test-paths.md index 59f17db05eb..6749a07d23d 100644 --- a/website/docs/reference/project-configs/test-paths.md +++ b/website/docs/reference/project-configs/test-paths.md @@ -13,7 +13,7 @@ test-paths: [directorypath] ## Definition -Optionally specify a custom list of directories where [singular tests](/docs/build/data-tests) are located. +Optionally specify a custom list of directories where [singular tests](/docs/build/data-tests#singular-data-tests) and [custom generic tests](/docs/build/data-tests#generic-data-tests) are located. ## Default From b4ce442a727f67d9cf4ea06213d8f464f07f0b28 Mon Sep 17 00:00:00 2001 From: Gideon Shils Date: Tue, 1 Oct 2024 14:43:56 -0400 Subject: [PATCH 2/4] Remove legacy v2 Admin API docs (#6164) ## What are you changing in this pull request and why? The newer v2 admin API docs have now reached parity with the legacy docs, so it is safe to remove the old pages. Also adds redirects. ## Checklist - [x] I have reviewed the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md) so my content adheres to these guidelines. - [ ] The topic I'm writing about is for specific dbt version(s) and I have versioned it according to the [version a whole page](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version) and/or [version a block of content](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-blocks-of-content) guidelines. - [ ] I have added checklist item(s) to this list for anything anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch." Co-authored-by: Matt Shaver <60105315+matthewshaver@users.noreply.github.com> --- website/docs/docs/dbt-cloud-apis/admin-cloud-api.md | 6 ------ website/sidebars.js | 5 ----- website/vercel.json | 5 +++++ 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/website/docs/docs/dbt-cloud-apis/admin-cloud-api.md b/website/docs/docs/dbt-cloud-apis/admin-cloud-api.md index fe024e60831..2183b19d38f 100644 --- a/website/docs/docs/dbt-cloud-apis/admin-cloud-api.md +++ b/website/docs/docs/dbt-cloud-apis/admin-cloud-api.md @@ -17,12 +17,6 @@ Many endpoints of the Administrative API can also be called through the [dbt Clo
- - Date: Tue, 1 Oct 2024 20:00:50 +0100 Subject: [PATCH 3/4] Updated breaking changes section (#6119) Closes https://github.com/dbt-labs/docs.getdbt.com/issues/5574 Following this Git issue: https://github.com/orgs/dbt-labs/projects/14/views/35?pane=issue&itemId=65030468, i've created this PR regarding the updated breaking changes ## What are you changing in this pull request and why? ## Checklist - [x] I have reviewed the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md) so my content adheres to these guidelines. - [x] The topic I'm writing about is for specific dbt version(s) and I have versioned it according to the [version a whole page](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version) and/or [version a block of content](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-blocks-of-content) guidelines. - [ ] I have added checklist item(s) to this list for anything anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch." --------- Co-authored-by: Matt Shaver <60105315+matthewshaver@users.noreply.github.com> Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com> Co-authored-by: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> --- website/docs/docs/collaborate/govern/model-contracts.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/website/docs/docs/collaborate/govern/model-contracts.md b/website/docs/docs/collaborate/govern/model-contracts.md index e186609b746..b07ce909480 100644 --- a/website/docs/docs/collaborate/govern/model-contracts.md +++ b/website/docs/docs/collaborate/govern/model-contracts.md @@ -206,9 +206,12 @@ At the same time, for models with many columns, we understand that this can mean When comparing to a previous project state, dbt will look for breaking changes that could impact downstream consumers. If breaking changes are detected, dbt will present a contract error. Breaking changes include: -- Removing an existing column -- Changing the `data_type` of an existing column -- Removing or modifying one of the `constraints` on an existing column (dbt v1.6 or higher) +- Removing an existing column. +- Changing the `data_type` of an existing column. +- Removing or modifying one of the `constraints` on an existing column (dbt v1.6 or higher). +- Removing a contracted model by deleting, renaming, or disabling it (dbt v1.9 or higher). + - versioned models will raise an error. + - unversioned models will raise a warning. More details are available in the [contract reference](/reference/resource-configs/contract#detecting-breaking-changes). From 64cce9e799495d27add7cf5da03eb76daf1d1ba9 Mon Sep 17 00:00:00 2001 From: Mirna Wong <89008547+mirnawong1@users.noreply.github.com> Date: Tue, 1 Oct 2024 21:06:05 +0100 Subject: [PATCH 4/4] Update about-cloud-develop-defer.md fix spacing --- website/docs/docs/cloud/about-cloud-develop-defer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/cloud/about-cloud-develop-defer.md b/website/docs/docs/cloud/about-cloud-develop-defer.md index 472cabe13c5..fc55edf8a38 100644 --- a/website/docs/docs/cloud/about-cloud-develop-defer.md +++ b/website/docs/docs/cloud/about-cloud-develop-defer.md @@ -50,7 +50,7 @@ The dbt Cloud CLI offers additional flexibility by letting you choose the source - ```yml +```yml context: active-host: ... active-project: ...