Skip to content

Releases: 10up/ElasticPress

Version 4.2.1

28 Jun 17:26
Compare
Choose a tag to compare

This is a bug fix release.

Added

Changed

Fixed

See: https://github.com/10up/ElasticPress/milestone/65?closed=1

Version 4.2.0

26 May 12:33
Compare
Choose a tag to compare

ElasticPress 4.2.0 fixes some bugs and introduces some new and exciting changes.

The sync functionality had its JavaScript refactored. Timeouts, memory limits, and general errors are now properly handled and do not make the sync get stuck when performed via the WP-CLI index command. There is also a new get-last-sync WP-CLI command to check the errors and numbers from the last sync.

We've improved the admin search experience for sites using both WooCommerce and Protected Content. Previously, WooCommerce was processing that screen with two different queries, and EP was used only in one of them. Now, it will be only one query, fully handled by ElasticPress. Users wanting to keep the previous behavior can do so by adding add_filter( 'ep_woocommerce_integrate_admin_products_list', '__return_false' ); to their website's codebase.

Facets are now available through a WordPress block. If you are using the Full Site Editing feature, you can now add ElasticPress Facets to your theme with just a few clicks! This block has been introduced with a simplified user interface to enable compatibility with Full Site Editing and will continue to be iterated and improved in future versions of the plugin.

Added

Changed

  • Facets widgets rendered by a separate class. Props @felipeelia via #2712.
  • Deprecated ElasticPress\Feature\Facets\Widget::get_facet_term_html() in favor of ElasticPress\Feature\Facets\Renderer::get_facet_term_html(). Props @felipeelia via #2712.
  • Log errors and remove indexing status on failed syncs. Props @felipeelia via #2748.
  • Refactored Sync page JavaScript. Props @JakePT via #2738.
  • Updated admin scripts to use WordPress's version of React. Props @JakePT via #2756.
  • WooCommerce products list in the Dashboard now properly leverages ElasticPress. Props @felipeelia via #2757.
  • Removed Instant Results' dependency on @wordpress/components and @wordpress/date. Props @JakePT and @felipeelia via #2774.
  • (Protected Content) Password-protected posts are only hidden on searches. Props @felipeelia, @JakePT, and @burhandodhy via #2780.
  • The plugin is now available via Composer without any additional steps required. Props @felipeelia, @jeffpaul, and @johnbillion via #2799.

Fixed

Security

See: https://github.com/10up/ElasticPress/milestone/63?closed=1

Version 4.1.0

05 Apr 17:51
Compare
Choose a tag to compare

Added

Changed

  • Refactored remaining admin scripts to remove jQuery as a dependency. Props @JakePT via #2664.
  • Generate Instant Results' search template as an anonymous user by default. Props @JakePT via #2672.

Fixed

Security

  • Bumped node-forge from 1.2.1 to 1.3.0. Props @dependabot via #2678.
  • Bumped @wordpress/env from 4.2.2 to 4.4.0, and minimist from 1.2.5 to 1.2.6. Props @felipeelia via #2680.

See: https://github.com/10up/ElasticPress/milestone/62?closed=1

Version 4.0.1

16 Mar 22:55
Compare
Choose a tag to compare

This is a security release affecting users running ElasticPress 4.0 with both the WooCommerce and Protected Content Features activated. Please update to the latest version of ElasticPress if the WooCommerce and Protected Content features are activated and you're using ElasticPress 4.0.

Security

See: https://github.com/10up/ElasticPress/milestone/61?closed=1

Version 4.0.0

08 Mar 21:25
Compare
Choose a tag to compare

ElasticPress 4.0 contains some important changes. Make sure to read these highlights before upgrading:

  • This version requires a full reindex.
  • It introduces a new search algorithm that may change the search results displayed on your site.
  • A new feature called "Instant Results" is available. As it requires a full reindex, if you plan to use it, we recommend you enable it first and reindex only once.
  • Users upgrading from Beta 1 need to re-save the Instant Results feature settings.
  • New minimum versions are:
    Min Max
    Elasticsearch 5.2 7.10
    WordPress 5.6+ latest
    PHP 7.0+ latest

