Releases: amphp/postgres
Releases · amphp/postgres
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.
- Marked most classes as internal, leaving only interfaces and concrete implementations required to use the API or create a custom connector.
- Added
Postgresas a prefix to interfaces and non-extension-specific classes. - Renamed
ConnectionConfigtoPostgresConfig - Removed
TimeoutConnectorin favor ofDefaultPostgresConnector, which has aCancellationparameter onconnect()(useAmp\TimeoutCancellationwith this parameter for similar behavior toTimeoutConnector)
1.4.3
1.4.2
1.4.1
- Fixed type table caching for ext-pgsql.
- Fixed
another command is already in progresserrors being emitted from the ext-pq driver that could happen during periods of heavy load. (#41, #44) - Fixed an issue with the ext-pgsql driver where if a result was not consumed before a transaction was committed that a PHP notice would be issued about unconsumed results. (#23)
- Fixed simultaneous statement allocation and deallocation which could cause a statement to subsequently not be found on a connection. (#38)
1.4.0
Improved automatic type casting and parsing of array types in the ext-pgsql driver to cover all possible built-in and custom types by querying the server for all type definitions and casting/parsing based on those definitions. Types are cached on the client based on the combination of host, port, and username.
1.3.3
1.3.2
1.3.1
1.3.0
- Added
sslmodeto the available connection configuration options. See https://www.postgresql.org/docs/current/libpq-ssl.html for possible modes. - Fixed an issue where a query resulting in an error may cause the next query to fail due to the connection being "busy" when using
ext-pq. - Fixed providing the SQL query string to the exception when throwing a
QueryExecutionError.