2024-04-21 06:25:01 +03:00
|
|
|
# 1.7
|
|
|
|
|
2024-04-27 19:44:12 +03:00
|
|
|
- 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`
|
2024-04-27 20:59:11 +03:00
|
|
|
- `RowError` constructor got renamed to `RowResultError`
|
2024-04-27 19:44:12 +03:00
|
|
|
- `RowError` type got renamed to `ColumnError`
|
|
|
|
- `EndOfInput` constructor got renamed to `EndOfInputColumnError`
|
|
|
|
- `UnexpectedNull` constructor got renamed to `UnexpectedNullColumnError`
|
2024-04-27 20:59:11 +03:00
|
|
|
- `ValueError` constructor got renamed to `ValueColumnError`
|
2024-04-27 19:44:12 +03:00
|
|
|
- New `RowError` type got created
|
|
|
|
- `RowResult` constructor's column field go transferred into the new `RowError` type
|
|
|
|
|
2024-04-21 06:25:01 +03:00
|
|
|
- Decidable instance on `Encoders.Params` removed. It was useless and limited the design.
|
|
|
|
|
2023-07-31 13:03:13 +03:00
|
|
|
# 1.6.3.1
|
|
|
|
|
|
|
|
- Moved to "postgresql-libpq-0.10"
|
|
|
|
|
2022-11-21 23:22:45 +03:00
|
|
|
# 1.6.3
|
|
|
|
|
|
|
|
- Added `unknownEnum` encoder
|
|
|
|
|
2022-10-18 15:05:31 +03:00
|
|
|
# 1.6.2
|
|
|
|
|
|
|
|
- Added composite encoder
|
|
|
|
- Added `oid` and `name` encoders
|
|
|
|
|
2022-09-07 21:53:39 +03:00
|
|
|
# 1.6.1
|
|
|
|
|
|
|
|
- Added `jsonLazyBytes` and `jsonbLazyBytes`
|
|
|
|
|
2022-07-20 22:47:12 +03:00
|
|
|
# 1.6
|
|
|
|
|
|
|
|
- Added position to `ServerError` (breaking change).
|
2022-07-20 22:56:43 +03:00
|
|
|
- Disabled failure on empty query.
|
2022-07-20 22:47:12 +03:00
|
|
|
|
2022-01-03 16:36:39 +03:00
|
|
|
# 1.5
|
|
|
|
|
|
|
|
- Added column number to `RowError` (breaking change).
|
|
|
|
- Added `MonadReader Connection` instance for Session.
|