- Explicitly require 'ostruct' to prevent load error
- Configure Faraday's default adapter as
net_http
- Fix
X-Client-Start
&X-Client-Timeout
headers to be strings not integers
- Re-add deprecation for :dig and :[] since they are still used by some clients
- Remove deprecation for :dig and :[]
- Bump
faraday
to a minimum of1.10
to resolve dependency issues
- Added support for default headers when configuring a
RestfulResource::Base
- Support passing a an instance of
RestfulResource::Response
to the constructor for aRestfulResource::HttpClient::HttpError
- Added double splat operator to resolve failures when fetching data from finance app
- Added double splat operator to resolve failures when fetching data from other projects
- Update activesupport requirement from ~> 6.0 to >= 6, < 8 (#152)
- Require ruby >= 2.7
- Support Faraday v1 (#85)
- Add support for DELETE in RestfulResource::RailsValidations (#73)
- Looser Faraday requirement >= 0.15, < 1.1
- Make params hash in methods consistent, and always optional (#61)
- Add
X-Client-Start
header on request containing milliseconds since unix epoch
- Support only
faraday-0.15.x
0.16.x
breaksfaraday-http-cache
- Upgrade to
faraday-0.16.x
- Add
X-Client-Timeout
header on requests if a client timeout is set
- Raise
RestfulResource::HttpClient::GatewayTimeout
when response status is504
- Add ability to set
timeout
andopen_timeout
options on connection
- Add support for
PATCH
inRestfulResource::RailsValidation
- Improved specs for
PATCH
features
- Add support for
PATCH
- Add
faraday_options
toBase.configure
- Add
open_timeout
andtimeout
options toBase.configure
and all request methods
- group ServiceUnavailable, Timeout, and ClientError as subclasses of RetryableError #20