diff --git a/.wordpress-org/screenshot-5.png b/.wordpress-org/screenshot-5.png new file mode 100644 index 0000000..bbfcdab Binary files /dev/null and b/.wordpress-org/screenshot-5.png differ diff --git a/CHANGELOG.md b/CHANGELOG.md index f126e7a..22bae50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,13 +13,26 @@ All notable changes to this project will be documented in this file, per [the Ke ### Security --> +## [2.3.0] - 2024-03-04 + +This version introduces the new *External Content* feature. Check [our blog post](https://www.elasticpress.io/blog/2024/03/pew-research-center-external-files-as-a-source-for-your-search) for more info. + + +### Added +- New "External Content" feature. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy) via [#94](https://github.com/10up/ElasticPressLabs/pull/94) and [#99](https://github.com/10up/ElasticPressLabs/pull/99). + +### Changed +- Composer packages update. Props [@felipeelia](https://github.com/felipeelia) via [#95](https://github.com/10up/ElasticPressLabs/pull/95). +- Compatibility with node v18. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy) via [#96](https://github.com/10up/ElasticPressLabs/pull/96). + + ## [2.2.0] - 2023-11-01 ### Added -- Compatibility with ElasticPress 5.0.0. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy) via [#81](https://github.com/10up/ElasticPress/pull/81) and [#85](https://github.com/10up/ElasticPress/pull/85). +- Compatibility with ElasticPress 5.0.0. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy) via [#81](https://github.com/10up/ElasticPressLabs/pull/81) and [#85](https://github.com/10up/ElasticPressLabs/pull/85). ### Changed -- Features do not autoactivate anymore. Props [@felipeelia](https://github.com/felipeelia) via [#88](https://github.com/10up/ElasticPress/pull/88). +- Features do not autoactivate anymore. Props [@felipeelia](https://github.com/felipeelia) via [#88](https://github.com/10up/ElasticPressLabs/pull/88). ### Security - Bumped `@babel/traverse` from 7.19.3 to 7.23.2. Props [@dependabot](https://github.com/dependabot) via [#80](https://github.com/10up/ElasticPressLabs/pull/80). @@ -28,18 +41,18 @@ All notable changes to this project will be documented in this file, per [the Ke ## [2.1.1] - 2023-09-28 ### Added -- Integrate with WP update system to alert users about new versions. Props [@felipeelia](https://github.com/felipeelia) via [#76](https://github.com/10up/ElasticPress/pull/76). +- Integrate with WP update system to alert users about new versions. Props [@felipeelia](https://github.com/felipeelia) via [#76](https://github.com/10up/ElasticPressLabs/pull/76). ### Changed -- Update the User Indexable files (bringing from the main plugin.) Props [@MARQAS](https://github.com/MARQAS) via [#72](https://github.com/10up/ElasticPress/pull/72) and [#79](https://github.com/10up/ElasticPress/pull/79). +- Update the User Indexable files (bringing from the main plugin.) Props [@MARQAS](https://github.com/MARQAS) via [#72](https://github.com/10up/ElasticPressLabs/pull/72) and [#79](https://github.com/10up/ElasticPressLabs/pull/79). ### Removed -- Remove old Mapping files for Users. Props [@MARQAS](https://github.com/MARQAS) via [#72](https://github.com/10up/ElasticPress/pull/72). +- Remove old Mapping files for Users. Props [@MARQAS](https://github.com/MARQAS) via [#72](https://github.com/10up/ElasticPressLabs/pull/72). ### Fixed -- Boolean Operator (Not) not giving the expected result. Props [@MARQAS](https://github.com/MARQAS) via [#67](https://github.com/10up/ElasticPress/pull/67). -- Fatal Error in command line. Props [@MARQAS](https://github.com/MARQAS) via [#69](https://github.com/10up/ElasticPress/pull/69). -- PHP Warnings. Props [@felipeelia](https://github.com/felipeelia) via [#71](https://github.com/10up/ElasticPress/pull/71). +- Boolean Operator (Not) not giving the expected result. Props [@MARQAS](https://github.com/MARQAS) via [#67](https://github.com/10up/ElasticPressLabs/pull/67). +- Fatal Error in command line. Props [@MARQAS](https://github.com/MARQAS) via [#69](https://github.com/10up/ElasticPressLabs/pull/69). +- PHP Warnings. Props [@felipeelia](https://github.com/felipeelia) via [#71](https://github.com/10up/ElasticPressLabs/pull/71). ### Security - Bumped `webpack` from 5.74.0 to 5.76.1. Props [@dependabot](https://github.com/dependabot) via [#64](https://github.com/10up/ElasticPressLabs/pull/64). @@ -102,6 +115,7 @@ All notable changes to this project will be documented in this file, per [the Ke - Initial plugin release. [Unreleased]: https://github.com/10up/ElasticPressLabs/compare/trunk...develop +[2.3.0]: https://github.com/10up/ElasticPressLabs/compare/2.2.0...2.3.0 [2.2.0]: https://github.com/10up/ElasticPressLabs/compare/2.1.1...2.2.0 [2.1.1]: https://github.com/10up/ElasticPressLabs/compare/2.1.0...2.1.1 [2.1.0]: https://github.com/10up/ElasticPressLabs/compare/2.0.0...2.1.0 diff --git a/CREDITS.md b/CREDITS.md index 210e8f1..89faf5c 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -6,7 +6,7 @@ The following acknowledges the Maintainers for this repository, those who have C The following individuals are responsible for curating the list of issues, responding to pull requests, and ensuring regular releases happen. -[Felipe Elia (@felipeelia)](https://github.com/felipeelia), [Vasken Hauri (@brandwaffle)](https://github.com/brandwaffle). +[Thorsten Ott (@tott)](https://github.com/tott) and [Felipe Elia (@felipeelia)](https://github.com/felipeelia). ## Contributors diff --git a/README.md b/README.md index 7b9449d..6e8706d 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,9 @@ This plugin provides a simple interface to enable and disable features. 4. Settings to change the version of the search algorithm between default, 3.5, and 4.0. ![](/.wordpress-org/screenshot-4.png) +5. Settings to index external content. +![](/.wordpress-org/screenshot-5.png) + ## Support Level **Active:** 10up is actively working on this, and we expect to continue work for the foreseeable future including keeping tested up to the most recent version of WordPress. Bug reports, feature requests, questions, and pull requests are welcome. diff --git a/elasticpresslabs.php b/elasticpresslabs.php index 5299735..80ea551 100644 --- a/elasticpresslabs.php +++ b/elasticpresslabs.php @@ -3,7 +3,7 @@ * Plugin Name: ElasticPress Labs * Plugin URI: https://github.com/10up/ElasticPressLabs * Description: A developer focused interface to commonly ElasticPress plugin issues. - * Version: 2.2.0 + * Version: 2.3.0 * Requires at least: 5.6 * Requires PHP: 7.0 * Author: 10up @@ -18,7 +18,7 @@ */ // Useful global constants. -define( 'ELASTICPRESS_LABS_VERSION', '2.2.0' ); +define( 'ELASTICPRESS_LABS_VERSION', '2.3.0' ); define( 'ELASTICPRESS_LABS_URL', plugin_dir_url( __FILE__ ) ); define( 'ELASTICPRESS_LABS_PATH', plugin_dir_path( __FILE__ ) ); define( 'ELASTICPRESS_LABS_INC', ELASTICPRESS_LABS_PATH . 'includes/' ); diff --git a/languages/ElasticPressLabs.pot b/languages/ElasticPressLabs.pot index d18627b..2536a80 100644 --- a/languages/ElasticPressLabs.pot +++ b/languages/ElasticPressLabs.pot @@ -1,15 +1,15 @@ -# Copyright (C) 2023 10up +# Copyright (C) 2024 10up # This file is distributed under the GPL v2 or later. msgid "" msgstr "" -"Project-Id-Version: ElasticPress Labs 2.2.0\n" +"Project-Id-Version: ElasticPress Labs 2.3.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/elasticpress-labs\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2023-11-01T13:23:32+00:00\n" +"POT-Creation-Date: 2024-03-04T12:48:18+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.8.1\n" "X-Domain: elasticpress-labs\n" @@ -123,6 +123,23 @@ msgstr "" msgid "Unregister feature" msgstr "" +#: includes/classes/Feature/ExternalContent.php:36 +msgid "External Content" +msgstr "" + +#: includes/classes/Feature/ExternalContent.php:38 +msgid "List meta keys containing a path or a URL, and ElasticPress will index the content of those path or URL. For example, for a meta key called meta_key with https://wordpress.org/news/wp-json/wp/v2/posts/16837 as its value, the JSON returned by that REST API endpoint will be indexed in a meta key called ep_external_content_meta_key." +msgstr "" + +#. translators: Search Fields & Weighting Dashboard URL +#: includes/classes/Feature/ExternalContent.php:85 +msgid "Add one field per line. Visit the Search Fields & Weighting Dashboard if you want to make their ep_external_content_* version searchable." +msgstr "" + +#: includes/classes/Feature/ExternalContent.php:97 +msgid "Meta fields with external URLs" +msgstr "" + #: includes/classes/Feature/MetaKeyPattern.php:34 msgid "Meta Key Pattern" msgstr "" @@ -202,11 +219,11 @@ msgstr "" msgid "This feature requires the WooCommerce and Protected Content features to be enabled." msgstr "" -#: includes/functions/core.php:244 +#: includes/functions/core.php:243 msgid "ElasticPress Labs needs ElasticPress to work." msgstr "" #. translators: Min. EP version -#: includes/functions/core.php:259 +#: includes/functions/core.php:258 msgid "ElasticPress Labs needs at least ElasticPress %s to work properly." msgstr "" diff --git a/package-lock.json b/package-lock.json index 9b41f4e..e92d328 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "elasticpress-labs", - "version": "2.2.0", + "version": "2.3.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "elasticpress-labs", - "version": "2.2.0", + "version": "2.3.0", "license": "GPL-2.0-or-later", "devDependencies": { "10up-toolkit": "^5.2.3", diff --git a/package.json b/package.json index 73328e4..e739c70 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "elasticpress-labs", - "version": "2.2.0", + "version": "2.3.0", "description": "ElasticPress Labs", "author": { "name": "10up", diff --git a/readme.txt b/readme.txt index 874ace6..7669bb1 100644 --- a/readme.txt +++ b/readme.txt @@ -2,8 +2,8 @@ Contributors: 10up Tags: Elasticsearch, ElasticPress, search, boolean, Co-Authors Plus Requires at least: 5.6 -Tested up to: 6.3 -Stable tag: 2.2.0 +Tested up to: 6.4 +Stable tag: 2.3.0 Requires PHP: 7.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -24,10 +24,24 @@ This plugin provides a simple interface to enable and disable features. 2. Settings to add Co-Authors Plus plugin support. 3. Settings to include or exclude meta key patterns. 4. Settings to change the version of the search algorithm between 3.4 and 3.5. +5. Settings to index external content. == Changelog == += 2.3.0 - 2024-03-04 = + +This version introduces the new *External Content* feature. Check [our blog post](https://www.elasticpress.io/blog/2024/03/pew-research-center-external-files-as-a-source-for-your-search) for more info. + +__Added:__ + +* New "External Content" feature. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy). + +__Changed:__ + +* Composer packages update. Props [@felipeelia](https://github.com/felipeelia). +* Compatibility with node v18. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy). + = 2.2.0 - 2023-11-01 = __Added:__