Skip to content

Commit b8dd8bf

Browse files
pkosiecclaude
andauthored
Bump databricks-sdk-go to 0.117.0 (#4631)
## Changes - Bump `github.com/databricks/databricks-sdk-go` from v0.112.0 to v0.117.0 - Update OpenAPI SHA - Regenerate CLI code via `make generate` <details><summary>SDK v0.112 -> v0.117.0 changelog</summary> <p> ## Release v0.117.0 (2026-03-04) ### Internal Changes * Move cloud-based credential filtering from individual strategies into `DefaultCredentials`. Azure strategies are skipped on GCP/AWS hosts in auto-detect mode; GCP strategies are skipped on Azure/AWS hosts. When `auth_type` is explicitly set (e.g. `azure-cli`), cloud filtering is bypassed so the named strategy is always attempted regardless of host cloud. ## Release v0.116.0 (2026-03-03) ### Bug Fixes * Fix `HostType()` misclassifying account hosts when the scheme is missing ([#1510](databricks/databricks-sdk-go#1510)). ## Release v0.115.0 (2026-03-02) ### Internal Changes * Implement dynamic auth token stale period based on initial token lifetime. Increased up to 20 mins for standard OAuth with proportionally shorter periods for short-lived tokens. ### API Changes * Add `CreateDatabase`, `DeleteDatabase`, `GetDatabase`, `ListDatabases` and `UpdateDatabase` methods for [w.Postgres](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/postgres#PostgresAPI) workspace-level service. * Add `Postgres` field for [apps.AppResource](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#AppResource). * Add `DataframeSchema`, `FilterCondition` and `TransformationSql` fields for [ml.DeltaTableSource](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/ml#DeltaTableSource). * Add `EnvironmentVersion` field for [pipelines.PipelinesEnvironment](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#PipelinesEnvironment). * Add `ResetCheckpointSelection` field for [pipelines.StartUpdate](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#StartUpdate). * [Breaking] Remove `Oauth2AppClientId` and `Oauth2AppIntegrationId` fields for [apps.Space](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/apps#Space). * Add `EnablePgNativeLogin` field for [postgres.ProjectSpec](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/postgres#ProjectSpec). * Add `EnablePgNativeLogin` field for [postgres.ProjectStatus](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/postgres#ProjectStatus). * [Breaking] Remove `NodeTypeFlexibility` field for [compute.EditInstancePool](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#EditInstancePool). ## Release v0.114.0 (2026-02-26) ### API Changes * Add `EffectivePublishingMode` field for [pipelines.GetPipelineResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#GetPipelineResponse). * Add `DbrAutoscale` enum value for [compute.EventDetailsCause](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/compute#EventDetailsCause). * Change `OutputCatalog` field for [cleanrooms.CreateCleanRoomOutputCatalogResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/cleanrooms#CreateCleanRoomOutputCatalogResponse) to be required. * [Breaking] Remove `InternalAttributes` field for [sharing.Table](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#Table). * [Breaking] Remove `InternalAttributes` field for [sharing.Volume](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#Volume). ## Release v0.113.0 (2026-02-25) ### New Features and Improvements * Add `DisableAsyncTokenRefresh` field to `Config` to allow disabling asynchronous token refresh for short-lived processes like the Databricks CLI. </p> </details> ## Tests - [x] `make lintfull` - [x] `make test` - [x] `make checks` --------- Co-authored-by: Claude Sonnet 4.6 <[email protected]>
1 parent f7f189f commit b8dd8bf

File tree

21 files changed

+691
-30
lines changed

21 files changed

+691
-30
lines changed

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2f10a6ab001e2fa2552f6b25f7fbb4a08014a43f
1+
4ad0f0856225e3ebc6bb11392d09d63a19e6d140

.github/workflows/tagging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ on:
66
workflow_dispatch:
77
# No inputs are required for the manual dispatch.
88

9-
# Runs at 8:00 UTC on Tuesday, Wednesday, and Thursday. To enable automated
9+
# Runs at 8:00 UTC on Monday, Tuesday, Wednesday, and Thursday. To enable automated
1010
# tagging for a repository, simply add it to the if block of the tag job.
1111
schedule:
12-
- cron: '0 8 * * TUE,WED,THU'
12+
- cron: '0 8 * * MON,TUE,WED,THU'
1313

1414
# Ensure that only a single instance of the workflow is running at a time.
1515
concurrency:

NEXT_CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@
88
* Modify grants to use SDK types ([#4666](https://github.com/databricks/cli/pull/4666))
99

1010
### Dependency updates
11-
12-
### API Changes
11+
- Bump databricks-sdk-go from v0.112.0 to v0.117.0.

acceptance/bundle/refschema/out.fields.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,10 @@ resources.apps.*.resources[*].job *apps.AppResourceJob ALL
188188
resources.apps.*.resources[*].job.id string ALL
189189
resources.apps.*.resources[*].job.permission apps.AppResourceJobJobPermission ALL
190190
resources.apps.*.resources[*].name string ALL
191+
resources.apps.*.resources[*].postgres *apps.AppResourcePostgres ALL
192+
resources.apps.*.resources[*].postgres.branch string ALL
193+
resources.apps.*.resources[*].postgres.database string ALL
194+
resources.apps.*.resources[*].postgres.permission apps.AppResourcePostgresPostgresPermission ALL
191195
resources.apps.*.resources[*].secret *apps.AppResourceSecret ALL
192196
resources.apps.*.resources[*].secret.key string ALL
193197
resources.apps.*.resources[*].secret.permission apps.AppResourceSecretSecretPermission ALL
@@ -2267,9 +2271,11 @@ resources.pipelines.*.development bool ALL
22672271
resources.pipelines.*.dry_run bool ALL
22682272
resources.pipelines.*.edition string ALL
22692273
resources.pipelines.*.effective_budget_policy_id string REMOTE
2274+
resources.pipelines.*.effective_publishing_mode pipelines.PublishingMode REMOTE
22702275
resources.pipelines.*.environment *pipelines.PipelinesEnvironment ALL
22712276
resources.pipelines.*.environment.dependencies []string ALL
22722277
resources.pipelines.*.environment.dependencies[*] string ALL
2278+
resources.pipelines.*.environment.environment_version string ALL
22732279
resources.pipelines.*.event_log *pipelines.EventLogSpec ALL
22742280
resources.pipelines.*.event_log.catalog string ALL
22752281
resources.pipelines.*.event_log.name string ALL
@@ -2616,6 +2622,7 @@ resources.postgres_projects.*.default_endpoint_settings.pg_settings map[string]s
26162622
resources.postgres_projects.*.default_endpoint_settings.pg_settings.* string INPUT STATE
26172623
resources.postgres_projects.*.default_endpoint_settings.suspend_timeout_duration *duration.Duration INPUT STATE
26182624
resources.postgres_projects.*.display_name string INPUT STATE
2625+
resources.postgres_projects.*.enable_pg_native_login bool INPUT STATE
26192626
resources.postgres_projects.*.history_retention_duration *duration.Duration INPUT STATE
26202627
resources.postgres_projects.*.id string INPUT
26212628
resources.postgres_projects.*.initial_endpoint_spec *postgres.InitialEndpointSpec REMOTE
@@ -2649,6 +2656,7 @@ resources.postgres_projects.*.spec.default_endpoint_settings.pg_settings map[str
26492656
resources.postgres_projects.*.spec.default_endpoint_settings.pg_settings.* string REMOTE
26502657
resources.postgres_projects.*.spec.default_endpoint_settings.suspend_timeout_duration *duration.Duration REMOTE
26512658
resources.postgres_projects.*.spec.display_name string REMOTE
2659+
resources.postgres_projects.*.spec.enable_pg_native_login bool REMOTE
26522660
resources.postgres_projects.*.spec.history_retention_duration *duration.Duration REMOTE
26532661
resources.postgres_projects.*.spec.pg_version int REMOTE
26542662
resources.postgres_projects.*.status *postgres.ProjectStatus REMOTE
@@ -2666,6 +2674,7 @@ resources.postgres_projects.*.status.default_endpoint_settings.pg_settings map[s
26662674
resources.postgres_projects.*.status.default_endpoint_settings.pg_settings.* string REMOTE
26672675
resources.postgres_projects.*.status.default_endpoint_settings.suspend_timeout_duration *duration.Duration REMOTE
26682676
resources.postgres_projects.*.status.display_name string REMOTE
2677+
resources.postgres_projects.*.status.enable_pg_native_login bool REMOTE
26692678
resources.postgres_projects.*.status.history_retention_duration *duration.Duration REMOTE
26702679
resources.postgres_projects.*.status.owner string REMOTE
26712680
resources.postgres_projects.*.status.pg_version int REMOTE

bundle/direct/dresources/pipeline.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ type PipelineRemote struct {
2020
ClusterId string `json:"cluster_id,omitempty"`
2121
CreatorUserName string `json:"creator_user_name,omitempty"`
2222
EffectiveBudgetPolicyId string `json:"effective_budget_policy_id,omitempty"`
23+
EffectivePublishingMode pipelines.PublishingMode `json:"effective_publishing_mode,omitempty"`
2324
Health pipelines.GetPipelineResponseHealth `json:"health,omitempty"`
2425
LastModified int64 `json:"last_modified,omitempty"`
2526
LatestUpdates []pipelines.UpdateStateInfo `json:"latest_updates,omitempty"`
@@ -111,6 +112,7 @@ func makePipelineRemote(p *pipelines.GetPipelineResponse) *PipelineRemote {
111112
ClusterId: p.ClusterId,
112113
CreatorUserName: p.CreatorUserName,
113114
EffectiveBudgetPolicyId: p.EffectiveBudgetPolicyId,
115+
EffectivePublishingMode: p.EffectivePublishingMode,
114116
Health: p.Health,
115117
LastModified: p.LastModified,
116118
LatestUpdates: p.LatestUpdates,

bundle/direct/dresources/postgres_project.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ func (*ResourcePostgresProject) RemapState(remote *postgres.Project) *PostgresPr
4242
CustomTags: nil,
4343
DefaultEndpointSettings: nil,
4444
DisplayName: "",
45+
EnablePgNativeLogin: false,
4546
HistoryRetentionDuration: nil,
4647
PgVersion: 0,
4748
ForceSendFields: nil,

bundle/direct/dresources/type_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ var knownMissingInRemoteType = map[string][]string{
6969
"custom_tags",
7070
"default_endpoint_settings",
7171
"display_name",
72+
"enable_pg_native_login",
7273
"history_retention_duration",
7374
"pg_version",
7475
"project_id",

bundle/internal/schema/annotations.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -887,6 +887,9 @@ github.com/databricks/cli/bundle/config/resources.PostgresProject:
887887
"display_name":
888888
"description": |-
889889
PLACEHOLDER
890+
"enable_pg_native_login":
891+
"description": |-
892+
PLACEHOLDER
890893
"history_retention_duration":
891894
"description": |-
892895
PLACEHOLDER

bundle/internal/schema/annotations_openapi.yml

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,9 +1222,7 @@ github.com/databricks/databricks-sdk-go/service/apps.AppDeploymentStatus:
12221222
"x-databricks-field-behaviors_output_only": |-
12231223
true
12241224
github.com/databricks/databricks-sdk-go/service/apps.AppResource:
1225-
"app":
1226-
"x-databricks-preview": |-
1227-
PRIVATE
1225+
"app": {}
12281226
"database": {}
12291227
"description":
12301228
"description": |-
@@ -1235,6 +1233,9 @@ github.com/databricks/databricks-sdk-go/service/apps.AppResource:
12351233
"name":
12361234
"description": |-
12371235
Name of the App Resource.
1236+
"postgres":
1237+
"x-databricks-preview": |-
1238+
PRIVATE
12381239
"secret": {}
12391240
"serving_endpoint": {}
12401241
"sql_warehouse": {}
@@ -1294,6 +1295,21 @@ github.com/databricks/databricks-sdk-go/service/apps.AppResourceJobJobPermission
12941295
CAN_MANAGE_RUN
12951296
- |-
12961297
CAN_VIEW
1298+
github.com/databricks/databricks-sdk-go/service/apps.AppResourcePostgres:
1299+
"branch":
1300+
"x-databricks-preview": |-
1301+
PRIVATE
1302+
"database":
1303+
"x-databricks-preview": |-
1304+
PRIVATE
1305+
"permission":
1306+
"x-databricks-preview": |-
1307+
PRIVATE
1308+
github.com/databricks/databricks-sdk-go/service/apps.AppResourcePostgresPostgresPermission:
1309+
"_":
1310+
"enum":
1311+
- |-
1312+
CAN_CONNECT_AND_CREATE
12971313
github.com/databricks/databricks-sdk-go/service/apps.AppResourceSecret:
12981314
"key":
12991315
"description": |-
@@ -1356,8 +1372,6 @@ github.com/databricks/databricks-sdk-go/service/apps.AppResourceUcSecurable:
13561372
See https://docs.databricks.com/api/workspace/tables/get#securable_kind_manifest-securable_kind.
13571373
"x-databricks-field-behaviors_output_only": |-
13581374
true
1359-
"x-databricks-preview": |-
1360-
PRIVATE
13611375
"securable_type": {}
13621376
github.com/databricks/databricks-sdk-go/service/apps.AppResourceUcSecurableUcSecurablePermission:
13631377
"_":
@@ -4602,6 +4616,20 @@ github.com/databricks/databricks-sdk-go/service/pipelines.PipelinesEnvironment:
46024616
List of pip dependencies, as supported by the version of pip in this environment.
46034617
Each dependency is a pip requirement file line https://pip.pypa.io/en/stable/reference/requirements-file-format/
46044618
Allowed dependency could be <requirement specifier>, <archive url/path>, <local project path>(WSFS or Volumes in Databricks), <vcs project url>
4619+
"environment_version":
4620+
"description": |-
4621+
The environment version of the serverless Python environment used to execute
4622+
customer Python code. Each environment version includes a specific Python
4623+
version and a curated set of pre-installed libraries with defined versions,
4624+
providing a stable and reproducible execution environment.
4625+
4626+
Databricks supports a three-year lifecycle for each environment version.
4627+
For available versions and their included packages, see
4628+
https://docs.databricks.com/aws/en/release-notes/serverless/environment-version/
4629+
4630+
The value should be a string representing the environment version number, for example: `"4"`.
4631+
"x-databricks-preview": |-
4632+
PRIVATE
46054633
github.com/databricks/databricks-sdk-go/service/pipelines.PostgresCatalogConfig:
46064634
"_":
46074635
"description": |-

bundle/internal/schema/annotations_openapi_overrides.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ github.com/databricks/cli/bundle/config/resources.App:
4747
"effective_usage_policy_id":
4848
"description": |-
4949
PLACEHOLDER
50-
"git_source":
51-
"description": |-
52-
PLACEHOLDER
5350
"lifecycle":
5451
"description": |-
5552
Lifecycle is a struct that contains the lifecycle settings for a resource. It controls the behavior of the resource when it is deployed or destroyed.
@@ -270,13 +267,6 @@ github.com/databricks/cli/bundle/config/resources.DatabaseProjectPermissionLevel
270267
CAN_USE
271268
- |-
272269
CAN_MANAGE
273-
github.com/databricks/cli/bundle/config/resources.ExternalLocation:
274-
"grants":
275-
"description": |-
276-
PLACEHOLDER
277-
"lifecycle":
278-
"description": |-
279-
PLACEHOLDER
280270
github.com/databricks/cli/bundle/config/resources.Job:
281271
"_":
282272
"markdown_description": |-
@@ -735,6 +725,9 @@ github.com/databricks/databricks-sdk-go/service/apps.AppResource:
735725
"job":
736726
"description": |-
737727
PLACEHOLDER
728+
"postgres":
729+
"description": |-
730+
PLACEHOLDER
738731
"secret":
739732
"description": |-
740733
PLACEHOLDER
@@ -781,6 +774,16 @@ github.com/databricks/databricks-sdk-go/service/apps.AppResourceJob:
781774
"permission":
782775
"description": |-
783776
PLACEHOLDER
777+
github.com/databricks/databricks-sdk-go/service/apps.AppResourcePostgres:
778+
"branch":
779+
"description": |-
780+
PLACEHOLDER
781+
"database":
782+
"description": |-
783+
PLACEHOLDER
784+
"permission":
785+
"description": |-
786+
PLACEHOLDER
784787
github.com/databricks/databricks-sdk-go/service/apps.AppResourceSecret:
785788
"key":
786789
"description": |-

0 commit comments

Comments
 (0)