File tree 3 files changed +8
-2
lines changed 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 3.5.5
4
+
5
+ - Better exception message when SSL is not supported.
6
+
3
7
## 3.5.4
4
8
5
9
** Warning** : This version fixes the inconsistency of ` 3.5.3 ` by:
Original file line number Diff line number Diff line change @@ -343,7 +343,9 @@ class PgConnectionImplementation extends _PgSessionBase implements Connection {
343
343
adaptedStream = socket;
344
344
} else {
345
345
// This server does not support SSL
346
- throw PgException ('Server does not support SSL, but it was required.' );
346
+ throw PgException (
347
+ 'Server does not support SSL, but it was required (default configuration). '
348
+ 'To disable secure connections, use `ConnectionSettings(sslMode: SslMode.disable)`.' );
347
349
}
348
350
} else {
349
351
// We've listened to the stream already and sockets are single-subscription
Original file line number Diff line number Diff line change 1
1
name : postgres
2
2
description : PostgreSQL database driver. Supports binary protocol, connection pooling and statement reuse.
3
- version : 3.5.4
3
+ version : 3.5.5
4
4
homepage : https://github.com/isoos/postgresql-dart
5
5
topics :
6
6
- sql
You can’t perform that action at this time.
0 commit comments