> ## 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.

# Migration notes 1.4

This page explains the changes required to migrate to the stated version of the Atoti Market Data.

## Migrate to 1.4.0

Upgrading from Atoti Market Data 1.3.3 - See [Atoti Market Data 1.3.3 Release Notes](https://docs.activeviam.com/solutions/libraries/market-data/1.4/dev-release/release-notes.md#1-3-3).

### Summary

* **Upgrade to Atoti Server 6.2**: Atoti Market Data has been upgraded from Atoti Server 6.1.9 to Atoti Server 6.2.2, which moves the platform to **Java 25** and **Spring Boot 4**. Migrate the application to Atoti Server 6.2 first, as described in the [Atoti Server 6.2 migration notes](https://docs.activeviam.com/engine/java-sdk/6.2/release/migration_notes.md).
* **Secondary indexes on DirectQuery caches**: The `Curve` and `Surface` DirectQuery local caches now declare secondary indexes that mirror their in-memory counterparts, improving query performance.
* **Removed deprecated `CacheSlice` API**: The internal `CacheSlice` record and the two deprecated `protected` methods on `ADirectQueryCachingMarketDataPostProcessor` have been removed.
* **Renamed and removed API**: `VolatilityToVarianceTranformation` has been renamed `VolatilityToVarianceTransformation`, and the deprecated constant `MarketDataConstants.STORE_DATE_FIELD_FORMAT` has been removed.

### Dependency versions

The following table compares the main dependencies of the two versions:

| Component | 1.3.3 | 1.4.0 |
| - | - | - |
| Atoti Server | 6.1.9 | 6.2.2 |
| Java | 21 | 25 |
| Spring Boot | 3.2.12 | 4.1.1 |

### Breaking changes

* **Java 25 is now required** (previously Java 21).
* **Spring Boot 4 is now required**: Atoti Server 6.2 is built on Spring Boot 4, so consuming applications must also run on Spring Boot 4.
* The internal class `com.activeviam.marketdata.lib.internal.cache.CacheSlice` has been removed. It was deprecated since 1.3.2 and superseded by `com.activeviam.directquery.api.cache.CachePartition`.
* The two deprecated `protected` methods on `ADirectQueryCachingMarketDataPostProcessor` have been removed: `getCacheSlice(ILocation, ICubeFilter)` and `cacheSliceFromLocation(ILocation, String)`. If a consuming project overrides either method, replace it with an override of `getConverter(Properties)` that returns an `ILocationToCachePartitionConverter`, typically a `BestEffortLocationToCachePartitionConverter` built from the partitioning levels.
* The class `com.activeviam.marketdata.lib.interpolation.transformation.impl.VolatilityToVarianceTranformation` has been renamed `VolatilityToVarianceTransformation`, in the same package.
* The constant `MarketDataConstants.STORE_DATE_FIELD_FORMAT` has been removed. It was deprecated since 1.3.1 and superseded by `ILiteralType.LOCAL_DATE`.
