|
1 | 1 | # Table of Contents |
2 | 2 |
|
| 3 | +- [2.5.0](#2.5.0) |
3 | 4 | - [2.4.1](#2.4.1) |
4 | 5 | - [2.4.0](#2.4.0) |
5 | 6 | - [2.3.0](#2.3.0) |
|
12 | 13 | - [1.0.1](#1.0.1) |
13 | 14 | - [1.0.0](#1.0.0) |
14 | 15 |
|
| 16 | +## [2.5.0] |
| 17 | + |
| 18 | +> Released on: 2020/11/18 |
| 19 | +
|
| 20 | +#### Added |
| 21 | + |
| 22 | +- `get()` callback functions are now optional. Without a callback, `get()` now |
| 23 | + still performs on-cpu L1/L2 lookups (no yielding). This allows implementing |
| 24 | + new cache lookup patterns guaranteed to be on-cpu for a more constant, |
| 25 | + smoother latency tail end (e.g. values are refreshed in background timers with |
| 26 | + `set()`). |
| 27 | + Thanks Hamish Forbes and Corina Purcarea for proposing this feature and |
| 28 | + participating in its development! |
| 29 | + [#96](https://github.com/thibaultcha/lua-resty-mlcache/pull/96) |
| 30 | + |
| 31 | +#### Fixed |
| 32 | + |
| 33 | +- Improve `update()` robustness to worker crashes. Now, the library behind |
| 34 | + `cache:update()` is much more robust to re-spawned workers when initialized in |
| 35 | + the `init_by_lua` phase. |
| 36 | + [#97](https://github.com/thibaultcha/lua-resty-mlcache/pull/97) |
| 37 | +- Document the `peek()` method `stale` argument which was not mentioned, as well |
| 38 | + as the possibility of negative TTL return values for expired items. |
| 39 | + |
| 40 | +[Back to TOC](#table-of-contents) |
| 41 | + |
15 | 42 | ## [2.4.1] |
16 | 43 |
|
17 | 44 | > Released on: 2020/01/17 |
@@ -215,6 +242,7 @@ Initial release. |
215 | 242 |
|
216 | 243 | [Back to TOC](#table-of-contents) |
217 | 244 |
|
| 245 | +[2.5.0]: https://github.com/thibaultcha/lua-resty-mlcache/compare/2.4.1...2.5.0 |
218 | 246 | [2.4.1]: https://github.com/thibaultcha/lua-resty-mlcache/compare/2.4.0...2.4.1 |
219 | 247 | [2.4.0]: https://github.com/thibaultcha/lua-resty-mlcache/compare/2.3.0...2.4.0 |
220 | 248 | [2.3.0]: https://github.com/thibaultcha/lua-resty-mlcache/compare/2.2.1...2.3.0 |
|
0 commit comments