Skip to content

3.0.0 Beta 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@trowski trowski released this 17 Jul 18:24
v3.0.0-beta.1
b441a1f

Initial release compatible with AMPHP v3.

As with other libraries compatible with AMPHP v3, most cases of parameters or returns of Promise<ResolutionType> have been replaced with ResolutionType.

  • Marked most classes as internal, leaving only interfaces and concrete implementations required to use the API or create a custom connector.
  • Added Mysql as a prefix to interfaces and classes
  • Renamed ConnectionConfig to MysqlConfig
  • MysqlDataType (formerly DataType) is now an enum
  • Combined ResultSet and CommandResult into a single interface, MysqlResult
  • Added MysqlConnector interface, renamed CancellableConnector to SocketMysqlConnector
  • Result::getColumnDefinitions() returns a list of MysqlColumnDefinition objects instead of a list of associative arrays.
  • Removed TransactionError, using the base class in amphp/sql instead