mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-11-22 01:52:45 +03:00
1.6 KiB
1.6 KiB
1.7
-
Error model completely revised:
- All sum-types now follow the convention of having constructors suffixed with the type name. In particular the following transformations occurred:
QueryError
type got renamed toSessionError
QueryError
constructor got renamed toQuerySessionError
- New
PipelineSessionError
constructor got added to theSessionError
type ClientError
constructor got renamed toClientCommandError
ResultError
constructor got renamed toResultCommandError
ServerError
constructor got renamed toServerResultError
UnexpectedResult
constructor got renamed toUnexpectedResultError
RowResult
constructor got renamed toRowResultError
RowError
type got renamed toColumnError
EndOfInput
constructor got renamed toEndOfInputColumnError
UnexpectedNull
constructor got renamed toUnexpectedNullColumnError
ValueError
constructor got renamed toUnexpectedNull
- New
RowError
type got created RowResult
constructor's column field go transferred into the newRowError
type
- All sum-types now follow the convention of having constructors suffixed with the type name. In particular the following transformations occurred:
-
Decidable instance on
Encoders.Params
removed. It was useless and limited the design.
1.6.3.1
- Moved to "postgresql-libpq-0.10"
1.6.3
- Added
unknownEnum
encoder
1.6.2
- Added composite encoder
- Added
oid
andname
encoders
1.6.1
- Added
jsonLazyBytes
andjsonbLazyBytes
1.6
- Added position to
ServerError
(breaking change). - Disabled failure on empty query.
1.5
- Added column number to
RowError
(breaking change). - Added
MonadReader Connection
instance for Session.