Skip to content

Releases: 10up/ElasticPress

Version 5.3.5

Choose a tag to compare

@felipeelia felipeelia released this 10 Sep 19:04

This is a security release addressing two issues in specific configurations:

  • Protected Content: If the feature is active, Authors filtering the admin list by private status could see other authors' private posts.
  • Comments: If the feature is active and the site has password-protected posts, anonymous comment search could return those comments.

Fixed

  • Prevent an array-to-string conversion warning in Custom Search Results when post terms are not a string. Props @burhandodhy and @leedxw via #4364.

Security

Developer

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

Version 5.3.4

Choose a tag to compare

@felipeelia felipeelia released this 27 Aug 16:26

Added

  • ep_instant_results_excluded_post_types filter to exclude post types from Instant Results facets and search results. Props @Sidsector9 and @feliciaoctocog via #4290.
  • ep_instant_results_excluded_term_ids filter to exclude taxonomy terms from Instant Results facets. Props @Sidsector9 and @feliciaoctocog via #4290.

Changed

Fixed

  • Correct WooCommerce Filter by Price results when the shop displays prices including tax. Props @faisalahammad, @stefanmm, and @burhandodhy via #4338 and #4347.
  • Prevent TypeError in Elementor template parsing when _elementor_data is an array. Props @muhitasraf via #4341.
  • Prevent ElasticPress from corrupting cached WP_Post objects by encoding meta and taxonomy values as JSON. Props @burhandodhy and @marc-kohde via #4342.
  • Resolve translation warnings when generating the POT file. Props @faisalahammad via #4323.
  • Respect ep_is_facetable false to disable faceting on queries. Props @burhandodhy and @dmitrijCraq via #4337.
  • Prevent max_num_pages from becoming negative when posts_per_page is -1. Props @burhandodhy and @dmitrijCraq via #4336.
  • Guard Utils\get_site() and is_site_indexable() against non-existent site IDs. Props @thisismyurl via #4319.
  • Prevent WooCommerce product_visibility tax queries from forcing product-only site search results. Props @ZacharyRener via #4321.
  • Disable cache_results for cross-site queries (site__in, site__not_in, or ep_search_scope set to all) and when a persistent object cache is in use. The posts cache is per-blog and keyed by post ID only, so a later get_post() for a local ID could return another site's content. Props @burhandodhy and @dannyreaktiv via #4353 and #4355.
  • Guard the post_author read in format_hits_as_posts(), preventing PHP warnings and a fatal error when the field is missing or malformed in an Elasticsearch hit. Props @freibergergarcia via #4354.
  • Load React admin screens and Instant Results on WordPress 6.2 by registering the react-jsx-runtime script handle that 10up-toolkit requires and WordPress only ships from 6.6. Props @felipeelia via #4356.
  • Prevent a WordPress 7.1 deprecation warning by using the help prop instead of __experimentalShowHowTo on FormTokenField. Props @burhandodhy via #4358.
  • Fix the Features page notice layout on WordPress 7.1. Props @burhandodhy via #4359.
  • Update ElasticPress.io article URLs to the /resources/articles/ path. Props @burhandodhy via #4360.

Security

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

Version 5.3.3

Choose a tag to compare

@felipeelia felipeelia released this 07 May 18:11

Added

  • Numbered pagination option for Instant Results. Props @ZacharyRener via #4274.
  • New elasticpress_general_ep_screens filter. Props @felipeelia via #4256.
  • New ep_feature_requirements_status_* filters and a new "Temporarily disabled" feature status (in code). Props @felipeelia via #4265.

Changed

  • Optimize mb_strlen calls during sync process. Props @kasparsd via #4304.
  • Saving feature settings now reflects feature dependencies without refreshing the page. Props @ZacharyRener via #4275.

Fixed

Security

  • Updated Node.js dependencies (including a webpack override) to address npm audit findings. Props @felipeelia via #4307.

Developer

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

Version 5.3.2.2

Choose a tag to compare

@felipeelia felipeelia released this 26 Mar 12:47

Fixed

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

Version 5.3.2.1

Choose a tag to compare

@felipeelia felipeelia released this 26 Mar 12:23

Changed

  • Method of verifying ElasticPress.io environments. Props @felipeelia via #4300.

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

Version 5.3.2

Choose a tag to compare

@felipeelia felipeelia released this 21 Nov 18:06

Added

  • Notice about keeping the sync page open during the sync process. Props @felipeelia and @tott via #4240.

Fixed

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

Version 5.3.1

Choose a tag to compare

@felipeelia felipeelia released this 06 Nov 15:28

Fixed

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

Version 5.3.0

Choose a tag to compare

@felipeelia felipeelia released this 05 Nov 15:05

Highlights of this version:

  • Improved compatibility with Elementor
  • Better UX/UI in the Features Screen: Grouped features and conditional display of fields
  • New indicator in the WordPress Admin Bar: See if your content is powered by Elasticsearch and how many queries were fired and failed in the current page.

Added

Changed

Deprecated

  • Remove deprecated side param from edge_ngram filter for ES 8.16.x compatibility. Props @rebeccahum via #4155 and #4173.
  • The ep_bypass_exclusion_from_search filter (replaced by the new ep_skip_search_exclusions WP_Query argument). Props @burhandodhy and @JakePT via #4184.

Removed

Fixed

Security

Developer

Read more

Version 5.2.0

Choose a tag to compare

@felipeelia felipeelia released this 10 Apr 13:06

This version bumps the minimum WordPress version to 6.2+.

Added

Changed

  • Minimum required version of WordPress (from 6.0 to 6.2). Props @felipeelia via #4082.
  • ElasticPress\Feature\RelatedPosts::get_related_query(), ElasticPress\Feature\RelatedPosts::find_related() parameter name change to $post_return. Props @oscarssanchez and @felipeelia via #4061.
  • The ep_remote_request action to also run on non-blocking requests. Props @felipeelia via #4093.
  • Potentially resource intensive status reports are loaded on demand with AJAX. Props @oscarssanchezz, @felipeelia, and @archon810 via #4095.
  • If a feature doesn't have all its requirements fulfilled, prevent it to run its setup method. Props @felipeelia via #4107.

Fixed

Security

  • Bumped serialize-javascript from 6.0.1 to 6.0.2, jsdoc from 3.6.11 to 4.0.4, and taffydb. Props @dependabot via #4078.
  • Bumped tar-fs from from 3.0.6 to 3.0.8. Props @dependabot via #4117.

Developer

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

Version 5.1.4

Choose a tag to compare

@felipeelia felipeelia released this 12 Dec 14:50

Added

Changed

  • Apply ElasticPress filters to the requests in status and stats CLI commands. Props @edpittol via #4000.
  • Autosuggest Endpoint field explanation. Props @burhandodhy and @felipeelia via #4009.
  • Alignment of custom search results action icons. Props @felipeelia and @anjulahettige via #4020.
  • Update all of our blocks apiVersion from 2 to 3, to indicate support for working in an iframed editor. Props @dkotter and @JakePT via #4029.
  • If using the new way to index meta, avoid querying distinct meta fields in the sync page. Props @felipeelia and @majiix via #4033.
  • Updated several composer and node packages. Node 20 is now the default version. Props @felipeelia via #4039 and #4043.
  • Improve readability of sync output (MB/GB) and number formatting on the Health Status page. Props @columbian-chris via #4042.

Fixed

Security

Developer

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