Skip to content

Latest commit

 

History

History
260 lines (139 loc) · 4.83 KB

CHANGELOG.md

File metadata and controls

260 lines (139 loc) · 4.83 KB

HEAD

A description of your awesome changes here!

3.7.2

  • Instrument timeout exceptions (#110)

3.7.1

Features:

  • Add ruby 3 compability

Bug fixes:

  • Explictly set sidekiq gem version
  • Update circleci base image
  • Remove require 'faraday/request/retry' dependency since its deprecated in faraday 1.10.3.

3.7.0

Features:

  • Adds circuit breaker to PATCH PUT POST requests (#66)

3.6.8

Features:

  • Raises error on 502 Bad Gateway #94

3.6.7 (2021-02-11)

Features:

  • APIClient accepts timeout and open_timeout options

3.6.5 (2019-02-08)

Bug fix:

  • Make sure Faraday adapter is loaded after all middleware for ApiClient

Drop:

  • Builds for Ruby 2.2

3.6.4 (2018-10-23)

Features:

  • Allow specification of User-Agent through environment variable
  • Add fallback values for User-Agent header in API client

3.6.3 (2018-10-17)

Bug fix:

  • Allow all middleware classes to be initialised in the same format

3.6.2 (2018-10-11)

Features:

  • Routemaster::Cache can be be given initialisation options to merge into the default ones for creating a Routemaster::APIClient instance (#82)

3.6.1 (2018-10-09)

Features:

  • Clients can now set User Agent when placing requests (#80) - details in README

3.6.0 (2018-07-23)

Features:

  • Allowed connections to take the exceptions in which to retry requests on (#79)

3.5.1 (2018-05-01)

Bug fixes:

  • Fix the issue with parsing body in fatal error message. (#78)

3.5.0 (2018-03-07)

Features:

  • Raises more semantically correct error on 410

3.4.0 (2017-11-16)

Features:

  • Raises error on 405 and 503

3.3.0 (2017-11-16)

Features:

  • Adds a PUT request to the APIClient

3.2.0 (2017-11-10)

Features:

  • Adds a circuit breaker to GET requests (#66)

3.1.0 (2017-11-02)

Features:

  • Make retry-attempt-count and retry-methods configurable in APIClient.

3.0.3 (2017-09-21)

Bug fixes:

  • Fixes a regression introduced in 3.0.1 where the APIClient auth data would not be populated under some conditions. (#65)

3.0.2 (2017-09-05)

Bug fixes:

  • Fixes a condition where cache keys in Redis would not expire (#63)

3.0.1 (2017-08-08)

Bug fixes:

  • Set middleware before adapter so Faraday is happy (#60)

3.0.0 (2017-06-22)

Breaking API changes

  • Removes the #with_response API client method. (#54)

Bug fixes

  • Remove state from api client for thread safety. (#54)

2.5.4 (2017-06-12)

Bug fixes

  • Use thread pool executor instead of cached thread pool (#51)

2.5.3 (2017-06-12)

Features

  • Allow to supply pre-initialized (distributed) Redis client objects to connect to the Drain Redis and the Cache Redis (#52)

2.5.2 (2017-05-11)

Bug fixes

  • Bust the cache when the resource is not found (#48)

2.5.1 (2017-05-10)

Features:

  • Adds the Siphon middleware to CacheBusting drain (#45)

Bug fixes

  • Sweep the dirty map if a resource is missing (#47)

2.5.0 (2017-04-11)

Features:

  • Allow template urls to be defined in services (#38)
  • Adds the Siphon middleware (#39, #44)
  • Adds CacheBusting middleware (#40)

Bug fixes:

  • Caching middleware always busts the cache on events - preventing stale events being cached in some circumstances (#40)

2.4.4 (2017-03-27)

Features:

  • Optionally wrap the APIClient actions inside a Response class (#37)

2.4.3 (2017-03-22)

Bug fixes:

  • Require 'rest_resource' further up in the file tree (#36)

2.4.2 (2017-03-21)

Bug fixes:

  • APIClient#discover now memoizes the root response at class level (#35)

2.4.1 (2017-03-15)

Features:

  • API Client now exposes promises instead of simple futures (#34)

2.4.0 (2017-03-03)

Features:

  • Collection traversal API (#24)
  • Permits disabling of response caching (#26)
  • Use Redis::Distributed for caching (#27)

Bug fixes:

  • Do not cache collection responses (#26)
  • Fixes Sidekiq loading issue (#25)
  • Concurrency issues when caching (#28)
  • Ruby 2.4.0 compatibility (#31)

Other:

  • Switches from net-http-persistent to typhoeus (#31)
  • Switches from ruby-thread to concurrent-ruby (#31)

2.3.0 (2017-01-16)

Features:

  • Adds HateoasResponse#has? to check for resource relations (#22)

Bug fixes:

  • Fixes 404s breaking the CacheAndSweep job (#21)

2.2.2 (2017-01-10)

  • Fix logging for error responses: For unsuccessful responses rescue the raised error and send increment signal to metrics backend (#15)
  • Add Telemetry support for requests and responses (#16)
  • Add support for PATCH requests. (#12) Invalidate cached response (if any) on PATCH

2.0.0 (2016-12-14)

Major upgrade: the gem now includes a high-level HTTP API client.

  • Request materialisation, JSON-HAL parsing, and hypermedia link traversal (#6)
  • Surface HTTP errors as exceptions (#8)
  • Various fixes (#7, #9, #10)
  • Testing against multiple versions of Rails (#11)