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 2.0.51

Jul 18, 2024

We are pleased to announce the release of Yii Framework version 2.0.51.

Please refer to the instructions at https://www.yiiframework.com/download/ to install or upgrade to this version.

This release fixes regressions in 2.0.50, compatibility of error handler with PHP 8.3 and a number of bugs.

Read more

Yii HTTP Runner 3.0

Jul 16, 2024

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

  • Added ability to change the size of the buffer to send the content of the message body.
  • Allowed to use any PSR logger, NullLogger by default.
  • Removed ServerRequestFactory.
  • Mark SapiEmitter as internal.

Read more

Yii Error Handler 3.3

Jul 11, 2024

Yii Error Handler package was updated with the following enhancements:

  • add copy cURL button, sort request headers, fix UI;
  • simplify error log;
  • show full argument by click;
  • remove @anonymous postfix;

Read more

Yii HTML 3.5

Jul 11, 2024

Version 3.5 of Yii HTML package is released. There are some improvements:

  • added class for tag hr and method Html::hr();
  • added support for multiple elements in aria-describedby attribute.

Yii Logging Library 2.1

Jul 3, 2024

Yii Logging Library package was updated with the following enhancements and new features:

  • added new static methods Logger::assertLevelIsValid(), Logger::assertLevelIsString() and Logger::assertLevelIsSupported();
  • added support of nested values in message templates' variables, e. g. {foo.bar};
  • added context providers;
  • added DateTime and DateTimeImmutable support as time in log context;

Read more

Yii Mailer Library 5.1

Jul 2, 2024

Minor version of Yii Mailer Library was tagged. There are some improvements and fixes:

  • allowed to set default "from" value in MessageFactory;
  • raised minimal PHP version to ^8.1;
  • raised required yiisoft/view version to ^10.0.

Yii View Renderer 7.1

Jul 1, 2024

Minor version of Yii View Renderer were tagged.

  • Raised required yiisoft/view version to ^10.0.

Yii View 10.0

Jun 28, 2024

Version 10.0 of Yii View package was released.

Changed logic of template file searching in ViewInterface::render():

  • the absolute path to the view file, e.g. "/path/to/view.php";
  • the name of the view starting with // to join the base path, e.g. "//site/index";
  • the name of the view starting with ./ to join the directory containing the view currently being rendered (i.e., this happens when rendering a view within another view), e.g. "./widget";
  • the name of the view without the starting // or ./ (e.g. "site/index"), so view file will be looked for under the view path of the context set via withContext() (if the context instance was not set withContext(), it will be looked for under the base path).

Removed ViewInterface::renderFile().

Changed exception from RuntimeException to LogicException when the view cannot be resolved in ViewInterface::render().

Yii View Renderer 7.0

Jun 22, 2024

Major version of Yii View Renderer were tagged.

In this version package renamed from yiisoft/yii-view to yiisoft/yii-view-renderer and made several changes:

  • only a full path can now be used as a layout;
  • changed package configuration parameters viewPath and layout to null;
  • refactored controller name extractor, now use greedy search of namespace items with "controller(s)" postfix.

See upgrading instructions with notes about upgrading package in your application to this major version.

Console application template 1.0.0

Jun 19, 2024

First stable version of console application template is released.

It is a console only application template that can be used to perform common tasks in a Yii application such as queue workers, websocket servers, running daily cron tasks or just manual commands.

Detailed readme is availabe in the package.

Requirements 1.0.0

Jun 15, 2024

First release of yiisoft/requirements package was done. It allows to check if a certain set of defined requirements is met.

<?php
require_once('/path/to/requirements/RequirementsChecker.php');

