+
### 2. Grant dbt AWS account access to the VPC Endpoint Service
Once these resources have been provisioned, access needs to be granted for the dbt Labs AWS account to create a VPC Endpoint in our VPC. On the provisioned VPC endpoint service, click the **Allow principals** tab. Click **Allow principals** to grant access. Enter the ARN of the following IAM role in the appropriate production AWS account and save your changes ([details](https://docs.aws.amazon.com/vpc/latest/privatelink/configure-endpoint-service.html#add-remove-permissions)).
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).
diff --git a/website/docs/docs/collaborate/govern/model-versions.md b/website/docs/docs/collaborate/govern/model-versions.md
index f255aa9db1a..eefcf76e824 100644
--- a/website/docs/docs/collaborate/govern/model-versions.md
+++ b/website/docs/docs/collaborate/govern/model-versions.md
@@ -69,7 +69,7 @@ When you make updates to a model's source code — its logical definition, i
**Versioned models are different.** Defining model `versions` is appropriate when people, systems, and processes beyond your team's control, inside or outside of dbt, depend on your models. You can neither simply go migrate them all, nor break their queries on a whim. You need to offer a migration path, with clear diffs and deprecation dates.
-Multiple versions of a model will live in the same code repository at the same time, and be deployed into the same data environment simultaneously. This is similar to how web APIs are versioned: Multiple versions are live simultaneously, two or three, and not more). Over time, newer versions come online, and older versions are sunsetted .
+Multiple versions of a model will live in the same code repository at the same time, and be deployed into the same data environment simultaneously. This is similar to how web APIs are versioned: Multiple versions live simultaneously, two or three, and not more). Over time, newer versions come online, and older versions are sunsetted .
## How is this different from just creating a new model?
diff --git a/website/docs/docs/collaborate/govern/project-dependencies.md b/website/docs/docs/collaborate/govern/project-dependencies.md
index a56646b0d0b..6a84a04e109 100644
--- a/website/docs/docs/collaborate/govern/project-dependencies.md
+++ b/website/docs/docs/collaborate/govern/project-dependencies.md
@@ -30,9 +30,6 @@ import UseCaseInfo from '/snippets/_packages_or_dependencies.md';
-Refer to the [FAQs](#faqs) for more info.
-
-
## Example
As an example, let's say you work on the Marketing team at the Jaffle Shop. The name of your team's project is `jaffle_marketing`:
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
-
-
+
+The `--resource-type` and `--exclude-resource-type` flags include or exclude resource types from the `dbt build`, `dbt clone`, and `dbt list` commands. In Versionless and from dbt v1.9 onwards, these flags are also supported in the `dbt test` command.
+
+
+
+
+
+The `--resource-type` and `--exclude-resource-type` flags include or exclude resource types from the `dbt build`, `dbt test`, `dbt clone`, and `dbt list` commands.
+
+
This means the flags enable you to specify which types of resources to include or exclude when running the commands, instead of targeting specific resources.
@@ -109,3 +119,27 @@ Instead of targeting specific resources, use the `--resource-flag` or `--exclude
+
+
+
+- In this example, use the following command to exclude _all_ unit tests when running tests:
+
+
+
+ ```text
+ dbt test --exclude-resource-type unit_test
+ ```
+
+
+
+- In this example, use the following command to include all data tests when running tests:
+
+
+
+ ```text
+ dbt test --resource-type test
+ ```
+
+
+
+
diff --git a/website/docs/reference/global-configs/warnings.md b/website/docs/reference/global-configs/warnings.md
index 97eb270338e..d432432d25f 100644
--- a/website/docs/reference/global-configs/warnings.md
+++ b/website/docs/reference/global-configs/warnings.md
@@ -46,7 +46,6 @@ flags:
error: # Previously called "include"
warn: # Previously called "exclude"
silence: # To silence or ignore warnings
- - TestsConfigDeprecation
- NoNodesForSelectionCriteria
```
@@ -131,7 +130,6 @@ config:
warn: # Previously called "exclude"
- NoNodesForSelectionCriteria
silence: # Silence or ignore warnings
- - TestsConfigDeprecation
- NoNodesForSelectionCriteria
```
diff --git a/website/docs/reference/model-properties.md b/website/docs/reference/model-properties.md
index 46fb0ca3bad..7576fc350f8 100644
--- a/website/docs/reference/model-properties.md
+++ b/website/docs/reference/model-properties.md
@@ -2,9 +2,9 @@
title: Model properties
---
-Models properties can be declared in `.yml` files in your `models/` directory (as defined by the [`model-paths` config](/reference/project-configs/model-paths)).
+Models properties can be declared in `.yml` files in your `models/` directory (as defined by the [`model-paths` config](/reference/project-configs/model-paths)).
-You can name these files `whatever_you_want.yml`, and nest them arbitrarily deeply in subfolders within the `models/` directory.
+You can name these files `whatever_you_want.yml`, and nest them arbitrarily deeply in subfolders within the `models/` directory. The [MetricFlow time spine](/docs/build/metricflow-time-spine) is a model property that tells dbt and MetricFlow how to use specific columns by defining their properties.
@@ -74,7 +74,3 @@ models:
-
diff --git a/website/docs/reference/project-configs/docs-paths.md b/website/docs/reference/project-configs/docs-paths.md
index 51ff5c5ccca..5481c19c9fd 100644
--- a/website/docs/reference/project-configs/docs-paths.md
+++ b/website/docs/reference/project-configs/docs-paths.md
@@ -17,8 +17,18 @@ Optionally specify a custom list of directories where [docs blocks](/docs/build/
## Default
-By default, dbt will search in all resource paths for docs blocks (i.e. the combined list of [model-paths](/reference/project-configs/model-paths), [seed-paths](/reference/project-configs/seed-paths), [analysis-paths](/reference/project-configs/analysis-paths), [macro-paths](/reference/project-configs/macro-paths) and [snapshot-paths](/reference/project-configs/snapshot-paths)). If this option is configured, dbt will _only_ look in the specified directory for docs blocks.
+
+
+By default, dbt will search in all resource paths for docs blocks (for example, the combined list of [model-paths](/reference/project-configs/model-paths), [seed-paths](/reference/project-configs/seed-paths), [analysis-paths](/reference/project-configs/analysis-paths), [test-paths](/reference/project-configs/test-paths), [macro-paths](/reference/project-configs/macro-paths), and [snapshot-paths](/reference/project-configs/snapshot-paths)). If this option is configured, dbt will _only_ look in the specified directory for docs blocks.
+
+
+
+
+
+By default, dbt will search in all resource paths for docs blocks (i.e. the combined list of [model-paths](/reference/project-configs/model-paths), [seed-paths](/reference/project-configs/seed-paths), [analysis-paths](/reference/project-configs/analysis-paths), [macro-paths](/reference/project-configs/macro-paths), and [snapshot-paths](/reference/project-configs/snapshot-paths)). If this option is configured, dbt will _only_ look in the specified directory for docs blocks.
+
+
## Example
diff --git a/website/docs/reference/project-configs/require-dbt-version.md b/website/docs/reference/project-configs/require-dbt-version.md
index 42dc49c4546..97b42e036ec 100644
--- a/website/docs/reference/project-configs/require-dbt-version.md
+++ b/website/docs/reference/project-configs/require-dbt-version.md
@@ -93,7 +93,7 @@ In the following example, the project will only run with dbt v1.5:
```yml
-require-dbt-version: 1.5
+require-dbt-version: "1.5.0"
```
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
diff --git a/website/docs/reference/resource-configs/updated_at.md b/website/docs/reference/resource-configs/updated_at.md
index 896405bf063..c61b04264be 100644
--- a/website/docs/reference/resource-configs/updated_at.md
+++ b/website/docs/reference/resource-configs/updated_at.md
@@ -27,6 +27,17 @@ snapshots:
+
+
+:::caution
+
+You will get a warning if the data type of the `updated_at` column does not match the adapter-configured default.
+
+:::
+
+
+
+
## Description
A column within the results of your snapshot query that represents when the record row was last updated.
diff --git a/website/docs/reference/resource-properties/description.md b/website/docs/reference/resource-properties/description.md
index 59420614b02..6f32f75efa4 100644
--- a/website/docs/reference/resource-properties/description.md
+++ b/website/docs/reference/resource-properties/description.md
@@ -13,6 +13,7 @@ description: "This guide explains how to use the description key to add YAML des
{ label: 'Snapshots', value: 'snapshots', },
{ label: 'Analyses', value: 'analyses', },
{ label: 'Macros', value: 'macros', },
+ { label: 'Singular data tests', value: 'singular_data_tests', },
]
}>
@@ -145,6 +146,33 @@ macros:
+
+
+
+
+
+
+```yml
+version: 2
+
+data_tests:
+ - name: singular_data_test_name
+ description: markdown_string
+
+```
+
+
+
+
+
+
+
+The `description` property is available for singular data tests beginning in dbt v1.9.
+
+
+
+
+
diff --git a/website/docs/reference/resource-properties/unit-testing-versions.md b/website/docs/reference/resource-properties/unit-testing-versions.md
index 4d28e19e71d..39ef241c122 100644
--- a/website/docs/reference/resource-properties/unit-testing-versions.md
+++ b/website/docs/reference/resource-properties/unit-testing-versions.md
@@ -27,7 +27,7 @@ unit_tests:
- name: test_is_valid_email_address
model: my_model
versions:
- include:
+ exclude:
- 1
...
diff --git a/website/sidebars.js b/website/sidebars.js
index 5dbf3caf036..590279d0680 100644
--- a/website/sidebars.js
+++ b/website/sidebars.js
@@ -124,6 +124,7 @@ const sidebarSettings = {
"docs/cloud/manage-access/set-up-snowflake-oauth",
"docs/cloud/manage-access/set-up-databricks-oauth",
"docs/cloud/manage-access/set-up-bigquery-oauth",
+ "docs/cloud/manage-access/external-oauth",
],
}, // SSO
"docs/cloud/manage-access/audit-log",
@@ -641,11 +642,6 @@ const sidebarSettings = {
link: { type: "doc", id: "docs/dbt-cloud-apis/admin-cloud-api" },
items: [
"docs/dbt-cloud-apis/admin-cloud-api",
- {
- type: "link",
- label: "API v2 (legacy docs)",
- href: "/dbt-cloud/api-v2-legacy",
- },
{
type: "link",
label: "API v2",
diff --git a/website/snippets/_packages_or_dependencies.md b/website/snippets/_packages_or_dependencies.md
index 3cd0361a099..a822b9773db 100644
--- a/website/snippets/_packages_or_dependencies.md
+++ b/website/snippets/_packages_or_dependencies.md
@@ -1,16 +1,23 @@
## Use cases
-Starting from dbt v1.6, we added a new configuration file called `dependencies.yml`. The file can contain both types of dependencies: "package" and "project" dependencies.
-- ["Package" dependencies](/docs/build/packages#how-do-i-add-a-package-to-my-project) lets you add source code from someone else's dbt project into your own, like a library.
-- ["Project" dependencies](/docs/collaborate/govern/project-dependencies) provide a different way to build on top of someone else's work in dbt.
+The following setup will work for every dbt project:
+
+- Add [any package dependencies](/docs/collaborate/govern/project-dependencies#when-to-use-project-dependencies) to `packages.yml`
+- Add [any project dependencies](/docs/collaborate/govern/project-dependencies#when-to-use-package-dependencies) to `dependencies.yml`
+
+However, you may be able to consolidate both into a single `dependencies.yml` file. Read the following section to learn more.
+
+#### About packages.yml and dependencies.yml
+The `dependencies.yml`. file can contain both types of dependencies: "package" and "project" dependencies.
+- [Package dependencies](/docs/build/packages#how-do-i-add-a-package-to-my-project) lets you add source code from someone else's dbt project into your own, like a library.
+- Project dependencies provide a different way to build on top of someone else's work in dbt.
If your dbt project doesn't require the use of Jinja within the package specifications, you can simply rename your existing `packages.yml` to `dependencies.yml`. However, something to note is if your project's package specifications use Jinja, particularly for scenarios like adding an environment variable or a [Git token method](/docs/build/packages#git-token-method) in a private Git package specification, you should continue using the `packages.yml` file name.
-Examine the following tabs to understand the differences and determine when to use `dependencies.yml` or `packages.yml` (or both at the same time).
+Use the following toggles to understand the differences and determine when to use `dependencies.yml` or `packages.yml` (or both). Refer to the [FAQs](#faqs) for more info.
-
-
+
Project dependencies are designed for the [dbt Mesh](/best-practices/how-we-mesh/mesh-1-intro) and [cross-project reference](/docs/collaborate/govern/project-dependencies#how-to-write-cross-project-ref) workflow:
@@ -19,9 +26,9 @@ Project dependencies are designed for the [dbt Mesh](/best-practices/how-we-mesh
- Private packages are not supported in `dependencies.yml` because they intentionally don't support Jinja rendering or conditional configuration. This is to maintain static and predictable configuration and ensures compatibility with other services, like dbt Cloud.
- Use `dependencies.yml` for organization and maintainability if you're using both [cross-project refs](/docs/collaborate/govern/project-dependencies#how-to-write-cross-project-ref) and [dbt Hub packages](https://hub.getdbt.com/). This reduces the need for multiple YAML files to manage dependencies.
-
+
-
+
Package dependencies allow you to add source code from someone else's dbt project into your own, like a library:
@@ -31,5 +38,5 @@ Package dependencies allow you to add source code from someone else's dbt projec
- `packages.yml` supports Jinja rendering for historical reasons, allowing dynamic configurations. This can be useful if you need to insert values, like a [Git token method](/docs/build/packages#git-token-method) from an environment variable, into your package specifications.
Currently, to use private git repositories in dbt, you need to use a workaround that involves embedding a git token with Jinja. This is not ideal as it requires extra steps like creating a user and sharing a git token. We're planning to introduce a simpler method soon that won't require Jinja-embedded secret environment variables. For that reason, `dependencies.yml` does not support Jinja.
-
-
+
+
diff --git a/website/snippets/_privatelink-cross-zone-load-balancing.md b/website/snippets/_privatelink-cross-zone-load-balancing.md
new file mode 100644
index 00000000000..cb879e5602b
--- /dev/null
+++ b/website/snippets/_privatelink-cross-zone-load-balancing.md
@@ -0,0 +1,6 @@
+
+:::note Cross-Zone Load Balancing
+We highly recommend cross-zone load balancing for your NLB or Target Group; some connections may require it. Cross-zone load balancing may also [improve routing distribution and connection resiliency](https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/how-elastic-load-balancing-works.html#cross-zone-load-balancing). Note that cross-zone connectivity may incur additional data transfer charges, though this should be minimal for requests from dbt Cloud.
+
+- [Enabling cross-zone load balancing for a load balancer or target group](https://docs.aws.amazon.com/elasticloadbalancing/latest/network/edit-target-group-attributes.html#target-group-cross-zone)
+:::
diff --git a/website/static/img/blog/2024-09-30-hybrid-mesh/hybrid-mesh.png b/website/static/img/blog/2024-09-30-hybrid-mesh/hybrid-mesh.png
new file mode 100644
index 00000000000..ce081a11834
Binary files /dev/null and b/website/static/img/blog/2024-09-30-hybrid-mesh/hybrid-mesh.png differ
diff --git a/website/vercel.json b/website/vercel.json
index defdc449276..a00d04b671b 100644
--- a/website/vercel.json
+++ b/website/vercel.json
@@ -2986,6 +2986,11 @@
"destination": "/dbt-cloud/api-v2-legacy",
"permanent": true
},
+ {
+ "source": "/dbt-cloud/api-v2-legacy",
+ "destination": "/dbt-cloud/api-v2",
+ "permanent": true
+ },
{
"source": "/dbt-cloud/api-v4",
"destination": "/docs/dbt-cloud-apis/admin-cloud-api",