Skip to content

Releases: s-bose/arrest

0.1.10

01 Nov 10:51
Compare
Choose a tag to compare

Latest Release

Arrest's latest release adds a bunch of improvements, and features for better developer experience.
To check the full release notes, please refer to https://s-bose.github.io/arrest/whats-new/

0.1.9

13 Feb 20:26
Compare
Choose a tag to compare

Patch Release

Fix pydantic version to support >=1.10.13

0.1.8

30 Jan 18:56
Compare
Choose a tag to compare

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

Full Changelog: 0.1.5...0.1.8

0.1.5

02 Jan 05:32
Compare
Choose a tag to compare

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 subclasses httpx.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

15 Dec 08:13
4a1d2d5
Compare
Choose a tag to compare

Changes

  • Fix #11 - url paths are now constructed using posixpath. Assuming all the components of the path are put in a hierarchical manner (service -> resource -> handler)
  • Refactor docs - minor typos

0.1.3

10 Dec 08:00
Compare
Choose a tag to compare

This release adds backward compatibility to [email protected] and above.
Other minor changes include changes to docs and code formatting changes.

minor release

08 Dec 17:42
Compare
Choose a tag to compare
  • 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

02 Dec 17:39
Compare
Choose a tag to compare
bumpver v0.1.1

initial release - minor

01 Dec 20:41
Compare
Choose a tag to compare
0.1.0

change to published release