Skip to content

Latest commit

 

History

History
187 lines (141 loc) · 4.89 KB

CHANGELOG.md

File metadata and controls

187 lines (141 loc) · 4.89 KB

v0.19.0

  • drop support for ruby < 2.2
  • count time monotonically
  • bugfix getting current logger tags
  • prepare for ur

v0.18.2

  • bugfix utf8 http body handling
  • report to Rollbar on 4xx if Rollbar available and DEBUG_4XX indicates so

v0.18.1

  • improve supported media types for sinatra
  • report to Rollbar on 4xx if Rollbar available

v0.18.0

  • add option to hc for basic auth
  • add option to hc to make it consider the body as text
  • faraday logger compatibility with old faraday 0.8
  • fix ruby warnings

v0.17.0

  • fix ApiHammer::ShowTextExceptions middleware to not rescue certain exceptions
  • don't insert or rely on Rack::Accept middleware for sinatra; use Rack::Accept more directly
  • improve hc User-Agent

v0.16.0

  • fix dependency on json pure parser, which moved from the json gem to json_pure gem

v0.15.0

  • fix check_required_params for ActionController::Params (really this time?)
  • Dir.glob_escape / Pathname#glob_escape
  • Kernel#ycomb - the y combinator
  • sinatra helper #check_params_and_object_consistent
  • fix sinatra #format_response with 204 no content
  • improve testing with up-to-date ruby (2.3.1), rack (2), actionpack (5), as well as older ones

v0.14.1

  • task cucumber:trailing_whitespace to clean trailing whitespace from cucumber features #54

v0.14.0

  • some rails 5 support
    • check_required_params to support ActionController::Parameters #44
    • handle not loading deprecated log_tailer when not found #33
    • use ruby String#bytesize instead of Rack::Util #34
  • fix same bug as v0.13.3 with logging non-ascii bodies on faraday logger #35
  • remove ActiveRecord cache_find_by
  • option :log_bodies for request loggers
  • fix warnings when run with -w

v0.13.3

  • fix bug when logging non-ascii bodies with filtration enabled #31

v0.13.2

  • fix with_indifferent_access usage when we don't depend on activesupport #29

v0.13.1

  • ApiHammer::Sinatra class method use_with_lint
  • set up Rack::Accept middleware in sinatra as api hammer methods rely on that

v0.13.0

  • ApiHammer::Sinatra, with some useful sinatra methods
    • #halt, #halt_error, #halt_unprocessable_entity and friends
    • a more api-appropriate 404 for unknown routes
    • parsing request bodies in accordance with content-type, with appropriate errors
    • formatting response bodies, minding accept headers, with appropriate errors

v0.12.0

  • hc --input option
  • rails 4 support for unmunged_request_params

v0.11.1

  • bugfix trailingnewline

v0.11.0

  • improved handling of text and binary bodies in logging middleware and hc

v0.10.2

  • rails request logging logs exception backtrace

v0.10.1

  • Rack RequestLogger works around rails' exception app path mangling

v0.10.0

  • JsonScriptEscapeHelper

v0.9.2

  • bugfix form encoded filtering

v0.9.1

  • recognize app.config.api_hammer_request_logging_options for request logger options

v0.9.0

  • rack request logger logs ids in arrays of hashes when logging ids
  • filtered logging of sensitive keys in bodies of requests (json and form encoded)
  • logstash filter for oauth headers and oauthenticator log entries

v0.8.1

  • request log format tweaks

v0.8.0

  • log request and response bodies - not just IDs from them - if they aren't too big

v0.7.1

  • logstash filters for sidekiq, activesupport tags, and of course ApiHammer's request logging
  • use i18n for errors and add error_message to response
  • hc assumes http if no protocol specified

v0.6.3

  • add request role to the request logging

v0.6.2

  • ApiHammer::RequestLogger response body fix

v0.6.1

  • broken release, yanked

v0.6.0

  • ApiHammer::RailsOrSidekiqLogger

v0.5.0

  • rack request logger logs all request and response headers
  • fix id / uuid / guid logging in rack request logger
  • faraday request logger does not log binary bodies

0.4.3

  • bugfix

0.4.2

  • bugfix encoding in faraday request logger

0.4.1

  • bugfix

0.4.0

  • ApiHammer::Faraday::RequestLogger

0.3.3

  • be a little lazier about initializing ActiveRecord::Base.finder_cache - only on first actual usage

0.3.2

  • ActiveRecord::Base.cache_find_by support finding on associations, fix bind detection with symbols

0.3.1

  • bugfix ActiveRecord::Base.cache_find_by

0.3.0

  • ActiveRecord::Base.cache_find_by

0.2.2

  • RequestLogger, in addition to logging response bodies on error, logs id/uuid fields from request body and response body if there's no error
  • support a logger instead of a device in FaradayOutputter

0.2.1

  • small RequestLogger tweaks

0.2.0

  • Rails#unmunged_request_params
  • hc --pretty
  • hc default User-Agent set
  • hc doc improved, middlewares moved lib
  • RequestLogger improved
  • ApiHammer::RailsRequestLogging railtie
  • README improved marginally

0.1.0

  • Object#public_instance_exec
  • Obect#public_instance_eval
  • hc

0.0.3

  • rake cucumber:pretty_json
  • Rails#find_or_halt

0.0.2

  • Weblink#to_s

0.0.1

  • rake gem:available_updates
  • Rails#halt
  • Rails#check_required_params
  • Weblink
  • RequestLogger
  • ShowTextExceptions
  • TrailingNewline