github Azure/azure-sdk-for-python azure-mgmt-powerbiembedded_3.0.0

latest releases: azure-mgmt-mongocluster_1.0.0, azure-storage-blob_12.23.1, azure-communication-email_1.0.1b1...
3 months ago

3.0.0 (2024-06-24)

This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).

General breaking changes

  • Credential system has been completly revamped:

    • azure.common.credentials or msrestazure.azure_active_directory instances are no longer supported, use the azure-identity classes instead: https://pypi.org/project/azure-identity/
    • credentials parameter has been renamed credential
  • The config attribute no longer exists on a client, configuration should be passed as kwarg. Example: MyClient(credential, subscription_id, enable_logging=True). For a complete set of
    supported options, see the parameters accept in init documentation of azure-core

  • You can't import a version module anymore, use __version__ instead

  • Operations that used to return a msrest.polling.LROPoller now returns a azure.core.polling.LROPoller and are prefixed with begin_.

  • Exceptions tree have been simplified and most exceptions are now azure.core.exceptions.HttpResponseError (CloudError has been removed).

  • Most of the operation kwarg have changed. Some of the most noticeable:

General new features

  • Type annotations support using typing. SDKs are mypy ready.
  • This client has now stable and official support for async. Check the aio namespace of your package to find the async client.
  • This client now support natively tracing library like OpenCensus or OpenTelemetry. See this tracing quickstart for an overview.

Features Added

  • Added operation group PowerBIEmbeddedManagementClientOperationsMixin

Breaking Changes

  • Operation WorkspaceCollectionsOperations.check_name_availability has a new required parameter body
  • Operation WorkspaceCollectionsOperations.check_name_availability has a new required parameter kwargs
  • Operation WorkspaceCollectionsOperations.check_name_availability no longer has parameter name
  • Operation WorkspaceCollectionsOperations.check_name_availability no longer has parameter type
  • Operation WorkspaceCollectionsOperations.create has a new required parameter body
  • Operation WorkspaceCollectionsOperations.create has a new required parameter kwargs
  • Operation WorkspaceCollectionsOperations.create no longer has parameter location
  • Operation WorkspaceCollectionsOperations.create no longer has parameter tags
  • Operation WorkspaceCollectionsOperations.get_access_keys has a new required parameter kwargs
  • Operation WorkspaceCollectionsOperations.get_by_name has a new required parameter kwargs
  • Operation WorkspaceCollectionsOperations.list_by_resource_group has a new required parameter kwargs
  • Operation WorkspaceCollectionsOperations.list_by_subscription has a new required parameter kwargs
  • Operation WorkspaceCollectionsOperations.migrate has a new required parameter body
  • Operation WorkspaceCollectionsOperations.migrate has a new required parameter kwargs
  • Operation WorkspaceCollectionsOperations.migrate no longer has parameter resources
  • Operation WorkspaceCollectionsOperations.migrate no longer has parameter target_resource_group
  • Operation WorkspaceCollectionsOperations.regenerate_key has a new required parameter body
  • Operation WorkspaceCollectionsOperations.regenerate_key has a new required parameter kwargs
  • Operation WorkspaceCollectionsOperations.regenerate_key no longer has parameter key_name
  • Operation WorkspaceCollectionsOperations.update has a new required parameter body
  • Operation WorkspaceCollectionsOperations.update has a new required parameter kwargs
  • Operation WorkspaceCollectionsOperations.update no longer has parameter tags
  • Operation WorkspacesOperations.list has a new required parameter kwargs
  • Renamed operation WorkspaceCollectionsOperations.delete to WorkspaceCollectionsOperations.begin_delete

Don't miss a new azure-sdk-for-python release

NewReleases is sending notifications on new releases.