Skip to content

Release 2.0.0-rc.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@thrawn01 thrawn01 released this 04 Jun 20:03
· 66 commits to master since this release
7a39b5a

[2.0.0-rc.4] - 2019-06-04

Changes

  • Now using golang standard context.Context instead of groupcache.Context.
  • HTTP requests made by httpGetter now respect context.Context done.
  • Moved HTTPPool config Context and Transport to HTTPPoolOptions for consist configuration.
  • Now always populating the hotcache. A more complex algorithm is unnecessary
    when the LRU cache will ensure the most used values remain in the cache. The
    evict code ensures the hotcache does not overcrowd the maincache.
  • Changed import paths to /v2 in accordance with go modules rules
  • Fixed Issue where DefaultTransport was always used even if Transport was
    specified by the user.

Removed

  • Reverted change to associate Transport to httpGetter, Which caused a data
    race. Also discovered DefaultTransport has per address connection pooling
    only when the request was a success, which is sufficient for most use cases.