dgraph-io / ristretto

A high performance memory-bound Go cache
https://dgraph.io/blog/post/introducing-ristretto-high-perf-go-cache/
Apache License 2.0
5.54k stars 364 forks source link

[QUESTION]: When will there be a new release (v2 to maintain compatibility with libraries using the old version)? #386

Open flymedllva opened 1 month ago

flymedllva commented 1 month ago

Question.

The library has not received a new release (tag) for a long time, although many bugs have been fixed, generics have been added (breaking compatibility of packages using ristretto). When will there be a release?

flymedllva commented 1 month ago

Generics appearing in ristretto break compatibility of packages not updated to the new version of ristretto Since ristretto can be used in libraries... The new tag doesn't seem to save this situation and we should do github.com/dgraph-io/ristretto/v2 to avoid breaking compatibility with libraries using the old version without generics.

ryanfoxtyler commented 2 weeks ago

Good point. We're working on cutting releases prior to and after this change. Moving forward, we'll get on a routine release cadence.