Added
- #366 Added
Hyperf\Server\Listener\InitProcessTitleListenerto init th process name, also addedHyperf\Framework\Event\OnStartandHyperf\Framework\Event\OnManagerStartevents. - #389 Added Snowflake component.
Fixed
- #361 Fixed command
db:modeldoes not works inMySQL 8. - #369 Fixed the exception which implemented
\Serializable, callserialize()andunserialize()functions failed. - #384 Fixed the
ExceptionHandlerthat user defined does not works, because the framework has handled the exception automatically. - #370 Fixed set the error type client to
Hyperf\GrpcClient\BaseClient, and added default content-typeapplication/grpc+prototo the Request object, also allows the grpc client that user-defined to override thebuildRequest()method to create a new Request object.
Changed
- #356 #390 Optimized aysnc-queue when push a job that implemented
Hyperf\Contract\CompressInterface, will compress the job to a small object automatically. - #358 Only write the annotation cache file when
$enableCacheistrue. - #359 #390 Added compression ability for
CollectionandModel, if the object implementedHyperf\Contract\CompressInterface, then the object could compress to a small one by callcompressmethod.