Stable Release in branch ≤ 2.0.49.x
2.0.55
Released 09 May 2026
(2 months ago)
SoftwareYii
Version≤ 2.0.49.x
Supported
PHP versions
≥ 5.4,
≤ 8.3
Initial release01 Dec 2013
(12 years ago)
Latest release2.0.55
09 May 2026
(2 months ago)
Feature freeze29 Aug 2023
(Ended 2 years ago)
Security &
PHP compatibility fixes only
31 Oct 2023
(Ended 2 years ago)
End of life23 Nov 2026
(Ends in 3 months)
Release noteshttps://github.com/yiisoft/yii2/releases/tag/2.0.55
Source codehttps://github.com/yiisoft/yii2/tree/2.0.55
Documentationhttps://www.yiiframework.com/doc/guide/2.0
Downloadhttps://www.yiiframework.com/download
Yii ≤ 2.0.49.x ReleasesView full list

What Is New in Yii 2.0.49.x

Category Description
New Features Added support for PHP 8.3, new yii\filters\AjaxFilter, and yii\validators\IpValidator enhancements.
Improvements Better PostgreSQL array support, RBAC migration generator, and various optimizations across the framework.
Bug Fixes Over 20 fixes for issues in DB, RBAC, Gii, and other core components.
Security No new security fixes announced in this specific release.

What are the key new features?

This release brings official support for PHP 8.3, ensuring your applications run on the latest PHP version. A new yii\filters\AjaxFilter was introduced to simplify access control for AJAX requests. The yii\validators\IpValidator now supports validating IP addresses with subnets, which is useful for CIDR notation checks.

In practice, the AjaxFilter lets you cleanly restrict controller actions to AJAX-only requests without writing custom logic. This is a small but welcome addition for API development.

What database improvements were made?

PostgreSQL users get better support for array types. The framework now handles casting PHP arrays to PostgreSQL array strings more reliably. For RBAC, the migration generator (yii\rbac\Migration) was improved to be more consistent and reliable when managing auth items.

These changes matter because they reduce edge cases when working with complex PostgreSQL data structures. The RBAC migration tweaks make deployments more predictable.

What bugs were squashed in this update?

Over 20 bug fixes landed in this version. Key fixes address issues with URL rule matching, Gii model generator, and PostgreSQL schema reading. A notable fix resolves a problem where the yii\behaviors\AttributeBehavior wasn't working correctly with the EVENT_BEFORE_INSERT event.

If you've had trouble with behaviors on new model saves, this patch should clear that up. The Gii fixes also make code generation more dependable.

FAQ

Is my app ready for PHP 8.3 after upgrading to Yii 2.0.49?
Yes, the framework itself now supports PHP 8.3. You should still test your own application code for any deprecations or changes specific to PHP 8.3, as the framework update only ensures the core runs on it.

How do I use the new AjaxFilter?
Apply it in your controller's behaviors like any other filter. For example: public function behaviors() { return [ 'ajax' => ['class' => \yii\filters\AjaxFilter::class, 'only' => ['api-action']]]; }. It will deny any non-AJAX request to the specified actions.

Did this release fix any security issues?
No, the official changelog for 2.0.49.x does not list any new security fixes. It is primarily a feature and maintenance release.

Should I regenerate my RBAC migrations?
Not necessarily. The improvements to the RBAC migration generator are for future migrations. Existing migrations should continue to work as before.

Where can I see the full list of changes?
The complete changelog is available on GitHub at the Yii 2.0.49.x CHANGELOG. It details every commit and change made in this version.

Releases In Branch ≤ 2.0.49.x

VersionRelease date
2.0.5509 May 2026
(2 months ago)
2.0.4929 Aug 2023
(2 years ago)
2.0.4822 May 2023
(3 years ago)
2.0.4718 Nov 2022
(3 years ago)
2.0.4618 Aug 2022
(3 years ago)
2.0.4511 Feb 2022
(4 years ago)
2.0.4430 Dec 2021
(4 years ago)
2.0.4309 Aug 2021
(4 years ago)
2.0.4205 May 2021
(5 years ago)
2.0.4103 Mar 2021
(5 years ago)
2.0.4023 Dec 2020
(5 years ago)
2.0.39.323 Nov 2020
(5 years ago)
2.0.39.213 Nov 2020
(5 years ago)
2.0.39.110 Nov 2020
(5 years ago)
2.0.3910 Nov 2020
(5 years ago)
2.0.3814 Sep 2020
(5 years ago)
2.0.3707 Aug 2020
(6 years ago)
2.0.3607 Jul 2020
(6 years ago)
2.0.3502 May 2020
(6 years ago)
2.0.3426 Mar 2020
(6 years ago)
2.0.3324 Mar 2020
(6 years ago)
2.0.3221 Jan 2020
(6 years ago)
2.0.3118 Dec 2019
(6 years ago)
2.0.3019 Nov 2019
(6 years ago)
2.0.2922 Oct 2019
(6 years ago)
2.0.2808 Oct 2019
(6 years ago)
2.0.2718 Sep 2019
(6 years ago)
2.0.2603 Sep 2019
(6 years ago)
2.0.2513 Aug 2019
(6 years ago)
2.0.2430 Jul 2019
(7 years ago)
2.0.2316 Jul 2019
(7 years ago)
2.0.2202 Jul 2019
(7 years ago)
2.0.2118 Jun 2019
(7 years ago)
2.0.2004 Jun 2019
(7 years ago)
2.0.1921 May 2019
(7 years ago)
2.0.1823 Apr 2019
(7 years ago)
2.0.1722 Mar 2019
(7 years ago)
2.0.16.128 Feb 2019
(7 years ago)
2.0.1631 Jan 2019
(7 years ago)
2.0.15.121 Mar 2018
(8 years ago)
2.0.13.321 Mar 2018
(8 years ago)
2.0.12.221 Mar 2018
(8 years ago)
2.0.1520 Mar 2018
(8 years ago)
2.0.13.220 Mar 2018
(8 years ago)
2.0.12.120 Mar 2018
(8 years ago)
2.0.14.213 Mar 2018
(8 years ago)
2.0.14.124 Feb 2018
(8 years ago)
2.0.1419 Feb 2018
(8 years ago)
2.0.13.114 Nov 2017
(8 years ago)
2.0.1302 Nov 2017
(8 years ago)
2.0.1205 Jun 2017
(9 years ago)
2.0.11.230 Mar 2017
(9 years ago)
2.0.11.102 Feb 2017
(9 years ago)
2.0.1101 Feb 2017
(9 years ago)
2.0.1020 Oct 2016
(9 years ago)
2.0.911 Jul 2016
(10 years ago)
2.0.828 Apr 2016
(10 years ago)
2.0.714 Feb 2016
(10 years ago)
2.0.605 Aug 2015
(11 years ago)
2.0.511 Jul 2015
(11 years ago)
2.0.410 May 2015
(11 years ago)
2.0.301 Mar 2015
(11 years ago)
2.0.211 Jan 2015
(11 years ago)
2.0.108 Dec 2014
(11 years ago)
2.0.012 Oct 2014
(11 years ago)
2.0.0-rc28 Sep 2014
(11 years ago)
2.0.0-beta14 Apr 2014
(12 years ago)
2.0.0-alpha01 Dec 2013
(12 years ago)