Releases: s-bose/arrest
Releases · s-bose/arrest
0.1.10
0.1.9
0.1.8
What's Changed
- Added optional OpenAPI Integration to automatically generate the Pydantic models, Arrest resources and services from the specification
- Bump jinja2 from 3.1.2 to 3.1.3 by @dependabot in #18
- Bump gitpython from 3.1.40 to 3.1.41 by @dependabot in #17
- Openapi dev by @s-bose in #19
- Openapi dev by @s-bose in #21
New Contributors
- @dependabot made their first contribution in #18
Full Changelog: 0.1.5...0.1.8
0.1.5
This version adds a bunch of new features. Listed below.
- Added support for most of the HTTPX client arguments as kwargs to be passed into both Service and Resource class. This includes things like cookies, auth, transport, cert etc. That way you can reuse a transport object in all your resources / services.
- Added backoff retries for all the http calls with configurable no. of retries.
- Added support for providing your own
httpx.AsyncClient
instance as a field in both Service and Resource class. This can also be any other class that subclasseshttpx.AsyncClient
(for example, the Oauth2 client from authlib). - Added a new decorator
.handler(...)
for a resource to decorate a custom user-defined function for a resource sub-path. This enables more fine-grained control over the http calls and also injects the a reference to the resource instance inside the function for easier access. - General bug fixes
- Documentation changes
0.1.4
0.1.3
This release adds backward compatibility to [email protected] and above.
Other minor changes include changes to docs and code formatting changes.
minor release
- Fixed issue with paths ending / not-ending with trailing slashes
- Fixed root handlers not getting matched
- Refactored test suite
- Added header and query kwargs for request
- General refactors
0.1.1
initial release - minor
0.1.0 change to published release