symfony/uid v7.x and bumped tarantool/phpunit-extras to v0.2.0PeclPackerMiddlewareHandler::create() method is replaced with MiddlewareHandler::prepend() and MiddlewareHandler::append()Client::withPrependedMiddleware() (see https://github.com/tarantool-php/client/issues/69)MiddlewareHandler::create() changed to:
- public static function create(Handler $handler, Middleware $middleware, Middleware ...$middlewares) : Handler
+ public static function create(Handler $handler, array $middleware, bool $prepend = false) : Handler
ClientException interface, all client exception classes now implement this interfaceRetryMiddleware:
ClientException interface) can be retriedbaseMs from 100 to 10)PhpUnitCompat traitSpyMiddlewareStreamConnection::close() to close persistent connections opened in a previous session to avoid potential issues with re-authenticationKeys::METADATA_FIELD_*) to work with the extended SQL result sets (can be enabled with SET SESSION "sql_full_metadata" = true)PurePacker::fromAvailableExtensions()Keys::ERROR to Keys::ERROR_24 (0x31), added Keys::ERROR (0x52) and error map keysStreamConnection::open() was returning null instead of the Greeting object, applied other minor improvements on StreamConnectionSqlQueryResult. Now you can access the elements of the resulting set using the array syntax, for example:
$result = $client->executeQuery(...);
var_dump($result[0], $result[1]);
Client::execute() method to execute dynamic SQL statements whose type (query or update) is unknownSqlUpdateResult::getAutoincrementIds(), now it always returns an arrayConnection::open(), now it always returns the Greeting objectunknown(), equals() and getServerVersion() to the Greeting class, removed getServerVersionId()$packer to Client::fromOptions() and Client::fromDsn()^0.7, if ext-decimal extension is enabled, overflowed integers will now be automatically converted to Decimal\DecimalOperations class, e.g. Operations::bitOr() → Operations::bitwiseOr()Keys::SQL_INFO_ROW_COUNT and Keys::SQL_INFO_AUTO_INCREMENT_IDSGreeting class into the Connection namespace, added Greeting::getServerVersionId()AuthMiddleware to AuthenticationMiddleware and optimized scramble calculationALL or EQ) automatically based on the key valueCriteria::[and|get]iteratorType to Criteria::[and|get]iteratorRetryMiddleware, stopped retrying on UnexpectedResponseClientException, UnpackingFailed and InvalidGreetingSchema\IndexIdsPurePackerphp 7.4.0RC5 to the test matrixFixed Client::fromDsn() to correctly parse the 'tcp_nodelay' option.
Tarantool\Client\Schema\Criteria::iteratorType()Tarantool\Client\Schema\Criteria::andIteratorType()Tarantool\Client\SqlQueryResult::isEmpty()Tarantool\Client\SqlQueryResult::getFirst()Tarantool\Client\SqlQueryResult::getLast()Tarantool\Client\SqlQueryResult::count()tcp_nodelay configuration option to StreamConnection (fixes #17)CALL commandAuthenticateRequest::__construct() signatureClient::getPacker()PeclLitePackerClient::getSpaceIdByName()SocketConnection with StreamConnectionTarantool\Client namespaceRequest::TYPE_ERROR constant to ResponseClient constructorIPROTO greeting messagesPurePacker constructorDeleteRequest/SelectRequest constructorsInitial release.
How can I help you explore Laravel packages today?