Releases: hyperf/hyperf
Releases · hyperf/hyperf
Release v3.1.56
Added
- #7365 Support callable config type for
hyperf/logger
. - #7381 Added
Hyperf\Database\PgSQL\Query\Grammars\PostgresGrammar\compileJsonOverlaps
.
Fixed
- #7363 Fixed doc blocks for
Hyperf\HttpServer\Router\RouteCollector
. - #7379 Fixed bug that pdo connector with pgsql cannot work when using migration.
New Contributors
Full Changelog: v3.1.55...v3.1.56
Release v3.1.55
Added
- #7316 Support to rewrite function
paginationInformation
forresource
. - #7343 Added
Hyperf\Coroutine\Barrier
.
Fixed
- #7328 Fix primary key creation for MySQL with sql_require_primary_key enabled.
- #7334 Fixed bug that kafka producer cannot reconnect to server when the internet broken.
New Contributors
- @foremtehan made their first contribution in #7363
Full Changelog: v3.1.54...v3.1.55
Release v3.1.54
Added
- #7316 Support to rewrite function
paginationInformation
forresource
. - #7343 Added
Hyperf\Coroutine\Barrier
.
Fixed
- #7328 Fix primary key creation for MySQL with sql_require_primary_key enabled.
- #7334 Fixed bug that kafka producer cannot reconnect to server when the internet broken.
New Contributors
Full Changelog: v3.1.53...v3.1.54
Release v3.1.52
Added
- #7200 Added
Hyperf\Database\Connection::scalar()
which used to retrieve the first column of the first row from a query. - #7279 Support to generate comments from
trait
when usinggen:model
. - #7286 Added
Hyperf\Coroutine\Coroutine::list()
. - #7291 Support to throw exception when read
null
fromModel::createOrFirst
.
New Contributors
Full Changelog: v3.1.51...v3.1.52
Release v3.1.51
Added
- #7250 Added
Hyperf\AsyncQueue\Driver\Driver::getConfig()
. - #7255 Added
createOrFirst()
andcreateOrRestore()
intoHyperf\Database\Model\Builder
. - #7259 Added
existsOr
anddoesntExistOr
intoHyperf\Database\Query\Builder
. - #7260 Added
Hyperf\Database\Query\Builder::sole()
. - #7261 Added
Hyperf\Database\Model\Model::discardChanges()
. - #7262 Added
Hyperf\Database\Model\Model::hasAppended()
. - #7263 Added
Hyperf\Coroutine\WaitConcurrent
. - #7265 Added
Hyperf\Command\Concerns\Prohibitable
. - #7269 Added
Hyperf\Redis\Event\CommandExecuted
. - #7273 Support to open the newly created files for editor
cursor
automatically.
Optimized
- #7258 Optimized code for reading package data from
composer.lock
. - #7276 Replaced
get_called_class
withstatic::class
.
Full Changelog: v3.1.50...v3.1.51
Release v3.1.50
Fixed
- #7231 Fixed fatal exception "Object of class ... could not be converted to string" when using invalid websocket message handler.
Added
- #7224 Added
Hyperf\Coroutine\Mutex
. - #7233 Added params
connection_name
which used to define amqp connection name.
Optimized
- #7223 Optimized code for reading extra data from
composer.lock
. - #7227 Improves phpstan docs for
Hyperf\Support\SafeCaller
.
New Contributors
Full Changelog: v3.1.49...v3.1.50
Release v3.1.49
Optimized
Full Changelog: v3.1.48...v3.1.49
Release v3.1.47
Release v3.1.44
Added
- #7063 Added methods
nullableUuidMorphs
uuidMorphs
andnullableNumericMorphs
toHyperf\Database\Schema\Blueprint
. - #7070 Added
Blueprint::charset()
andBlueprint::collation()
. - #7071 Added
Hyperf\Database\Schema\Blueprint::tinyText()
. - #7110 Added support for disallowing class morphs.
Fixed
- #7124 Fixed bug that
sortByMany
value is null when usingSORT_NATURAL
.
Full Changelog: v3.1.43...v3.1.44
Release v3.1.43
Fixed
- #7068 Fixed bug
Str::trim
cannot support the default rules "\n\r\t\v" fortrim/ltrim/rtim
. - #7109 Fixed bug that
CacheAHead
cannot use the default ttl.
Optimized
- #7082 Optimized the code of
Hyperf\Database\Query\Grammars\Grammar::compileUpdate()
. - #7084 Optimized the code of
Hyperf\Watcher\Ast\RewriteClassNameVisitor::leaveNode()
. - #7105 Removed
env_vars
to keep the child process environment variables consistent with the parent process.
Added
- #7025 Added
Hyperf\Database\Model\Relations\Relation::getMorphAlias()
.
New Contributors
- @wangchengtao made their first contribution in #7036
Full Changelog: v3.1.42...v3.1.43