Skip to content

2.0.0 Beta 1

Pre-release
Pre-release
Compare
Choose a tag to compare
@trowski trowski released this 17 Jul 17:33
v2.0.0-beta.1
446956d

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 Postgres as a prefix to interfaces and non-extension-specific classes.
  • Renamed ConnectionConfig to PostgresConfig
  • Removed TimeoutConnector in favor of DefaultPostgresConnector, which has a Cancellation parameter on connect() (use Amp\TimeoutCancellation with this parameter for similar behavior to TimeoutConnector)