Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release] Release v0.38.0 #826

Merged
merged 2 commits into from
Nov 18, 2024
Merged

[Release] Release v0.38.0 #826

merged 2 commits into from
Nov 18, 2024

Conversation

renaudhartert-db
Copy link
Contributor

@renaudhartert-db renaudhartert-db commented Nov 18, 2024

New Features and Improvements

  • Read streams by 1MB chunks by default. (#817).

Bug Fixes

  • Rewind seekable streams before retrying (#821).
  • Properly serialize nested data classes.

Internal Changes

  • Reformat SDK with YAPF 0.43. (#822).
  • Update Jobs GetRun API to support paginated responses for jobs and ForEach tasks (#819).

API Changes:

  • Added service_principal_client_id field for databricks.sdk.service.apps.App.
  • Added azure_service_principal, gcp_service_account_key and read_only fields for databricks.sdk.service.catalog.CreateCredentialRequest.
  • Added azure_service_principal, read_only and used_for_managed_storage fields for databricks.sdk.service.catalog.CredentialInfo.
  • Added omit_username field for databricks.sdk.service.catalog.ListTablesRequest.
  • Added azure_service_principal and read_only fields for databricks.sdk.service.catalog.UpdateCredentialRequest.
  • Added external_location_name, read_only and url fields for databricks.sdk.service.catalog.ValidateCredentialRequest.
  • Added is_dir field for databricks.sdk.service.catalog.ValidateCredentialResponse.
  • Added only field for databricks.sdk.service.jobs.RunNow.
  • Added restart_window field for databricks.sdk.service.pipelines.CreatePipeline.
  • Added restart_window field for databricks.sdk.service.pipelines.EditPipeline.
  • Added restart_window field for databricks.sdk.service.pipelines.PipelineSpec.
  • Added private_access_settings_id field for databricks.sdk.service.provisioning.UpdateWorkspaceRequest.
  • Changed create_credential() and generate_temporary_service_credential() methods for w.credentials workspace-level service with new required argument order.
  • Changed access_connector_id field for databricks.sdk.service.catalog.AzureManagedIdentity to be required.
  • Changed access_connector_id field for databricks.sdk.service.catalog.AzureManagedIdentity to be required.
  • Changed name field for databricks.sdk.service.catalog.CreateCredentialRequest to be required.
  • Changed credential_name field for databricks.sdk.service.catalog.GenerateTemporaryServiceCredentialRequest to be required.

OpenAPI SHA: f2385add116e3716c8a90a0b68e204deb40f996c, Date: 2024-11-15

@renaudhartert-db renaudhartert-db changed the title [Fix] Fix serialization of nested data classes [Release] Release v0.37.1 Nov 18, 2024
@renaudhartert-db renaudhartert-db marked this pull request as ready for review November 18, 2024 12:14
@renaudhartert-db renaudhartert-db changed the title [Release] Release v0.37.1 [Release] Release v0.38.0 Nov 18, 2024
Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-py

Inputs:

  • PR number: 826
  • Commit SHA: 4936aef572418fee824b3e5c3a806edbdb039b32

Checks will be approved automatically on success.

@eng-dev-ecosystem-bot
Copy link
Collaborator

Test Details: go/deco-tests/11893184752

@renaudhartert-db renaudhartert-db added this pull request to the merge queue Nov 18, 2024
Merged via the queue into main with commit d516d1e Nov 18, 2024
19 checks passed
@renaudhartert-db renaudhartert-db deleted the renaud.hartert/patch branch November 18, 2024 13:58
github-merge-queue bot pushed a commit that referenced this pull request Nov 18, 2024
## What changes are proposed in this pull request?

Note: this PR is the real v0.38.0 release. It is the same as PR #826 but
with the right version number.

### New Features and Improvements

* Read streams by 1MB chunks by default.
([https://github.com/databricks/databricks-sdk-py/pull/817](https://github.com/databricks/databricks-sdk-py/pull/817)).

### Bug Fixes

* Rewind seekable streams before retrying
([https://github.com/databricks/databricks-sdk-py/pull/821](https://github.com/databricks/databricks-sdk-py/pull/821)).
 * Properly serialize nested data classes. 

### Internal Changes

* Reformat SDK with YAPF 0.43.
([https://github.com/databricks/databricks-sdk-py/pull/822](https://github.com/databricks/databricks-sdk-py/pull/822)).
* Update Jobs GetRun API to support paginated responses for jobs and
ForEach tasks
([https://github.com/databricks/databricks-sdk-py/pull/819](https://github.com/databricks/databricks-sdk-py/pull/819)).

### API Changes:

* Added `service_principal_client_id` field for
`databricks.sdk.service.apps.App`.
* Added `azure_service_principal`, `gcp_service_account_key` and
`read_only` fields for
`databricks.sdk.service.catalog.CreateCredentialRequest`.
* Added `azure_service_principal`, `read_only` and
`used_for_managed_storage` fields for
`databricks.sdk.service.catalog.CredentialInfo`.
* Added `omit_username` field for
`databricks.sdk.service.catalog.ListTablesRequest`.
* Added `azure_service_principal` and `read_only` fields for
`databricks.sdk.service.catalog.UpdateCredentialRequest`.
* Added `external_location_name`, `read_only` and `url` fields for
`databricks.sdk.service.catalog.ValidateCredentialRequest`.
* Added `is_dir` field for
`databricks.sdk.service.catalog.ValidateCredentialResponse`.
 * Added `only` field for `databricks.sdk.service.jobs.RunNow`.
* Added `restart_window` field for
`databricks.sdk.service.pipelines.CreatePipeline`.
* Added `restart_window` field for
`databricks.sdk.service.pipelines.EditPipeline`.
* Added `restart_window` field for
`databricks.sdk.service.pipelines.PipelineSpec`.
* Added `private_access_settings_id` field for
`databricks.sdk.service.provisioning.UpdateWorkspaceRequest`.
* Changed `create_credential()` and
`generate_temporary_service_credential()` methods for
[w.credentials](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/credentials.html)
workspace-level service with new required argument order.
* Changed `access_connector_id` field for
`databricks.sdk.service.catalog.AzureManagedIdentity` to be required.
* Changed `access_connector_id` field for
`databricks.sdk.service.catalog.AzureManagedIdentity` to be required.
* Changed `name` field for
`databricks.sdk.service.catalog.CreateCredentialRequest` to be required.
* Changed `credential_name` field for
`databricks.sdk.service.catalog.GenerateTemporaryServiceCredentialRequest`
to be required.

OpenAPI SHA: f2385add116e3716c8a90a0b68e204deb40f996c, Date: 2024-11-15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants