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

Yii HTTP Middleware 1.1

Jun 9, 2025

Minor version of Yii HTTP Middleware has been released.

This release adds RemoveBodyMiddleware, which removes the response body for specific HTTP status codes.

Debug extension 2.1.27 and 2.1.26 released

Jun 8, 2025

We've tagged Yii2 debug extension version 2.1.27. It fixes a bug of unnecessary usage of backticks in UserPanel resulting in inability to work with environments where shell_exec is not available. No security was affected.

It seems, we've also forgot to write about 2.1.26:

  • Backtrace for internal PHP functions was added.
  • Module::$toolbarPosition was added to configure toolbar position.
  • yii\debug\Module::$authManager was added to select RBAC manager used by UserPanel (default is authManager).

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.

Yii HTTP Middleware 1.0

Jun 4, 2025

First stable version of Yii HTTP Middleware was released.

The package provides a collection of PSR-15 middleware focused on HTTP features:

  • ContentLengthMiddleware — manages the Content-Length header in the response;
  • CorsAllowAllMiddleware — adds CORS headers allowing any request origins in later requests;
  • ForceSecureConnectionMiddleware — redirects insecure requests from HTTP to HTTPS and adds headers necessary to enhance the security policy;
  • HeadRequestMiddleware — removes body from response for HEAD request;

Read more

Yii Caching Library 3.1

Jun 1, 2025

Version 3.1 of Yii Caching Library is released.

  • Added interface SerializerInterface for data serialization, and PhpSerializer implementation.
  • Made normalize() method static in CacheKeyNormalizer class.
  • Changed PHP constraint in composer.json to 8.1 - 8.4.
  • Raised the minimum PHP version to 8.1 and minor refactoring.

Read more

Yii Dependency Injection 1.4

May 30, 2025

Version 1.4 of Yii Dependency Injection container is released.

  • Added TagReference::id() method.
  • Changed PHP constraint in composer.json to 8.1 - 8.4.
  • Made BuildingException and NotFoundException friendly.
  • Made $config parameter in Container constructor optional.

Read more

Yii PSR Emitter 1.0

May 21, 2025

First release of Yii PSR Emitter package was done. It provides EmitterInterface that is responsible for sending PSR-7 HTTP responses as well as several implementations of the interface:

  • SapiEmitter - sends a response using standard PHP Server API;
  • FakeEmiiter - a fake emitter that does nothing, except for capturing response (useful for testing purposes).

Additionally, the package provides EmitterMiddleware PSR-15 middleware that can be used in an application to send a response by any EmitterInterface implementation.

General usage:

/** 
 * @var \Psr\Http\Message\ResponseInterface $response 
 */
$emitter = new \Yiisoft\PsrEmitter\SapiEmitter();
$emitter->emit($response);

Yii View 12.2

May 16, 2025

Version 12.2 of Yii View package has been released. Here are the list of improvements and fixes included in the new version:

  • allowed to pass Stringable objects to WebView::setTitle() method;
  • allowed using multiple theme paths in yiisoft/view → theme → pathMap package parameter.

Yii Runner RoadRunner 3.1

May 13, 2025

Minor version of Yii Runner RoadRunner package was released.

In this release:

  • added temporal support;
  • improved RoadRunnerGrpcApplicationRunner: added error handling, bootstrap loading, event checking, and DI container usage;
  • raised required version of yiisoft/error-handler to ^4.0;
  • changed PHP constraint in composer.json to 8.1 - 8.4;

Read more

Yii Validator 2.3

May 7, 2025

Version 2.3 of Yii Validator package has been released.

The Uuid validation rule was added in this version.

MongoDB extension 3.0.3 released

May 6, 2025

We are pleased to announce the release of MongoDB extension version 3.0.3.

This version requires minimum of 1.20.1 version of MongoDB PHP Extension and fixes deprecation issue with UTCDateTime and BSON.

See the CHANGELOG for details.

Yii Error Handler 4.1

Apr 18, 2025

Yii Error Handler package was updated with the following enhancements:

  • Add Yiisoft\ErrorHandler\ThrowableResponseFactory that provides a response for Throwable object with renderer provider usage.
  • Mark Yiisoft\ErrorHandler\Factory\ThrowableResponseFactory as deprecated.
  • Set content type header in renderers.
  • Fix dark mode argument display issues.

Bootstrap5 1.0.0

Apr 13, 2025

