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 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.

Yii Assets 5.1

Mar 8, 2025

Version 5.1 of Yii Assets package was released. There a few changes:

  • improve static analyze annotations;
  • Change PHP constraint in composer.json to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0;
  • remove unnecessary array_filter call in AssetUtil::extractFilePathsForExport() method;
  • fix the nullable parameter declarations for compatibility with PHP 8.4.

Yii Session 3.0

Mar 4, 2025

Version 3.0 of Yii Session package was released. There a few changes and fixes:

  • remove sid_length and sid_bits_per_character options;
  • mark SessionException as final;
  • change PHP constraint in composer.json to 8.0 - 8.4;
  • explicitly mark nullable parameters.

Yii Definitions 3.4

Mar 2, 2025

Minor version of Yii Definitions package was released.

  • Change PHP constraint in composer.json to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
  • Bump minimal required PHP version to 8.1
  • Improve definition validation for readonly properties and properties with asymmetric visibility
  • Minor performance optimization: use FQN for PHP functions, remove unnecessary conditions

Read more

Yii Security 1.1

Feb 26, 2025

Version 1.1 of Yii Security package was released. There are some improvements and changes:

  • Bump minimal required PHP version to 8.1
  • Change PHP constraint in composer.json to 8.1 - 8.4
  • Use SensitiveParameter attribute to mark sensitive parameters
  • Mark readonly properties

Read more

Yii Router 4.0 and FastRoute Adapter 4.0

Feb 25, 2025

Major versions of Yii Router and Yii Routere FastRoute Adapter adapter package were released.

Yii Router

  • Change UrlGeneratorInterface contract: on URL generation all unused arguments must be moved to query parameters, if query parameter with such name doesn't exist
  • Add debug collector for yiisoft/yii-debug
  • Add $hash parameter to UrlGeneratorInterface methods: generate(), generateAbsolute() and generateFromCurrent()
  • Replace two RouteCollectorInterface methods addRoute() and addGroup() to single addRoute()

Read more

Yii User 2.3

Feb 25, 2025

Version 2.3 of Yii User package was released. There are some improvements and changes:

  • Add ApiAuth authentication method
  • Rename UserAuth to WebAuth, mark UserAuth as deprecated
  • Change PHP constraint in composer.json to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
  • Improve debug message "Unable to authenticate user…" in LogginMiddleware

Read more

Yii HTTP Runner 3.1

Feb 21, 2025

Minor version of Yii HTTP Runner were tagged. In this version made several changes.

  • Add $temporaryErrorHandler parameter to HttpApplicationRunner constructor. Mark parameter $logger and method withTemporaryErrorHandler() as deprecated.
  • Change PHP constraint in composer.json to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0.
  • Raise the minimum PHP version to 8.1 and minor refactoring.
  • Explicitly mark nullable parameters.

Yii Validator 2.2

Feb 16, 2025

Version 2.2 of Yii Validator package has been released. Here is the list of changes included in the new version:

  • Add stopOnError parameter to Each rule
  • Change PHP constraint in composer.json to ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0
  • Bump yiisoft/strings version to ^2.6
  • Minor refactoring with PHP 8.1 features usage

Read more

  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • »
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)