Skip to content

Commit 00583f7

Browse files
author
Rene Kroon
committed
Update changelog
1 parent bf566d3 commit 00583f7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# 2.4.0 (May 2021)
2+
3+
## API changes:
4+
5+
* #42 : Add option to get list of keys
6+
* #40: Allow 'Touch' on items without other operation
7+
8+
// Touch resets the TTL of the key when it exists, returns ErrNotFound if the key is not present.
9+
func (cache *Cache) Touch(key string) error
10+
11+
// GetKeys returns all keys of items in the cache. Returns nil when the cache has been closed.
12+
func (cache *Cache) GetKeys() []string
13+
114
# 2.3.0 (February 2021)
215

316
## API changes:

0 commit comments

Comments
 (0)