Release 2.0.0-rc.4
Pre-release
Pre-release
[2.0.0-rc.4] - 2019-06-04
Changes
- Now using golang standard
context.Context
instead ofgroupcache.Context
. - HTTP requests made by
httpGetter
now respectcontext.Context
done. - Moved
HTTPPool
configContext
andTransport
toHTTPPoolOptions
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 ifTransport
was
specified by the user.
Removed
- Reverted change to associate
Transport
tohttpGetter
, Which caused a data
race. Also discoveredDefaultTransport
has per address connection pooling
only when the request was a success, which is sufficient for most use cases.