Skip to content

Latest commit

 

History

History
74 lines (39 loc) · 1.81 KB

File metadata and controls

74 lines (39 loc) · 1.81 KB

4.6.0

Add attr_reader for 'InvalidContent' and 'ErrorWithInvalidContent' exceptions to allow access to the response body for more dedicated error handling

4.5.0

Add support for file uploads via multipart form data in the Grac client configuration

4.4.1

Add logger as runtime dependency for Ruby 4 support

4.4.0

Add support for proxy and ssl options in the Grac client configuration

4.3.1

  • Bump rack dependency
  • Bump oj dependency

4.3.0

  • Add support for disabling retries on timeout for GET and HEAD requests

4.2.0

  • Bump ruby required version from 2.6 to 2.7
  • Update test matrix to include ruby 3.2

4.1.0

  • Updated dependencies

4.0.1

  • Update rack development dependency due to CVE

4.0.0

  • Utilize Regexp.match? for postprocessing field checks
  • Require ruby version 2.4

3.3.0

  • Encode request bodies based on the configured request Content-Type

3.2.0

  • Improve JSON parsing performance by using oj gem instead of the builtin json library

3.1.1

  • Further improvement on regexp object creation to reduce memory allocation

3.1.0

  • Improvement on regexp object creation to reduce memory allocation

3.0.0

  • Updates gem dependencies with breaking dependency resolution changes

2.4.0

  • 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.

2.3.0

  • 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.

Before 2.3.0

Not available, see commits.