Skip to content

Releases: 10up/ElasticPress

Version 3.6.2

26 Aug 17:29
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.

This version bumps official PHP support from 5.3+ to 5.6+. Minimum PHP version for ElasticPress 3.7.0 will be 7.0+.

Added

Changed

Removed

Fixed

Security

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

Version 3.6.1

15 Jul 14:23
c362484
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.

This version requires a full reindex. The new facet field introduced in 3.6.0 requires a change in the mapping, otherwise, all content sync related to posts will silently fail. If you've upgraded to 3.6.0 and didn't resync your content yet (via Dashboard or with WP-CLI wp elasticpress index --setup) make sure to do so.

Added

  • Filter ep_remote_request_add_ep_user_agent. Passing true to that, the ElasticPress version will be added to the User-Agent header in the request. Props @felipeelia via #2264
  • Flagged 3.6.0 as version that needs a full reindex. Props @adiloztaser and @felipeelia via #2264

Changed

Fixed

  • Encode the Search Term header before sending it to ElasticPress.io. Props @felipeelia via #2265

See: https://github.com/10up/ElasticPress/pulls?q=is%3Apr+milestone%3A3.6.1+is%3Aclosed+

Version 3.6.0

07 Jul 16:03
cff8c87
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.

Breaking Changes

Added

Changed

  • Autosuggest: JavaScript is not loaded anymore when ElasticPress is indexing. Props @fagiani and @felipeelia via #2163
  • Indexable\Post\Post::prepare_date_terms() to only call date_i18n() once. Props @WPprodigy and @Rahmon via #2214

Removed

Fixed

Security

Read more

Version 3.5.6

18 Mar 16:58
ad70299
Compare
Choose a tag to compare

This release fixes some bugs and also adds some new actions and filters.

Security Fix:

Bug Fixes:

  • Fixed document indexing when running index command with nobulk option. Props @Rahmon
  • Added an extra check in the iteration over the aggregations. Props @felipeelia
  • Fixed no mapping found for [name.sortable] for Elasticsearch version 5. Props @Rahmon
  • Fixed uninstall process to remove all options and transients. Props @Rahmon

Enhancements:

  • Added missing inline JS documentation. Props @JakePT
  • Added the filter ep_autosuggest_http_headers. Props @Rahmon
  • Added terms indexes to the status and stats WP-CLI commands. Props @felipeelia
  • The Protected Content feature isn't auto-activated when using ElasticPress.io anymore. Props @felipeelia
  • Added the new filter ep_highlight_should_add_clause to let developers decide where the highlight clause should be added to the ES query. Props @felipeelia
  • Added the new filter epwr_weight and changed the default way scores are applied based on post date. Props @Rahmon

See: https://github.com/10up/ElasticPress/pulls?utf8=%E2%9C%93&q=is%3Apr+milestone%3A3.5.6+is%3Aclosed+

Version 3.5.5

25 Feb 22:05
c47fbaf
Compare
Choose a tag to compare

This release fixes some bugs and also adds some new actions and filters.

Bug Fixes:

  • Fix a problem in autosuggest when highlighting is not active. Props @felipeelia and @Rahmon
  • Fix Facet Term Search for more than one Widget. Props @goaround
  • Fix a Warning that was triggered while using PHP 8. Props @Rahmon
  • Fix a wrong phrase in the Indexables documentation. Props @jpowersdev

Enhancements:

  • Add an is-loading class to the search form while autosuggestions are loading. Props @JakePT
  • Add the new set-algorithm-version and get-algorithm-version WP-CLI commands. Props @felipeelia
  • Add a new ep_query_weighting_fields filter. Props @felipeelia and @tott
  • Add two parameters to the ep_formatted_args_query filter. Props @felipeelia and @tott
  • Add the new set-algorithm-version and get-algorithm-version WP-CLI commands. Props @felipeelia
  • Create a new section in documentation called Theme Integration. Props @JakePT
  • Improvements to contributing documentation and tests. Props @jeffpaul and @felipeelia
  • Add the following new actions: ep_wp_cli_after_index, ep_after_dashboard_index, ep_cli_before_set_search_algorithm_version, ep_cli_after_set_search_algorithm_version, ep_cli_before_clear_index, ep_after_update_feature, and ep_cli_after_clear_index. Props @felipeelia and @Rahmon

Version 3.5.4

12 Feb 02:58
Compare
Choose a tag to compare

This is primarily a security and bug fix release. PLEASE NOTE that versions 3.5.2 and 3.5.3 contain a vulnerability that allows a user to bypass the nonce check associated with re-sending the unaltered default search query to ElasticPress.io that is used for providing Autosuggest queries. If you are running version 3.5.2. or 3.5.3 please upgrade to 3.5.4 immediately.

Security Fix:

  • Fixed a nonce check associated with updating the default Autosuggest search query in ElasticPress.io. Props @felipeelia

