Skip to content

Commit

Permalink
Merge branch 'master' into feat/abort_conn_pool
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmartos96 authored Dec 15, 2024
2 parents a7bfb3a + d3f0a16 commit 4d6c20b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
1 change: 1 addition & 0 deletions lib/postgres.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<void> close({bool force = false});
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 4d6c20b

Please sign in to comment.