Some hard decisions to make
After we released Sulu 2.0 last October we tried to work on the compatibility of our non-core bundles, but this was a really hard job. All strategic and technical decisions of the last 2,5 years had to be considered in one way or the other for each bundle. We had to ask ourselves:
- which feature is important?
- which feature we might drop?
- which version of the dependencies do we want to support?
Let me discuss some of these topics in this blog post.
Abandoning the Multi-Page feature
One quite powerful but also niche feature in 1.0 was the Multi-Page capability, which allows to create and manage multiple pages per article. This feature was developed for a publishing house and allowed them to split bigger articles into smaller pieces, with the aim to receive more interactions from the end-user while reading the article.
But times have changed since, and the importance of this feature decreased. Hence, we dropped it, and there is no UI to manage multi-page articles anymore, but the backend-code is still there, with the plan to remove it in version 3.0.
Supported ElasticSearch versions
The decision which versions of Elasticsearch to support was hard because of third-party dependency (ongr/elasticsearch-bundle) and also due to some major BC breaks Elasticsearch has made in the last 3 Versions (5.x, 6.x and 7.x). Generally, we are only able to support a limited amount of versions at the same time.
In the SuluArticleBundle 1.1 version we have decided to drop ^2.2 support of Elasticsearch and support ^5.0 and ^6.0. For the new release we have followed this strategy - so we kept these dependencies and do not support ^7.0 at the moment.
Your feedback is important
If you don't agree with these decisions (maybe you're still using the Multi-Page feature?!), please give us some feedback. We have intentionally kept some of the code, in order to be able to quickly reintroduce it in case our community requests it.
Stay tuned to hear more about our other bundles that will be compatible with Sulu 2.0 in the near future.