/
changelog.txt
executable file
·313 lines (246 loc) · 10.6 KB
/
changelog.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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
## CHANGELOG
= 5.1.3 =
* June 2022
* Check if a required option exists before trying to use it
= 5.1.2 =
* April 2022
* Fix typo in readme
= 5.1.1 =
* April 2022
* Prevent two versions of the plugin from running at once.
* Correct JSON
= 5.1 =
* February 2022
* WP 5.9 Compat
* Rate limiting to prevent abuse - if you try to purge more than the max number of posts in a go (default 50), a purge ALL is triggered
* Allows customizing the purge URL to support: (credit mickaelperrin)
- Nginx cache purge mechanism that doesn't support regex directives
- Custom purge location
= 5.0.3 =
* August 2021
* PHP 8 Compat
= 5.0.2 =
* April 2021
* Wrapping a function_exists check which shouldn't be needed, but it fataled for someone and an ounce of prevention yadda yadda.
= 5.0.1 =
* April 2021
* Updating incompatibility lists
* HHVM deprecation
* Allow saving Proxy IP with ports
* Add check for CloudFlare APO
* Improve purge execution fails
* Double check multiple varnish IPs
= 5.0 =
* March 2021
* Now purges draft and pending posts (to account for people who un-publish) - props @jerlarke
* Localhost the debugger json. They aren't updated that often, and the remote load is unnecessary.
* More support for Health Check
* Remove strtotime check on Age header - props Matt Fields
* Support for multiple IPs (based on P.Brisson's work)
= 4.8.1 =
* May 2019
* Compat with WP 5.2
* Correct changes with DB cache flushing (props @mathieuhays)
* Simplified logic for edge case debugging
= 4.8 =
* March 2019
* Improve debugger
* Clean code per standards
* Improve callback on WP-CLI
= 4.7.3 =
* December 2018
* Bugfix for Jetpack (Props @jherve)
= 4.7.2 =
* October 2018
* Fix regression with IP function name
* Restore "Right Now" activity box _only_ for people who use WP.com toolbar
= 4.7.1 =
* October 2018
* Documentation: Cleaning up language and spelling
= 4.7.0 =
* October 2018
* WP-CLI: documentation
* Bugfix: Nginx compatibility
* Bugfix: Only enqueue CSS on front0end if the admin bar is used (props @mathieuhays)
* Feature: Rebranding
* Deprecation: "Right Now" button (not needed anymore)
= 4.6.6 =
* September 2018
* Bugfix to allow Nginx proxy to flush individual pages.
= 4.6.5 =
* September 2018
* Bugfix to correct footer output. :facepalm: No broken functionality.
= 4.6.4 =
* September 2018
* Remove query variables from URLs to prevent URLs from being flushed more than once per update
* More selective loading of AMP urls
= 4.6.3 =
* August 2018
* Deprecated function support
= 4.6.2 =
* July 2018
* Fixing some translation output.
* Multisite fixes for settings pages.
= 4.6.1 =
* July 2018
* Fix situation where purging wasn't (props @carlalexander)
= 4.6.0 =
* July 2018
* Moved Varnish to it's own menu with a new custom icon (props Olesya)
* Add option to enable development for 24 hours (for super-admins only)
* Change debug mode to development mode and greatly improved overall
* Translation improvements
* Add new action hook for after a full purge (props @futtta)
* Change check for age-header to not require a second run (props @danielbachhuber)
* Confirm plugin and theme blacklist check (props @danielbachhuber)
* WP-CLI: add debug option to show all header output (props @danielbachhuber)
* WP-CLI: add debug option to grep content for known issues (props @danielbachhuber)
* WP-CLI: add new command to change devmode state
= 4.5.1 =
* June 2018
* Due to contention (devs hate it, users like it) the empty cache button colour on the toolbar is removed, and replaced with a carrot icon (I did not make it orange, but I wanted to)
* Add carrot icon to collapsed (mobile) toolbar
* Better button hiding
* Fixed a stupid argument issue with flushing memcached and I should have known better but oh well
* FAQ update re nginx
= 4.5.0 =
* May 2018
* Remote storage of problem plugins/themes
* Prevent auto-loading of scan for improved disclosure and compliance
* Changed colour of the purge button for improved visibility
* Support for nginx proxy headers
= 4.4.0 =
* March 2018
* Improve translations
* Massive improvements to the debugging tools
* Allow for port to be added to host headers (props @davidbarratt)
* WP-CLI for debugging
= 4.3.1 =
* 10 October 2017
* Copied a wrong line.
= 4.3.0 =
* 10 October 2017
* Add Varnish Flush for "this" page on front end
* Do not flush non-public taxonomies
= 4.2.0 =
* 30 August 2017
* More flexible support for custom cat/tag bases
* Added in support for custom taxonomies
* New function to generate the URLs, so it can be called by external plugins
* Move right now box to be called later, preventing double calls
* Extra check for if it's a URL, because some plugins are weird (props @danielkun)
= 4.1.1 =
* JSON - fixed overzealous json assumptions from causing errors
* WP-CLI - fixed prepending of domain on domain when using purge on a domain (props @ocean90)
* Typos. We hate them.
= 4.1 =
* JSON / REST API Support
* Fix for Varnish Status Page on MAMP (props @jeremyclarke)
* Filter for purge headers (props @ocean90)
* Disallow people from editing the Varnish IP on Multisite
* Drop support for pre 4.7 because of JSON / REST API
* Support flushing cache for private pages
= 4.0.3 =
* Better explanation when Cloudflare gets in the way of DNS
* Rename flush button for people who don't speak Varnish
= 4.0.2 =
* Support for WP-CLI commands and PHP > 5.5 (though please upgrade, props @robertpeake)
* Better information regarding Cloudflare
* Better failure on domains for scanner
* Better IP detection
* Break apart settings for faster saving
= 4.0.1 =
* Fix typo (on -> one)
* Correct permissions on Multisite (props @phh - resolves #27 #28)
* Correct weird merge error (props @phh - resolves #25 #26)
* Fix formatting in Changelog
= 4.0 =
* Added Varnish Status Page - Tools -> Varnish Status (includes basic scanning etc)
* Allow filter for `home_url()`
* Update readme with list of filters.
* Added wp-cli commands to flush specific URLs and wildcards
* Requires wp-cli 0.25+ to work [3315](https://github.com/wp-cli/wp-cli/issues/3315) for WP 4.6+
* Update `purge_post()` to validate page_for_posts ([Props JeremyClarke](https://github.com/Ipstenu/varnish-http-purge/pull/20))
* Add check for AMP ([Props JeremyClarke](https://wordpress.org/support/topic/varnish-http-purge-doesnt-update-amp-urls-on-post-update/))
* Purge 'default' AMP URL as well
* Cleanup on Uninstall
= 3.9.3 =
* Update Documentation and Readme
= 3.9.2 =
* Change purge notice so it can be dismissed.
* Fix purging of deleted posts.
= 3.9.1 =
* Fixing i18n which wasn't working and threw a stupid error on sites without pretty permalinks. (Props DH customer Rasmus and employee Heckman!)
= 3.9 =
* Retain query params on purge
* Do not use query part for regex purging [Credit: shaula](https://github.com/Ipstenu/varnish-http-purge/pull/18)
* Allow Varnish IP to be filtered. [Credit: floatingio](https://wordpress.org/support/topic/supply-varnish-ip-via-filter)
* Improve flushing for cases when there's no Post ID
* Add filter so other plugins can add events to trigger purge when they have no post ID
* Add compatibility with [Autoptimize](https://wordpress.org/plugins/autoptimize/) so it flushes Varnish when you flush their cache
= 3.8 =
* Add varnish_http_purge_events filter to allow people to add their own events for purging. (props @norcross)
* Add a method to grab the response from purge request and pass to the 'after_purge_url' action for debugging. (props @shaula)
* Added wp-cli command: wp varnish purge (to purge varnish)
* Adding some docblocks
* Fixing i18n
= 3.7.3 =
* Add varnish_http_purge_schema filter for changing the default schema. The default remains http (even if you set your home and/or site URL to https) because of sanity, but in order to support some edge cases, they can filter if they want. (props Drumba)
= 3.7.2 =
* Revisions were being mishandled and purging all inappropriately. (props Cha0sgr)
= 3.7.1 =
* Archives weren't purging. (props Ingraye)
= 3.7 =
* Optimizing flushes.
* Add filter to allow other people to hook in when 3rd party plugins are abjectly weird (props jnachtigall)
= 3.6 =
* Making purge be http only, since Varnish doesn't support https. This will prevent other issues for people using SSL with Varnish (though goodness knows why...)
* Forcing backslash on home_url. Why WP doesn't, I have no idea, but this will help sites not running regex.
= 3.5.1 =
* Language fix
* Using add_query_arg
* Ignore revisions
= 3.5 =
* Isset wrap for URL path and query which may not be set in rare conditions (props <a href="https://wordpress.org/support/topic/undefined-index-notices-4">hsz</a>)
* Added in flushing for feeds (requested by <a href="https://wordpress.org/support/topic/feed-not-purged">heypete</a>)
= 3.4 =
* Multisite support
* Button in toolbar
* Fix define message in debug mode
* Better parsing for if you set the define in the DB or config.
= 3.3.4 =
* Rollback. Sorry.
= 3.3.3 =
* Per request of Jetpack team, added in a <code>wp_cache_flush()</code> call when manually purging. This should only impact server side PHP caches (APC, Memcached etc)
= 3.3.2 =
* Varnish IP was too persnickity in PHP 5.4 (added in an 'and if not null' check - props <a href="http://wordpress.org/support/topic/patch-a-little-patch-to-purge-on-comment-posting">colinleroy</a>)
= 3.3.1 =
* Language Pack fixing.
= 3.3 =
* Quick and dirty fix for a plugin that is causing the URLs to purge <em>ALL THE TIME</em>
= 3.2 =
* Correcting conflict with host's default config.
= 3.1 =
* Refactoring Cleanup (otherwise known as Copy/Pasta error in variable name). (props Shredder)
= 3.0 =
* Adds 'Purge Varnish' button
* More selective purging, to account for different server setups
* Tighened up what purges and when
* Flushing categories and tags (per code from WP Super Cache, thanks!)
* Clarify requirements (Varnish and Pretty Permalinks)
= 2.3 =
* Purge images on deletion
* Fix for a VarnishIP when behind proxy servers not working on all hosts (props Berler)
= 2.2.1 =
* typo (hit . instead of / - Props John B. Manos)
= 2.2 =
* Added in workaround for Varnish purge reqs going AWOL when another proxy server is in place. (props to Shredder and Berler)
* Cache flushes when you change themes
= 2.1 =
* Header Image
= 2.0 =
* Commit access handed to Ipstenu
* Changed CURL to wp_remote_request (thank you <a href="http://wordpress.org/support/topic/incompatability-with-editorial-calendar-plugin?replies=1">Kenn Wilson</a>) so we don't have to do <a href="http://wordpress.org/support/topic/plugin-varnish-http-purge-incompatibility-with-woocommerce?replies=6">CURLOPT_RETURNTRANSFER</a> Remember kids, CURL is okay, but wp_remote_request is more better.
= 1.2.0 =
* Moved actual request execution to "shutdown" event
* Removed GET request due to bad performance impact