From 01a5dd2ddcde96198e47a8dc959a9390aeefc839 Mon Sep 17 00:00:00 2001 From: Nikita Volkov Date: Sat, 27 Apr 2024 19:44:12 +0300 Subject: [PATCH] Update the changelog --- CHANGELOG.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73f6ac7..9af9957 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # 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. # 1.6.3.1