$config = [
    [
        'name' => 'PHP version',
        'mandatory' => true,
        'condition' => version_compare(PHP_VERSION, '7.4.0', '>='),
        'by' => '<a href="https://www.yiiframework.com">Yii Framework</a>',
        'memo' => 'PHP 7.4.0 or higher is required.',
    ],
    [
        'name' => 'PDO MySQL extension',
        'mandatory' => false,
        'condition' => extension_loaded('pdo_mysql'),
        'by' => 'All DB-related classes',
        'memo' => 'Required for MySQL database.',
    ],
    [
        'name' => 'Intl extension',
        'mandatory' => false,
        'condition' => $this->checkPhpExtensionVersion('intl', '1.0.2', '>='),
        'by' => '<a href="https://secure.php.net/manual/en/book.intl.php">Internationalization</a> support',
        'memo' => 'PHP Intl extension 1.0.2 or higher is required.'
    ],    
);

$requirementsChecker = new RequirementsChecker();

$result = $requirementsChecker
    ->check($config)
    ->getResult();
$requirementsChecker->render();
exit($result['summary']['errors'] === 0 ? 0 : 1);

Yii 2.0.50

May 30, 2024

We are pleased to announce the release of Yii Framework version 2.0.50.

Please refer to the instructions at https://www.yiiframework.com/download/ to install or upgrade to this version.

This release raises PHP requirements to 7.3.

Read more

Yii View Extension 6.1

May 28, 2024

Minor version of Yii View Extension was tagged. There are some improvements and fixes:

  • added layout specific injections;
  • implement lazy loading for injections;
  • added debug collector for yiisoft/yii-debug;
  • made viewPath in ViewRenderer constructor optional;

Read more

Yii View 9.0

May 28, 2024

Version 9.0 of Yii View package was released.

  • added View::getLocale() and WebView::getLocale() methods;
  • added immutable method ViewInterface::withTheme();
  • deprecated ViewInterface::withDefaultExtension() and ViewInterface::getDefaultExtension() in favor of withFallbackExtension() and getFallbackExtensions();
  • adjusted config to make View and WebView more configurable;

Read more

Yii Validator 1.4

May 22, 2024

Yii Validator package was updated with the following enhancements and new features:

  • added getFirstErrorMessagesIndexedByPath() and getFirstErrorMessagesIndexedByAttribute() methods to Result;
  • added rules for validating value types - boolean, float, integer, string;
  • added Result::add() method for merging other results to the base one;
  • added UniqueIterable rule;

Read more

Auth Client extension 2.2.16 released

May 10, 2024

We are very pleased to announce the release of Auth Client extension version 2.2.16.

  • Use appropriate exception if client does not exist
  • Add support to configure the OAuth2 access token location in requests and added a generic OAuth2 client
  • Add ability to configure OpenIdConnect cache duration, default is 1 week

See the CHANGELOG for details.

Twig extension 2.5.0 released

May 9, 2024

Version 2.5.0 of Twig extension for Yii 2 was released.

This version adds support for Twig 3.9. Note that there were many internal changes that might affect and break codebases using twig:

Internal functions (including twig_get_attribute) has been moved and renamed.
The internal working of twig does not store template state in the output buffer anymore.
This means if a custom twig function reads and modifies the output buffer, it might not work as expected.

See the CHANGELOG for details.

Yii User 2.2

May 7, 2024

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

  • changed log level from warning to debug for LoginMiddleware;
  • raised minimum PHP version to 8.1;
  • allowed to use backed enumerations as permission name in CurrentUser::can() method;
  • added support for psr/http-message version ^2.0.

Yii Session 2.1

May 2, 2024

Minor version of Yii Session package is released.

  • Added support for psr/http-message version ^2.0.
  • Raised the minimum version of PHP to 8.0.

Queue extension 2.3.7 released

Apr 29, 2024

Version 2.3.7 of Queue extension for Yii 2 was released.

Changes in this release:

  • Add StatisticsProviderInterface to get statistics from queue

See the CHANGELOG for details.

  • «
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • »
Get notified of news as soon as they are available using our RSS Feed.

Years

  • 2026 (55)
  • 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 391
  • extensions 234
  • release 109
  • yii2 76
  • debug 30
  • view 28
  • html 25
  • auth client 25
  • 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
  • Our sponsors
  • © 2008 - 2026 Yii (Website Source Code)