-
Notifications
You must be signed in to change notification settings - Fork 16
/
readme.txt
executable file
·138 lines (90 loc) · 5.99 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
=== ElasticPress Debugging Add-On ===
Contributors: tlovett1, 10up
Tags: debug, debug bar, elasticpress, elasticsearch
Requires at least: 4.6
Tested up to: 6.7
Requires PHP: 7.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 ==
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: =
* [ElasticPress 4.4.0+](https://wordpress.org/plugins/elasticpress)
* [Debug Bar 1.0+](https://wordpress.org/plugins/debug-bar/)
* PHP 7.0+
== Installation ==
1. Install [ElasticPress](https://wordpress.org/plugins/elasticpress).
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:__
* New button to explain ES queries. Props [@burhandodhy](https://github.com/burhandodhy), [@felipeelia](https://github.com/felipeelia), [@MARQAS](https://github.com/MARQAS), and [@brandwaffle](https://github.com/brandwaffle).
* New button to Reload and retrieve raw ES document. Props [@burhandodhy](https://github.com/burhandodhy), [@felipeelia](https://github.com/felipeelia), and [@brandwaffle](https://github.com/brandwaffle).
* Query types (and context when listing queries in the Query Log admin screen.) Props [@felipeelia](https://github.com/felipeelia) and [@burhandodhy](https://github.com/burhandodhy).
* Log query by context, status, and fixed time. Props [@felipeelia](https://github.com/felipeelia).
* Official support to Query Monitor. Props [@felipeelia](https://github.com/felipeelia).
__Security:__
* Bumped `tough-cookie` from 4.1.2 to 4.1.3. Props [@dependabot](https://github.com/dependabot).
* Bumped `word-wrap` from 1.2.3 to 1.2.4. Props [@dependabot](https://github.com/dependabot).
= 3.0.0 - 2023-03-23 =
This release drops the support for older versions of ElasticPress and PHP.
__Added:__
* Instructions with error code for failed queries. Props [@MARQAS](https://github.com/MARQAS) and [@felipeelia](https://github.com/felipeelia).
* Buttons to copy or download all requests info. Props [@MARQAS](https://github.com/MARQAS), [@felipeelia](https://github.com/felipeelia), and [@burhandodhy](https://github.com/burhandodhy).
* Compatibility with the WordPress localization system. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
* SECURITY.md file. Props [@felipeelia](https://github.com/felipeelia).
__Changed:__
* Set minimum requirement for PHP to 7.0 and ElasticPress to 4.4.0. Props [@burhandodhy](https://github.com/burhandodhy) and [@felipeelia](https://github.com/felipeelia).
* CSS and JS code lint by 10up toolkit. Props [@burhandodhy](https://github.com/burhandodhy).
__Fixed:__
* Unnecessary `stripslashes()` call when outputting JSON objects. Props [@felipeelia](https://github.com/felipeelia), [@goldenapples](https://github.com/goldenapples), and [@mattonomics](https://github.com/mattonomics).
* JS error on copy action. Props [@burhandodhy](https://github.com/burhandodhy).
__Security:__
* Bumped `minimatch` from 3.0.4 to 3.1.2. Props [@dependabot](https://github.com/dependabot).
* Bumped `json5` from 2.2.0 to 2.2.3. Props [@dependabot](https://github.com/dependabot).
* Bumped `webpack` from 5.75.0 to 5.76.2. Props [@dependabot](https://github.com/dependabot).
= 2.1.1 - 2022-08-04 =
__Security:__
* Fix XSS vulnerability. Props [@piotr-bajer](https://github.com/piotr-bajer) and [@felipeelia](https://github.com/felipeelia).
* Bumped `path-parse` from 1.0.6 to 1.0.7. Props [@dependabot](https://github.com/dependabot).
* Bumps `minimist` from 1.2.5 to 1.2.6. Props [@dependabot](https://github.com/dependabot).
* Bumps `ansi-regex` from 5.0.0 to 5.0.1. Props [@dependabot](https://github.com/dependabot).
= 2.1.0 =
__Added:__
* ElasticPress and Elasticsearch versions. Props to [@oscarssanchez](https://github.com/oscarssanchez) and [@felipeelia](https://github.com/felipeelia).
* Log of bulk_index requests. Props [@felipeelia](https://github.com/felipeelia).
* Warning when ElasticPress is indexing. Props [@nathanielks](https://github.com/nathanielks) and [@felipeelia](https://github.com/felipeelia).
__Changed:__
* Only load CSS and JS files for logged-in users. Props [@cbratschi](https://github.com/cbratschi) and [@felipeelia](https://github.com/felipeelia).
= 2.0.0 =
This release drops the support for older versions of WordPress Core, ElasticPress and Debug Bar.
* Code refactoring. Props [@felipeelia](https://github.com/felipeelia)
* Fixed Query Logs in EP Dashboard [@felipeelia](https://github.com/felipeelia)
* Fixed typo from "clsas" to "class" in the query output. Props [@Rahmon](https://github.com/Rahmon)
= 1.4 =
* Support ElasticPress 3.0+
= 1.3 =
* Add query log
= 1.2 =
* Show query errors (i.e. cURL timeout)
* Add ?explain to query if GET param is set
= 1.1.1 =
* Only show query body if it exits
= 1.1 =
* Improve formatting
* Show original query args (EP 2.1+)
= 1.0 =
* Initial release