From 317a2dc20cdfce098efec5e7652af479903c4f5a Mon Sep 17 00:00:00 2001 From: Brady Vercher Date: Mon, 11 Jan 2021 21:38:20 -0800 Subject: [PATCH] Release 0.6.0. --- CHANGELOG.md | 12 +++++++++++- languages/satispress.pot | 8 ++++---- package.json | 2 +- satispress.php | 4 ++-- 4 files changed, 18 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92a3d85..befa576 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ ## [Unreleased] +## [0.6.0] - 2021-1-11 + +* Added the `satispress_package_download_url` filter. This can be used to ignore update requests from vendors with custom update routines that cause invalid artifacts to be downloaded. +* Created missing artifacts from source for the currently installed version of a package when viewing the `packages.json` endpoint. This allows updates made through FTP, git, or the admin UI to be archived automatically and included in `packages.json` without having to perform any additional manual steps. See [#131](https://github.com/cedaro/satispress/issues/131) +* Archived packages automatically when they're upgraded in the WordPress admin panel. +* Coerced package download URLs retrieved from the `update_plugins` and `update_themes` transients to strings before using them to prevent fatal errors caused by packages that inject unexpected data. See [#106](https://github.com/cedaro/satispress/issues/106) +* Updated `dealerdirect/phpcodesniffer-composer-installer` for Composer 2 compatibility. Props [@aaronware](https://github.com/aaronware) +* Updated `composer/semver` dependency to version 3.2. + ## [0.5.2] - 2020-12-01 * Cast meta keys to strings in `SatisPress\Authentication\ApiKey\ApiKeyRepository::find_for_user()` to prevent fatal errors in some situations [#133](https://github.com/cedaro/satispress/issues/133). @@ -64,7 +73,8 @@ Major changes include: * [Capabilities](docs/security.md#capabilities) were added for viewing and downloading packages, as well as managing SatisPress options. Only administrators have access by default. * The storage layer was abstracted to make it swappable. -[Unreleased]: https://github.com/cedaro/satispress/compare/v0.5.2...HEAD +[Unreleased]: https://github.com/cedaro/satispress/compare/v0.6.0...HEAD +[0.6.0]: https://github.com/cedaro/satispress/compare/v0.5.2...v0.6.0 [0.5.2]: https://github.com/cedaro/satispress/compare/v0.5.1...v0.5.2 [0.5.1]: https://github.com/cedaro/satispress/compare/v0.5.0...v0.5.1 [0.5.0]: https://github.com/cedaro/satispress/compare/v0.4.1...v0.5.0 diff --git a/languages/satispress.pot b/languages/satispress.pot index eab7fa7..87a4c6a 100644 --- a/languages/satispress.pot +++ b/languages/satispress.pot @@ -1,14 +1,14 @@ -# Copyright (C) 2020 Cedaro +# Copyright (C) 2021 Cedaro # This file is distributed under the GPL-2.0-or-later. msgid "" msgstr "" -"Project-Id-Version: SatisPress 0.5.2\n" +"Project-Id-Version: SatisPress 0.6.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/satispress\n" -"POT-Creation-Date: 2020-12-01 19:36:18+00:00\n" +"POT-Creation-Date: 2021-01-12 05:36:52+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/package.json b/package.json index 7cae832..a06ce05 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "satispress", - "version": "0.5.2", + "version": "0.6.0", "description": "Generate a Composer repository from installed WordPress plugins and themes.", "repository": { "type": "git", diff --git a/satispress.php b/satispress.php index 1c2d372..a97b7da 100644 --- a/satispress.php +++ b/satispress.php @@ -10,7 +10,7 @@ * Plugin Name: SatisPress * Plugin URI: https://github.com/cedaro/satispress * Description: Generate a Composer repository from installed WordPress plugins and themes. - * Version: 0.5.2 + * Version: 0.6.0 * Author: Cedaro * Author URI: https://www.cedaro.com/ * License: GPL-2.0-or-later @@ -37,7 +37,7 @@ * * @var string */ -const VERSION = '0.5.2'; +const VERSION = '0.6.0'; // Load the Composer autoloader. if ( file_exists( __DIR__ . '/vendor/autoload.php' ) ) {