Skip to content

Commit 647e0ad

Browse files
committed
Release v0.99.22
1 parent 31b3c34 commit 647e0ad

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,30 @@ The format is based on [Keep a Changelog][], and this project adheres to [Semant
1010
[Keep a Changelog]: https://keepachangelog.com/en/1.1.0/
1111
[Semantic Versioning]: https://semver.org/spec/v2.0.0.html
1212

13+
## [v0.99.22] - 2024-05-21
14+
15+
### Added
16+
17+
- Implement PSR-16 caching interface in `CacheStore`
18+
- In `set()`, rename `$expires` parameter to `$ttl`
19+
- **Remove values from the cache when `$ttl` is an integer less than or equal to `0`**
20+
- **Add `$default` parameter to `get()`, `getInstanceOf()`, etc.**
21+
- Rename `deleteAll()` -> `clear()`
22+
- Rename `flush()` -> `clearExpired()` for consistency
23+
- Adopt PSR-16 return types (`bool` instead of `$this`)
24+
- Add `setMultiple()`, `getMultiple()`, `deleteMultiple()`
25+
- Add `CacheStoreInterface`
26+
- Add `PHPDoc::getTemplates()`
27+
28+
### Changed
29+
30+
- Improve `PHPDoc` tag inheritance
31+
- Remove leading `$` from `PHPDoc` `@var` names
32+
33+
### Removed
34+
35+
- Remove unused `CacheStore::maybeGet()` method
36+
1337
## [v0.99.21] - 2024-05-20
1438

1539
### Added
@@ -2526,6 +2550,7 @@ This is the final release of `lkrms/util`. It is moving to [Salient](https://git
25262550

25272551
- Allow `CliOption` value names to contain arbitrary characters
25282552

2553+
[v0.99.22]: https://github.com/salient-labs/toolkit/compare/v0.99.21...v0.99.22
25292554
[v0.99.21]: https://github.com/salient-labs/toolkit/compare/v0.99.20...v0.99.21
25302555
[v0.99.20]: https://github.com/salient-labs/toolkit/compare/v0.99.19...v0.99.20
25312556
[v0.99.19]: https://github.com/salient-labs/toolkit/compare/v0.99.18...v0.99.19

0 commit comments

Comments
 (0)