- Added rubygems.org metadata
- Gem dependency updates
- Gem upgrades
- #110 Fix for empty body response
- #111 Removed runtime dependencies
- Dependency updates
- Fix the missing Ethon log info #124
- Support for Ruby 2.7 and frozen strings
- Development dependency updates
- Dropped support for net/http v3
- Performance tweaks
- Fix for RestClient body read issue (WARNING: this may be reverted, see #105)
- Masking
password
parameter by default... doh.
- Rollback of the previous two releases due to bugs introduced there.
- #91 Fixed bug returning empty response with HTTP gem
- #85 Parse JSON response and apply deep masking
- #83 Support for graylog
- #76 Added configurable logger method
- #74 Added ability to filter sensitive parameter values in the request (based on #73). Default masking of
password
parameter - Removed explicit support and tests for ruby 2.3 and http gem v2
- #71 Rounding benchmark in compact mode
- #70 Fixed a bug where blacklisting caused requests to not be sent with HTTP adapter
- #67 Gracefully handling empty response headers in Ethon
- #65 Added JSON as an optional output format
- Ruby 2.2 no longer supported
- #60 Fixed a bug in color configuration settings
- #59 Switched colorization library to MIT licensed rainbow. This is not a breaking change, but if you currently use a color name that is not defined by the Rainbow gem, it will simply be ignored.
- #58 Fixed decompression error for HTTPClient with
transparent_gzip_decompression
enabled. - Rubocop!
- #57 Changed rack dependency to be less strict
- Updated travis to test against both major rack versions
- #56 Fixed data logging for httprb v3 ([@tycooon])
- Cleaned up dependencies and requiring ruby version >= 2.2
- #53 Fix header logging
- Requiring
rack
explicitly so that plain ruby clients don't have to
- Added
enabled
configuration option (default: true, doh)
- Bugfix: Returning response for patron adapter
- Bugfix: No longer modifying post data in place for safe logging
-
Proper configuration!
If you're using any custom configuration, please replace any assignments of the type
# Old. Bad. Down with this sort of thing. HttpLog.options[:foo] = 'bar'
with the new configuration block syntax, e.g.
# Shiny. New. Ruby-ish. HttpLog.configure do |config| config.foo = 'bar' end
Please see the README for details. The old syntax will be dropped in version 1.0.0 (which will be the next version bump) and will raise a deprecation warning until then.
-
Dropped support for typhoeus
That only means typhoeus is no longer explictly tested; it will probably still work, depending on which adapter is used. With the default ethon adapter, the status code will probably not be logged, and there may be other issues. Typhoeus has its own logging facility, so it's just not worth the headache of trying to stay compatible.
-
Dropped support for log4r.
Log4r seems to be no longer maintained for some years; it was causing issues with ruby 2.4, so I dropped it.
-
Rounding benchmarks to microseconds. Because anything more is just silly.
-
Support for ruby 2.4
-
Support for latest versions of all remaining adapters
- optional prefix for request data
- support for httpclient 2.7
- support for latest version of
httprb
- changes
- binary data is no longer written to the log
- bug fixes
- consistently forcing encoding of response body to UTF-8
- considering
charset
part ofContent-Type
header when encoding - inspecting 'Content-Encoding' header for gzip decompression in all adapters