Releases
v5.0.0
Compare
Sorry, something went wrong.
No results found
Changed
BREAKING: Hash options replaced with keyword arguments across the entire public API
HTTPWrapper.new(options = {}) → HTTPWrapper.new(timeout:, verify_cert:, logger:, max_redirects:, user_agent:)
All HTTP methods (get, post, put, delete) now accept keyword arguments instead of an options hash
Type-specific methods (get_ajax, post_json, etc.) forward **kwargs to the base methods
post_and_get_cookie accepts **kwargs forwarded to post
BREAKING: Minimum Ruby version raised from 2.5 to 3.2
write_timeout now set on HTTP connections (in addition to read_timeout and open_timeout)
Removed
BREAKING: UnknownKeyError class (keyword arguments handle unknown key validation natively)
BREAKING: Util module (validate_hash_keys, query_to_hash, hash_to_query)
Support for Ruby < 3.2
Added
CI testing against Ruby head, 4.0, 3.4, 3.3, and 3.2
Integration test suite with live HTTP server for end-to-end coverage
You can’t perform that action at this time.