Release v3.1.66
Added
- #7667 #7672 Added support for
client_countoption to create multiple gRPC clients with load balancing inhyperf/grpc-client. - #7668 Added the
$isCookiePersistentparameter toHyperf\Guzzle\PoolHandlerto enable persistent cookies. - #7670 Added
--pathoption to generator commands for specifying custom output locations. - #7684 Added method
Hyperf\Database\Schema\Builder::withoutForeignKeyConstraints(). - #7693 Added methods
cascadeOnDelete(),restrictOnDelete(),noActionOnDelete(),restrictOnUpdate(),nullOnUpdate(),noActionOnUpdate()forForeignKeyDefinition. - #7698 Added
Pool::flushAll()andPoolFactory::flushAll()methods to close all pool connections. - #7699 Added methods
whereJsonContainsKey(),orWhereJsonContainsKey(),whereJsonDoesntContainKey(),orWhereJsonDoesntContainKey()for Query Builder.
Optimized
- #7675 Removed redundant timer cleanup code from metric listeners since the Timer component now handles cleanup automatically.
- #7687 Optimized handling of
ValidationExceptionin JSON-RPC core middleware to properly returnINVALID_PARAMSerror responses.
Fixed
- #7669 Fix PostgreSQL boolean handling for emulated prepares and raw SQL.
- #7682 Fixed incorrect return type for
Blueprint::foreign()which caused static analysis errors when chainingreferences(),on(), etc.
New Contributors
- @L4ZARIN3 made their first contribution in https://github.com/hyperf/hyperf/pull/7674
Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.65...v3.1.66