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

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

## Migrate to 1.5.0

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

### Summary

* **DaSH in a separate starter**: `market-data-lib`, `market-data-config` and `market-data-spring-boot-starter` drop their DaSH dependency. `market-data-config` publishes each store as an Atoti `IStoreDescription` bean instead of a DaSH schema bean. The new `market-data-dash-spring-boot-starter` adds these stores to the application's DaSH configurator.

### Breaking changes

* An application that builds its datastore with DaSH replaces `market-data-spring-boot-starter` with `market-data-dash-spring-boot-starter`, in the module that builds the Spring Boot application:

  ```xml theme={"languages":{"custom":["/engine/python-sdk/6.2/languages/pycon.tmLanguage.json"]}}
  <dependency>
      <groupId>com.activeviam.apps.market-data</groupId>
      <artifactId>market-data-dash-spring-boot-starter</artifactId>
      <version>${atoti-market-data.version}</version>
  </dependency>
  ```

  The starter publishes a `MarketDataStoreSchema` bean for each store, which the application passes to its DaSH configurator with its other `IConfigurableSchema` beans. An application that imports the configuration classes instead of using auto-configuration publishes these beans itself, with `new MarketDataStoreSchema(storeDescription)`.

* The DaSH schema classes `CubeMarketDataStore`, `CurveMarketDataStore`, `FxRateMarketDataStore`, `SpotMarketDataStore` and `SurfaceMarketDataStore` have been removed. Code that injected one of these beans injects the store's `IStoreDescription` bean instead, by its bean name, and gets the store name from `getName()`:

  ```java theme={"languages":{"custom":["/engine/python-sdk/6.2/languages/pycon.tmLanguage.json"]}}
  @Bean
  public MyFxRateService myFxRateService(
          IDatabase database,
          @Qualifier("fxRateMarketDataStore") IStoreDescription fxRateStore) {
      return new MyFxRateService(database, fxRateStore.getName());
  }
  ```

  The beans are named `cubeMarketDataStore`, `curveMarketDataStore`, `fxRateMarketDataStore`, `spotMarketDataStore` and `surfaceMarketDataStore`. Code that built a store description outside Spring uses `MarketDataStoreDescriptions`.

* The market data stores reach the DaSH configurator already built, so DaSH changes to their fields or configuration (`appendField`, `insertField`, `removeField`, `updateField`, `addConfiguration`) are ignored. To change a store, publish an `IStoreDescription` bean under the store's bean name: it replaces the description that Atoti Market Data publishes.
