Skip to content

Releases: zaikio/zaikio-client-helpers

v0.6.0

20 Mar 15:06
4da4f01
Compare
Choose a tag to compare
  • Remove errors from data hash
  • Do include base error if server responds with a 422 to see that an error happened

v0.5.0

17 Mar 08:23
fa3eccb
Compare
Choose a tag to compare
  • Add new faraday middleware that automatically passes current I18n.locale to Accept-Language header

v0.4.0

09 Feb 11:32
6995824
Compare
Choose a tag to compare
  • Add a default read timeout for Faraday connection of 5 seconds, and open timeout of 1 second.

v0.3.0

15 Aug 13:01
53c8ecb
Compare
Choose a tag to compare
  • Add Zaikio::Client::Helpers::AuthorizationMiddleware and Zaikio::Client.with_token to pass down bearer token to multiple clients (e.g. hub + procurement) at the same time
  • Add Zaikio::Client::Helpers::Configuration as an abstract configuration class
  • Add Zaikio::Client.create_connection

v0.2.4

29 Mar 13:44
1e602ce
Compare
Choose a tag to compare
  • Add support for Faraday 2.x

v0.2.3

12 Nov 14:21
709247e
Compare
Choose a tag to compare
  • Handle "uncountable" responses (i.e. those without a Total-Count or Total-Pages header)

v0.2.2

13 Aug 07:31
6523d0c
Compare
Choose a tag to compare
  • Attempt to fix NoMethodError when looking for pagination headers

v0.2.1

05 Aug 12:27
Compare
Choose a tag to compare
  • Fixed with_fallback from spyke by aliasing the correct error classes

v0.2.0

22 Jul 11:33
Compare
Choose a tag to compare
  • Add Zaikio:Error and allow setting arbitrary attributes on the exceptions
  • Add Zaikio::RateLimitedError when HTTP 429 occurs (note that this subclasses
    Zaikio::ConnectionError so all existing error handling should continue to work).

v0.1.1

29 Jun 09:07
Compare
Choose a tag to compare
  • Require zaikio/client/model as part of gem loading to avoid need to load it elsewhere
  • Fix message about total number of pages - count pages, not objects!