Skip to content

v0.7.0

Compare
Choose a tag to compare
@rybakit rybakit released this 26 Mar 23:48
· 125 commits to master since this release
  • Added support for prepared statements (Tarantool 2.3.2+) (example)
  • Added generic Client::execute() method to execute dynamic SQL statements whose type (query or update) is unknown
  • Dropped nullable return type from SqlUpdateResult::getAutoincrementIds(), now it always returns an array
  • Dropped nullable return type from Connection::open(), now it always returns the Greeting object
  • Added unknown(), equals() and getServerVersion() to the Greeting class, removed getServerVersionId()
  • Added optional second argument $packer to Client::fromOptions() and Client::fromDsn()
  • Bumped rybakit/msgpack requirement to ^0.7, if ext-decimal extension is enabled, overflowed integers will now be automatically converted to Decimal\Decimal
  • Renamed bitwise methods in the Operations class, e.g. Operations::bitOr()Operations::bitwiseOr()
  • Added Keys::SQL_INFO_ROW_COUNT and Keys::SQL_INFO_AUTO_INCREMENT_IDS
  • Added Psalm, a static analysis tool for PHP
  • Added more tests and usage examples