Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .codegen/_last_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
87ad00d1beb89e2c7efa32e8d4df78b6a715a1fa
ad6cce94f282ef6f6d2b1636ea56a29e55da5d8e
38 changes: 31 additions & 7 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
description: "The version tag to package (e.g. v0.35.0)."
required: true
type: string
commit_sha:
description: "Full source commit SHA verified by the release publisher."
required: false
type: string

permissions:
id-token: write
Expand All @@ -21,17 +25,35 @@ jobs:
labels: linux-ubuntu-latest
timeout-minutes: 20
steps:
- name: Validate tag format
- name: Validate release inputs
env:
TAG: ${{ inputs.tag }}
COMMIT_SHA: ${{ inputs.commit_sha }}
run: |
if [[ ! "${{ inputs.tag }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-.+)?$ ]]; then
echo "::error::Invalid tag format '${{ inputs.tag }}'. Expected vX.Y.Z or vX.Y.Z-suffix (e.g. v0.35.0, v0.0.0-test.1)."
if [[ ! "$TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z0-9.+-]+)?$ ]]; then
echo "::error::Expected a version tag (vX.Y.Z or vX.Y.Z-suffix)."
exit 1
fi
if [[ -n "$COMMIT_SHA" && ! "$COMMIT_SHA" =~ ^[0-9a-f]{40}$ ]]; then
echo "::error::Expected a full commit SHA."
exit 1
fi
- name: Checkout
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
with:
ref: ${{ inputs.tag }}
ref: ${{ inputs.commit_sha || format('refs/tags/{0}', inputs.tag) }}
fetch-depth: 0

- name: Verify source before packaging
env:
TAG: ${{ inputs.tag }}
run: |
if [[ "$(git rev-parse --verify "refs/tags/${TAG}^{commit}")" != "$(git rev-parse HEAD)" ]]; then
echo "::error::The release tag no longer points to the packaging commit."
exit 1
fi
git merge-base --is-ancestor HEAD refs/remotes/origin/main
- name: Cache Maven packages
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
Expand Down Expand Up @@ -100,9 +122,9 @@ jobs:
- name: Stage and sign release artifacts
env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
TAG: ${{ inputs.tag }}
run: |
VERSION="${{ inputs.tag }}"
VERSION="${VERSION#v}"
VERSION="${TAG#v}"
echo "Version: ${VERSION}"
# The repo is a multi-module Maven project:
Expand Down Expand Up @@ -154,9 +176,11 @@ jobs:
if-no-files-found: error

- name: Write release notes
env:
TAG: ${{ inputs.tag }}
run: |
mkdir -p staging/release-notes
git for-each-ref --format='%(body)' "refs/tags/${{ inputs.tag }}" > staging/release-notes/release-notes.md
git for-each-ref --format='%(body)' "refs/tags/${TAG}" > staging/release-notes/release-notes.md
echo "Release notes:"
cat staging/release-notes/release-notes.md
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Version changelog

## Release v0.188.0 (2026-12-03)

### API Changes
* Add `getMe()`, `getMeTransitiveParentGroup()` and `listMeTransitiveParentGroups()` methods for `accountClient.accountIamV2()` service.
* Add `service` field for `com.databricks.sdk.service.catalog.PolicyInfo`.
* Add `servingOptimizations` field for `com.databricks.sdk.service.ml.OnlineStoreConfig`.
* Add `step` field for `com.databricks.sdk.service.ml.SawtoothWindow`.
* Add `POLICY_TYPE_SERVICE` enum value for `com.databricks.sdk.service.catalog.PolicyType`.
* Add `GPU_1X_RTX6000` enum value for `com.databricks.sdk.service.jobs.ComputeSpecAcceleratorType`.
* [Breaking] Change `sourceDialect` field for `com.databricks.sdk.service.geniemigrate.ProjectConfig` to be required.
* Change `sourceDialect` field for `com.databricks.sdk.service.geniemigrate.ProjectConfig` to be required.
* [Breaking] Remove `sharingPolicy` field for `com.databricks.sdk.service.apps.Space`.
* [Breaking] Remove `CAN_BUILD` enum value for `com.databricks.sdk.service.apps.AppPermissionLevel`.
* [Breaking] Remove `CAN_BUILD` enum value for `com.databricks.sdk.service.iam.PermissionLevel`.

## Release v0.187.0 (2026-12-02)

### API Changes
Expand Down
2 changes: 1 addition & 1 deletion databricks-sdk-java/lockfile.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"artifactId": "databricks-sdk-java",
"groupId": "com.databricks",
"version": "0.187.0",
"version": "0.188.0",
"lockFileVersion": 1,
"dependencies": [
{
Expand Down
2 changes: 1 addition & 1 deletion databricks-sdk-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.databricks</groupId>
<artifactId>databricks-sdk-parent</artifactId>
<version>0.187.0</version>
<version>0.188.0</version>
</parent>
<artifactId>databricks-sdk-java</artifactId>
<name>Databricks SDK for Java</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public String getValue() {
// TODO: check if reading from
// /META-INF/maven/com.databricks/databrics-sdk-java/pom.properties
// or getClass().getPackage().getImplementationVersion() is enough.
private static final String version = "0.187.0";
private static final String version = "0.188.0";

public static void withProduct(String product, String productVersion) {
UserAgent.product = product;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading