Restauthcommon

Latest version: v0.7.0

Safety actively analyzes 621521 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.7.1

* None so far.

0.7.0

* Content handlers now support lists as dictionary values, as required by
RestAuth 0.7.
* Add RestAuthCommon.strprep to normalize and validate entity names based
according to the restrictions of RestAuth 0.7. This methd is also faster
then RestAuthCommon.resource_validator, which is now deprecated and should
no longer be used.
* ResourceNotFound no longer takes a (client-dependent) HTTPResponse.
* Add subclasses to ResourceNotFound and ResourceConflict to cover users,
groups and properties.
* Update requirements.

0.6.5

* RestAuthCommon now requires Python 2.7 or later.
* Do not import modules from the Python standard library upon module import
(pickle, json, urllib) but upon first usage via the library attribute.
This greatly improves import speed.
* Remove old module-level aliases for content handlers.
* PyYAML: Wrap eratic behaviour of the Python2 version of PyYAML.
* BSON: Cast marshalled data to str.
* Update documentation in various places.

0.6.4.1

* This release does not contain any functional changes. If you already have
0.6.4, there is no need to update.
* Minor packaging fixes.
* Test resource_validator function

0.6.4

* Support pymongo as BSON implementation, the pure python implementation is
still supported as well.
* Fix Python 3.4 incompatablities in the JSON handler.
* Update Debian/Ubuntu documentation.

0.6.3

Distribution:
* Move code to github: https://github.com/RestAuth/RestAuthCommon
* No longer use bootstrap distribute installation but plain distutils.
* Don't include the test.py file and generated documentation with pip.

Features:
* Add support for BSON ("Binary JSON") and MessagePack.
* Remove the unmarshal() function. It's not used anywhere and since you have
to pass the type anyway, it offers nothing over using the functions
directly.
* Make sure functions always raise MarshalError/UnmarshalError and wrap any
exceptions thrown by libraries they use.
* bytes, str and unicode can now all be handed to marshal_ functions, the
marshalled output will be identical.
* Unmarshalled strings will always be unicode in py2 and str in py3.
* The constructor now sets any keyword arguments as instance attributes.
* Remove the boolean type, since its not used anywhere anyway.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.