Install
Works with Drupal: ^11.3 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
93.28 KB
MD5: b079b03c62c99d9e8f7a1bbb3d2a477f
SHA-1: 504b5ae7998f490e2d972280c658be4ba18c7f85
SHA-256: f1b99205a19e2fef3a6751aff56e65edd9196e350ba00d6bd399ba75c5f9e4c3
Download zip
138.68 KB
MD5: d69f1430b57e147838bc778605bee46d
SHA-1: f0992fc899ef0d2fc35e37d765032801946bfb5d
SHA-256: 57f8a854b36b992d4b0af55e0086252e546d3109bcb593904ea489d803ba67f7
Release notes
4.0.0-alpha1
This is the first alpha release of the 4.0 branch. It introduces a major
architectural overhaul. Do not use on production. Feedback
and bug reports are welcome.
Breaking changes
- Content type indexing has been moved out of the main
index_nowmodule into dedicated sub-modules. You must enable
the sub-modules you need:index_now_node— nodesindex_now_taxonomy— taxonomy termsindex_now_commerce_product— Drupal Commerce productsindex_now_commerce_store— Drupal Commerce stores
- The
index_now_commercemodule is deprecated and blocked from
new installs. Existing installations must migrate — see the upgrade path
below. - The API key override setting has changed from
$config['index_now.settings']['api_key']to
$settings['index_now']['api_key'].
New features
- Added
hook_index_now_url_alter(string &$url, array $context)
to allow modules to alter the URL submitted to search engines. The
$contextarray exposes the entity that triggered the ping
(when available), enabling complex URL transformations for headless CMS
setups. - Added
hook_index_now_key_location_url_alter(string &$key_location)
to allow modules to alter the API key verification file URL. - Added
$settings['index_now.base_url']to submit URLs under
a custom domain (headless CMS use case). - Drupal 12 compatibility.
Upgrade path from 3.x
See the UPGRADE PATH section of the README for the full step-by-step
procedure. In summary:
- Enable the sub-modules you need before running database updates.
- Run
drush updatedbto migrate existing configuration. - Uninstall
index_now_commerceif it was enabled. - Export your configuration.
Known limitations
- The
index_now_commerce_productand
index_now_commerce_storesub-modules have not yet been tested
on Drupal 12, pending Drupal Commerce compatibility.