diff --git a/CHANGELOG.md b/CHANGELOG.md index ec8e1b45312e735e2669dfa1d8683e30abfdfe78..f6465f2f908184e5625716bcf66cb2614137ac8a 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.