Skip to content

Releases: YahnisElsts/wp-update-server

2.0.1

02 Jan 11:06
Compare
Choose a tag to compare

Fixed a number of PHP 8 deprecation notices in Wpup_Headers.

2.0

31 Mar 14:17
Compare
Choose a tag to compare
2.0

Backwards incompatible changes

  • Moved the icons and banners directories to a new package-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 the Wpup_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

08 Mar 15:19
Compare
Choose a tag to compare
  • Added support for plugin icons. See /icons/readme.md for details.
  • Minor documentation updates.

1.3

01 Sep 11:08
Compare
Choose a tag to compare
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 the banners 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

02 Sep 11:21
Compare
Choose a tag to compare
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

16 Dec 12:47
Compare
Choose a tag to compare
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

16 Dec 12:29
Compare
Choose a tag to compare
1.0

The first sort-of-stable release.