Note that ElasticPress 4.0.0 release removes built assets from the develop branch, replaced master with trunk, added a ZIP with the plugin and its built assets in the GitHub Releases page, and included a build script should you want to build assets from a branch. As such, please plan to update any references you have from master to trunk or to GitHub Releases depending on whether you require built assets or not. (See changes in #2622.)

The Facets widget is not currently available within Full Site Editing mode.

This changelog contains all changes made since 3.6.6 (including Beta 1.)

Added

Changed

Read more

Version 3.6.6

20 Dec 18:03
Compare
Choose a tag to compare

ElasticPress 4.0 Beta 1 is now available for non-production testing.

Note that the upcoming ElasticPress 4.0.0 release will remove built assets from the develop branch, will replace master with trunk, will add a zip with the plugin and its built assets in the GitHub release page, and will include a build script should you want to build assets from a branch. As such, please plan to update any references you have from master to trunk or to GitHub releases depending on whether you require built assets or not.

Supported versions:

Current (3.6.6) 4.0.0
Elasticsearch 5.0 - 7.9 5.2 - 7.10
WordPress 3.7.1+ 5.6+
PHP 5.6+ 7.0+

Added

Changed

Fixed

See: https://github.com/10up/ElasticPress/milestone/60?closed=1

Version 4.0.0 Beta 1

08 Dec 16:26
Compare
Choose a tag to compare
Version 4.0.0 Beta 1 Pre-release
Pre-release

This software is still in development, so it is not recommended to run this version on a production site.

This version requires a full reindex.

Please note that 4.0 introduces a new search algorithm that may change the order of results displayed on your site. Additionally, this algorithm may be changed again during the beta process before a final 4.0 release algorithm is determined. Your feedback on this new algorithm is welcome via the Github issues list.

New minimum versions are:

Min Max
Elasticsearch 5.2 7.10
WordPress 5.6+ latest
PHP 7.0+ latest

Note that the official ElasticPress 4.0.0 release will replace master with trunk. Built assets were already removed from the branch and added to the zip file attached to the GitHub release page. As such, please plan to update any references you have from master to trunk or to GitHub releases depending on whether you require built assets or not.

Added

Changed

Removed

Fixed

See: https://github.com/10up/ElasticPress/milestone/52?closed=1

Version 3.6.5

30 Nov 12:03
Compare
Choose a tag to compare

Note that the upcoming ElasticPress 4.0.0 release will remove built assets from the develop branch, will replace master with trunk, will add a zip with the plugin and its built assets in the GitHub release page, and will include a build script should you want to build assets from a branch. As such, please plan to update any references you have from master to trunk or to GitHub releases depending on whether you require built assets or not.

Supported versions:

Current (3.6.5) 4.0.0
Elasticsearch 5.0 - 7.9 5.2 - 7.10
WordPress 3.7.1+ 5.6+
PHP 5.6+ 7.0+

Added

Changed

  • Add $type parameter to ep_do_intercept_request filter. Props @rebeccahum and @felipeelia via #2443.
  • Cache the detected Posts mapping version, avoiding get_mapping calls in all admin requests. Props @felipeelia via #2445.
  • Docs: Required ES and WP versions planned for ElasticPress 4.0.0. Props @felipeelia via #2442.
  • The admin.min.js file was split in notice.min.js and weighting.min.js, being loaded accordingly. Props @felipeelia and @barryceelen via #2476.

Fixed

Security

See: https://github.com/10up/ElasticPress/milestone/57?closed=1

Version 3.6.4

26 Oct 18:00
Compare
Choose a tag to compare

Note that the upcoming ElasticPress 4.0.0 release will remove built assets from the develop branch, will replace master with trunk, will build a stable release version including built assets into a stable branch, and will include a build script should you want to build assets from a branch. As such, please plan to update any references you have from master to either stable or trunk depending on whether you require built assets or not.

Official PHP support is currently 5.6+. Minimum PHP version for ElasticPress 4.0.0 will be 7.0+.

Added

Changed

Fixed

See: https://github.com/10up/ElasticPress/milestone/56?closed=1

Version 3.6.3

29 Sep 20:10
Compare
Choose a tag to compare

Note that the upcoming ElasticPress 3.7.0 release will remove built assets from the develop branch, will replace master with trunk, will build a stable release version including built assets into a stable branch, and will include a build script should you want to build assets from a branch. As such, please plan to update any references you have from master to either stable or trunk depending on whether you require built assets or not.

Official PHP support is currently 5.6+. Minimum PHP version for ElasticPress 3.7.0 will be 7.0+.

Added

  • New ep_facet_widget_term_html and ep_facet_widget_term_label filters to the Facet widget for filtering the HTML and label of individual facet terms. Props @JakePT, @Rahmon, and @felipeelia via #2363.
  • New ep_set_sort filter for changing the sort clause of the ES query if orderby is not set in WP_Query. Props @rebeccahum and @felipeelia via #2343 and #2364.
  • WP-CLI documentation for some commands and parameters. Props @felipeelia via #2369.

Changed

  • In addition to post titles, now autosuggest also partially matches taxonomy terms. Props @felipeelia and @Rahmon via #2347.
  • Date parsing change to avoid E_WARNINGs. Props @pschoffer via #2340.

Fixed

Security

  • Bumped 10up-toolkit from 1.0.11 to 1.0.12, terser-webpack-plugin from 5.1.4 to 5.2.4, @wordpress/api-fetch from 3.21.5 to 3.23.1, and @wordpress/i18n from 3.18.0 to 3.20.0. Props @felipeelia via #2372.

See: https://github.com/10up/ElasticPress/milestone/55?closed=1