Skip to content

Commit 0e5eb9c

Browse files
committed
docs(changelog) add 2.7.0 changes
1 parent 821d5ed commit 0e5eb9c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Table of Contents
22

3+
- [2.7.0](#270)
34
- [2.6.1](#261)
45
- [2.6.0](#260)
56
- [2.5.0](#250)
@@ -15,6 +16,26 @@
1516
- [1.0.1](#101)
1617
- [1.0.0](#100)
1718

19+
## [2.7.0]
20+
21+
> Released on: 2024/02/09
22+
23+
#### Changed
24+
25+
- Update `peek()` to only return `0` when TTL (or neg-TTL) was "indefinite"
26+
(i.e. `0`). Any non-zero TTL now guarantees a non-zero return value for
27+
`peek()`. A stale value still in cache may still return a negative return
28+
value.
29+
[#124](https://github.com/thibaultcha/lua-resty-mlcache/pull/124)
30+
31+
#### Added
32+
33+
- New `get()` option `resty_lock_opts` allows overriding lua-resty-lock option
34+
for individual calls.
35+
[#125](https://github.com/thibaultcha/lua-resty-mlcache/pull/125)
36+
37+
[Back to TOC](#table-of-contents)
38+
1839
## [2.6.1]
1940

2041
> Released on: 2024/01/30
@@ -268,6 +289,7 @@ Initial release.
268289

269290
[Back to TOC](#table-of-contents)
270291

292+
[2.7.0]: https://github.com/thibaultcha/lua-resty-mlcache/compare/2.6.1...2.7.0
271293
[2.6.1]: https://github.com/thibaultcha/lua-resty-mlcache/compare/2.6.0...2.6.1
272294
[2.6.0]: https://github.com/thibaultcha/lua-resty-mlcache/compare/2.5.0...2.6.0
273295
[2.5.0]: https://github.com/thibaultcha/lua-resty-mlcache/compare/2.4.1...2.5.0

0 commit comments

Comments
 (0)