Yii HTML 4.3
Yii HTML version 4.3.0 was released. In this version:
- Add dedicated classes for missing HTML tags
- Add support for conditional CSS classes in
Html::addCssClass() - Replace Psalm with PHPStan
- Add support for PHP 8.6
Yii HTML version 4.3.0 was released. In this version:
Html::addCssClass()Yii2 Redis version 2.1.3 was released.
The Redis session handler now implements sessionIdExists(). Yii 2.0.56 can use this method to check whether a Redis-backed session ID already exists when strict mode is enabled, without relying on the deprecated Session::$_forceRegenerateId property.
The Yii2 Docker images were rebuilt on November 19 with the latest PHP security updates. This is a container image update, not a new Yii framework release.
Yii2 Queue version 2.3.9 was released for the 2.3.x branch.
This release reverts the change introduced in 2.3.8 that was intended to prevent aborted jobs from running more than once. If your application relies on that behavior, review how it handles aborted jobs before upgrading.
Mutex, Postgres PDO Driver version 1.2.0 was released.
PgsqlMutex now derives two signed 32-bit PostgreSQL advisory-lock keys from the first eight bytes of the SHA-1 hash of the mutex name, instead of two unsigned 16-bit keys from the first four bytes. The larger 64-bit keyspace reduces accidental contention between unrelated mutex names; hash collisions are still possible.
We are pleased to announce the release of Bootstrap 5 extension version 2.0.52.
This version fixes Tabs::linkOptions and Tabs::headerOptions and removes return type declarations from widget init() methods. It also improves documentation and property annotations and applies Yii2 coding standards. The minimum supported PHP version has been raised to 7.4.
See the CHANGELOG for details.
We are very pleased to announce the release of the ApiDoc extension version 4.0.2.
In this release:
@property annotations have been added.See the CHANGELOG for a full list of changes.
We are pleased to announce the release of MongoDB extension version 3.0.5.
This version fixes a PHP 8.5 deprecation when updating ActiveRecord without optimistic locking and adds support for session ID checks in upcoming Yii 2.0.56 strict mode. It also improves property annotations, introduces PHPStan static analysis, and applies Yii2 coding standards. PHP 7.3 support has been removed to align with Yii2's minimum PHP version.
See the CHANGELOG for details.
Yii Strings version 2.8.0 was released. In this version:
NumericHelper::trimDecimalZeros()StringHelper::truncateWordsByLength()RoadRunner runner for Yii3 version 4.0.0 was released. In this version:
8.2 - 8.6yiisoft/config dependencyPHP just released versions fixing critical security vulnerabilties.
php.ini to be safer (not fully safe still so aim for upgrade anyway):memory_limit=-1
post_max_size = 8M ; or more if uploads are needed but upload_max_filesize < post_max_size
session.upload_progress.enabled=0
fatal_error_backtraces=0 ; for PHP 8.5+
Yii DB Migration version 2.2.0 was released. In this version:
--db option to select databasemigrate:mark to move migration history to a version without executing migrations--transactional / --no-transactional options for migration generation./vendor/bin/yii-db-migration without configuration fileWe are pleased to announce version 2.2.19 of the Auth Client extension.
xoauth_displayname from default OAuth2 authorization URLs.We are very pleased to announce the release of Auth Client extension version 2.2.18.
See the CHANGELOG for details.
Yii DataView version 1.3.0 was released. In this version:
GridView::keepColumnAttributesInEmptyCell() to keep column body cell attributes on empty cellsGridView::filterRowAttributes(), and filterAttributes and filterClass parameters to DataColumn to set HTML attributes and a CSS class for filter cellsGridView methods sortableHeaderClass(), sortableHeaderAscClass(), sortableHeaderDescClass(), sortableLinkAscClass() and sortableLinkDescClass() to configure CSS classes for sortable column headers and linksGridView::captionAttributes() method and $attributes parameter to GridView::caption() to set HTML attributes for the caption tagYii DataView version 1.2.0 was released. In this version:
prepareDataReader() to reuse filtered data readerUseInlineJsInterface::useInlineJs() to DropdownFilter, SelectPageSize and InputPageSize, and BaseListView::useInlineJs() to override it for every rendered widget, so their onChange/onchange handler can be replaced with the shipped no-inline-js.js scriptDataContext to callable buttons in ActionColumnWe are very pleased to announce the release of the ApiDoc extension version 4.0.1.
This release enhances the generation:
<wbr> to namespaces so line breaks are made on \ if possible.See the CHANGELOG for a full list of changes.
Yii HTTP Middleware version 1.3.0 was released.
In this version:
HttpCacheMiddleware via ETagValueNormalizerInterface with NoopETagValueNormalizer and SuffixETagValueNormalizer implementations$keepHeadersOnStatusCode and $removedHeaders constructor parameters to RemoveBodyMiddleware$removeOnStatusCode constructor parameter to ContentLengthMiddlewareContent-Length and Transfer-Encoding headers in RemoveBodyMiddleware when the body is removed