> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Release notes and changelog

> [!NOTE]
>
> For information on upgrading from previous versions, see the
> [Atoti What-If Migration Notes](https://docs.activeviam.com/solutions/libraries/what-if/5.0/dev/dev-release/previous-versions/2.1/migrate-2.1.md).

**2.1.2-AS6.0**

2023-09-22

### Summary

* **Common Parent POM and Common Dependencies BOM upgrade**: The Common Parent POM and Common Dependencies BOM have been upgraded to 1.2.0.
* **Spring Boot upgrade**: Spring Boot has been upgraded to 2.7.16.
* **Spring Security upgrade**: Spring Security has been upgraded to 5.8.7.

### Dependency versions

<table><thead><tr><th>Component</th><th>Version</th></tr></thead><tbody><tr><td>[Atoti Server](https://docs.activeviam.com/products/atoti/server/6.0.5/)</td><td>6.0.5</td></tr><tr><td>Common Dependencies BOM</td><td>1.2.0 (com.activeviam.apps)</td></tr><tr><td>Common Parent POM</td><td>1.2.0 (com.activeviam.apps)</td></tr><tr><td>Java</td><td>JDK11</td></tr></tbody></table>

### Changed

<table><thead><tr><th>Issue Key</th><th>Details</th></tr></thead><tbody><tr><td>[GENACL-1004](https://activeviam.atlassian.net/browse/GENACL-1004)</td><td>Upgraded to Common Parent POM 1.2.0 and Common Dependencies BOM 1.2.0 to upgrade to Spring Boot 2.7.16 and Spring Security 5.8.7.</td></tr></tbody></table>

**2.1.1-AS6.0**

2023-08-17

### Summary

* **Distribution synchronization fix**: The `RestDistributedDatabaseService` now waits for cluster notifications between all operations that trigger a cluster update.
* **Query pagination temporary fix**: All `JsonDatabaseQuery` queries generated internally now set the page size to `Integer.MAX_VALUE - 100000` to minimize the potential for missing rows due to pagination.

### Dependency versions

<table><thead><tr><th>Component</th><th>Version</th></tr></thead><tbody><tr><td>[Atoti Server](https://docs.activeviam.com/products/atoti/server/6.0.5/)</td><td>6.0.5</td></tr><tr><td>Common Dependencies BOM</td><td>1.1.0 (com.activeviam.apps)</td></tr><tr><td>Common Parent POM</td><td>1.1.0 (com.activeviam.apps)</td></tr><tr><td>Java</td><td>JDK11</td></tr></tbody></table>

### Distribution synchronization fix

Distributed datastore operations could result in synchronization issues if cluster updates were in progress when the next operation was started. The `RestDistributedDatabaseService` now waits for cluster notifications whenever this is the case.

### Query pagination temporary fix

The default query pagination sets a page size of 20 rows. Subsequent pages were ignored by the What-if library. As a temporary fix, all `JsonDatabaseQuery` queries generated internally now set the page size to `Integer.MAX_VALUE - 100000`.

**2.1.0-AS6.0**

2023-07-27

### Summary

* **Atoti Server 6.0.5 upgrade**: Updated the Atoti Server dependency to 6.0.5, Common Parent POM to 1.1.0 and Common Dependencies BOM to 1.1.0.
* **Added field index retrieval to provided utilities**: A method to retrieve table fields and their indexes is now available in `DatabaseSimulationsUtils`.
* **Removed DatabaseSimulationsUtils.MASTER\_BRANCH constant**: The `DatabaseSimulationsUtils.MASTER_BRANCH` constant has been removed.
* **Added DatabaseSimulationsRestService to Spring versions endpoint**: `DatabaseSimulationsRestService` now extends `ASpringVersionedRestServerConfig`

### Dependency versions

<table><thead><tr><th>Component</th><th>Version</th></tr></thead><tbody><tr><td>[Atoti Server](https://docs.activeviam.com/products/atoti/server/6.0.5/)</td><td>6.0.5</td></tr><tr><td>Common Dependencies BOM</td><td>1.1.0 (com.activeviam.apps)</td></tr><tr><td>Common Parent POM</td><td>1.1.0 (com.activeviam.apps)</td></tr><tr><td>Java</td><td>JDK11</td></tr></tbody></table>

### Added `DatabaseSimulationsRestService` to Spring versions endpoint

`/version` endpoint which returned the WhatIf module version inside of `DatabaseSimulationsRestService` has been marked
deprecated now that we extend `ASpringVersionedRestServerConfig`. Extending this class exposes our endpoint in the
spring versions endpoint. It is recommended that each WhatIf REST service is exposed in the versions endpoint in a
similar way. The version in the versions endpoint is 2.

### Changed

<table><thead><tr><th>Issue Key</th><th>Details</th></tr></thead><tbody><tr><td>[GENACL-954](https://activeviam.atlassian.net/browse/GENACL-954)</td><td>Upgraded to AS 6.0.5, Common Parent POM 1.1.0 and Common Dependencies BOM 1.1.0 to synchronize third party dependencies.</td></tr><tr><td>[PST-947](https://activeviam.atlassian.net/browse/PST-947) /[BAS-1396](https://activeviam.atlassian.net/browse/BAS-1396)</td><td>Fixed branch permissions check to allow creating new branches from within the simulations workflow.</td></tr><tr><td>[PST-948](https://activeviam.atlassian.net/browse/PST-948) /[BAS-1398](https://activeviam.atlassian.net/browse/BAS-1398)</td><td>Added a `Map<String, Integer> getFieldIndexes(String table)` method to the `DatabaseSimulationsUtils` utility class.</td></tr><tr><td>[PST-949](https://activeviam.atlassian.net/browse/PST-949) /[BAS-1391](https://activeviam.atlassian.net/browse/BAS-1391)</td><td>Removed the `DatabaseSiomulationsUtils.MASTER_BRANCH` constant.</td></tr><tr><td>[PST-950](https://activeviam.atlassian.net/browse/PST-950)</td><td>Added `DatabaseSimulationsRestService` to Spring versions endpoint.</td></tr></tbody></table>
