mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-11-28 22:01:47 +03:00
Update the changelog
This commit is contained in:
parent
e40be85559
commit
01a5dd2ddc
17
CHANGELOG.md
17
CHANGELOG.md
@ -1,5 +1,22 @@
|
|||||||
# 1.7
|
# 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 to `SessionError`
|
||||||
|
- `QueryError` constructor got renamed to `QuerySessionError`
|
||||||
|
- New `PipelineSessionError` constructor got added to the `SessionError` type
|
||||||
|
- `ClientError` constructor got renamed to `ClientCommandError`
|
||||||
|
- `ResultError` constructor got renamed to `ResultCommandError`
|
||||||
|
- `ServerError` constructor got renamed to `ServerResultError`
|
||||||
|
- `UnexpectedResult` constructor got renamed to `UnexpectedResultError`
|
||||||
|
- `RowResult` constructor got renamed to `RowResultError`
|
||||||
|
- `RowError` type got renamed to `ColumnError`
|
||||||
|
- `EndOfInput` constructor got renamed to `EndOfInputColumnError`
|
||||||
|
- `UnexpectedNull` constructor got renamed to `UnexpectedNullColumnError`
|
||||||
|
- `ValueError` constructor got renamed to `UnexpectedNull`
|
||||||
|
- New `RowError` type got created
|
||||||
|
- `RowResult` constructor's column field go transferred into the new `RowError` type
|
||||||
|
|
||||||
- Decidable instance on `Encoders.Params` removed. It was useless and limited the design.
|
- Decidable instance on `Encoders.Params` removed. It was useless and limited the design.
|
||||||
|
|
||||||
# 1.6.3.1
|
# 1.6.3.1
|
||||||
|
Loading…
Reference in New Issue
Block a user