- First release on gemfury
- change names
- fix issue with 401-retry
- add dependencies to setup.py
- cli tool
- fix apikey url query param error
- introduce different token_issuer_host thatn api_host
- Introduce context_getter on session object, defaulted to holding CorrelationId=random_uuid
- first release as oss, major refactoring of inner machinery (session objects, retry policies, cli, tests etc)
- fixed logging so it does not use root logger. according to best practices mentioned in http://pythonsweetness.tumblr.com/post/67394619015/use-of-logging-package-from-within-a-library
- removed dependency on httpretty since it is not supporting py3
- DEPRECATED: create_session is getting deprecated, use trustpilot.client.default_session.setup instead
- now able to query public endpoints without being authenticated
- fixed issue in cli.post & cli.put where 'content_type' should be 'content-type'
DELETED DO NOT USE!!
- add async-client
- removed prints
- made async_client retry on unauthorized
- drop support for Python 3.3
- Switch to non-deprecated session object for utility method calls
- Upgrade requests to 2.20.0
- Update to authentication methods
- Fix documentation formatting
- reorganize code
- add user-agent header
- get access_token with async call in async_client
- Added support for 'API Version' parameter for Client initialisation.
- Remove auto-deploy to travis
- allow newer version of requests dependency
- specify user agent through env-var or kwarg
- pass user_agent property down to session correctly
- handle duplicate api version properly
- fix: transmit user-agent on all requests
- fix: handle duplicate api version for both sync and async clients
- dependencies: github security upgrade of requests and urllib
breaking changes:
- python 2.7 support now gone since it reached end of-life
- now only supporting async_client for 3.6+
- now depending on async_generator for asynccontextmanager support in 3.6+
new features:
- advanced mode using the request_context_manager directly
- add shortcut to singleton async request_context_manager
- update click to version 7.1.1 which renames the command
create_access_token
tocreate-access-token
- drop support for python 3.6
- drop deprecated
trustpilot.client.get_session
method. It is replaced bytrustpilot.client.default_session
- drop deprecated
trustpilot.client.create_session
method. it is replaced bytrustpilot.client.default_session.setup
- create new patch version to fix travis
- reintroduce cli script
- username/passwrd are now optional
- dot-env support in cli
patch
command exposed in cli- output format can now be
raw
orjson
, (default=json)
-
bumps versions of dependencies:
python
: 3.7 → 3.8click
: 7.1.1 → 8.0.1requests
: 2.23.0 → 2.31.0aiohttp
: 3.6.2 → 3.8.5
-
bumps versions of development dependencies:
responses
: 0.10.12 → 0.23.2mock
: 4.0.2 → 5.1.0pytest
: 5.4.1 → 7.4.0aioresponses
: 0.6.3 → 0.7.4black
: 19.10b0 → 23.7.0