diff --git a/.codegen/_openapi_sha b/.codegen/_openapi_sha index ecf04181..fed5b26b 100644 --- a/.codegen/_openapi_sha +++ b/.codegen/_openapi_sha @@ -1 +1 @@ -25b2478e5a18c888f0d423249abde5499dc58424 \ No newline at end of file +d15ea353ad7a0279b741428a8231b84f5eb28c94 \ No newline at end of file diff --git a/.gitattributes b/.gitattributes index e294157b..2680a3f7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,9 +1,3 @@ -account_client.go linguist-generated=true -apierr/error_mapping.go linguist-generated=true -apierr/error_overrides.go linguist-generated=true -error_alias.go linguist-generated=true -experimental/mocks/mock_account_client.go linguist-generated=true -experimental/mocks/mock_workspace_client.go linguist-generated=true experimental/mocks/service/apps/mock_apps_interface.go linguist-generated=true experimental/mocks/service/billing/mock_billable_usage_interface.go linguist-generated=true experimental/mocks/service/billing/mock_budgets_interface.go linguist-generated=true @@ -89,6 +83,8 @@ experimental/mocks/service/serving/mock_serving_endpoints_data_plane_interface.g experimental/mocks/service/serving/mock_serving_endpoints_interface.go linguist-generated=true experimental/mocks/service/settings/mock_account_ip_access_lists_interface.go linguist-generated=true experimental/mocks/service/settings/mock_account_settings_interface.go linguist-generated=true +experimental/mocks/service/settings/mock_aibi_dashboard_embedding_access_policy_interface.go linguist-generated=true +experimental/mocks/service/settings/mock_aibi_dashboard_embedding_approved_domains_interface.go linguist-generated=true experimental/mocks/service/settings/mock_automatic_cluster_update_interface.go linguist-generated=true experimental/mocks/service/settings/mock_compliance_security_profile_interface.go linguist-generated=true experimental/mocks/service/settings/mock_credentials_manager_interface.go linguist-generated=true @@ -132,81 +128,3 @@ experimental/mocks/service/workspace/mock_git_credentials_interface.go linguist- experimental/mocks/service/workspace/mock_repos_interface.go linguist-generated=true experimental/mocks/service/workspace/mock_secrets_interface.go linguist-generated=true experimental/mocks/service/workspace/mock_workspace_interface.go linguist-generated=true -service/apps/api.go linguist-generated=true -service/apps/impl.go linguist-generated=true -service/apps/interface.go linguist-generated=true -service/apps/model.go linguist-generated=true -service/billing/api.go linguist-generated=true -service/billing/impl.go linguist-generated=true -service/billing/interface.go linguist-generated=true -service/billing/model.go linguist-generated=true -service/catalog/api.go linguist-generated=true -service/catalog/impl.go linguist-generated=true -service/catalog/interface.go linguist-generated=true -service/catalog/model.go linguist-generated=true -service/compute/api.go linguist-generated=true -service/compute/impl.go linguist-generated=true -service/compute/interface.go linguist-generated=true -service/compute/model.go linguist-generated=true -service/dashboards/api.go linguist-generated=true -service/dashboards/impl.go linguist-generated=true -service/dashboards/interface.go linguist-generated=true -service/dashboards/model.go linguist-generated=true -service/files/api.go linguist-generated=true -service/files/impl.go linguist-generated=true -service/files/interface.go linguist-generated=true -service/files/model.go linguist-generated=true -service/iam/api.go linguist-generated=true -service/iam/impl.go linguist-generated=true -service/iam/interface.go linguist-generated=true -service/iam/model.go linguist-generated=true -service/jobs/api.go linguist-generated=true -service/jobs/impl.go linguist-generated=true -service/jobs/interface.go linguist-generated=true -service/jobs/model.go linguist-generated=true -service/marketplace/api.go linguist-generated=true -service/marketplace/impl.go linguist-generated=true -service/marketplace/interface.go linguist-generated=true -service/marketplace/model.go linguist-generated=true -service/ml/api.go linguist-generated=true -service/ml/impl.go linguist-generated=true -service/ml/interface.go linguist-generated=true -service/ml/model.go linguist-generated=true -service/oauth2/api.go linguist-generated=true -service/oauth2/impl.go linguist-generated=true -service/oauth2/interface.go linguist-generated=true -service/oauth2/model.go linguist-generated=true -service/pipelines/api.go linguist-generated=true -service/pipelines/impl.go linguist-generated=true -service/pipelines/interface.go linguist-generated=true -service/pipelines/model.go linguist-generated=true -service/pkg.go linguist-generated=true -service/provisioning/api.go linguist-generated=true -service/provisioning/impl.go linguist-generated=true -service/provisioning/interface.go linguist-generated=true -service/provisioning/model.go linguist-generated=true -service/serving/api.go linguist-generated=true -service/serving/impl.go linguist-generated=true -service/serving/interface.go linguist-generated=true -service/serving/model.go linguist-generated=true -service/settings/api.go linguist-generated=true -service/settings/impl.go linguist-generated=true -service/settings/interface.go linguist-generated=true -service/settings/model.go linguist-generated=true -service/sharing/api.go linguist-generated=true -service/sharing/impl.go linguist-generated=true -service/sharing/interface.go linguist-generated=true -service/sharing/model.go linguist-generated=true -service/sql/api.go linguist-generated=true -service/sql/impl.go linguist-generated=true -service/sql/interface.go linguist-generated=true -service/sql/model.go linguist-generated=true -service/vectorsearch/api.go linguist-generated=true -service/vectorsearch/impl.go linguist-generated=true -service/vectorsearch/interface.go linguist-generated=true -service/vectorsearch/model.go linguist-generated=true -service/workspace/api.go linguist-generated=true -service/workspace/impl.go linguist-generated=true -service/workspace/interface.go linguist-generated=true -service/workspace/model.go linguist-generated=true -workspace_client.go linguist-generated=true diff --git a/CHANGELOG.md b/CHANGELOG.md index 0556f3cb..a5efd4fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Version changelog +## [Release] Release v0.51.0 + +### Internal Changes + + * Always write message for manual test execution ([#1079](https://github.com/databricks/databricks-sdk-go/pull/1079)). + * Use error names instead of codes in `errors.go` ([#1080](https://github.com/databricks/databricks-sdk-go/pull/1080)). + + +### API Changes: + + * Added [w.Credentials](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CredentialsAPI) workspace-level service. + * Added [catalog.AwsIamRole](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AwsIamRole), [catalog.AzureActiveDirectoryToken](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AzureActiveDirectoryToken), [catalog.AzureManagedIdentity](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#AzureManagedIdentity), [catalog.CreateCredentialRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CreateCredentialRequest), [catalog.CredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CredentialInfo), [catalog.CredentialPurpose](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CredentialPurpose), [catalog.CredentialValidationResult](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CredentialValidationResult), [catalog.DeleteCredentialRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#DeleteCredentialRequest), `any`, [catalog.GenerateTemporaryServiceCredentialAzureOptions](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GenerateTemporaryServiceCredentialAzureOptions), [catalog.GenerateTemporaryServiceCredentialRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GenerateTemporaryServiceCredentialRequest), [catalog.GetCredentialRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GetCredentialRequest), [catalog.ListCredentialsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCredentialsRequest), [catalog.ListCredentialsResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ListCredentialsResponse), [catalog.TemporaryCredentials](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#TemporaryCredentials), [catalog.UpdateCredentialRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#UpdateCredentialRequest), [catalog.ValidateCredentialRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateCredentialRequest), [catalog.ValidateCredentialResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateCredentialResponse) and [catalog.ValidateCredentialResult](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#ValidateCredentialResult). + * Added [pipelines.RestartWindow](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#RestartWindow) and [pipelines.RestartWindowDaysOfWeek](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#RestartWindowDaysOfWeek). + * Added `AzureAad` field for [catalog.GenerateTemporaryTableCredentialResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#GenerateTemporaryTableCredentialResponse). + * Added `FullName` field for [catalog.StorageCredentialInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#StorageCredentialInfo). + * Added `WarehouseId` field for [dashboards.Schedule](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/dashboards#Schedule). + * Added `Only` field for [jobs.RunNow](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/jobs#RunNow). + * Added `RestartWindow` field for [pipelines.CreatePipeline](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#CreatePipeline). + * Added `RestartWindow` field for [pipelines.EditPipeline](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#EditPipeline). + * Added `ConnectionName` field for [pipelines.IngestionGatewayPipelineDefinition](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#IngestionGatewayPipelineDefinition). + * Added `RestartWindow` field for [pipelines.PipelineSpec](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/pipelines#PipelineSpec). + * Added `PrivateAccessSettingsId` field for [provisioning.UpdateWorkspaceRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/provisioning#UpdateWorkspaceRequest). + * Removed [w.CleanRooms](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#CleanRoomsAPI) workspace-level service. + * Removed [sharing.CentralCleanRoomInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#CentralCleanRoomInfo), [sharing.CleanRoomAssetInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#CleanRoomAssetInfo), [sharing.CleanRoomCatalog](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#CleanRoomCatalog), [sharing.CleanRoomCatalogUpdate](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#CleanRoomCatalogUpdate), [sharing.CleanRoomCollaboratorInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#CleanRoomCollaboratorInfo), [sharing.CleanRoomInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#CleanRoomInfo), [sharing.CleanRoomNotebookInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#CleanRoomNotebookInfo), [sharing.CleanRoomTableInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#CleanRoomTableInfo), [sharing.ColumnInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#ColumnInfo), [sharing.ColumnMask](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#ColumnMask), [sharing.ColumnTypeName](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#ColumnTypeName), [sharing.CreateCleanRoom](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#CreateCleanRoom), [sharing.DeleteCleanRoomRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#DeleteCleanRoomRequest), [sharing.GetCleanRoomRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#GetCleanRoomRequest), [sharing.ListCleanRoomsRequest](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#ListCleanRoomsRequest), [sharing.ListCleanRoomsResponse](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#ListCleanRoomsResponse) and [sharing.UpdateCleanRoom](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/sharing#UpdateCleanRoom). + +OpenAPI SHA: d15ea353ad7a0279b741428a8231b84f5eb28c94, Date: 2024-11-06 + ## [Release] Release v0.50.0 ### Internal Changes diff --git a/version/version.go b/version/version.go index 244a301d..be8b9edc 100644 --- a/version/version.go +++ b/version/version.go @@ -1,4 +1,4 @@ package version // Version of the SDK, updated manually before every tag -const Version = "0.50.0" +const Version = "0.51.0"