From d19e95329a2d61d324cbcaef1449af2a9db14906 Mon Sep 17 00:00:00 2001 From: florian <f.spreckelsen@inidscale.com> Date: Fri, 24 Jul 2020 18:01:29 +0200 Subject: [PATCH] DOC: Move changes to unreleased again --- CHANGELOG.md | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec8e1b45..f6465f2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,12 +9,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added ### +* New exceptions `HTTPAuthorizationException` and + `ResourceNotFoundException` for HTTP 403 and 404 errors, + respectively. + ### Changed ### +* Raising of entity exceptions and transaction errors. Whenever any + transaction fails, a `TransactionError` is raised. If one ore more + entities caused that failure, corresponding entity errors are + attached as direct and indirect children of the + `TransactionError`. They can be accessed via the `get_errors` + (direct children) and `get_all_errors` (direct and indirect + children) methods; the causing entities are accessed by + `get_entities` and `get_all_entities`. The `has_error` method can be + used to check whether a `TransactionError` was caused by a specific + `EntityError`. + ### Deprecated ### ### Removed ### +* Dynamic exception type `EntityMultiError`. + ### Fixed ### ### Security ### @@ -31,9 +48,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 `password_method == "auth_token"` the `auth_token` option is required as well. * Empty string support (See caosdb-server#33) -* New exceptions `HTTPAuthorizationException` and - `ResourceNotFoundException` for HTTP 403 and 404 errors, - respectively. ### Changed ### @@ -43,16 +57,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 setting the value with the setter and when the datatype changes. Before this change, the value was parsed to python types only when parsing an xml and only for int and float. -* Raising of entity exceptions and transaction errors. Whenever any - transaction fails, a `TransactionError` is raised. If one ore more - entities caused that failure, corresponding entity errors are - attached as direct and indirect children of the - `TransactionError`. They can be accessed via the `get_errors` - (direct children) and `get_all_errors` (direct and indirect - children) methods; the causing entities are accessed by - `get_entities` and `get_all_entities`. The `has_error` method can be - used to check whether a `TransactionError` was caused by a specific - `EntityError`. ### Deprecated ### @@ -64,8 +68,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed ### -* Dynamic exception type `EntityMultiError`. - ### Fixed ### - Replaced deprecated Logger.warn() method. -- GitLab