Yii2 Redis 2.1.2
Yii2 REDIS version 2.1.2 was released. In this version:
- Reverted the custom retry logic in PredisConnection after updating the predis package.
Yii2 REDIS version 2.1.2 was released. In this version:
Yii2 REDIS version 2.1.1 was released. In this version:
We are very pleased to announce the release of Redis extension version 2.1.0.
This version fixes one PHP 8.4 compatibility issue that was found since last release, adds support for predis, changes yii\redis\Cache::$forceClusterMode to false, and makes yii\redis\Connection implement yii\redis\ConnectionInterface.
See the CHANGELOG for details.
We are very pleased to announce the release of Redis extension version 2.0.20.
This version removes logging of AUTH command parameters in non debug mode which may pose security issue. Also, it fixes one PHP 8.4 compatibility issue that was found since last release.
See the CHANGELOG for details.
Yii2 extensions with pending releases were tagged:
Version 2.0.0 of Redis adapter for Yii cache was released. In this version:
^2.0|^3.0.^8.0.^2.1.We are very pleased to announce the release of Redis extension version 2.0.18.
This version adds support for tls scheme. Additionally, Cache::getValue() now returns false in case of missing key.
See the CHANGELOG for details.
We are very pleased to announce the release of Redis extension version 2.0.17.
This version fixes error handling during re-connection and adds protected function sendRawCommand() that one may override in his own implementation.
See the CHANGELOG for details.
First version of Redis adapter for Yii cache was released. It is based on predis and could be used either standalone as PSR-16 cache implementation or with Yii cache to gain additional benefits.
Quality standard for the package is similar to other Yii 3 packages: 100% unit test coverage with 98.5% mutation score, and 94.9% type coverage.
We are very pleased to announce the release of Redis extension version 2.0.16.
This version adds support for authentication with username via Connection::$username.
See the CHANGELOG for details.
We are very pleased to announce the release of Redis extension version 2.0.15.
This version adds support for adjusting PHP context options and parameters. This allows e.g. supporting self-signed certificates.
See the CHANGELOG for details.
We are very pleased to announce the release of Redis extension version 2.0.14.
This version adds compatibility with Yii 2.0.39 session and fixes a bug with Connection::isActive() returning false for active connections.
See the CHANGELOG for details.
We are very pleased to announce the release of Redis extension version 2.0.13.
This version adds Redis 5.0 stream commands.
See the CHANGELOG for details.
We are very pleased to announce the release of Redis extension version 2.0.12.
This version fixes some bugs, adds ability to connect via SSL, and increases frequency of lock tries on mutex timeout.
See the CHANGELOG for details.
We are very pleased to announce the release of Redis extension version 2.0.11.
This version adds for Redis cluster contributed by Robert Hofer.
See the CHANGELOG for details.
We are very pleased to announce the release of Redis extension version 2.0.10.
In this version \yii\redis\Connection::$retryInterval was added. It speficifies wait time between retry in microseconds.
See the CHANGELOG for details.
We are very pleased to announce the release of Redis extension version 2.0.9 fixing zrangebyscore and adding >, <, >= and <= support to ActiveQuery.
See the CHANGELOG for details.
Today we are releasing several versions for Yii 2.0.x and official extensions to fix a security issue.
The problem addressed in these patches exists in ActiveRecord shortcut methods findOne() and findAll(), which may
allow SQL injection if input is not prepared properly. We consider this as a security issue in Yii because the documentation for these methods did not contain an explicit warning that there are cases when passing unfiltered user input might be dangerous. Thanks to analitic1983 for making us aware of the issue.
The nature of this issue does not solely exists in the Yii Framework but depends on how an application uses Yii.
We have changed Yii to be more robust against the worst impact of the problem (SQL injection), but applications may still be vulnerable
and changes to application code are necessary in some cases. As a safety measure, findOne() and findAll() are now limited to filter on
columns that are AR properties only. In the following we will explain the problem in more detail
and show which application code is affected and what needs to be adjusted on upgrade.
We are very pleased to announce the release of the redis extension version 2.0.7.
This release makes the extension compatible with PHP 7.2 by refering to BaseObject instead of the Object class in Yii.
It also adds simple ORDER BY support to the ActiveQuery so DataProvider functionaility is now fully supported.
We are very pleased to announce the release of the redis extension version 2.0.6. This extension introduces several bug fixes and enhancements.
ActiveRecord with composite primary key were not saved correctly because the key was calculated different before save and after loading a record. This has been fixed in this release. If you are using AR with composite primary key, make sure your implementation is working correctly after update.
The execution of two-word commands (e.g. CLIENT LIST or SCRIPT LOAD) was fixed, which was failing before. Also PHPdoc @method
annotations for redis methods have been added which make it easier to use the commands directly as PHP methods, e.g. $redis->clientList().
This was possible before but is now easier as auto completion will work in IDEs.