Yii Event 2.1.0
Minor version of Yii Event package was released.
This release adds the ability to configure the events configuration group name in params.
Minor version of Yii Event package was released.
This release adds the ability to configure the events configuration group name in params.
Minor version of Yii Auth package was released.
In this release:
WildcardPattern in Authentication middleware.Language JetBrains attribute to $pattern property in HttpHeader::withPattern() that enables syntax highlighting for this property in PhpStorm.Authentication middleware.yiisoft/yii-debug.Minor version of Yii Strings package was released.
In this release added stringable object support to NumericHelper::normalize().
Minor version of Yii Cache File Handler package is released.
Added optional parameter $directoryMode to FileCache constructor and deprecate withDirectoryMode()
method.
Minor refactoring with PHP 8 features usage.
Minor version of Yii VarDumper package is released.
EchoHandler — uses echo to write to stdout stream (used by default);StreamHandler — uses ext-sockets to sent dumps encoded with json_encode to a UDP socket;CompositeHandler — helpful class to sent dumps to multiple handlers in a row.Minor version of Yii Middleware Dispatcher package is released.
This version adds support for invokable class names & implementations of Psr\Http\Server\RequestHandlerInterface.
Minor version of Yii Strings package was released.
In this release:
CombinedRegexp and MemoizedCombinedRegexp classes optimizes matching of multiple regular expressions.StringHelper::trim(), StringHelper::ltrim() and StringHelper::rtrim().$strict parameter to Inflector::toSnakeCase() method.Major version of Yii Access package was released.
In this release:
$userId parameter of AccessCheckerInterface::userHasPermission() method is specified;Major version of yiisoft/rate-limiter package was released.
In this release:
Thanks to Pan Jiawei for handing this complicated work.
Database package was tagged along with its drivers.
db. Param should now be used instead.Here's the list CHANGELOGs:
Version 2.0.0 of Redis adapter for Yii cache was released. In this version:
^2.0|^3.0.^8.0.^2.1.Version 2.1.0 of Yii Runner HTTP was released.
This version adds support of stream output and deprecating ServerRequestFactory in favor of RequestFactory.
A minor update was made to yiisoft/var-dumper package.
In this version:
DateTime and DateTimeImmutable objects.It seems, we forgot to post news about the package since 1.2.0 so here's the summary of what was added since then:
asJson() method that provide exporting value as JSON string.asPrimitives() method that exports a variable like destructed JSON.New version of yiisoft/i18n package was released.
This version adds LocaleProvider and raises required major PHP version to 8.
Version 2.1 of Yii Console package was tagged.
In this version:
serve command--xdebug option for serve: as command name separatorMinor version of Yii Middleware Dispatcher package is released.
In this version make a few improvements:
psr/http-message version ^2.0.MiddlewareFactory performance.First stable version of Yii Translator DB Message Storage was tagged.
This package provides the database storage for the yiisoft/translator.
It allows you to store messages in databases supported by yiisoft/db: MariaDB, MSSQL, MySQL, Oracle, PostgreSQL, and SQLite.
First stable version of Yii Cache Library - DB Handler was tagged.
This package provides the database driver for the yiisoft/cache.
It allows you to store cache in databases supported by yiisoft/db: MariaDB, MSSQL, MySQL, Oracle, PostgreSQL, and SQLite.
First stable version of Yii Logging Library - DB Target was tagged.
This package provides the database target for the yiisoft/log.
It allows you to write logs into databases suppoerted by yiisoft/db: MariaDB, MSSQL, MySQL, Oracle, PostgreSQL, and SQLite.
First release of Yii Database and its drivers is done.
It is a framework-agnostic package to work with different types of databases,
such as [MariaDB], [MSSQL], [MySQL], [Oracle], [PostgreSQL], and [SQLite].
Using the package, you can perform common database tasks such as creating, reading, updating, and deleting
records in a database table, as well as executing raw SQL queries.
$rows = (new Query($db))
->select(['id', 'email'])
->from('{{%user}}')
->where(['last_name' => 'Smith'])
->limit(10)
->all();