Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Candidate RC2 #6

Merged
merged 1 commit into from
Jun 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.0.0] - 2019-05-30
## [2.0.0-rc.2] - 2019-06-03
### Changes
* Now using golang standard `context.Context` instead of `groupcache.Context`.
* HTTP requests made by `httpGetter` now respect `context.Context` done.
Expand All @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* 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

## [1.3.0] - 2019-05-23
### Added
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/mailgun/groupcache
module github.com/mailgun/groupcache/v2

require github.com/golang/protobuf v1.3.1
6 changes: 3 additions & 3 deletions groupcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ import (
"sync/atomic"
"time"

pb "github.com/mailgun/groupcache/groupcachepb"
"github.com/mailgun/groupcache/lru"
"github.com/mailgun/groupcache/singleflight"
pb "github.com/mailgun/groupcache/v2/groupcachepb"
"github.com/mailgun/groupcache/v2/lru"
"github.com/mailgun/groupcache/v2/singleflight"
)

// A Getter loads data for a key.
Expand Down
4 changes: 2 additions & 2 deletions groupcache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (

"github.com/golang/protobuf/proto"

pb "github.com/mailgun/groupcache/groupcachepb"
"github.com/mailgun/groupcache/testpb"
pb "github.com/mailgun/groupcache/v2/groupcachepb"
"github.com/mailgun/groupcache/v2/testpb"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions http.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
"sync"

"github.com/golang/protobuf/proto"
"github.com/mailgun/groupcache/consistenthash"
pb "github.com/mailgun/groupcache/groupcachepb"
"github.com/mailgun/groupcache/v2/consistenthash"
pb "github.com/mailgun/groupcache/v2/groupcachepb"
)

const defaultBasePath = "/_groupcache/"
Expand Down
2 changes: 1 addition & 1 deletion peers.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ package groupcache

import (
"context"
pb "github.com/mailgun/groupcache/groupcachepb"
pb "github.com/mailgun/groupcache/v2/groupcachepb"
)

// ProtoGetter is the interface that must be implemented by a peer.
Expand Down