Discontinued
package:postgres
from ^3.0.0
supports connection pooling as part of the core
library. Development and advanced pooling support will be migrated to that package.
- Added
PgEndpoint.applicationName
to configure the name of the connections opened by the pool. ([#16)(#16) by davidmartos96)
- Fixed concurrent modifiction bug. (#14 by nick-llewellyn).
- Fixed API changes from
package:postgres
2.5.0.
- Added
PgEndpoint.isUnixSocket
. (9 by davidmartos96)
- Final null-safe release.
- Fixed public API changes from upstream
package:postgres
.
- Migration to null-safety.
- BREAKING CHANGE:
PgEndpoint
required fields:host
anddatabase
.
- More efficient way to close the pool.
BREAKING CHANGES: refactor to match package:cockroachdb_pool
's requirements.
- Renamed or refactored:
PgCallbackFn
->PgSessionFn
PgUrl
->PgEndpoint
useSecure
->requireSsl
PgPool
- Constructor parameters moved into
PgPoolSettings
, which allows tuning them while the pool is running. info()
->status()
- Constructor parameters moved into
PgPoolInfo
->PgPoolStatus
available
removed, useconnections
instead.active
->activeSessionCount
waiting
->pendingSessionCount
- Using
package:retry
.
- Only one connection is opened at a time.
- Randomized connection selection when multiple one is available. (Provides better distribution of queries, less overuse of single connection thread.)
- Generated
==
andhashCode
forPgUrl
. - Removed leftover debug
print
.
- Initial public release.