For the list of issues covered in this release, see the Changelog.
For information on upgrading from previous versions, see the
Migration notes.
Summary
ImprovementsImprovements
Change to interactions with database services
If a simulation does not define any changes to be made to a database, the simulation engine will no longer forward that simulation to database services. This allows so-called no-op simulations to complete successfully regardless of theIDatabaseService implementation.Summary
New featuresNew features
Exception Handling Cleanup
This release introduces theDatabaseSimulationsRestServiceExceptionHandlerController, which handles ActiveViamSimulationException and ActiveViamDeletionException, converting them to ProblemDetails.Exceptions ActiveViamDeletionException, ActiveViamSimulationException, ActiveViamUnauthorizedException, ActiveViamUnknownSimulationException have been moved to the package com.activeviam.tools.whatif.rest and now all extend ServiceException.
You can add a handler for ServiceException in your own controller advice to handle all these exceptions in a uniform way.SpringDatabaseSimulationsSecurityManager no longer throws generic ActiveViamRuntimeExceptions but rather one of the appropriate exceptions above.Summary
New featuresNew features
A new branch permissions manager
This release adds theAdminBranchPermissionsManager, an implementation of IBranchPermissionsManager that adds Administrator-level roles as owners for every created branch. This ensures that administrators have the necessary permissions to manage branches effectively.Summary
ImprovementsImprovements
Simulation and branch permissions
This release improves user authorization for simulation and branch management. See Permissioning for more information.Error handling
This release improves error handling in theRestDistributedDatabaseService to provide more informative exceptions when operations on distributed nodes fail.