Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
0.50.0 ChangeLog
  • Loading branch information
lmazuel committed Oct 10, 2018
commit 1d132b7ad835a5ecc65d840cafcc7f7dc5d2eb37
60 changes: 60 additions & 0 deletions azure-graphrbac/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,66 @@
Release History
===============

0.50.0 (2018-10-10)
+++++++++++++++++++

**Features**

- signed_in_user.get : Return the currently logged-in User object
- signed_in_user.list_owned_objects : All objects owned by current user
- deleted_applications.restore : Restore an application deleted in the last 30 days
- deleted_applications.list : List all applications deleted in the last 30 days
- deleted_applications.hard_delete : Delete for real an application in the deleted list
- groups.list_owners : List owner of the group
- groups.add_owner : Add owner to this group
- Application and ServicePrincipals have now the attribute "app_roles" which is a list of AppRole class. To implement this.
- Client class can be used as a context manager to keep the underlying HTTP session open for performance
- Model ADGroup has a attributes mail_enabled and mail_nickname
- Model KeyCredential has a new atrribute custom_key_identifier
- Added operation group oauth2_operations (operations "get" and "grant")

**Bug fixes**

- Fix applications.list_owners access to next page
- Fix service_principal.list_owners access to next page

**Breaking changes**

- ApplicationAddOwnerParameters has been renamed AddOwnerParameters
- objects.get_current_user has been removed. Use signed_in_user.get instead. The main difference is this new method returns a DirectoryObjectList, where every elements could be sub-type of DirectoryObject (User, Group, etc.)
- objects.get_objects_by_object_ids now returns a DirectoryObjectList, where every element could be sub-type of DirectoryObject (User, Group, etc.)
- GetObjectsParameters.include_directory_object_references is no longer required.
- Groups.get_members now returns a DirectoryObjectList, where every element could be sub-type of DirectoryObject (User, Group, etc.)

**General Breaking changes**

This version uses a next-generation code generator that *might* introduce breaking changes.

- Model signatures now use only keyword-argument syntax. All positional arguments must be re-written as keyword-arguments.
To keep auto-completion in most cases, models are now generated for Python 2 and Python 3. Python 3 uses the "*" syntax for keyword-only arguments.
- Enum types now use the "str" mixin (class AzureEnum(str, Enum)) to improve the behavior when unrecognized enum values are encountered.
While this is not a breaking change, the distinctions are important, and are documented here:
https://docs.python.org/3/library/enum.html#others
At a glance:

- "is" should not be used at all.
- "format" will return the string value, where "%s" string formatting will return `NameOfEnum.stringvalue`. Format syntax should be prefered.

- New Long Running Operation:

- Return type changes from `msrestazure.azure_operation.AzureOperationPoller` to `msrest.polling.LROPoller`. External API is the same.
- Return type is now **always** a `msrest.polling.LROPoller`, regardless of the optional parameters used.
- The behavior has changed when using `raw=True`. Instead of returning the initial call result as `ClientRawResponse`,
without polling, now this returns an LROPoller. After polling, the final resource will be returned as a `ClientRawResponse`.
- New `polling` parameter. The default behavior is `Polling=True` which will poll using ARM algorithm. When `Polling=False`,
the response of the initial call will be returned without polling.
- `polling` parameter accepts instances of subclasses of `msrest.polling.PollingMethod`.
- `add_done_callback` will no longer raise if called after polling is finished, but will instead execute the callback right away.

**Note**

- azure-mgmt-nspkg is not installed anymore on Python 3 (PEP420-based namespace package)

0.40.0 (2018-02-05)
+++++++++++++++++++

Expand Down