Releases: WyriHaximus/reactphp-cache-psr-16-adapter
Releases · WyriHaximus/reactphp-cache-psr-16-adapter
1.1.0
1.1.0
- Total issues resolved: 0
- Total pull requests resolved: 21
- Total contributors: 3
Dependencies 📦,Enhancement ✨
- 47: Use centralize GitHub Actions Workflows thanks to @WyriHaximus
- 46: Bump to PHP8.2+ thanks to @WyriHaximus
Dependencies 📦
- 45: Bump composer/composer from 2.6.4 to 2.7.2 thanks to @dependabot[bot]
- 44: Update dependency wyrihaximus/async-test-utilities to v8 - autoclosed thanks to @renovate[bot]
- 43: Bump composer/composer from 2.5.1 to 2.6.4 thanks to @dependabot[bot]
- 35: Update limitusus/json-syntax-check action to v2 thanks to @renovate[bot]
- 31: Update dependency thecodingmachine/safe to ^2.5.0 - autoclosed thanks to @renovate[bot]
- 30: Update dependency react/async to ^4.1.0 thanks to @renovate[bot]
- 29: Update dependency bentools/iterable-functions to ^2.1.1 thanks to @renovate[bot]
- 25: Bump bentools/iterable-functions from 2.1 to 2.1.1 thanks to @dependabot[bot]
- 23: Bump wyrihaximus/async-test-utilities from 5.0.22 to 5.0.25 thanks to @dependabot[bot]
- 19: Bump wyrihaximus/async-test-utilities from 5.0.19 to 5.0.22 thanks to @dependabot[bot]
- 17: Bump wyrihaximus/async-test-utilities from 5.0.16 to 5.0.19 thanks to @dependabot[bot]
- 16: Bump bentools/iterable-functions from 2.0.1 to 2.1 thanks to @dependabot[bot]
- 14: Bump thecodingmachine/safe from 2.3.1 to 2.4.0 thanks to @dependabot[bot]
- 12: Bump wyrihaximus/async-test-utilities from 5.0.15 to 5.0.16 thanks to @dependabot[bot]
- 11: Bump thecodingmachine/safe from 2.2.3 to 2.3.1 thanks to @dependabot[bot]
- 9: Bump wyrihaximus/async-test-utilities from 5.0.12 to 5.0.15 thanks to @dependabot[bot]
- 7: Bump wyrihaximus/async-test-utilities from 5.0.11 to 5.0.12 thanks to @dependabot[bot]
- 5: Bump psr/simple-cache from 2.0.0 to 3.0.0 thanks to @dependabot[bot]
Enhancement ✨
1.0.0
Usage
Take any react/cache
implementation, like
wyrihaximus/react-cache-redis
we'll be using in this example.
Decorate it with a PSR16Adapter
instance, and you can use them as a PSR-16 cache within fibers. Directly, or with
other packages. Internally PSR16Adapter
uses await
on every method call to the
react/cache
implementation to make it compatible.
$cache = new PSR16Adapter(new Redis($reditClient, 'react:cache:your:key:prefix:'));
React\Async�sync(function () {
$cache->set('key', 'value'); // All methods use `await` internally to make any ReactPHP cache PSR-16 compatible
echo $cache->get('key'); // echos: value
})();
1.0.0
- Total issues resolved: 0
- Total pull requests resolved: 5
- Total contributors: 2
Bug 🐞
Dependabot 🤖
Enhancement ✨,Feature 🏗
- 1: Initial implementation thanks to @WyriHaximus
Enhancement ✨
- 6: Expand documentation thanks to @WyriHaximus
- 2: Correct composer description thanks to @WyriHaximus