From ac9f36459fdb1685ffb50ca630ee31c39f63cdff Mon Sep 17 00:00:00 2001 From: J H <237805758+jh-db@users.noreply.github.com> Date: Fri, 31 Oct 2025 12:47:45 +0100 Subject: [PATCH] generated changes --- .codegen/_openapi_sha | 2 +- NEXT_CHANGELOG.md | 1 + .../sdk/service/jobs/SparkJarTask.java | 7 +++++-- .../service/pipelines/IngestionSourceType.java | 7 +++++++ tagging.py | 18 ++++++++++++++---- 5 files changed, 28 insertions(+), 7 deletions(-) diff --git a/.codegen/_openapi_sha b/.codegen/_openapi_sha index b7f56b6d8..19009050a 100644 --- a/.codegen/_openapi_sha +++ b/.codegen/_openapi_sha @@ -1 +1 @@ -e2018bb00cba203508f8afe5a6d41bd49789ba25 \ No newline at end of file +59c4c0f3d5f0ef00cd5350b5674e941a7606d91a \ No newline at end of file diff --git a/NEXT_CHANGELOG.md b/NEXT_CHANGELOG.md index ab5dc4b07..5bfc4346d 100644 --- a/NEXT_CHANGELOG.md +++ b/NEXT_CHANGELOG.md @@ -13,3 +13,4 @@ ### Internal Changes ### API Changes +* Add `GOOGLE_ADS`, `TIKTOK_ADS`, `SALESFORCE_MARKETING_CLOUD`, `HUBSPOT`, `WORKDAY_HCM`, `GUIDEWIRE` and `ZENDESK` enum values for `com.databricks.sdk.service.pipelines.IngestionSourceType`. diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SparkJarTask.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SparkJarTask.java index 4978f8544..e24cefb32 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SparkJarTask.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/jobs/SparkJarTask.java @@ -11,8 +11,11 @@ @Generated public class SparkJarTask { /** - * Deprecated since 04/2016. Provide a `jar` through the `libraries` field instead. For an - * example, see :method:jobs/create. + * Deprecated since 04/2016. For classic compute, provide a `jar` through the `libraries` field + * instead. For serverless compute, provide a `jar` though the `java_dependencies` field inside + * the `environments` list. + * + *

See the examples of classic and serverless compute usage at the top of the page. */ @JsonProperty("jar_uri") private String jarUri; diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionSourceType.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionSourceType.java index 6ea6892db..ca1ccf7cb 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionSourceType.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/pipelines/IngestionSourceType.java @@ -11,6 +11,9 @@ public enum IngestionSourceType { DYNAMICS365, FOREIGN_CATALOG, GA4_RAW_DATA, + GOOGLE_ADS, + GUIDEWIRE, + HUBSPOT, MANAGED_POSTGRESQL, META_MARKETING, MYSQL, @@ -19,10 +22,14 @@ public enum IngestionSourceType { POSTGRESQL, REDSHIFT, SALESFORCE, + SALESFORCE_MARKETING_CLOUD, SERVICENOW, SHAREPOINT, SQLDW, SQLSERVER, TERADATA, + TIKTOK_ADS, + WORKDAY_HCM, WORKDAY_RAAS, + ZENDESK, } diff --git a/tagging.py b/tagging.py index f2ac65457..0f664a26c 100644 --- a/tagging.py +++ b/tagging.py @@ -16,8 +16,8 @@ PACKAGE_FILE_NAME = ".package.json" CODEGEN_FILE_NAME = ".codegen.json" """ -This script tags the release of the SDKs using a combination of the GitHub API and Git commands. -It reads the local repository to determine necessary changes, updates changelogs, and creates tags. +This script tags the release of the SDKs using a combination of the GitHub API and Git commands. +It reads the local repository to determine necessary changes, updates changelogs, and creates tags. ### How it Works: - It does **not** modify the local repository directly. @@ -99,8 +99,9 @@ class TagInfo: :package: package info. :version: release version for the package. Format: v.. :content: changes for the release, as they appear in the changelog. + When written to CHANGELOG.md, the current date (YYYY-MM-DD) is automatically added. - Example: + Example (from NEXT_CHANGELOG.md): ## Release v0.56.0 @@ -120,6 +121,8 @@ class TagInfo: ### API Changes * Add new Service + Note: When written to CHANGELOG.md, the header becomes: ## Release v0.56.0 (YYYY-MM-DD) + """ package: Package @@ -275,7 +278,14 @@ def write_changelog(tag_info: TagInfo) -> None: changelog_path = os.path.join(os.getcwd(), tag_info.package.path, CHANGELOG_FILE_NAME) with open(changelog_path, "r") as f: changelog = f.read() - updated_changelog = re.sub(r"(# Version changelog\n\n)", f"\\1{tag_info.content.strip()}\n\n\n", changelog) + + # Add current date to the release header + current_date = datetime.now(tz=timezone.utc).strftime("%Y-%m-%d") + content_with_date = re.sub( + r"## Release v(\d+\.\d+\.\d+)", rf"## Release v\1 ({current_date})", tag_info.content.strip() + ) + + updated_changelog = re.sub(r"(# Version changelog\n\n)", f"\\1{content_with_date}\n\n\n", changelog) gh.add_file(changelog_path, updated_changelog)