Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…
About ElasticPress
ElasticPress is a plugin for WordPress that improves the search functionality of your website, making it faster and more efficient. It includes features such as instant search results, filtering for WooCommerce products, related posts, protected content indexing, document indexing, autosuggest, filters, and comment indexing.Screenshots





Changelog
5.3.7 – 2026-12-03
This is a security release. It fixes the following issue and hardens several other areas of the plugin. Updating is strongly recommended.
- Custom Search Results: A crafted post title could make an administrator who opened it in the Custom Search Results editor send unintended requests to the WordPress REST API.
Added:
- Content indexed by a feature is deleted from the Elasticsearch index when the feature, or the setting that indexed it, is turned off (can be skipped with the new
ep_post_unindexable_documents_queryfilter). Content left behind by features turned off before this version is deleted the first time an administrator opens the dashboard after the update. If the deletion keeps failing, a notice asks for a full sync. Props @felipeelia.
Changed:
- Only
orderbyvalues supported by WordPress, searchable or faceted meta fields, and values allowed with the newep_allowed_request_orderbyfilter are accepted from the URL in the main query. Sites that let visitors sort by other Elasticsearch fields through the URL need to allow them with the filter. Props @felipeelia. - Taxonomy filters from the URL only apply to taxonomies that can be used as facets. Props @felipeelia.
- Did You Mean only suggests terms found in content the search can return (adjustable with the new
ep_search_suggestion_collatefilter), and its output is escaped. Props @felipeelia. - The Related Posts REST endpoints only return related posts for posts the current user can read, return a 404 for posts that do not exist, and return at most 100 posts. Props @felipeelia.
- Protected Content stores a placeholder instead of the post password in the index. Posts already in the index are updated the first time an administrator opens the dashboard after the update. If that keeps failing, a notice asks for a full sync. Props @felipeelia.
Deprecated:
- The
ep_save_featureAJAX action. Use theelasticpress/v1/featuresREST endpoint instead. Props @felipeelia.
Fixed:
- Dynamic bulk indexing sending a failed request’s documents again with every later request, which could repeat forever. Props @rebeccahum.
- Syncs counting the objects to sync again for every batch, which made each batch slow on large sites, and ending before objects that became indexable while they ran. Props @rebeccahum.
- Invalid markup in the Related Posts block wrapper. Props @felipeelia.
- The legacy
epDataFilterglobal not being applied to Autosuggest results. Props @felipeelia. Authorization: undefinedheader sent in Instant Results requests. Props @felipeelia.- Fatal error when a facet parameter is sent as an array in the URL. Props @felipeelia.
- Instant Results crashing when the URL contains an unknown post type. Props @felipeelia.
- Requests to Elasticsearch dropping the URL’s query parameters after the first one. Props @felipeelia.
- Syncs started from the dashboard reporting a different method in the first request (
dashboard) than in the following ones (web). Props @felipeelia. - “Exclude from search results” not applied to Instant Results (regression in 5.3.0) and to searches that fall back to MySQL. Props @felipeelia.
- Comments not removed from the index when moderated by users without
moderate_commentsor without a logged-in user, and not synced when their post is unpublished, trashed, or restored (adjustable with the newep_skip_action_sync_post_commentsfilter). Props @felipeelia. - Distinct meta keys missing from the Status Report. Props @felipeelia.
Security:
- Encode the search term in the Custom Search Results preview request, preventing cross-site request forgery. Props Santh, @felipeelia, and @jeffpaul.
- Improved capability checks in admin request handlers and REST endpoints. Props @felipeelia.
- Mask credentials included in the Elasticsearch host URL wherever it is displayed. Props @felipeelia.
- The Sync REST endpoint only accepts its declared parameters. Props @felipeelia.
- Status Report values are displayed as text (fields can opt in to HTML with the new
allow_htmloption), report messages are sanitized, and hidden feature settings are validated when saved. Props @felipeelia. - Meta facets only list values of content the user can see, and facet blocks only render previews in the block editor. Props @felipeelia.
- Autosuggest and Instant Results only display inline formatting HTML in post titles (adjustable with the new
ep.titleAllowedHTMLJS filter), and highlight search terms without changing the HTML. Props @felipeelia. - Bumped
fast-xml-parserfrom 5.11.2 to 5.12.0. Props @dependabot.
Developer:
- Allow the WordPress version checker workflow to open issues. Props @felipeelia.
- Fixed flaky Instant Results e2e tests. Props @felipeelia.
- Fixed e2e test failures on WordPress latest. Props @felipeelia.
- Fixed e2e tests on WordPress 7.2. Props @felipeelia.
- Added a missing security contributor to the credits. Props @jeffpaul.
5.3.6 – 2026-11-11
This release includes a security fix:
- Status Report: An unauthenticated visitor could store a script, through the
orderbyparameter, that ran when an administrator opened the Failed Queries report.
Added:
$source_includesparameter toElasticsearch::get_documents(), to fetch only some fields of each document. Props @felipeelia.ep_pre_prepare_documentsaction, fired once before a batch of documents is prepared to be indexed. Props @felipeelia.- Feature settings
requires_fieldsconditions accept a list of values. Props @felipeelia. - Feature settings field groups can be collapsible (
collapsible,initialOpen) and show a status badge (badge). Props @felipeelia. comboboxfield type for feature settings. Props @felipeelia.ep.Features.ControlJS filter to render custom feature settings fields, andep_settings_field_typesfilter withElasticPress\Utils\get_settings_field_types()to check the available field types. Props @felipeelia.- File, line, and stack trace of errors thrown while preparing documents, shown by
wp elasticpress sync --show-errorsand in the Sync page Errors tab, and written to the PHP error log whenWP_DEBUGandWP_DEBUG_LOGare on. Props @anjulahettige.
Fixed:
- Memory exhaustion when preparing term documents for terms with a large number of objects, by fetching object IDs in chunks (filterable with the new
ep_term_object_ids_chunk_sizefilter). Props @rebeccahum. - PHP warning
Undefined array key "total"when a query setstrack_total_hitstofalse. Props @renatonascalves. - Memory exhaustion when editing a term attached to a large number of posts, by fetching its object IDs in chunks. Props @rebeccahum.
- Posts of child terms not being reindexed when editing a parent term, on sites where term IDs and term taxonomy IDs differ. Props @rebeccahum.
wp elasticpress sync --nobulkreports objects that fail to prepare as errors instead of counting them as indexed. Props @anjulahettige.- WooCommerce taxonomy query vars with comma-separated terms (e.g.
product_cat=a,b) treated as a single slug. Props @yograj-vijay-yadav. - Sync starting over, or never ending, when a batch comes back empty before the offset reaches the total. Props @rebeccahum.
- Instant Results search template not saved after a sync started from the dashboard on single sites. Props @burhandodhy.
- HTML markup in the
aria-labelof Filter by Post Type and Filter by Metadata links when term counts are displayed. Props @burhandodhy.
Security:
- Escape Elasticsearch errors and query log values in the Failed Queries report of the Status Report, preventing stored cross-site scripting via the
orderbyparameter. Props Duc Manh, Huseyin Mertoglu, @felipeelia, and @jeffpaul. - Updated Node.js to v26.11.0 and the npm packages to their latest versions. Props @ZacharyRener.
- Bumped
fast-urifrom 3.1.7 to 3.1.8 (CVE-2026-86472). Props @ZacharyRener. - Bumped
compressionfrom 1.8.1 to 1.8.2,follow-redirectsfrom 1.16.0 to 1.16.3,http-cache-semanticsfrom 4.2.0 to 4.3.0,proxy-addrfrom 2.0.7 to 2.0.8,shell-quotefrom 1.10.0 to 1.12.0,simple-gitfrom 3.36.0 to 4.0.2, andsource-map-jsfrom 1.2.1 to 1.2.2. Props @dependabot. - Bumped
launch-editorfrom 2.14.1 to 2.14.2,markdown-itfrom 14.3.2 to 14.3.3,postcss-selector-parserfrom 6.1.4 to 6.1.5 and from 7.1.5 to 7.1.7, andserialize-javascriptfrom 7.1.0 to 7.1.4. Props @dependabot. - Explicit
permissionson GitHub workflows, following code scanning alerts. Props @jeffpaul.
Developer:
- Pre-commit hook and
composer lintcheck the test suite against PHP 8.2+, matching CI. Props @felipeelia. - Fixed the privileged e2e workflow, which now shows its result as a commit status on the pull request. Props @felipeelia.
- Stage
elasticpress-playwright-utilsreleases from CI, to be approved before they are published to npm. Props @felipeelia. - The e2e WP-CLI wrapper no longer loads the wp-env config, and calls api.wordpress.org, on every command. Props @felipeelia.
- Test methods renamed to snake_case, a
@groupon every test, and PHPCS sniffs to keep it that way. Props @felipeelia. - Faster and more reliable e2e tests. Props @felipeelia.
- Bumped
phpunit/phpunitfrom 9.6.22 to 9.6.33,composer/composerfrom 2.10.1 to 2.11.1,league/flysystemfrom 3.29.1 to 3.36.0,phpcsstandards/phpcsutilsfrom 1.1.3 to 1.2.3,squizlabs/php_codesnifferfrom 3.13.5 to 3.13.6, andwp-coding-standards/wpcsfrom 3.1.0 to 3.4.1. Props @dependabot.
5.3.5 – 2026-09-10
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.
Security:
- Prevent an explicit private-status filter in the admin post list from exposing other authors’ private posts, including custom private statuses, to users without
read_private_posts. Props @Zyy0530, @lzhou1110, @Str1ckl4nd, @mauriceng98, @7thParkk, @felipeelia, and @jeffpaul. - Prevent the Comments REST search from disclosing approved comments on password-protected posts to unauthenticated visitors. Props @mrglwglwgl and @felipeelia.
- Bumped
postcss-selector-parserfrom 7.1.0 to 7.1.5. Props @dependabot. - Bumped
fast-urifrom 3.1.5 to 3.1.7. Props @dependabot.
Developer:
- Update
@wordpress/envfrom 11.13.0 to 11.15.0. Props @felipeelia.
5.3.4 – 2026-08-27
Added:
ep_instant_results_excluded_post_typesfilter to exclude post types from Instant Results facets and search results. Props @Sidsector9 and @feliciaoctocog.ep_instant_results_excluded_term_idsfilter to exclude taxonomy terms from Instant Results facets. Props @Sidsector9 and @feliciaoctocog.
Changed:
- Hide the Subscription Token value in the Settings page. Props @faisalahammad and @felipeelia.
Fixed:
- Correct WooCommerce Filter by Price results when the shop displays prices including tax. Props @faisalahammad, @stefanmm, and @burhandodhy.
- Prevent TypeError in Elementor template parsing when
_elementor_datais an array. Props @muhitasraf. - Prevent ElasticPress from corrupting cached
WP_Postobjects by encoding meta and taxonomy values as JSON. Props @burhandodhy and @marc-kohde. - Resolve translation warnings when generating the POT file. Props @faisalahammad.
- Respect
ep_is_facetablefalse to disable faceting on queries. Props @burhandodhy and @dmitrijCraq. - Prevent
max_num_pagesfrom becoming negative whenposts_per_pageis -1. Props @burhandodhy and @dmitrijCraq. - Guard
Utils\get_site()andis_site_indexable()against non-existent site IDs. Props @thisismyurl. - Prevent WooCommerce
product_visibilitytax queries from forcing product-only site search results. Props @ZacharyRener. - Disable
cache_resultsfor cross-site queries (site__in,site__not_in, orep_search_scopeset toall) and when a persistent object cache is in use. The posts cache is per-blog and keyed by post ID only, so a laterget_post()for a local ID could return another site’s content. Props @burhandodhy and @dannyreaktiv. - Guard the
post_authorread informat_hits_as_posts(), preventing PHP warnings and a fatal error when the field is missing or malformed in an Elasticsearch hit. Props @freibergergarcia. - Load React admin screens and Instant Results on WordPress 6.2 by registering the
react-jsx-runtimescript handle that 10up-toolkit requires and WordPress only ships from 6.6. Props @felipeelia. - Prevent a WordPress 7.1 deprecation warning by using the
helpprop instead of__experimentalShowHowToon FormTokenField. Props @burhandodhy. - Fix the Features page notice layout on WordPress 7.1. Props @burhandodhy.
- Update ElasticPress.io article URLs to the
/resources/articles/path. Props @burhandodhy.
Security:
- Bumped
react-routerfrom 7.14.1 to 7.18.2. Props @dependabot. - Bumped
uuidfrom 11.0.5 to 14.0.0. Props @dependabot. - Bumped
@babel/plugin-transform-modules-systemjsfrom 7.25.9 to 7.29.4. Props @dependabot. - Bumped
fast-urifrom 3.0.3 to 3.1.5. Props @dependabot. - Bumped
postcssfrom 8.4.49 to 8.5.25. Props @dependabot. - Bumped
webpack-dev-serverfrom 5.2.3 to 5.2.6. Props @dependabot. - Bumped
esbuildfrom 0.28.0 to 0.28.1. Props @dependabot. - Bumped
immutablefrom 5.1.5 to 5.1.9. Props @dependabot. - Bumped
launch-editorfrom 2.13.2 to 2.14.1. Props @dependabot. - Bumped
linkify-itfrom 5.0.0 to 5.0.2. Props @dependabot. - Bumped
markdown-itfrom 14.1.1 to 14.3.0. Props @dependabot. - Bumped
qsfrom 6.14.2 to 6.15.3. Props @dependabot. - Bumped
svgofrom 3.3.3 to 3.3.4. Props @dependabot. - Bumped
wsfrom 8.20.0 to 8.21.2 and from 7.5.10 to 7.5.13. Props @dependabot. - Bumped
websocket-driverfrom 0.7.4 to 0.7.5. Props @dependabot.
Developer:
- Spell-checking with
crate-ci/typosin CI. Props @szepeviktor, @felipeelia, and @Sidsector9. - Add compatibility fixes for React 19. Props @ZacharyRener and @Sidsector9.
- Fix tests and tooling for WordPress 7.0 and updated GitHub token formats. Props @ZacharyRener.
- Update
10up-toolkitto 7.0.0-next.1,@wordpress/envto 11, and Node to 24. Props @felipeelia. - Overhaul the e2e environment: a single wp-env install, Makefile targets and a gitignored
.env, a cached database, one Playwright worker, and expanded docs. Props @felipeelia.
5.3.3 – 2026-05-07
Added:
- Numbered pagination option for Instant Results. Props @ZacharyRener.
- New elasticpress_general_ep_screens filter. Props @felipeelia.
- New ep_feature_requirements_status_* filters and a new “Temporarily disabled” feature status (in code). Props @felipeelia.
Changed:
- Optimize mb_strlen calls during sync process. Props @kasparsd.
- Saving feature settings now reflects feature dependencies without refreshing the page. Props @ZacharyRener.
Fixed:
- Keep the sync running when code outputs directly in the post content. Props @burhandodhy, @tomjn, and @felipeelia.
- Prevent saving Custom Results while posts are loading. Props @burhandodhy.
- Update label for bulk request timeout in ElasticPress status report. Props @burhandodhy.
- Undefined array key warnings in Weighting.php. Props @burhandodhy and @BWBama85.
- Ensure the Sync creates the Instant Results templates for all the sites. Props @burhandodhy and @anjulahettige.
- Ensure that WordPress caches the meta and term queries. Props @burhandodhy and @maciejmackowiak.
- An issue where posts were not returned correctly when the search term contained accented characters. Props @burhandodhy.
- Prevent fatal error in Instant Results facets when
ep_facet_include_taxonomiesreturns non-WP_Taxonomy values. Props @laraib15. - Instant Results displayed special characters as HTML encoded text. Props @burhandodhy and @wparslans.
- Error when trying to use queried object that doesn’t exist. Props @tomjn and @ZacharyRener.
- Only consider a feature active if not disabled by code. Props @felipeelia.
- Several typos. Props @szepeviktor and @felipeelia.
- Query count in the basic status admin bar. Props @Sidsector9.
- Settings notice layout on the settings page during sync in WordPress 7.0. Props @burhandodhy.
Security:
- Updated Node.js dependencies (including a webpack override) to address npm audit findings. Props @felipeelia.
Developer:
- Ensure
ep_{$indexable->slug}_sync_killproperly prevents object indexing during sync and post updates. Props @burhandodhy, @felipeelia, and @matthijsch. - Gracefully handle incorrect return types from
ep_admin_noticesfilter callbacks. Props @qudwill, @felipeelia, and @Sidsector9. - Webpack configuration option for JavaScript and CSS source maps (editor debugging). Props @fiftin and @ZacharyRener.
- Fix e2e tests. Props @felipeelia.
5.3.2.2 – 2026-03-26
Changed:
- Deployment to WordPress.org. Props @felipeelia.
5.3.2.1 – 2026-03-26
Changed:
- Method of verifying ElasticPress.io environments. Props @felipeelia.
5.3.2 – 2025-11-21
Added:
- Notice about keeping the sync page open during the sync process. Props @felipeelia and @tott.
Fixed:
- Media search not working in the admin dashboard. Props @burhandodhy, @ognjanovic, and @maciejmackowiak.
- [Autosuggest] Setting allowed values. Props @felipeelia.
5.3.1 – 2025-11-06
Fixed:
- Compatibility with PHP 7.4. Props @realrellek and @felipeelia.
5.3.0 – 2025-11-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:
- Grouped features. Props @ZacharyRener and @felipeelia.
- Selected features and groups now persist across reload. Props @ZacharyRener, @burhandodhy, and @felipeelia.
- Feature fields can be dependent on other fields. Props @ZacharyRener and @felipeelia.
- Ability to create groups of fields. Props @ZacharyRener and @felipeelia.
- Ability for a feature to require multiple other features, instead of just one. Props @ZacharyRener and @felipeelia.
- Add new widgets for Date, Meta, and Meta Range Filters. Props @burhandodhy.
- Status indicator in the WordPress Admin Bar. Props @felipeelia, @burhandodhy, and @tott.
- Add Elasticsearch 9 support. Props @burhandodhy.
- Support for rand with a seed in the orderby clause. Props @asharirfan, @asharirfan, @burhandodhy, @felipeelia, @tlovett1, @mustafauysal, and @jgmedialtd.
- Implement “OR” filter relationship in DateQuery. Props @burhandodhy and @eartahhj.
- Add support for new WP_Query argument
ep_intercept_request. Props @burhandodhy. - New ElasticPressIoTemplateManager class. Props @burhandodhy and @JakePT.
- Support for painless scripts in the ES queries. Props @burhandodhy and @scottbuckel.
- Support to set an array value in the
orderby_meta_mappingfilters. Props @burhandodhy and @jzzaj. - New
ep_skip_search_exclusionsWP_Query argument. Props @burhandodhy and @JakePT. - [Autosuggest] Added link in Status Report to send allowed parameters directly. Props @felipeelia, @burhandodhy, and @tott.
- New
ep_get_query_logfilter. Props @felipeelia.
Changed:
- Index
srcsetfor post thumbnails. Props @burhandodhy and @JakePT. - Menu SVG icon with default WP color. Props @LenVan.
- Aggregation data stored at query level instead of a global variable. Props @burhandodhy and @JakePT.
- Text explaining when a manual sync may be required. Props @felipeelia and @anjulahettige.
- ElasticPress.io endpoint to fetch messages and available services. Props @felipeelia.
- [Autosuggest] WP_Query arguments are now passed to Elasticsearch->query() when setting allowed parameters. Props @felipeelia.
- Exceptions thrown during a post sync will now become error messages in sync processes. Props @felipeelia.
- Points the taxonomy filter URL to the facet section. Props @burhandodhy.
- Bumped
react-router-domfrom 6.14.3 to 7.9.4. Props @burhandodhy.
Deprecated:
- Remove deprecated side param from edge_ngram filter for ES 8.16.x compatibility. Props @rebeccahum.
- The
ep_bypass_exclusion_from_searchfilter (replaced by the newep_skip_search_exclusionsWP_Query argument). Props @burhandodhy and @JakePT.
Removed:
- Old feature settings code. Props @burhandodhy and @JakePT.
Fixed:
- Autosuggest doesn’t work if the placeholder is changed via a
ep_autosuggest_query_placeholderfilter. Props @fabianmarz and @burhandodhy. - Link to compatibility documentation in admin notices. Props @dilipbheda.
- [Metadata Range filter] Warning
Undefined array key "is_preview". Props @burhandodhy. - ‘Filter by Taxonomy’ widget does not appear in Elementor. Props @burhandodhy.
- Add support to handle values in array format when the comparison operator was ‘IN’ or ‘NOT IN’. Props @burhandodhy.
- Users could see other authors’ private posts. Props @burhandodhy.
- Undefined array key warning related to media mime types. Props @burhandodhy and @DarioBF.
- Warning: value prop on “input” should not be null. Props @burhandodhy.
- Comment query when orderby set to none. Props @burhandodhy.
- JS warnings on Status Report page. Props @burhandodhy.
Security:
- Bumped
http-proxy-middlewarefrom 2.0.7 to 2.0.9. Props @dependabot. - Bumped
tar-fsfrom 3.0.8 to 3.1.1. Props @dependabot. - Bumped
compressionfrom 1.7.5 to 1.8.1. Props @dependabot. - Bumped
form-datafrom 4.0.1 to 4.0.4. Props @dependabot. - Overwrite package
@babel/runtimecoming from core packages due to a vulnerability. Props @hugosolar.
Developer
- Fixed e2e tests on WP 6.8. Props @felipeelia.
- Migrated e2e tests from Cypress to Playwright. Props @felipeelia.
5.2.0 – 2025-04-10
This version bumps the minimum WordPress version to 6.2+.
Added:
- New ACF Repeater Field Compatibility feature. Props @felipeelia.
- Add new filter
ep.InstantResults.filter.taxonomy.terms. Props @burhandodhy and @syedc. - Support to “number” fields in the Features Settings API. Props @felipeelia.
- Add
include,exclude,upper-limit-object-id, andlower-limit-object-idsupport for the term and comment indexable. Props @burhandodhy. - Ability to display results on focus back + cached autosuggest results on same query. Props @oscarssanchezz, @JakePT, and @felipeelia.
- Document status displayed in the admin bar. Props @felipeelia, @tott, and @burhandodhy.
Changed:
- Minimum required version of WordPress (from 6.0 to 6.2). Props @felipeelia.
ElasticPress\Feature\RelatedPosts::get_related_query(),ElasticPress\Feature\RelatedPosts::find_related()parameter name change to$post_return. Props @oscarssanchez and @felipeelia.- The
ep_remote_requestaction to also run on non-blocking requests. Props @felipeelia. - Potentially resource intensive status reports are loaded on demand with AJAX. Props @oscarssanchezz, @felipeelia, and @archon810.
- If a feature doesn’t have all its requirements fulfilled, prevent it to run its setup method. Props @felipeelia.
Fixed:
- PHP warning: Attempt to read property “base” on null. Props @burhandodhy and @yarovikov.
- Notice not displayed while updating a term. Props @burhandodhy and @MARQAS.
- PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Props @burhandodhy.
- PHP 8.4: Implicitly marking parameter $woocommerce as nullable is deprecated. Props @BrookeDot.
- WP-CLI sync timer resetting after 16 minutes. Props @felipeelia and @columbian-chris.
- Cannot get outside of autosuggest list pressing up on first item. Props @oscarssanchezz, @JakePT, and @felipeelia.
- Prevent other code from modifying the ORDERBY clause in Post and Term indexable queries. Props @burhandodhy and @felipeelia.
- Date Query returns no result when the before and after range is the same and inclusive is set to true. Props @burhandodhy and @ErikBrendel.
- Warning for undefined “post_type” array key. Props @econscript.
- Delete a post from the index if it had a password added. Props @felipeelia and @dtakken.
- [Synonyms] Linebreaks being wrongly replaced in Windows Systems. Props @nymwo.
- Deprecated
36px default size is deprecatedwarnings. Props @burhandodhy. - The Sync Complete message being displayed when the log is cleared. Props @felipeelia and @burhandodhy.
- Selecting a value in the date filter not redirecting users back to page 1. Props @felipeelia and @burhandodhy.
- Discard Changes button coming back when saving the feature twice. Props @felipeelia and @burhandodhy.
- WooCommerce Orders Incompatibility not appearing when plugin is activated network wide. Props @burhandodhy.
Security:
- Bumped
serialize-javascriptfrom 6.0.1 to 6.0.2,jsdocfrom 3.6.11 to 4.0.4, andtaffydb. Props @dependabot. - Bumped
tar-fsfrom from 3.0.6 to 3.0.8. Props @dependabot.
Developer:
- Trufflehog GitHub Action to detect secrets leak. Props @felipeelia and @tott.
- Install Unit Tests without relying on SVN. Props @felipeelia.
- Remove the setup step from the
build-with-vendor-prefixed.ymland standardize the use of Node Version. Props @burhandodhy. - Fixed E2E tests. Props @burhandodhy.
- PHP, JS and Style lint fixes. Props @oscarssanchez and @felipeelia.
- Several node and composer packages updated. Props @felipeelia.
- Updated the chart.js library. Props @felipeelia.
5.1.4 – 2024-12-12
Added:
- New filter
ep_facet_selected_filters. Props @burhandodhy. - New filter
ep_disable_query_loggingto disable query logging. Props @davidsword and @rebeccahum. - New setting to Protect Content to use WP default order in admin. Props @felipeelia and @realrellek.
Changed:
- Apply ElasticPress filters to the requests in status and stats CLI commands. Props @edpittol.
- Autosuggest Endpoint field explanation. Props @burhandodhy and @felipeelia.
- Alignment of custom search results action icons. Props @felipeelia and @anjulahettige.
- Update all of our blocks apiVersion from 2 to 3, to indicate support for working in an iframed editor. Props @dkotter and @JakePT.
- If using the new way to index meta, avoid querying distinct meta fields in the sync page. Props @felipeelia and @majiix.
- Updated several composer and node packages. Node 20 is now the default version. Props @felipeelia.
- Improve readability of sync output (MB/GB) and number formatting on the Health Status page. Props @columbian-chris.
Fixed:
- Hardcoded
tmppath replaced with a dynamic value. Props @burhandodhy. - Variable names and descriptions in the docblocks for
ep_formatted_argsandep_post_formatted_args. Props @barryceelen. - Remove ‘None’ from Highlight tag list. Props @burhandodhy.
- [Facets] Incorrect link on description when not using a block theme. Props @felipeelia and @burhandodhy.
- Deprecation warning in
strtotime()call. Props @felipeelia and @barryceelen. - Special characters like
\in search terms for both Autosuggest and Instant Results. Props @felipeelia and @burhandodhy. - [WooCommerce] Incompatibility when “Enable table usage” was enabled to filter the product catalog. Props @felipeelia and @burhandodhy.
- Deprecation warning related to PluginPostStatusInfo. Props @burhandodhy and @felipeelia.
- [Custom Results] Inconsistent Reordering Issue. Props @felipeelia, @anjulahettige, @burhandodhy.
- Update supported document file types in Documents feature summary. Props @burhandodhy.
- “Exclude from search results” to work in AJAX contexts. Props @felipeelia and @burhandodhy.
- Retain CR & RD Labels Upon Saving Custom Search Result Posts. Props @felipeelia and @anjulahettige.
- Typo in “All filters” text domain. Props @felipeelia and @arturomonge.
- Autosuggest GA tracking to work when ad blocks are enabled. The dataLayer.push() call now pushes a custom event called ep_autosuggest_click with ep_autosuggest_search_term and ep_autosuggest_clicked_url as custom parameters. Props @felipeelia and @anjulahettige.
- Delay
load_plugin_textdomaintoinitand set a Domain Path. Props @felipeelia. - Only display the Exclude From Search checkbox if the post type supports
custom-fields. Props @felipeelia and @maartenhunink. - JS error when submit button is clicked without selecting a date. Props @burhandodhy.
- Deprecated warnings for margin style. Props @burhandodhy.
Security:
- Bumped
composer/composerfrom 2.7.0 to 2.7.8. Props @dependabot. - Bumped
symfony/processfrom 6.4.8 to 6.4.14. Props @dependabot.
Developer:
- Tests use ES 8 by default. Props @felipeelia.
- Update E2E tests to work properly with the iframed block editor. Props @dkotter.
- E2e tests for WP 6.6. Props @felipeelia.
- E2e tests for WP 6.7. Props @felipeelia.
- Unit Tests: Fail faster on requests we know will fail. Props @felipeelia.
- E2e tests: Fix the debug-bar-elasticpress dependency of ElasticPress. Props @felipeelia.
5.1.3 – 2024-06-11
Fixed:
- Missing nonces on some sync trigger URLs, making them require a manual interaction from the user. Props @felipeelia.
5.1.2 – 2024-06-11
This is a security release affecting all previous versions of ElasticPress.
Security:
- Missing nonce verification for the sync triggered during activation of some features. Props @felipeelia and @dhakalananda.
- Missing nonce verification for retrying the EP connection and fixed PHPCS linting rules. Props @felipeelia.
5.1.1 – 2024-05-27
Changed:
- Update Support Article URLs. Props @felipeelia.
Fixed:
- Status report page when indexable post types is an empty array. Props @furai.
5.1.0 – 2024-04-29
Added:
- [Filters] New
ep_facet_enabled_in_editorfilter to enabled facet blocks in the post editor. Props @JiveDig and @felipeelia. - Official support to Elasticsearch 8.x. Props @felipeelia.
- A new Sync errors tab, with errors grouped by type and links to support documentation when available. Props @JakePT and @apurvrdx1.
- [WooCommerce] HPOS compatibility notice for WooCommerce Orders. Props @felipeelia.
- [Synonyms] A new settings screen with the the ability to bulk delete synonyms, support for many-to-many replacements, and a new type of synonym for terms with a hierarchical relationship, called hyponyms. Props @JakePT and @apurvrdx1.
- Infinite loop when using excerpt highlighting with posts that use blocks that print an excerpt. Props @felipeelia and @JakePT.
- Context parameter to the
get_capability()function. Props @felipeelia and @selim13. - A tooltip for meta keys to the weighting screen to allow seeing the full key if it has been truncated. Props @JakePT.
- New
ep_weighting_optionsfilter to modify the weighting dashboard options. Props @burhandodhy. - New
ep_post_test_meta_valuefilter. Props @felipeelia. - New message related to indices limits on ElasticPress.io. Props @felipeelia.
Changed:
- Acknowledge all Elasticsearch modules, making the Documents feature available in ES 8 installations by default. Props @felipeelia, @Serverfox, and @jerasokcm.
- [Documents] Index CSV and TXT file contents. Props @felipeelia.
- [Documents] Only set documents-related parameters if no post type was set or if the list already contains attachments. Props @felipeelia.
- Automatically open the error log when a sync completes with errors. Props @JakePT and @felipeelia.
- Aggregations created with the ‘aggs’ WP_Query parameter, are now retrievable using
$query->query_vars['ep_aggregations']. Props @felipeelia. - Major refactor of the
Term::format_args()method and conditionally set search fields for term queries in REST API requests. Props @felipeelia and @mgurtzweiler. - Replaced
lee-dohm/no-responsewithactions/staleto help with closing no-response/stale issues. Props @jeffpaul. - Bumped actions/upload-artifact from v3 to v4. Props @iamdharmesh.
- Required node version. Props @oscarssanchez.
Fixed:
- [Autosuggest] Hide the Autosuggest Endpoint URL field for EP.io users. Props @felipeelia and @JakePT.
- [Autosuggest] Google Analytics integration gtag call. Props @felipeelia and @JakePT.
- [Autosuggest] Link click when using a touchpad. Props @romanberdnikov.
- [Autosuggest] Pressing Enter to select an Autosuggest suggestion would instead open Instant Results. Props @JakePT.
- [Synonyms] Fatal error when saving synonyms if an index does not exist. Props @felipeelia, @MARQAS, @randallhedglin, and @bispldeveloper.
- [Synonyms] Fix Synonyms case sensitive issue. Props @burhandodhy.
- [Documents] Media search returns no result in admin dashboard. Props @felipeelia and @burhandodhy via #3837.
- [WooCommerce] E2e tests. Props @felipeelia.
- [Instant Results] A default post type filter set by a field in the search form was cleared if a new search term was entered. Props @JakePT and @burhandodhy.
- Inconsistent search results when calling the same function via PHP and Ajax. Props @burhandodhy.
- Unit test related to blog creation. Props @felipeelia and @burhandodhy.
- Correct PHPdoc return type for
Elasticsearch::index_documentand related methods. Props @ictbeheer. - Unnecessary horizontal scroll for the
<pre>tag on the status report page. Props @burhandodhy via #3894.
Security:
- Bumped
composer/composerfrom 2.6.5 to 2.7.0. Props @dependabot.
5.0.2 – 2024-01-16
Changed:
- [Terms] Counts are now calculated with
wp_count_terms()inquery_db. Props @rebeccahum. - Composer and npm files are now part of the final package. Props @felipeelia.
Fixed:
- [WooCommerce] Not use a hard-coded list of order post types. Props @felipeelia.
- [Autosuggest] Stop calling the get
-autosuggest-allowedendpoint to build the REST API schema. Props @felipeelia.
Security:
- Bumped
follow-redirectsfrom 1.15.3 to 1.15.4. Props @dependabot.
5.0.1 – 2023-12-12
Added:
- Failed queries in the Index Health page will now be outputted with their error messages. Props @felipeelia and @pvnanini.
Fixed:
- Queries failing due to a “request body is required” error. Props @felipeelia.
- Fatal error when site has a bad cookie. Props @burhandodhy.
- Broken i18n of some strings. Props @felipeelia and @iazema.
- PHP Warning on term archive pages when the term was not found. Props @felipeelia and @Igor-Yavych.
- PHP warning when using block themes. Props @felipeelia and @tropicandid.
- Several typos. Props @szepeviktor.
- Index cleanup process – offset being zeroed too late. Props @pknap.
- PHP warning in site health page. Props @turtlepod.
- ReactDOM.render is no longer supported in React 18. Props @burhandodhy and @felipeelia.
- E2e tests with WordPress 6.4. Props @felipeelia.
- PHP Setup in GitHub Actions. Props @felipeelia.
5.0.0 – 2023-11-01
ElasticPress 5.0.0 contains some important changes. Make sure to read these highlights before upgrading:
- This version does not require a full reindex but it is recommended, especially for websites using synonyms containing spaces.
- Meta keys are not indexed by default anymore. The new Weighting …
