- #7469 Support to rewrite the rules for scene when using validation.
- #7531 Support options
batchformigrate:rollback. - #7545 Added coordinator resume in command execution finally block.
- #7547 Fixed bug that the property
$poolof kafka consumer cannot not work well.
- #7467 Support versions v2 and v3 for nacos sdk.
- #7476 Added trait
InteractsWithDatatoHyperf\Support\Fluent. - #7480 Added method
Hyperf\Database\Model\Builder::incrementOrCreate(). - #7481 Added methods
Collection::doesntContainStrict()andLazyCollection::doesntContainStrict(). - #7483 Added the alias
disassociate()ofHyperf\Database\Model\Relations\BelongsTo::dissociate(). - #7484 Added method
Hyperf\Database\Model\Model::isSoftDeletable(). - #7486 Added method
Hyperf\Database\Model\Builder::except(). - #7487 Added caster
Hyperf\Database\Model\Casts\AsArrayObjectforArrayObject. - #7492 Added trait
MacroabletoHyperf\Pipeline\Pipeline. - #7499 Added constant
Hyperf\Kafka\Constants\KafkaStrategy::STICKY_ASSIGNOR. - #7500 Added methods
Hyperf\Collection\Arr::push()andHyperf\Collection\Arr::array(). - #7502 Added method
Hyperf\Collection\Arr::hasAll(). - #7509 Added
Hyperf\Codec\Packer\Resp3Packer. - #7518 Added method
Hyperf\Database\Query\Grammars\Grammar::whereValueBetween().
- #7501 Added validation of
Hyperf\Macroable\Macroable::macro()to avoid unexpected results caused by using reference parameters.
- #7447 Fixed bug that the command
migrate:freshcan't drop postgres tables by default. - #7449 Fixed bug that
Hyperf\Database\Migrations\Migrator::reset()cannot support string paths.
- #7466 Added
isEmpty/isNotEmpty/getIteratormethods toHyperf\Support\Fluentclass. - #7473 Added config
produce_retryandproducer_retry_sleepforkafka.
- #7421 Fixed bug that the cookie value cannot be deleted when set "".
- #7424 Fixed bug that the path of
phpcannot contain spaces forwatcher. - #7427 Fixed bug that
excludecannot not work when usingvalidation.
- #7394 Release redis connection immediately when using
transactionorpipelinewith callbacks.
- #7402 Fixed bug that
connect_timeoutcannot work forpgsql-swooledatabase. - #7414 Fixed bug that sqlite migration does not work.
- #7420 Fixed bug that luasha cannot work when redis server restart.
- #7411 Remove
Hyperf\UtilsComponent.
- #7400 Fixed bug that
gen:modelcannot work when usingpgsql. - #7410 Fixed bug that
setMultiplecannot work for memory cache driver.
- #7392 Added
coroutineoption toAsCommandandClosureCommand. - #7404 Added param
runAsyncforCacheAHead.
- #7365 Support callable config type for
hyperf/logger. - #7381 Added
Hyperf\Database\PgSQL\Query\Grammars\PostgresGrammar\compileJsonOverlaps.
- #7363 Fixed doc blocks for
Hyperf\HttpServer\Router\RouteCollector. - #7379 Fixed bug that pdo connector with pgsql cannot work when using migration.
- #7316 Support to rewrite function
paginationInformationforresource. - #7343 Added
Hyperf\Coroutine\Barrier.
- #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.
- #7309 Fixed bug that testing client cannot support json without
POST. - #7318 Fixed bug that close frame will be lost for websocket-client.
- #7329 Fixed bug that the type of
$connectionis not correct when creating models.
- #7311 Added
Hyperf\Redis\Event\CommandExecuted::getFormatCommand(). - #7313 Added validation rules
contains,extensionsandhex_color. - #7314 Enable
schemaConfiguration forhyperf/dbwithpgsql. - #7325 Added metadata
attributesintoHyperf\Di\ReflectionType. - #7332 Added
Hyperf\Memory\LockManager::exists().
- #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
traitwhen usinggen:model. - #7286 Added
Hyperf\Coroutine\Coroutine::list(). - #7291 Support to throw exception when read
nullfromModel::createOrFirst.
- #7250 Added
Hyperf\AsyncQueue\Driver\Driver::getConfig(). - #7255 Added
createOrFirst()andcreateOrRestore()intoHyperf\Database\Model\Builder. - #7259 Added
existsOranddoesntExistOrintoHyperf\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
cursorautomatically.
- #7258 Optimized code for reading package data from
composer.lock. - #7276 Replaced
get_called_classwithstatic::class.
- #7231 Fixed fatal exception "Object of class ... could not be converted to string" when using invalid websocket message handler.
- #7224 Added
Hyperf\Coroutine\Mutex. - #7233 Added params
connection_namewhich used to define amqp connection name.
- #7223 Optimized code for reading extra data from
composer.lock. - #7227 Improves phpstan docs for
Hyperf\Support\SafeCaller.
- #7219 Added case sensitivity option to
Hyperf\Stringable\Str::is().
- #7194 Optimized the database exception to implement unique constraint error detection.
- #7187 Allow request IP retrieval during tests via server parameters.
- #7188 Fixed bug that
Hyperf\HttpMessage\Server\ResponsePlusProxycannot support another responses withoutgetCookies.
- #7192 Added
Hyperf\Database\Model\Collection::findOrFail().
- #7176 Fixed bug that cookies cannot work when using
swow.
- #7148 Added
excluderules forhyperf/validation. - #7150 Added missing methods (
accepted_if,ascii,date_equals...) to validation messages. - #7151 Added hooks
beforeTestInCoroutineandafterTestInCoroutineforHyperf\Testing\Concerns\RunTestsInCoroutine::runTestsInCoroutine(). - #7156 Added method
Hyperf\Database\Schema\Blueprint::engine().
- #7141 Added method
Hyperf\Collection\Arr::shuffleAssoc. - #7143 Added method
Hyperf\Database\Model\Builder::findOr. - #7147 Added
setVisibleandsetHiddenintoModel\Collection. - #7149 Support to define
serversandinfoforswagger.
- #7133 Fixed bug that the connection of migrations cannot work excepted.
- #7063 Added methods
nullableUuidMorphsuuidMorphsandnullableNumericMorphstoHyperf\Database\Schema\Blueprint. - #7070 Added
Blueprint::charset()andBlueprint::collation(). - #7071 Added
Hyperf\Database\Schema\Blueprint::tinyText(). - #7110 Added support for disallowing class morphs.
- #7124 Fixed bug that
sortByManyvalue is null when usingSORT_NATURAL.
- #7068 Fixed bug
Str::trimcannot support the default rules "\n\r\t\v" fortrim/ltrim/rtim. - #7109 Fixed bug that
CacheAHeadcannot use the default ttl.
- #7082 Optimized the code of
Hyperf\Database\Query\Grammars\Grammar::compileUpdate(). - #7084 Optimized the code of
Hyperf\Watcher\Ast\RewriteClassNameVisitor::leaveNode(). - #7105 Removed
env_varsto keep the child process environment variables consistent with the parent process.
- #7025 Added
Hyperf\Database\Model\Relations\Relation::getMorphAlias().
- #7081 Fixed bug that
data_getcannot supportintkey.
- #7088 Optimized github actions for all components.
- #7059 Added
Hyperf\Database\Schema\Schema::getForeignKeys(). - #7064 Support db type
enumforDoctrineConnection. - #7077 Added
ModelUpdateVisitor::getReturnTypemethod.
- #7051 Fixed bug that
--databaseoption does not work formigratecommand.
- #7053 Convert
$valueand$patternto string forStr::is().
- #7034 Fixed bug that the mount code will break the main file with
declarewhen usingphar:build. - #7043 Fixed bug that
jsonrpc-httpcannot supportswow.
- #7033 Improved
ConsoleLoggerto support running in watcher. - #7040 Improved packaging speed for command
phar:build. - #7044 Optimized the argument
tablelikedatabase.tableforgen:modelwhich can be used to generate another database models.
- #7024 Added methods
whenTableHasColumnandwhenTableDoesntHaveColumntoHyperf\Database\Schema\Schema.
- #7016 Added reorder method to clear and set sorting for
QueryBuilder. - #7023 Added
Hyperf\Contract\CanBeEscapedWhenCastToStringand fixed some static detection. - #7028 Added
Hyperf\Framework\Logger\ConsoleLogger.
- #7015 Added methods
whereNoneandorWhereNonetoHyperf\Database\Query\Builder.
- #6839 Use
anonymous classesto avoid the duplicated class name for database migrations.
- #6971 Added partitioned support for Cookie.
- #6990 Added support for retrieving the current system time with milliseconds for
Hyperf\Support\Traits\InteractsWithTime. - #6998 Added default methods for
#[AutoController]. (You can add methodoptionswhich used to support cors middleware)
- #6987 Fixed bug that the root path of swagger server cannot work.
- #6962 Optimized error message of command exceptions.
- #6963 Optimized code for
Model/JsonResource::toJson.
- #6954 Fixed bug that the connection cannot reconnect to the server in a situation where there was a failover and exchange of read and write hosts.
- #6961 Fixed bug that
websocket sendernot supportSwow.
- #6949 Fixed bug that restart failed when don't have
.env. - #6953 Fixed bug that socketio-server cannot work for swow engine.
- #6946 Removed Swoole Atomic dependency and useless restart counter in watcher.
- #6950 Support
where bit functions and operatorsfordatabase.
- #6936 Support to reload
.envwhen usinghyperf/watcher.
- #6925 Fixed bug that
sortByManydon't reset indexes forCollection. But it will be return the same result likesortByinv3.2.
- #6925 Fixed bug that
sortByManycannot support options likesortBy.
- #6900 Fixed bug that
LengthAwarePaginator::addQuery()cannot support array$values. - #6909 Fixed bug that
Aopdoesn't work onTrait.
- #6903 Optimized code for
config-nacos.
- #6885 Added validation rule
prohibiti. - #6891 Support
cache.*.options.poolto select redis instance forhyperf/cache. - #6895 Support to collect enum annotations.
- #6864 Added methods
getViewsandhasViewintoHyperf\Database\Schema\Schema. - #6866 Added method
Hyperf\Database\Concerns\BuildsQueries::lazy. - #6869 Added methods
beforeandafterintoCollection. - #6876 Added method
Hyperf\Database\Concerns\Builder::eachById. - #6878 Added methods
whereMorphRelationandorWhereMorphRelationintoHyperf\Database\Model\Concerns\QueriesRelationships. - #6883 Added methods
getIndexeshasIndexandgetIndexListingintoHyperf\Database\Schema\Builder. - #6884 Added method
Hyperf\Database\Model\Model::updateOrFail. - #6897 #6899 Added events
BeforeLongLangConsumerCreatedandAfterConsumerConfigCreatedintoHyperf\Kafka\ConsumerManager.
- #6829 Optimized the format of command error logs.
- #6868 Support type
Closure|Expression|ModelBuilder|static|stringof$columnforQueryBuilder::orderBy(). - #6870 Updated default path for factories in Model Factory construct method.
- #6874 Using
Scannerinstead of hard code forhyperf/watchercomponent.
- #6848 Fixed bug that
LazyCollection::splitIn()cannot work caused by type hint.
- #6845 Added method
Hyperf\Database\Schema::getTables(). - #6846 Added methods
chunkByIdandchunkByIdDescintoHyperf\Database\Concerns\BuildsQueries. - #6851 Added methods
orDoesntHaveMorphandorHasMorphintoHyperf\Database\Model\Concerns. - #6858 Added methods
makeHiddenIfandmakeVisibleIfintoHyperf\Database\Model\Concerns\HidesAttributes.
- #6855 Optimized BuildsQueries to use
Conditionableinstead ofwhenandunless. - #6856 Optimized
Hyperf\Scout\Builderto useConditionableinstead ofwhenandunless. - #6860 Use
Hyperf\Collection\Enumerableinstead ofHyperf\ViewEngine\Contract\Enumerable.
- #6837 Added method
Model\Concerns\QueriesRelationships::withWhereHas(). - #6844 Added methods
whereRelationandorWhereRelationintoHyperf\Database\Model\Concerns\QueriesRelationships.
- #6809 Added cursor paginator for
hyperf/database. - #6811 Added
listrule forhyperf/validation. - #6814 Added method
Model::query()->touch()which used to update timestamps. - #6815 Added method
Hyperf\Database\Model\Builder::qualifyColumns(). - #6816 Added methods
Hyperf\Database\Model\Builder::load*. - #6820 Added method
Hyperf\Database\Model\Builder::valueOrFail(). - #6821 Added method
Hyperf\Database\Concerns\BuildsQueries::chunkMap(). - #6822 Added methods
lazyByIdandlazyByIdDescfor lazy queries. - #6825 Added methods
createDatabaseanddropDatabaseIfExistsforHyperf\Database\Schmea.
- #6813 Fixed bug that cannot read the messages from non-lower keys for
Hyperf\Constants\Annotation\Message. - #6818 Fixed bug that
updateOrInsertcannot work when the input is empty. - #6828 Fixed bug that
AOPcannot work on__construct. - #6836 Fixed bug that
SetCookie::fromStringcannot not work by invalid types.
- #6792 Support
IncrementEachandDecrementEachforHyperf\Database\Query\Builder. - #6793 Added the request body and response body to the tracer.
- #6795 Added config
rate_limit.storage.options.expired_timeforrate-limit.
- #6778 Support array for
Hyperf\Amqp\Annotation\Consumer::routingKey. - #6799 Support
numbersandfromBase64methods for\Hyperf\Stringable\Str. - #6803 Cancel AsCommand and ClosureCommand return values.
- #6757 Added
Hyperf\Collection\LazyCollection. - #6763 Added
Premature end of dataintoDetectsLostConnections. - #6767 Support
whereAll/orWhereAllwhereAny/orWhereAnyforHyperf\Database\Query\Builder. - #6774 Support Lateral Join for
Hyperf\Database\Query\Builder. - #6781 Added some methods to
Hyperf\Collection\Arr. - #6782 Added
whereJsonOverlaps,orWhereJsonOverlapsandwhereJsonDoesntOverlaptoHyperf\Database\Query\Builder. - #6783 Support
insertOrIgnoreUsingforHyperf\Database\Query\Builder. - #6784 Added
getOrPutandgetOrSetintoHyperf\Collection\Collection.
- #6777 Optimized StdoutLogger to improve log message handling.
- #6778 Optimized Collection using EnumeratesValues.
- #6755 Fixed bug that exception normalizer cannot support symfony 7.
- #6734 Auto complete options for as command and closure command.
- #6746 Added
explain()forHyperf\Database\Query\Builder. - #6749 Added some rules for
hyperf/validation. - #6752 Added
pathandpathsmethods toHyperf\Database\Seeders\Seed.
- #6738 Added
unshiftmethod toHyperf\Collection\Collection. - #6740 Support
useIndexforceIndexandignoreIndexforHyperf\Database\Query\Builder.
- #6716 #6717 Optimized exchange declaration for amqp consumer messages.
- #6721 Optimized the implementation of
WhenMethod. - #6731 Updated InteractsWithModelFactory to handle missing dependencies.
- #6728 Fixed bug that
hyperf/watchcannot work when usinghyperf/constantsenum mode.
- #6709 Added default
onClosemethod for rpc Server. - #6712 Add new methods in
Hyperf\Collection\Collection.
- #6700 Optimized the implementation of
Pluralizer.
- #6689 Fixed bug that socket-io cannot parse data with
?but withoutquery. - #6697 Fixed bug that
withoutBodycannot not work when usingSwow.
- #6680 Added
Hyperf\Coordinatorhelper functions. - #6681 Added option
typeforgen:constantwhich you can be used to generate files withconstorenum.
- #6686 Optimized
FswatchDriverwhich don't restart server by empty reading. - #6698 Upgrade
hyperf/enginetov2.11. - #6696 Automatic declare exchange when produce message.
- #6674 Added getConfig for redisPool.
- #6664 Fixed bug that
issetcannot checknullinHyperf\Collection\Collection.
- #6668 Added error handling when using
callbackin multiplexed RPC.
- #6652 Added Str trim methods.
- #6658 HEAD requests, attempt fallback to GET in
MiddlewareManager. - #6665 Added logger for
Websocket.
- #6661 Use
PHP_BINARYinstead ofphpas default php binary path forhyperf/watcher.
- #6632 Support to set headers for
websocket-client. - #6648 Return result about websocket sender
push``disconnect.
- #6633 Fixed bug that crontab will be skipped sometimes.
- #6635 Fixed AMQP
ConsumerMessage::getQueuereturn type.
- #6640 Support PHP8 Attribute for
hyperf/constants.
- #6613 Added event of release connection for
hyperf/pool.
- #6621
WebSocketHandeShakeExceptionis deprecated, please useWebSocketHandShakeExceptioninstead.
- #6609 Fixed bug that the configurations will be cleared when the
scanconfiguration does not exist.
- #6594 Added
hyperf/carboncomponent.
- #6600 Optimized the worker process to no longer output warn information after exiting.
- #6608 Optimized
CacheAheadAspectwhich store cache in another coroutine instead of blocking current coroutine.
- #6576 Added
Hyperf\Stringable\Str::apa()method. - #6577 Support setup command traits before running.
- #6579 Added
now()andtoday()helper functions. - #6590 Added
--gracefulto migrateCommand.
- #6586 Fixed bug that the command description will cause parse error when contains
--. - #6593 Fixed the error when register multi
AsCommand.
- #6569 Fixed bug that reading messages failed when the channel have been removed from channel group.
- #6561 Fixed bug that the relation comments cannot be created by
gen:model. - #6566 Fixed bug that the numeric keys will be reset when using
$request->all(). - #6567 Fixed bug that the
CrontabRegisterListenerdon't check configurationcrontab.enable.
- #6555 Fixed bug that
invalidOperatorcannot work well when using non-string operators. - #6563 Fixed cron dispatcher sleep accurate.
- #6550 Added default config of noop driver for
hyperf/opentracing. - #6562 Added
SqliteDriverforhyperf/cache.
- #6556 You can set an expression to model parameters, but it is not standardized.
- #6539 Optimized
retryhelper function can accept array as first parameter.
- #6482 Fixed bug that the rule
decimalcannot work well withsizeforvalidation.
- #6517 Fixed bug that the older versions of parsers cannot parse new messages for
async-queue. - #6520 Refactor UdpSocketAspect to improve coroutine handling.
- #6509 Fixed bug that
Schedule::call()cannot supportarraywhen usingcrontab.
- #6511 Optimized the serialization of
Hyperf\AsyncQueue\JobMessage. - #6516 Fixed bug that message will be lost when unpack failed.
- #6504 Added
HostReaderInterfaceforrpc-multiplex.
- #6491 Fixed bug that swagger validation collector cannot collect query parameters.
- #6500 Fixed bug that inconsistent parsing response in Rpc-Multiplex client.
- #6483 [#6487] (hyperf#6487) Added new ways to register crontab.
- #6488 Added the default implement for
Psr\Log\LoggerInterface. - #6495 Added cron support for closure-command.
- #6501 Added
Collection::replace()andCollection::replaceRecursive().
- #6480 Optimize log for crontab task skipped.
- #6489 Removed the low version conditions of
phpandswoole.
- #6449 Added method
ReflectionManager::getAllClassesByFinder. - #6468 Added support for Crontab specified operating environments.
- #6471 Added method
Arr::remove. - #6474 Added
Crontab::setOptions()andCrontab::getOptions().
- #6440 Optimized code of
Hyperf\SocketIOServer\Parser\Decoder::decode(). - #6472 Optimized code of
DispatcherFactorywhich userequireinstead ofrequire_oncefor loadingroutes. - #6473 Auto mkdir folder when using command
gen:swagger-schema. - #6477 Optimized code about binding
serverMutexandtaskMutexforCrontab. - #6479 Updated the default mutex expiration time to 60 seconds.
- #6423 Fixed bug that the timezone of crontab task cannot work.
- #6436 Fixed bug that the generator which be used to generate amqp consumer cannot work.
- #6431 Added
UnsetContextInTaskWorkerListenerwhich can be used to unset connection context when using non-coroutine task worker.
- #6419 Fixed bug that
prepareHandlercannot work sometimes forcircuit-breaker.
- #6426 Added Annotation
RewriteReturnTypewhich used to rewrite the return type when generating models.
- #6415 Throw
InvalidArgumentExceptioninstead ofTypeErrorfor decoding an empty string when usingBase62::decode.
- #6389 Fixed bug that es version cannot be found when the index is null.
- #6406 Fixed bug that
Hyperf\Scout\Searchabledon't import namespace of functionconfig.
- #6398 Added
timezoneparameter tohyperf/crontabcomponent. - #6402 Added
template_suffixconfiguration totwigengine.
- #6372 Fixed bug that AOP not working when using variadic parameters.
- #6374 Fixed bug that
RateLimitAnnotationAspect::getWeightingAnnotation()cannot work when using configrate_limit.storage. - #6384 Fixed bug that
scoutcannot work when using elasticsearch(which version is less than 7) without index.
- #6357 Support symfony 7.x for some components such as
commandconfigdevtooldiandserver. - #6373 Support
pingmethod forgrpc client. - #6379 Support to read custom attribute for validation when using swagger.
- #6380 Support collect swagger validation rules and attribute for mediaType request body.
- #6376 Don't need to close swoole short name when don't use swoole or don't require
hyperf/polyfill-coroutinecomponent.
- #6347 Fixed bug that the view function may add redundant content-type to header.
- #6352 Fixed bug that nacos config center cannot work when using grpc protocol.
- #6350 Fixed bug that the recv channel cannot be found, because
GrpcClient::runReceiveCoroutinewill unset streamId before recv method. - #6361 Fixed bug that
Hyperf\SocketIOServer\Emitter\Futurecannot be resolved. - #6369 Fixed bug that the main process did not handle the abnormal exit of the fork process.
- #6342 Added
Coroutine::fork()method andCoroutine::pid()method. - #6360 Added response
content-typeheader for swagger server. - #6363 Added callable type support to the fallback property of CircuitBreaker Attribute.
- Upgrade the php version to
>=8.1 - Upgrade the swoole version to
>=5.0 - Upgrade
hyperf/engineto^2.0 - Upgrade
phpunit/phpunitto^10.0
- Support Psr7Plus.
- Support pest.
- Added
hyperf/helpercomponent. - Added
hyperf/polyfill-coroutinecomponent. - #5815 Added alias as
mysqlforpdoinhyperf/db. - #5849 Support for insert update and select using enums.
- #5894 #5897 Added
model-factorysupport forhyperf/testing. - #5898 Added
toRawSql()to Query Builders. - #5906 Added
getRawQueryLog()to Database Connection. - #5915 Added
data_forgethelper. - #5914 Added
Str::isUrl()and use it from the validator. - #5918 Added
Arr::isList()method. - #5925 #5926 Allow model attributes to be casted to/from an Enum.
- #5930 #5934 Added
AsCommandannotation andClosureCommandsupport. - #5950 Added
Job::setMaxAttemptsmethod anddispatchhelper function forhyperf/async-queue. - #5967 Added component
hyperf/migration-generatorwhich used to generate migrations from databases. - #5983 #5985 Added
skipCacheResultsto annotations ofhyperf/cache. - #5994 Added
eventsofcrontablifecycle. - #6039 Support semantic crontab rules.
- #6082 Added
hyperf/stdlibcomponent. - #6085 Added an error count to the database connection to ensure that the connection can be reset when occur too many exceptions.
- #6106 Support some validation rules.
- #6124 Added
Hyperf\AsyncQueue\Job::fail(). - #6259 Support to use model builder as the column in
Hyperf\Database\Query\Builder\addSelect. - #6301 Improve storage switcher for rate-limit.
- #6338 Added config
processorsfor swagger.
- Move Prometheus driver dependency to suggest.
- #5586 Support grpc streaming for nacos naming service.
- #5866 Use
StrCacheinstead ofStrin special cases. - #5872 Avoid to execute the refresh callback more than once when calling
refresh()multi times. - #5879 #5878 Improve
Command. - #5901 Optimized code for identifer established by the rpc client that must contain a string,number or null if included.
- #5905 Forget with collections.
- #5917 Upgrade URL pattern for
Str::isUrl(). - #5920 add the
\Stringableinterface to classes that have__toString()method. - #5945 Don't sync config frequently when listen more than one namespace for apollo config center.
- #5948 Optimized
Hyperf\Coroutine\Locker. - #5960 Allowed set poolName in Annotation.
- #5972
Collection::except()with null returns all. - #5973 Simplified the handlers definition of logger.
- #6010 Throw exception when cast class is not existed.
- #6030 Support buffer mechanism in standalone process of metric.
- #6131 Throw invalid argument exception when the crontab task is
null. - #6172 Optimized
ProcessManagerto make therunningstatus more clear. - #6184 Set logger when using safe socket in coroutine style tcp server.
- #6247 Optimized code that you can get request from
BadRequestHttpException.
- Remove unused codes in
hyperf/utils. - Remove redundant
setAccessiblemethods. - Remove deprecated codes.
- #5813 Removed support for swoole 4.x
- #5859 Removed string cache from
Hyperf\Stringable\Str - #6040 Removed some deprecated methods from
Hyperf\Di\Annotation\AbstractAnnotation. - #6043 Removed deprecated
Hyperf\Coroutine\Traits\Container. - #6244 Removed deprecated component
swoole-tracker.
- Throw exceptions when the redis option key is invalid.
- #5847 Changed the default redis key for metric.
- #5943 Don't remove the node from load balancer of
json rpc http transporterwhen the status code isn't 200. - #5961 Using
enuminstead ofclassforHyperf\Amqp\ResultandHyperf\Amqp\Message\Type. - #6022 When using
Base62::decodeto decode the incorrect data, it should be thrownInvalidArgumentExceptioninstead ofTypeError. - #6128 When using multi-level directories for
hyperf/config, you can useconfig('a.c')to get the configurations fromautoload/a/c.php.
- #5771 Fixed bug that the return type of
Model::updateOrInsertisn't boolean. - #6033 Fixed bug that
RequestContextandResponseContextcannot get instance from another coroutines. - #6056 Fixed bug that
Hyperf\HttpServer\Request::hasFile()don't supportSwow. - #6260 Fixed bug that logger cannot work in
LoadBalancerInterface::refresh().
Hyperf\DB\PgSQL\PgSQLConnection::str_replace_oncewill be deprecated, please useHyperf\DB\PgSQL\PgSQLConnection::strReplaceOnceinstead.Hyperf\Database\PgSQL\PostgreSqlSwooleExtConnection::str_replace_oncewill be deprecated, please useHyperf\Database\PgSQL\PostgreSqlSwooleExtConnection::strReplaceOnceinstead.