Add attr_reader for 'InvalidContent' and 'ErrorWithInvalidContent' exceptions to allow access to the response body for more dedicated error handling
Add support for file uploads via multipart form data in the Grac client configuration
Add logger as runtime dependency for Ruby 4 support
Add support for proxy and ssl options in the Grac client configuration
- Bump rack dependency
- Bump oj dependency
- Add support for disabling retries on timeout for
GETandHEADrequests
- 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
jsonlibrary
- 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
ErrorWithInvalidContentexception 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.