- Supporting Unix socket connections. (Thanks to grillbiff, #124)
- Preparation for custom type converters.
- Added rowsAffected to PostgreSQLResult. (Thanks to arturaz, #143)
- Fix
RuneIterator.currentuse, which no longer returnsnullin 2.8 SDK.
- Missing substitution value no longer throws
FormatException. More details in the GitHub issue.
- Fixed startup packet length when username is null (#111).
- Finalized dev release.
- Restricted field access on [PostgreSQLConnection].
- Connection-level default query timeout.
- Option to specify timeout for the transaction's
"COMMIT"query. - Optimized byte buffer parsing and construction with
package:buffer. - Hardened codebase with
package:pedanticand additional lints. - Updated codebase to Dart 2.2.
PostgreSQLResultandPostgreSQLResultRowas the return value of a query.- Returned lists are protected with
UnmodifiableListView. - Exposing column metadata through
ColumnDescription. - row-level
toTableColumnMapandtoColumnMap
- Returned lists are protected with
PostgreSQLConnectionand_TransactionProxyshare the OID cache.- default value for
query(allowReuse = true)is set only in the implementation method.
Breaking behaviour
- Table OIDs are always resolved to table names (and not only with mapped queries).
- Add connection queue size
- Prevent the table name resolution of OIDs <= 0.
- Adds support for Dart 2
- Add full support for
UUIDcolumns.
- Preserve error stacktrace on various query or transaction errors.
- Read support for
BYTEAcolumns.
- Adds
Connection.mappedResultsQueryto return query results as aMapwith keys for table and column names.
- Adds
Connection.notificationsto listen forNOTIFYevents (thanks @andrewst) - Adds better error reporting.
- Adds support for JSONB columns.
- Fixes issue when encoding UTF16 characters (thanks @andrewst)
- Allow connect via SSL.
- Fixed issue with buffer length
- Fixed issue with UTF8 encoding
- Bump for documentation
- Added transactions: PostgreSQLConnection.transaction and PostgreSQLConnection.cancelTransaction.
- Initial version