- Added support for varchar arrays. #39 by paschalisp.
- Support for clear text passwords using a boolean parameter in connection as 'allowClearTextPassword' to activate / deactivate the feature. #20.
- Include original stacktrace when query fails. (#15 by davidmartos96)
- Fix error when sending json data with
execute()#11
- Fix error when passing
allowReuse: nullintoquery()#8
- Support for type
interval, #10.
- Expose
ColumnDescription.typeId.
- Added support for types
varchar,point,integerArray,doubleArray,textArrayandjsonArray. (Thanks to schultek, #3)
- Finalized null-safe release.
- Fixing query API optional parameters.
- Updated public API to always return non-nullable results.
- BREAKING CHANGE: unknown mapped table name is no longer
null, it is empty string ('').
- 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