# Cortex Framework deprecations

The
[Google Cloud Platform Terms of Service (section "Discontinuation of Services")](https://docs.cloud.google.com/terms)
defines the deprecation policy that applies to Cortex Framework.
The [deprecation policy](https://docs.cloud.google.com/terms/deprecation) only applies to the services,
features, or products listed therein.


After a service, feature, or product is officially
deprecated, it continues to be available for at least the period of time defined in the
Terms of Service. After this period of time, the service is scheduled for shutdown.

The following table lists Google Cloud Cortex Framework version 6 feature
deprecations and their related shutdown schedules.

| Feature | Deprecated date | Shutdown date | Details |
| Data Mesh | December 12, 2025 | N/A | The Data Mesh solution is discontinued. It was built using Data Catalog, which was replaced by [Knowledge Catalog](https://docs.cloud.google.com/knowledge-catalog/docs/introduction.md.txt). |
|---|---|---|---|

## Cortex Framework version 7.1 deprecations

The following table lists CLI aliases, CLI flags, configuration fields, and
extensibility patterns deprecated in Cortex Framework version 7.1
and scheduled for removal in version 8.0, as well as retired
Knowledge Catalog label keys.

| Deprecated or removed item | Status | Target removal | Replacement and migration details |
| `cortex-kc-sync` CLI command | Deprecated | Version 8.0 | Retained as a backward-compatible alias. Use [`uv run cortex-create-kc-data-products`](https://docs.cloud.google.com/cortex/docs/uv-run-cortex-create-kc-data-products.md.txt). |
| `cortex-build --create-datasets` flag | Deprecated (no-op) | Version 8.0 | Hidden and ignored during builds. Pass `--create-datasets` to [`uv run cortex-deploy`](https://docs.cloud.google.com/cortex/docs/uv-run-cortex-deploy.md.txt) or [`uv run cortex-build-and-deploy`](https://docs.cloud.google.com/cortex/docs/uv-run-cortex-build-and-deploy.md.txt) instead. |
| `cortex-deploy --assertions` flag | Deprecated (no-op) | Version 8.0 | Hidden and ignored during deployment. Pass `--assertions` to [`uv run cortex-build`](https://docs.cloud.google.com/cortex/docs/uv-run-cortex-build.md.txt) or [`uv run cortex-build-and-deploy`](https://docs.cloud.google.com/cortex/docs/uv-run-cortex-build-and-deploy.md.txt) instead. |
| `cortex-create-kc-data-products --data-modules-root-directory` flag | Deprecated (ignored) | Version 8.0 | Hidden and ignored. Configure module namespaces under [`data.namespaces`](https://docs.cloud.google.com/cortex/docs/deployment-configuration.md.txt#data-namespaces) in `config/config.yaml` instead. |
| Legacy `snake_case` CLI flags on `cortex-demo` (for example, `--project_id`, `--dataform_region`, `--bigquery_location`, `--service_account`, `--sap_version`, and dataset or repository flags) | Deprecated (hidden aliases) | Version 8.0 | Retained as hidden backward-compatible aliases. Migrate to the kebab-case equivalents (`--project-id`, `--dataform-region`, `--bigquery-location`, `--service-account`, `--sap-version`, `--source-sap-raw-dataset-id`, `--target-sap-foundation-dataset-id`, `--source-sfdc-raw-dataset-id`, `--target-sfdc-foundation-dataset-id`, `--target-dp-dataset-id`, `--target-samples-dataset-id`, `--repository-name`, `--workspace-name`, and `--create-workflow-configs`). See [`uv run cortex-demo`](https://docs.cloud.google.com/cortex/docs/uv-run-cortex-demo.md.txt). |
| `partitionDetails.partitionType: DATE | DATETIME | TIMESTAMP` | Deprecated | Version 8.0 | Use `partitionType: time` together with `dataType: DATE | DATETIME | TIMESTAMP`. See [Partitioning details](https://docs.cloud.google.com/cortex/docs/deployment-configuration.md.txt#partitioning-details). |
| Omitting `dataType` on time-partitioned data products | Deprecated | Version 8.0 | Using `partitionType: time` without `dataType` on a data product emits a deprecation warning and leaves the table unpartitioned. Set `dataType` explicitly to `DATE`, `DATETIME`, or `TIMESTAMP`. |
| `moduleType` in `config/config.yaml` and `type` in `manifest.yaml` | Deprecated (ignored) | Version 8.0 | Remove both fields. Builder resolution uses `builder` in `manifest.yaml`, and the leaf module name derives from the module directory name. |
| `path` on built-in `data.namespaces` entries | Deprecated | Version 8.0 | Omit `path` for built-in namespaces (`cortex`, `cortex_samples`, and `cortex_v6_compatibility`)---for example, use `- name: cortex`. See [Namespaces](https://docs.cloud.google.com/cortex/docs/deployment-configuration.md.txt#data-namespaces). |
| Legacy builder aliases (`generic_product`, `composite_product`, `generic_composite_product`, `sap_bdc_product`, `sfdc`) | Deprecated | Version 8.0 | Replace `generic_product`, `composite_product`, `generic_composite_product`, and `sap_bdc_product` with `flat_product`. Replace `sfdc` with `sfdc_foundation`. |
| Blueprint-local `./builder.py` and nested `<namespace>/<segment>/builders/`, `includes/`, and `assertions/` directories | Deprecated | Version 8.0 | Move shared builders, Dataform includes, and assertion SQL templates to namespace root directories (`<namespace>/builders/`, `<namespace>/includes/`, and `<namespace>/assertions/`), or keep module-private assertion templates under `<module>/assertions/`. See the [Extensibility guide](https://docs.cloud.google.com/cortex/docs/extensibility-guide.md.txt). |
| Knowledge Catalog framework label keys `cortex_framework_version`, `cortex-framework-version`, and `cortex-framework-created` | Removed | Removed in version 7.1 | Stripped automatically during Knowledge Catalog sync and replaced by `cortex_framework_created: "true"`. Existing data products tagged with `cortex-framework-created` remain managed and are migrated during the next [`uv run cortex-create-kc-data-products`](https://docs.cloud.google.com/cortex/docs/uv-run-cortex-create-kc-data-products.md.txt) sync. |
|---|---|---|---|

For more information, see [Upgrade to version 7.1](https://docs.cloud.google.com/cortex/docs/upgrade/v7-1.md.txt)
and the [Release notes](https://docs.cloud.google.com/cortex/docs/release-notes.md.txt).