Important
Yii 3 is under active development! The roadmap for Yii 3.0 and beyond has been moved to yiisoft/docs.
Note
Yii 2.0 remains actively maintained with ongoing support for bug fixes, security updates, and the new 22.0 branch.
-
22.0 (Yii 2.2) - Active development
- Requires PHP 8.1+
- Modern PHP features and improvements
- Enhanced type safety with PHPStan/Psalm annotations
- NPM-based asset management (migrated from Bower)
- Ongoing compatibility improvements
-
2.0.x - Maintenance mode
- Bug fixes and security updates
- No new features (frozen since 2.0.14)
- PHP 7.4+ minimum requirement
- Regular maintenance releases
The next generation of Yii 2.2 with modern PHP support.
- PHP 8.1+ requirement for modern language features
- Enhanced type safety throughout the codebase
- NPM package management replacing Bower
- Improved developer experience with better tooling support
- Full PHP 8.4 compatibility fixes
- Refactored asset management system
- Streamlined codebase with removal of legacy PHP version checks
Important
All official Yii 2.0 extensions are being updated for the 2.2 release:
- PHP 8.1+ requirement aligned with the framework
- Deprecated methods removed for cleaner APIs
- Major version releases for all extensions
- Breaking changes properly documented for migration
- Enhanced compatibility with modern PHP features
- Migration from Bower to NPM for frontend dependencies
- Comprehensive PHPStan/Psalm type annotations
- PHP 8.x compatibility improvements
- Code cleanup and modernization
- Enhanced documentation
- Extension ecosystem modernization
Note
The 2.0.x series receives regular maintenance releases approximately weekly.
- Bug fixes
- Security updates
- PHPStan/Psalm annotation improvements
- Bug fixes for MSSQL compatibility
- Enhanced PHP 8+ support
- Comprehensive type annotations
- Improved formatter functionality
- Bug fixes and enhancements
- Improved migration support
- RBAC improvements
- Various bug fixes
- Enhanced AR functionality
- Query builder improvements
For a complete list of all releases, see the CHANGELOG.md.
Notable versions:
- 2.0.50 (May 30, 2024) - Bug fixes and enhancements
- 2.0.49 (August 29, 2023) - Security and compatibility updates
- 2.0.48 (October 12, 2023) - PHP 8.2 support
- 2.0.47 (November 18, 2022) - Multiple improvements
- 2.0.45 (February 11, 2022) - PHP 8.1 compatibility
See all releases on GitHub for detailed information.
Last version with new features and enhancements for the 2.0.x branch.
Focus shifted to bug fixes and stability improvements.
- Maintenance mode with regular bug fixes
- Security updates
- PHP compatibility improvements
- Community-driven improvements