diff --git a/CHANGELOG.md b/CHANGELOG.md index aa52d2b98fef19a8b1daffde3fb76e9107b6fa13..9ee3c3586733d9c9ac713ee671a999762033fdcf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,9 @@ 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 ### @@ -24,6 +27,16 @@ 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 ### @@ -35,6 +48,8 @@ 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.