First stable release of yiisoft/bootstrap5 package was tagged. The package presents Bootstrap 5 UI framework in terms of Yii widgets allowing easy usage in PHP templates, theming and more.

<?php
use Yiisoft\Bootstrap5\Carousel;
use Yiisoft\Bootstrap5\CarouselItem;
use Yiisoft\Html\Tag\Div;
use Yiisoft\Html\Tag\H2;
use Yiisoft\Html\Tag\P;
?>

<?= Carousel::widget()
    ->id('carouselExampleOnlyText')
    ->items(
        CarouselItem::to(
            Div::tag()
                ->addClass('bg-primary text-white p-5 text-center')
                ->addContent(
                    H2::tag()->content('Title 1'),
                    P::tag()->content('This is the first slide with text.'),
                ),
        ),
        CarouselItem::to(
            Div::tag()
                ->addClass('bg-success text-white p-5 text-center')
                ->addContent(
                    H2::tag()->content('Title 2'),
                    P::tag()->content('This is the second slide with text.'),
                ),
        ),
        CarouselItem::to(
            Div::tag()
                ->addClass('bg-danger text-white p-5 text-center')
                ->addContent(
                    H2::tag()->content('Title 3'),
                    P::tag()->content('This is the third slide with text.'),
                ),
        ),
    );

Check more examples in the package user guide.

Yii 1.1.31 is released

Apr 10, 2025

We are very pleased to announce that Yii Framework version 1.1.31 is released. You can download it at yiiframework.com/download/.

Yii 1.1.31 fixes some minor issues and includes a security improvement. See the security advisory for more information.

This release is a release of Yii 1.1, which has reached maintenance mode and will only receive security and compatibility fixes. For the complete list of changes in this release, please see the change log. For upgrading, always make sure to read the upgrade instructions.

We would like to express our gratitude to all contributors who have spent their precious time helping improve Yii and made this release possible.

Please upgrade to Yii 2.0.52

Apr 9, 2025

We have fixed a security issue in 2.0.50 but there were additional issues so complete fix was done in 2.0.52. We have not properly assigned a new CVE for it and considered additional fix as:

Bug #20232: Fix regression introduced in GHSA-cjcc-p67m-7qxm while attaching behavior defined by __class array key (erickskrauch)

That was not correct and now there is a separate advisory: CVE-2024-58136.

Thanks goes to Nicolas Bourras & Thomas Reynolds from Orange Cyberdefense.

Yii RBAC 2.1

Apr 4, 2025

Version 2.1 of Yii RBAC package is released.

  • Added optional $clock parameter to Manager constructor to get current time.
  • Changed PHP constraint in composer.json to 8.1 - 8.4.
  • Fixed bug when default roles were not checked in Manager::userHasPermission().

Yii HTML 3.10

Apr 3, 2025

Version 3.10 of Yii HTML package is released. Here are the list of improvements and fixes included in the new version:

  • made $content parameter optional in Button factories;
  • allowed to pass null to Select::value() method;
  • render loading attribute before src;
  • changed PHP constraint in composer.json to 8.1 - 8.4;

Read more

Yii Form 1.4

Mar 27, 2025

Version 1.4 of Yii Form package is released.

  • Change PHP constraint in composer.json to 8.1 - 8.4.
  • Improve "Bootstrap 5 Horizontal" theme for checkbox.
  • In PartsFeild class change $beforeInput and $afterInput properties' scope to protected.
  • Suppress all extra HTML for "Hidden" field.

Yii View 12.1

Mar 15, 2025

Version 12.1 of Yii View package has been released. Here are the list of improvements and fixes included in the new version:

  • changed PHP constraint in composer.json to 8.1 - 8.4;
  • allowed using ../ in the name of the view to refer to parent directory of the directory containing the view currently being rendered;
  • explicitly marked nullable parameters;
  • fixed exception message when relative path is used without currently rendered view.

Yii Hydrator 1.6

Mar 14, 2025

Version 1.6 of Yii Hydrator package has been released. Here are the list of improvements included in the new version:

  • added nested mapping support via new ObjectMap class;
  • changed PHP constraint in composer.json to 8.1 - 8.4;
  • improved psalm annotation in HydratorInterface::create() method.
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • »
Get notified of news as soon as they are available using our RSS Feed.

Years

  • 2026 (48)
  • 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 387
  • extensions 233
  • release 109
  • yii2 74
  • 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)