Bug Fixes:

  • Fix broken click on highlighted element in Autosuggest results. Props @felipeelia
  • Properly cast from parameter in $formatted_args to an integer to prevent errors if empty. Props @CyberCyclone

Enhancements:

  • Add an ep_is_facetable filter to enable custom control over where to show or hide Facets. Props [@moraleida]
  • Improvements to contributing documentation and tests. Props @jeffpaul and @felipeelia

3.5.3

28 Jan 19:34
Compare
Choose a tag to compare

[3.5.3]

This is a bug fix release.

Bug Fixes:

  • Fixed a bug where the ep-synonym post type is updated to a regular post, which can cause it to be accidentally deleted. Props @Rahmon
  • Fixed CSS formatting issues in the Settings and Features menus. Props @Rahmon

Version 3.5.2

18 Jan 19:41
034a745
Compare
Choose a tag to compare

Version 3.5.2 is a bug fix release with minor additions to functionality, largely in the form of new hooks and filters. You can read more about these changes below.

Bug Fixes:

  • Fixed a typo in elasticpress.pot. Props @alexwoollam
  • Don’t use timestamps that cause 5 digit years. Props @brandon-m-skinner
  • Fix admin notice on the Synonyms page. Props @Rahmon
  • Properly update slider numbers while sliding. Props @Rahmon
  • Properly handle error from get_terms(). Props @ciprianimike
  • Fix incorrect titles page. Props @Rahmon
  • Fix linting tests. Props @felipeelia
  • Fix issue with price filter unsetting previous query. Props @oscarssanchez

Enhancements:

  • Added actions that fire after bulk indexing (ep_after_bulk_index), in event of an invalid Elasticsearch response (ep_invalid_response), and before object deletion (ep_delete_{indexable slug}); added filters ep_skip_post_meta_sync, pre_ep_index_sync_queue, ep_facet_taxonomies_size, epwr_decay_function, and epwr_score_mode. Props @brandon-m-skinner
  • Added ep_filesystem_args filter. Props @pjohanneson
  • Add SKU field to Weighting Engine if WooCommerce is active and fix issue with overriding search_fields. Props @felipeelia
  • Support author__in and author__not_in queries. Props @dinhtungdu
  • Update multiple unit tests. Props @petenelson
  • Show CLI indexing status in EP dashboard. Props @Rahmon
  • Add ep_query_send_ep_search_term_header filter and don’t send EP-Search-Term header if not using ElasticPress.io. Props @felipeelia

Version 3.5

20 Oct 23:25
Compare
Choose a tag to compare

Version 3.5 is a very exciting release as it contains two major new features: a synonym dashboard and search term result highlighting. The synonym dashboard empowerers users to create synonym lists for searches. For example. searching "New York City" would return contain with "NYC". Search term highlighting will underline and add a CSS class to keywords within content that matches the current search.

The new version also includes a revamp of the search algorithm. This is a backwards compatibility break. If you'd like to revert to the old search algorithm, you can use the following code: add_filter( 'ep_search_algorithm_version', '3.4' );. The new algorithm offers much more relevant search results and removes fuzziness which results in mostly unwanted results for most people. If you are hooking in and modifying the search query directly, it's possible this code might break and you might need to tweak it.

Bug fixes:

  • Fix default autosuggest selector.
  • Fix facet feature $_GET parameter naming collision.
  • Autosuggest a11y fixes. Props amesplant.
  • Check $feature type before calling Feature methods. Props pdewouters.
  • Ensure trashed post is removed from Elasticsearch. Props edwinsiebel.
  • Add default permission callback to REST routes. Props dkotter.
  • Hide links to weighting and synonym dashboard if network activated. Props felipeelia.
  • Only sync post on allow listed post meta. Props felipeelia.
  • Check if site is indexable before syncing in network activated mode.
  • Fix facet widget and 3-level deep hierarchical taxonomy. Props dinhtungdu.
  • Make sure AJAX sync is disabled if EP_DASHBOARD is set to false.. Props turtlepod.

Enhancements:

  • Synonym dashboard. Props christianc1.
  • Search term highlighting. Props oscarsanchez.
  • Search algorithm improvements.
  • Improved WP Acceptance tests. Props asharirfan.
  • Rename ElasticPress submenu to "Features". Props helen.
  • Add functionality for skipping ElasticPress install.
  • Increase max supported Elasticsearch version to 7.9.
  • Add filter to prepared user meta data. Props g-kanoufi.
  • Improve Terms Feature terminology to remove confusion.
  • Add filter to facet terms query arguments. Props felipeelia.

Version 3.4.3

26 Jul 02:11
Compare
Choose a tag to compare

Enhancements:

  • Remove jQuery from front end JavaScript dependencies.

Bug Fixes:

  • Fix accessibility bug on autosuggest.
  • Fix broken facet search.