diff --git a/UPGRADE.md b/UPGRADE.md index 695204ee2..08d84c4e0 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1,5 +1,28 @@ # Upgrade +## 1.2.0 + +We now use an own fork of the elasticsearch packages to provide Elasticsearch 7 support. +For upgrading you can use the following commands: + +```bash +# Remove ongr packages: +composer remove ongr/elasticsearch-bundle --no-update +composer remove ongr/elasticsearch-dsl --no-update + +# Use your matching elasticsearch version here ( ^5, ^6 or ^7 ): +composer require elasticsearch/elasticsearch:”^7” --no-update + +# Update article bundle to newest version: +composer require sulu/article-bundle:”^1.2” --with-dependencies + +# Reindex your articles when upgrading elasticsearch version: +bin/adminconsole ongr:es:index:create --manager default +bin/adminconsole ongr:es:index:create --manager live +bin/adminconsole sulu:article:reindex +bin/websiteconsole sulu:article:reindex +``` + ## 1.1.1 New security-contexts have been created per article type.