Releases: YahnisElsts/wp-update-server
Releases · YahnisElsts/wp-update-server
2.0.2
2.0.1
Fixed a number of PHP 8 deprecation notices in Wpup_Headers
.
2.0
Backwards incompatible changes
- Moved the
icons
andbanners
directories to a newpackage-assets
subdirectory to fix a conflict with some Apache versions. - The
filterLogInfo()
method now receives an associative array with string keys instead of an array with numeric indexes.
Other changes
- Added basic IP anonymization support. This feature makes the server partially anonymize IP addresses before writing them to the request log. To enable it, call the
enableIpAnonymization()
method on theWpup_UpdateServer
instance. - Added support for the
Requires PHP
field. - Special characters in request data should now be escaped as hex when writing them to the request log. Props to @dangoodman.
- Added the ability to detect and log the site URL for update requests sent from WordPress.com sites. Props to @meceware.
- Fixed a potential security issue where plugin/theme packages could be downloaded directly on Apache 2.4.
- Fixed some PHP 7 warnings about curly braces.
- Fixed changelog parsing where lists were not terminated correctly.
1.3.1
- Added support for plugin icons. See
/icons/readme.md
for details. - Minor documentation updates.
1.3
- Added basic support for plugin banners. To add a banner, create an 772x250 pixel image named
$slug-772x250.png
or$slug-772x250.jpg
and put it in thebanners
subdirectory. - Added optional log rotation. To enable it, call
enableLogRotation()
and specify the rotation period and the number of old log files to keep. Example:$server->enableLogRotation(Wpup_UpdateServer::FILE_PER_MONTH, 6);
- Added the PclZip library as an alternative to the Zip extension. Props to @dcooperdalrymple.
- Added some more input and output sanitization.
- Minor code cleanup.
1.2
- Fixed occasional double slashes in download URLs that could cause updates to fail in WP 4.6.
- Fixed a few notices about deprecated constructors (PHP 7).
- Fixed a caching bug that caused lots of unnecessary cache updates. Props to @jrfnl, see #23.
- Fixed an encoding bug where the server incorrectly assumed all readme.txt files would be ISO-8859-1 and tried to re-encode them as UTF-8.
- Lots of refactoring by @jrfnl and myself.
- Updated Markdown library.
- Removed some dead code.
1.1
Refactored HTTP header handling.
As a stand-alone application, this release is backwards-compatible with 1.0. However, if you subclass Wpup_UpdateServer
or Wpup_Request
, or call some of their methods from your own code, you may need to update some method signatures.
1.0
The first sort-of-stable release.