Releases: ithaka/apiron
Releases · ithaka/apiron
v6.0.0
[6.0.0] - 2021-06-14
Added
- Testing matrix and trove classifiers for Python 3.9
- Type hints for all classes, methods, and functions
Removed
- Support for Python 3.6 has been removed due to its impending end of life and the desire to leverage features from 3.7
Changed
- Remove Python 3.10 testing and support for now, as Travis CI only has Python 3.10.0a5 which isn't compatible with recent pytest-randomly releases
- Indicate (by renaming) that all functions in the
client
module are private, except forcall
v5.1.0
[5.1.0] - 2020-07-14
Added
- Ability to specify
proxies
for aService
definition so all calls to the service use the defined proxies - Ability to specify
auth
for aService
definition so all calls to the service use the defined authentication - Ability to specify
return_raw_response_object
at the endpoint level, overridden by any value specified at call time
v5.0.0
v4.2.0
v4.1.0
[4.1.0] - 2019-08-05
Added
- Ability to run linting and build docs using
tox
- Ability to access raw response object when making a call using
return_raw_response_object=True
.
Useful for accessing things like response cookies or headers.
Changed
- Moved implementation to
src/
directory for improved end-to-end testing with packaging.
v4.0.0
[4.0.0] - 2019-07-18
Added
- An
endpoints
attribute onService
classes returns a list of that service's configured endpoints Endpoint
classes now have a useful__repr__
implementation, e.g."JsonEndpoint(path='/foo')"
.
Changed
StubEndpoint
now inherits fromEndpoint
and as a result does not accept arbitrary keyword arguments- Use
setup.cfg
for most project metadata and tool configuration, aside fromblack
.
v3.0.0
v2.6.1
v2.6.0
v2.5.0
[2.5.0] - 2019-04-18
Added
- Ability to pass dict to
json
keyword argument for raw POST body instead of form-encoded data - Ability to use regular keyword arguments when calling an endpoint (instead of
path_kwargs
)
Changed
DiscoverableService
now inherits fromServiceBase
, an ancestor common withService
, instead ofService
itself