Yii Framework 34k+
  • News
  • Guide
  • API
  • Wiki
  • Forum
  • Community
    • Places
    • Members
    • Hall of Fame
    • Badges
  • More
    • Learn
    • Books
    • Resources
    • Develop
    • Download Yii
    • Extensions
    • Report an Issue
    • Report a Security Issue
    • Contribute to Yii
    • Donate
    • About
    • Release Cycle
    • License
    • Team
    • Official Logos and Design
Login

Yii2 Redis 2.1.2

May 7, 2026

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 2.1.1

Apr 29, 2026

Yii2 REDIS version 2.1.1 was released. In this version:

  • Fixed PHP 7.4 compatibility.
  • Prevented an infinite loop in parseResponse() when fread() returns an empty string on a broken socket.
  • Fixed fwrite(): supplied resource is not a valid stream.
  • Removed PHP 7.3 support to align with Yii2 minimum PHP version.

Read more

Redis extension 2.1.0 released

Dec 25, 2025

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.

Redis extension 2.0.20 released

Jun 5, 2025

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 extension releases

Feb 13, 2025

Yii2 extensions with pending releases were tagged:

  • Composer 2.0.11
  • Redis 2.0.19
  • Shell 2.0.6
  • apidoc 3.0.7

Read more

Redis adapter for cache 2.0.0

Jul 10, 2023

Version 2.0.0 of Redis adapter for Yii cache was released. In this version:

  • psr/simple-cache requirement raised to ^2.0|^3.0.
  • PHP requirement raised to ^8.0.
  • predis/predis requirement raised to ^2.1.
  • Redis cluster support added.

Redis extension 2.0.18 released

Sep 4, 2022

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.

Redis extension 2.0.17 released

Jan 11, 2022

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.

Redis adapter for cache 1.0.0

Nov 7, 2021

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.

Redis extension 2.0.16 released

Oct 4, 2021

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.

Redis extension 2.0.15 released

May 5, 2021

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.

Redis extension 2.0.14 released

Nov 10, 2020

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.

Redis extension 2.0.13 released

May 2, 2020

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.

Redis extension 2.0.12 released

Mar 13, 2020

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.

Redis extension 2.0.11 released

Nov 5, 2019

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.

Redis extension 2.0.10 released

Oct 22, 2019

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.

Redis extension 2.0.9 released

Sep 23, 2018

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.

Releasing Yii 2.0.15 and database extensions with security fixes

Mar 20, 2018

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.

Read more

Redis extension 2.0.7 released

Dec 11, 2017

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.

Read more

Redis extension 2.0.6 released

Apr 5, 2017

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.

Read more

Get notified of news as soon as they are available using our RSS Feed.

Years

  • 2026 (44)
  • 2025 (92)
  • 2024 (80)
  • 2023 (90)
  • 2022 (82)
  • 2021 (101)
  • 2020 (64)
  • 2019 (75)
  • 2018 (32)
  • 2017 (35)
  • 2016 (30)
  • 2015 (9)
  • 2014 (6)
  • 2013 (11)
  • 2012 (14)
  • 2011 (10)
  • 2010 (10)
  • 2009 (23)
  • 2008 (5)

Popular Tags

  • yii3 384
  • extensions 233
  • release 109
  • yii2 73
  • debug 30
  • view 28
  • html 25
  • auth client 23
  • bootstrap 21
  • redis 20
  • Yii 1.1
  • Guide
  • API
  • Wiki
  • Yii 2
  • Guide
  • API
  • Wiki
  • Yii3
  • Guide
  • API
  • Cookbook
  • Terms of service
  • License
  • Contact Us
  • Supported by
  • Your donations
  • JetBrains logo
  • © 2008 - 2026 Yii (Website Source Code)