This document describes breaking changes and how to upgrade. For a
complete list of changes including minor and patch releases, please
refer to the CHANGELOG
.
- If you extend BaseApi or any of its children: StatsApi, SearchApi, IndexApi, ReindexApi, TaskApi or AliasApi; you might need to update your constructor as the BaseApi has a new
$client
parameter.
Drupal\wmsearch\Service\Indexer
(wmsearch.indexer
) is removed.Drupal\wmsearch\Service\Batch\IndexBatch
(wmsearch.batch.index
) is added as a replacement. The replacement is used inDrupal\wmsearch\Form\OverviewForm
and inDrupal\wmsearch\Commands\IndexCommands
- The main difference is that the new service indexes using Drupal batch, so update your code accordingly.