Releases: amphp/sql-common
Releases · amphp/sql-common
2.0.0 Beta 5
- Fixed
PooledStatementnot releasing the underlying statement immediately when closed. - Next result is fetched immediately in
PooledResultif the result is an instance ofCommandResultto allow freeing the backing connection sooner. - Changed
CommandResultto be abstract — this class should be extended in extending libraries soPooledResultcan detect if the result can be freed immediately.
2.0.0 Beta 4
- Added
NestableTransactionandNestedTransactionwhich can be used to wrap an existingTransactioninto aLinkinterface object, which can then create a "nested" transaction using savepoints.
1.1.4
2.0.0 Beta 3
- Compatibility with
Result::fetchRow()added inamphp/sql@2.0.0-beta.3
2.0.0 Beta 2
- Fix
Operation is no longer pendingerror
2.0.0 Beta 1
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.
- Added template types based on those in
amphp/sql - Renamed
PooledResultSettoPooledResult createResultSet()methods renamed tocreateResult()- Renamed
RetryConnectortoRetrySqlConnector - Added
CommandResultclass
1.1.3
1.1.2
1.1.1
- Simultaneous connection creation is now prevented in
ConnectionPool. Attempting to create many connections simultaneously was causing unresponsive connection attempts withamphp/postgres, PHP 7.4, and Postgres 12. Each connection attempt now waits for any prior connection attempts to complete.