diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fbc3c4..0b0b7d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 3.4.5 + +- `close(force: true)` to indicate intent to force-close pending queries and resources. [#396](https://github.com/isoos/postgresql-dart/pull/396) by [davidmartos96](https://github.com/davidmartos96) + ## 3.4.4 - Fix: explicit closing of prepared statement portals in transactions to release table locks. [#393](https://github.com/isoos/postgresql-dart/pull/393) diff --git a/lib/postgres.dart b/lib/postgres.dart index ad751e4..99b1602 100644 --- a/lib/postgres.dart +++ b/lib/postgres.dart @@ -209,6 +209,7 @@ abstract class SessionExecutor { /// Closes this session, cleaning up resources and forbiding further calls to /// [prepare] and [execute]. + /// /// If [force] is set to true, the session will be closed immediately, instead /// of waiting for any pending queries to finish. Future close({bool force = false}); diff --git a/pubspec.yaml b/pubspec.yaml index 59d6400..2b35dca 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: postgres description: PostgreSQL database driver. Supports statement reuse and binary protocol and connection pooling. -version: 3.4.4 +version: 3.4.5 homepage: https://github.com/isoos/postgresql-dart topics: - sql