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

Middleware dispatcher 2.0.0

Nov 10, 2021

New major release of middleware dispatcher package was tagged. While 1.0.0 was released only a few days ago, we had a great usability idea that, as usual, came right after 1.0.0 was done.

This release reverses middleware order. Previously it was expecting reverse order:

$dispatcher = $dispatcher->withMiddlewares([
    static function (): ResponseInterface {
        return new Response(418);
    },
    TeapotAccessChecker::class,
]);

Now it uses natural order that reads way better:

$dispatcher = $dispatcher->withMiddlewares([
    TeapotAccessChecker::class,
    static function (): ResponseInterface {
        return new Response(418);
    },    
]);

Error handler 2.0.0

Nov 9, 2021

Error handler package got a major release.

Visible part is that solution is now formatted better. Internally, HeaderHelper is now used from http package.

HTTP 1.2.0

Nov 9, 2021

Version 1.2.0 of yiisoft/http package was released.

HeaderValueHelper was added. It allows parsing various string header values into more convenient data structures.

use Yiisoft\Http\HeaderValueHelper;

Read more

Middleware dispatcher 1.0.0

Nov 8, 2021

Stable release of middleware dispatcher package was tagged.

The package is a PSR-15 middleware dispatcher. Given a set of middleware and a request instance, dispatcher executes it is produces a response instance.

use Yiisoft\Middleware\Dispatcher\MiddlewareDispatcher;
use Yiisoft\Middleware\Dispatcher\MiddlewareFactory;

Read more

Redis adapter for cache 1.0.0

Nov 7, 2021

First version of Redis adapter for Yii cache was released. It is based on predis and could be used either standalone as PSR-16 cache implementation or with Yii cache to gain additional benefits.

Quality standard for the package is similar to other Yii 3 packages: 100% unit test coverage with 98.5% mutation score, and 94.9% type coverage.

i18n 1.1.0

Nov 5, 2021

New version of yiisoft/i18n package was released.

This version adds support for keywords hours, colnumeric, and colcasefirst. These keywords are part of the ECMAScript 2022 Internationalization API Specification (ECMA-402 9th Edition), and supporting them allows for better cross-communication between PHP and JavaScript layers.

  • hours defines an hour cycle for the locale (i.e. h11, h12, h23, h24). For more information see the key/type definition for the Unicode Hour Cycle Identifier.
  • colnumeric and colcasefirst are both collation settings defined as part of the Unicode Locale Data Markup Language.

Assets 2.0.0

Nov 4, 2021

Version 2.0.0 of assets package was released improving public API for more convenient use.

Previously you had to specify assets registered as array:

$assetManager->register([\App\Assets\MainAsset::class]);

Read more

Yii Console 1.0.0

Nov 1, 2021

First release of Yii Console package was tagged. It provides a console that could be added to an application.

The package uses Symfony Console under the hood and adds:

  • serve command that starts built-in PHP server.
  • Application events ApplicationStartup and ApplicationShutdown.
  • Friendly exceptions support.
  • namespace/command command naming style.

Read more

View 4.0.0

Oct 25, 2021

Version 4.0.0 of View package is released. In this version:

  • Added ViewInterface that View and WebView implement.
  • Improved exception message on getting not exist block or parameter in View and WebView.
  • We flush currently being rendered view files on context change now via View::withContext() or WebView::withContext().

VarDumper 1.2.0

Oct 24, 2021

An update was made to yiisoft/var-dumper package.

In this version \Yiisoft\VarDumper\VarDumper::withOffset() was added. It allows to adjust generated code nesting offset:

$test = [
    'value' => 42, // <--- default offset is 4 spaces
];

Arrays 2.0.0

Oct 23, 2021

Major version of yiisoft/arrays was released:

  • New ArrayHelper::group() that groups the array according to a specified key.
  • Support for iterable objects in ArrayHelper::map(), ArrayHelper::index(), ArrayHelper::group(), ArrayHelper::htmlEncode() and ArrayHelper::htmlDecode.
  • ArrayHelper and ArraySorter are now final.
  • Fixed incorrect default value returned from ArrayHelper::getValue() when key does not exist and default is array.

Bootstrap 5 extension version 2.0.2 released

Oct 21, 2021

New version of Bootstrap 5 extension for Yii 2 was released. Version 2.0.2 is fixing a number of bugs found since latest release and is bringing back Alert close button API that is available in previous Bootstrap versions.

Yii View 4.0.0

Oct 21, 2021

Yii view package version 4.0.0 was tagged.

CsrfInjection now injects a stringable CSRF object with methods getToken(), getParameterName(), getHeaderName() and hiddenInput() instead of string token to common parameters.

CSRF 1.1.0

Oct 21, 2021

Minor verison of CSRF package was tagged adding ability to obtain parameter and header names set to the middleware via CsrfMiddleware::getParameterName() and CsrfMiddleware::getHeaderName().

Html 2.2.0

Oct 20, 2021

HTML package version 2.2.0 was released.

In this release:

  • Added nofollow() method to the A tag.
  • Added itemsFromValues() method to RadioList and CheckboxList. The method sets items with labels equal to values passed.
  • A third optional argument $attributes containing tag attributes in terms of name-value pairs has been added to methods Html::textInput(), Html::hiddenInput(), Html::passwordInput(), Html::fileInput(), Html::radio(), Html::checkbox(), Html::textarea().

Mutex and adapters 1.1.0

Oct 19, 2021

Minor version of mutex package was released. In this version two new exceptions were introduced: MutexLockedException and MutexReleaseException. We throw them instead of less specific RuntimeException.

Additionally, the following adapter packages were released to match:

  • File
  • PDO MySQL
  • PDO Oracle
  • PDO Postgres

Read more

Symfony Mailer 1.0.0

Oct 17, 2021

Symfony Mailer adapter for yiisoft/mailer was tagged stable.

It is relying on symfony/mailer to send emails and is recommended as replacement for now deprecated SwiftMailer.

As usual, it has 100% unit test coverage with 100% mutation score, and 100% type coverage checked with Psalm.

Redis extension 2.0.16 released

Oct 4, 2021

We are very pleased to announce the release of Redis extension version 2.0.16.

This version adds support for authentication with username via Connection::$username.

See the CHANGELOG for details.

Html 2.1.0

Sep 23, 2021

HTML package version 2.1.0 was released.

In this release Noscript tag was added along with shortcuts for Script via methods Script::noscript() and Script::noscriptTag().

View and Yii View Extension 3.0

Sep 19, 2021

Major versions of yiisoft/view and yiisoft/yii-view were tagged.

  • View and WebView got fluent interface for their setters.
  • View::withAddedCommonParameters() and WebView::withAddedCommonParameters() were revemod since view should be mutable in order for parameters to be cascaded into sub-views.
  • Some metod and config option ranaming was performed in View and WebView. "Common parameters" became just "parameters".
  • ContentParametersInjectionInterface was replaced with ContentParametersInjectionInterface. It injects parameters for both views and layout.
  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • »
Get notified of news as soon as they are available using our RSS Feed.

Years

  • 2026 (43)
  • 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 383
  • extensions 233
  • release 109
  • yii2 73
  • 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)