Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release] 3.1.1 #107

Merged
merged 8 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,19 @@ All notable changes to this project will be documented in this file, per [the Ke
### Security
-->

## [3.1.1] - 2024-12-11

### Added
- Display the number of queries in Query Monitor's tab title. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy) via [#105](https://github.com/10up/ElasticPress/pull/105).
- ElasticPress as a plugin dependency. Props [@jeffpaul](https://github.com/jeffpaul) via [#99](https://github.com/10up/ElasticPress/pull/99).

### Changed
- More modern versions of GitHub Actions, node, and node packages. Props [@felipeelia](https://github.com/felipeelia) via [#104](https://github.com/10up/ElasticPress/pull/104).

### Fixed
- Notices related to i18n calls. Props [@felipeelia](https://github.com/felipeelia) and [@archon810](https://github.com/archon810) via [#103](https://github.com/10up/ElasticPress/pull/103).
- Use new plugin name in the admin notice. Props [@burhandodhy](https://github.com/burhandodhy) via [#108](https://github.com/10up/ElasticPress/pull/108).

## [3.1.0] - 2023-09-20

### Added
Expand Down Expand Up @@ -96,6 +109,7 @@ This release drops the support for older versions of WordPress Core, ElasticPres
* Initial release

[Unreleased]: https://github.com/10up/debug-bar-elasticpress/compare/trunk...develop
[3.1.1]: https://github.com/10up/debug-bar-elasticpress/compare/3.1.0...3.1.1
[3.1.0]: https://github.com/10up/debug-bar-elasticpress/compare/3.0.0...3.1.0
[3.0.0]: https://github.com/10up/debug-bar-elasticpress/compare/2.1.1...3.0.0
[2.1.1]: https://github.com/10up/debug-bar-elasticpress/compare/2.1.0...2.1.1
Expand Down
3 changes: 2 additions & 1 deletion CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

[Vasken Hauri (@brandwaffle)](https://github.com/brandwaffle).
[Thorsten Ott (@tott)](https://github.com/tott) and [Felipe Elia (@felipeelia)](https://github.com/felipeelia).

## Contributors

Expand All @@ -29,6 +29,7 @@ Thank you to all the people who have already contributed to this repository via
[Burhan Nasir (@burhandodhy)](https://github.com/burhandodhy),
[Nathaniel Taintor (@goldenapples)](https://github.com/goldenapples),
[Matt Gross (@mattonomics)](https://github.com/mattonomics),
[Artem Russakovskii (@archon810)](https://github.com/archon810),
and
[Christoph Bratschi (@cbratschi)](https://github.com/cbratschi).

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
## Requirements

* [ElasticPress](https://wordpress.org/plugins/elasticpress/) 4.4.0+
* [Debug Bar](https://wordpress.org/plugins/debug-bar/) 1.0+
* PHP 7.0+
* Optional: [Debug Bar](https://wordpress.org/plugins/debug-bar/) 1.0+ or [Query Monitor](https://wordpress.org/plugins/query-monitor/)

## Usage

After installing and activating, click the `Debug` button in the admin toolbar. Within the Debug Bar Panel, click the ElasticPress panel.
After installing and activating, click the `Debug` button or the Query Monitor Stats in the admin toolbar. Within Debug Bar/Query Monitor, click the ElasticPress panel.

Alternatively, go to ElasticPress > Query Log and set it to record ElasticPress queries.

## Issues

Expand Down
4 changes: 2 additions & 2 deletions debug-bar-elasticpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: ElasticPress Debugging Add-On
* Plugin URI: https://wordpress.org/plugins/debug-bar-elasticpress
* Description: Extends the Query Monitor and Debug Bar plugins for ElasticPress queries.
* Version: 3.1.0
* Version: 3.1.1
* Requires Plugins: elasticpress
* Requires at least: 5.6
* Requires PHP: 7.0
Expand All @@ -19,7 +19,7 @@

namespace DebugBarElasticPress;

define( 'EP_DEBUG_VERSION', '3.1.0' );
define( 'EP_DEBUG_VERSION', '3.1.1' );
define( 'EP_DEBUG_URL', plugin_dir_url( __FILE__ ) );
define( 'EP_DEBUG_MIN_EP_VERSION', '4.4.0' );

Expand Down
75 changes: 40 additions & 35 deletions lang/debug-bar-elasticpress.pot
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Copyright (C) 2023 10up
# Copyright (C) 2024 10up
# This file is distributed under the GPLv2.
msgid ""
msgstr ""
"Project-Id-Version: ElasticPress Debugging Add-On 3.1.0\n"
"Project-Id-Version: ElasticPress Debugging Add-On 3.1.1\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/debug-bar-elasticpress\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2023-09-20T11:47:36+00:00\n"
"POT-Creation-Date: 2024-12-11T17:24:37+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.8.1\n"
"X-Domain: debug-bar-elasticpress\n"
Expand All @@ -34,12 +34,17 @@ msgstr ""
msgid "https://10up.com"
msgstr ""

#. translators: %d: number of queries
#: classes/CommonPanel.php:28
msgid "ElasticPress (%d)"
msgstr ""

#: classes/CommonPanel.php:33
#: classes/EP_Debug_Bar_ElasticPress.php:38
msgid "ElasticPress"
msgstr ""

#: classes/CommonPanel.php:60
#: classes/CommonPanel.php:57
msgid "ElasticPress is currently indexing."
msgstr ""

Expand Down Expand Up @@ -97,106 +102,106 @@ msgstr ""
msgid "Recommended Solution"
msgstr ""

#: classes/QueryLog.php:119
#: classes/QueryLog.php:120
#: classes/QueryLog.php:125
#: classes/QueryLog.php:126
msgid "Query Log"
msgstr ""

#: classes/QueryLog.php:233
#: classes/QueryLog.php:239
msgid "ElasticPress Query Log"
msgstr ""

#: classes/QueryLog.php:244
#: classes/QueryLog.php:250
msgid "Enable or disable query logging:"
msgstr ""

#: classes/QueryLog.php:249
#: classes/QueryLog.php:255
msgid "Disable"
msgstr ""

#: classes/QueryLog.php:250
#: classes/QueryLog.php:256
msgid "Enable for 5 minutes"
msgstr ""

#: classes/QueryLog.php:251
#: classes/QueryLog.php:257
msgid "Keep enabled"
msgstr ""

#: classes/QueryLog.php:256
#: classes/QueryLog.php:262
msgid "Note that query logging can have <strong>severe</strong> performance implications on your website."
msgstr ""

#. translators: date
#: classes/QueryLog.php:261
#: classes/QueryLog.php:267
msgid "Logging queries until <strong>%s</strong>."
msgstr ""

#: classes/QueryLog.php:271
#: classes/QueryLog.php:277
msgid "Log by status:"
msgstr ""

#: classes/QueryLog.php:274
#: classes/QueryLog.php:280
msgid "Only failed queries"
msgstr ""

#: classes/QueryLog.php:275
#: classes/QueryLog.php:281
msgid "All queries"
msgstr ""

#: classes/QueryLog.php:280
#: classes/QueryLog.php:286
msgid "Log by context:"
msgstr ""

#: classes/QueryLog.php:284
#: classes/QueryLog.php:290
msgid "Public"
msgstr ""

#: classes/QueryLog.php:288
#: classes/QueryLog.php:294
msgid "Admin"
msgstr ""

#: classes/QueryLog.php:292
#: classes/QueryLog.php:298
msgid "AJAX"
msgstr ""

#: classes/QueryLog.php:296
#: classes/QueryLog.php:302
msgid "REST API"
msgstr ""

#. translators: Current limit
#: classes/QueryLog.php:308
#: classes/QueryLog.php:314
msgid "Please note that logs are stored until the storage limit is reached. The current limit is: <strong>%s</strong>"
msgstr ""

#: classes/QueryLog.php:316
#: classes/QueryLog.php:322
msgid "Save Changes"
msgstr ""

#: classes/QueryLog.php:319
#: classes/QueryLog.php:325
msgid "Empty Log"
msgstr ""

#: classes/QueryLog.php:398
#: classes/QueryLog.php:404
msgid "Raw ES document"
msgstr ""

#: classes/QueryLog.php:403
#: classes/QueryLog.php:409
msgid "Elasticsearch check"
msgstr ""

#: classes/QueryLog.php:493
#: classes/QueryLog.php:499
msgid "Main query"
msgstr ""

#: classes/QueryLog.php:497
#: classes/QueryLog.php:503
msgid "Possible values for EP filter"
msgstr ""

#: classes/QueryLog.php:504
#: classes/QueryLog.php:510
msgid "Autosuggest template"
msgstr ""

#: classes/QueryLog.php:507
#: classes/QueryLog.php:513
msgid "Search"
msgstr ""

Expand Down Expand Up @@ -318,19 +323,19 @@ msgstr ""
msgid "Reload and retrieve raw ES document"
msgstr ""

#: debug-bar-elasticpress.php:108
#: debug-bar-elasticpress.php:117
msgid "ElasticPress Version"
msgstr ""

#: debug-bar-elasticpress.php:120
#: debug-bar-elasticpress.php:129
msgid "ElasticPress.io Managed Platform"
msgstr ""

#: debug-bar-elasticpress.php:124
#: debug-bar-elasticpress.php:133
msgid "Elasticsearch Version"
msgstr ""

#. translators: Min. EP version
#: debug-bar-elasticpress.php:157
msgid "Debug Bar ElasticPress needs at least ElasticPress %s to work properly."
#: debug-bar-elasticpress.php:165
msgid "ElasticPress Debugging Add-On needs at least ElasticPress %s to work properly."
msgstr ""
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "debug-bar-elasticpress",
"version": "3.1.0",
"version": "3.1.1",
"description": "Extends the Debug Bar plugin for ElasticPress queries.",
"main": "index.js",
"scripts": {
Expand Down
26 changes: 22 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@
Contributors: tlovett1, 10up
Tags: debug, debug bar, elasticpress, elasticsearch
Requires at least: 4.6
Tested up to: 6.3
Tested up to: 6.7
Requires PHP: 7.0
Stable tag: 3.1.0
Stable tag: 3.1.1
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Extends the Query Monitor and Debug Bar plugins for ElasticPress queries.

== Description ==

Adds an [ElasticPress](https://wordpress.org/plugins/elasticpress) panel to [Debug Bar](https://wordpress.org/plugins/debug-bar/) and/or [Query Monitor](https://wordpress.org/plugins/query-monitor/) plugins. Allows you to examine every ElasticPress query running on any given request.
Allows you to examine every ElasticPress query running on any given request by adding an [ElasticPress](https://wordpress.org/plugins/elasticpress) panel to [Debug Bar](https://wordpress.org/plugins/debug-bar/) and/or [Query Monitor](https://wordpress.org/plugins/query-monitor/) plugins.

Alternatively, go to ElasticPress > Query Log and set it to record ElasticPress queries.

= Requirements: =

Expand All @@ -22,11 +24,27 @@ Adds an [ElasticPress](https://wordpress.org/plugins/elasticpress) panel to [Deb

== Installation ==
1. Install [ElasticPress](https://wordpress.org/plugins/elasticpress).
2. Install [Debug Bar](https://wordpress.org/plugins/debug-bar/).
2. Optionally install [Debug Bar](https://wordpress.org/plugins/debug-bar/) or [Query Monitor](https://wordpress.org/plugins/query-monitor/).
3. Install the plugin in WordPress.

== Changelog ==

= 3.1.1 - 2024-12-11 =

__Added:__

* Display the number of queries in Query Monitor's tab title. Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
* ElasticPress as a plugin dependency. Props [@jeffpaul](https://github.com/jeffpaul).

__Changed:__

* More modern versions of GitHub Actions, node, and node packages. Props [@felipeelia](https://github.com/felipeelia).

__Fixed:__

* Notices related to i18n calls. Props [@felipeelia](https://github.com/felipeelia) and [@archon810](https://github.com/archon810).
* Use new plugin name in the admin notice. Props [@burhandodhy](https://github.com/burhandodhy).

= 3.1.0 - 2023-09-20 =

__Added:__
Expand Down
Loading