- 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: null
intoquery()
#8
- Support for type
interval
, #10.
- Expose
ColumnDescription.typeId
.
- Added support for types
varchar
,point
,integerArray
,doubleArray
,textArray
andjsonArray
. (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.current
use, which no longer returnsnull
in 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:pedantic
and additional lints. - Updated codebase to Dart 2.2.
PostgreSQLResult
andPostgreSQLResultRow
as the return value of a query.- Returned lists are protected with
UnmodifiableListView
. - Exposing column metadata through
ColumnDescription
. - row-level
toTableColumnMap
andtoColumnMap
- Returned lists are protected with
PostgreSQLConnection
and_TransactionProxy
share 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
UUID
columns.
- Preserve error stacktrace on various query or transaction errors.
- Read support for
BYTEA
columns.
- Adds
Connection.mappedResultsQuery
to return query results as aMap
with keys for table and column names.
- Adds
Connection.notifications
to listen forNOTIFY
events (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