Releases: adobe-apiplatform/umapi-client.py
minor enhancement to v2.5.1
This release reads the wall clock to return an accurate "total time" in the UnavailableError
(and associated logging). It's an improvement to the fix of #47, but it has no separate issue.
minor bug fix on v2.5
There was a logging issue on timeouts (#47) that is fixed in this release.
allow control of group membership info returned by UsersQuery
The results of UsersQuery include group memberships for all returned users. The server API includes a query flag that controls whether this membership information includes only direct memberships, or also includes indirect memberships in product configurations that contain user groups that contain the user. But umapi-client was not exposing control over this flag. This release exposes the server's directOnly query parameter as direct_only boolean flag to the UsersQuery initializer. The default value of the flag is True
, meaning only include direct memberships in the returned data.
Fast follow bug fix for v2.4 validation issues
This tightens up the validation of Unicode emails and usernames introduced in v2.4 so it matches the validation performed by Adobe's UMAPI server. It also fixes a cosmetic issue with validation error messages. See issue #42 for details.
Handle unicode strings in Python 2.7
This is a bug fix release for #42. It correctly handles Python 2.7 clients who use Unicode strings.
Security enhancement release
This release adds the ability for clients to specify their private key data directly when creating a connection, as opposed to having to put it in a local file. Thus it allows removing the chance of someone else on the machine observing the file content. For details, see the documentation of Connection.__init__
, in particular the new private_key_data
argument.
This release also adds certification for Python 2.6 support.
Error handling for user sync
This release adds better error handling during processing of actions in batches: when the server response is not understood, the client doesn't throw except at the end of the batch, and the error thrown contains the usual return statistics from the batch processing.
v2.1 - match evolution of the server API
This is a very small release, but necessary to match evolution of the server API around removing users from organizations and deleting their user accounts. It's numbered 2.1 rather than 2.0.4 so the name looks cleaner in a requirements file for clients who are seeing the new server behavior.
Network timeout enhancements
Enhancement release:
- Issue #32
- change timeout default to 2 minutes
- add retry after timeout.
- change default create behavior to "ignoreIfAlreadyExists"
- (No issue)
- fix misspellings
- change .gitignore so that .gitignore is not ignored
User-Agent header enhancements
Add a User-Agent header with version information to all server requests, and make it possible for clients to add their User-Agent info to the header.