- Add support for disabling retries on timeout for
GET
andHEAD
requests
- Bump ruby required version from 2.6 to 2.7
- Update test matrix to include ruby 3.2
- Updated dependencies
- Update rack development dependency due to CVE
- Utilize
Regexp.match?
for postprocessing field checks - Require ruby version 2.4
- Encode request bodies based on the configured request
Content-Type
- Improve JSON parsing performance by using oj gem instead of the builtin
json
library
- Further improvement on regexp object creation to reduce memory allocation
- Improvement on regexp object creation to reduce memory allocation
- Updates gem dependencies with breaking dependency resolution changes
- Grac now raises an exception on receiving only a partial response. This can happen when typhoeus times out while not having received the entire response.
- Grac now expects error responses to contain JSON and will raise an
ErrorWithInvalidContent
exception if they don't, even if the content type indicates another content type. Success responses with non-JSON content type are still supported. In most cases, that allows making assumptions about the exception's body message. See #13.
Not available, see commits.