# Release notes v1.10.0

# Introduction

In this release we:

  • enabled configuration of cookie options in middleware.config.js file,
  • updated @vue-storefront/core and @vue-storefront/middleware to v2.7.5.

# Migration guide

To configure cookie options, you should modify your middleware.config.js file:

module.exports = {
  integrations: {
    ct: {
      location: '@vsf-enterprise/commercetools-api/server',
      configuration: {
+       cookie_options: { 
+         'vsf-commercetools-token': {
+           httpOnly: true,
+           secure: true,
+           sameSite: 'lax'
+         }
+       },
        api: {
          ...
        },
        serverApi: {
          ...
        },
        currency: 'USD',
        country: 'US',
        languageMap: {
          en: ['en', 'de'],
          de: ['de', 'en']
        }
      },
      ...
    }
  }
};

By default, all cookie options are set to the most secure ones:

{
  httpOnly: true,
  secure: true,
  sameSite: 'strict'
}

More information can be found in Localization and cookies guide.