Skip to content

Releases: amphp/sql-common

2.0.0 Beta 5

07 May 14:43
v2.0.0-beta.5
aeab5d7

Choose a tag to compare

2.0.0 Beta 5 Pre-release
Pre-release
  • Fixed PooledStatement not releasing the underlying statement immediately when closed.
  • Next result is fetched immediately in PooledResult if the result is an instance of CommandResult to allow freeing the backing connection sooner.
  • Changed CommandResult to be abstract — this class should be extended in extending libraries so PooledResult can detect if the result can be freed immediately.

2.0.0 Beta 4

01 May 22:56
v2.0.0-beta.4
d123ecd

Choose a tag to compare

2.0.0 Beta 4 Pre-release
Pre-release
  • Added NestableTransaction and NestedTransaction which can be used to wrap an existing Transaction into a Link interface object, which can then create a "nested" transaction using savepoints.

1.1.4

06 Jan 04:33
v1.1.4
6ed5b96

Choose a tag to compare

  • Fixed potential double deferred resolve when a connection pool is full.

2.0.0 Beta 3

18 Dec 23:12
v2.0.0-beta.3
9fef16b

Choose a tag to compare

2.0.0 Beta 3 Pre-release
Pre-release

2.0.0 Beta 2

23 Sep 19:28
v2.0.0-beta.2
77b1745

Choose a tag to compare

2.0.0 Beta 2 Pre-release
Pre-release
  • Fix Operation is no longer pending error

2.0.0 Beta 1

17 Jul 16:46
v2.0.0-beta.1
0ee4d1a

Choose a tag to compare

2.0.0 Beta 1 Pre-release
Pre-release

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 PooledResultSet to PooledResult
  • createResultSet() methods renamed to createResult()
  • Renamed RetryConnector to RetrySqlConnector
  • Added CommandResult class

1.1.3

22 Feb 23:59
cab5f25

Choose a tag to compare

  • Fix destructor of PooledTransaction calling close() instead of the internal release callback. This had the side-effect of potentially committing a destroyed transaction, which was certainly not the intended behavior of a destructor.

1.1.2

13 Nov 16:52
1c3b869

Choose a tag to compare

  • Improved shrinking of connection pools after temporary surge in pool size (#3)

1.1.1

04 Mar 18:21
6bd462b

Choose a tag to compare

  • Simultaneous connection creation is now prevented in ConnectionPool. Attempting to create many connections simultaneously was causing unresponsive connection attempts with amphp/postgres, PHP 7.4, and Postgres 12. Each connection attempt now waits for any prior connection attempts to complete.

1.1.0

03 Mar 16:04
57e38b6

Choose a tag to compare

  • Added RetryConnector that will attempt to connect a given number of times before failing.