From c4f5feed4eb2f3ccd91a79b79f92ad2f3f228ad4 Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Thu, 24 Apr 2025 10:07:00 -0500 Subject: [PATCH] Release 5.8.0 --- .github/changelog/1576-from-description | 4 ---- .github/changelog/1577-from-description | 4 ---- .github/changelog/1581-from-description | 4 ---- .github/changelog/1582-from-description | 4 ---- .github/changelog/1583-from-description | 4 ---- .github/changelog/1584-from-description | 4 ---- .github/changelog/1585-from-description | 4 ---- .github/changelog/1586-from-description | 4 ---- .github/changelog/1590-from-description | 4 ---- .github/changelog/1591-from-description | 4 ---- .github/changelog/1594-from-description | 4 ---- .github/changelog/1595-from-description | 4 ---- .github/changelog/1598-from-description | 4 ---- .github/changelog/1603-from-description | 4 ---- .github/changelog/1604-from-description | 4 ---- CHANGELOG.md | 23 ++++++++++++++++++++++ activitypub.php | 4 ++-- includes/class-migration.php | 2 +- readme.txt | 26 +++++++++++++++++++++++-- 19 files changed, 50 insertions(+), 65 deletions(-) delete mode 100644 .github/changelog/1576-from-description delete mode 100644 .github/changelog/1577-from-description delete mode 100644 .github/changelog/1581-from-description delete mode 100644 .github/changelog/1582-from-description delete mode 100644 .github/changelog/1583-from-description delete mode 100644 .github/changelog/1584-from-description delete mode 100644 .github/changelog/1585-from-description delete mode 100644 .github/changelog/1586-from-description delete mode 100644 .github/changelog/1590-from-description delete mode 100644 .github/changelog/1591-from-description delete mode 100644 .github/changelog/1594-from-description delete mode 100644 .github/changelog/1595-from-description delete mode 100644 .github/changelog/1598-from-description delete mode 100644 .github/changelog/1603-from-description delete mode 100644 .github/changelog/1604-from-description diff --git a/.github/changelog/1576-from-description b/.github/changelog/1576-from-description deleted file mode 100644 index b1964cebc1..0000000000 --- a/.github/changelog/1576-from-description +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: added - -Fallback embed support for Fediverse content that lacks native oEmbed responses. diff --git a/.github/changelog/1577-from-description b/.github/changelog/1577-from-description deleted file mode 100644 index 2fcd3505d3..0000000000 --- a/.github/changelog/1577-from-description +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: added - -An option to receive notification emails when an Actor was mentioned in the Fediverse. diff --git a/.github/changelog/1581-from-description b/.github/changelog/1581-from-description deleted file mode 100644 index 88c7424dc6..0000000000 --- a/.github/changelog/1581-from-description +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: changed - -Updated design of new follower notification email and added meta information. diff --git a/.github/changelog/1582-from-description b/.github/changelog/1582-from-description deleted file mode 100644 index 8aa93a7d9a..0000000000 --- a/.github/changelog/1582-from-description +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: changed - -Update DM email notification to include an embed display of the DM. diff --git a/.github/changelog/1583-from-description b/.github/changelog/1583-from-description deleted file mode 100644 index d651c3a012..0000000000 --- a/.github/changelog/1583-from-description +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -No more PHP warning when Mastodon Apps run out of posts to process. diff --git a/.github/changelog/1584-from-description b/.github/changelog/1584-from-description deleted file mode 100644 index 12fc1720d1..0000000000 --- a/.github/changelog/1584-from-description +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: changed - -Tested and compatible with the latest version of WordPress. diff --git a/.github/changelog/1585-from-description b/.github/changelog/1585-from-description deleted file mode 100644 index fd7463f9f9..0000000000 --- a/.github/changelog/1585-from-description +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: added - -Support for all media types in the Mastodon Importer. diff --git a/.github/changelog/1586-from-description b/.github/changelog/1586-from-description deleted file mode 100644 index 85ce701c34..0000000000 --- a/.github/changelog/1586-from-description +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: changed - -Updated notification settings to be user-specific for more personalization. diff --git a/.github/changelog/1590-from-description b/.github/changelog/1590-from-description deleted file mode 100644 index 066c25b531..0000000000 --- a/.github/changelog/1590-from-description +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: changed - -Added WordPress disallowed list filtering to block unwanted ActivityPub interactions. diff --git a/.github/changelog/1591-from-description b/.github/changelog/1591-from-description deleted file mode 100644 index 3319efc0f1..0000000000 --- a/.github/changelog/1591-from-description +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: changed - -Mastodon imports now support blocks, with automatic reply embedding for conversations. diff --git a/.github/changelog/1594-from-description b/.github/changelog/1594-from-description deleted file mode 100644 index c0ab861f0c..0000000000 --- a/.github/changelog/1594-from-description +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Better check for an empty `headers` array key in the Signature class. diff --git a/.github/changelog/1595-from-description b/.github/changelog/1595-from-description deleted file mode 100644 index b84ac3c169..0000000000 --- a/.github/changelog/1595-from-description +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Reply links and popup modals are now properly translated for logged-out visitors. diff --git a/.github/changelog/1598-from-description b/.github/changelog/1598-from-description deleted file mode 100644 index 12437b5300..0000000000 --- a/.github/changelog/1598-from-description +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: added - -Enable direct linking to Help Tabs. diff --git a/.github/changelog/1603-from-description b/.github/changelog/1603-from-description deleted file mode 100644 index ba2db461af..0000000000 --- a/.github/changelog/1603-from-description +++ /dev/null @@ -1,4 +0,0 @@ -Significance: patch -Type: fixed - -Include user context in Global-Inbox actions. diff --git a/.github/changelog/1604-from-description b/.github/changelog/1604-from-description deleted file mode 100644 index 187a0fd5a1..0000000000 --- a/.github/changelog/1604-from-description +++ /dev/null @@ -1,4 +0,0 @@ -Significance: minor -Type: fixed - -Add support for Multisite Language Switcher diff --git a/CHANGELOG.md b/CHANGELOG.md index d6a51054ac..cfa3036bd8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,28 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [5.8.0] - 2025-04-24 +### Added +- An option to receive notification emails when an Actor was mentioned in the Fediverse. [#1577] +- Enable direct linking to Help Tabs. [#1598] +- Fallback embed support for Fediverse content that lacks native oEmbed responses. [#1576] +- Support for all media types in the Mastodon Importer. [#1585] + +### Changed +- Added WordPress disallowed list filtering to block unwanted ActivityPub interactions. [#1590] +- Mastodon imports now support blocks, with automatic reply embedding for conversations. [#1591] +- Tested and compatible with the latest version of WordPress. [#1584] +- Updated design of new follower notification email and added meta information. [#1581] +- Update DM email notification to include an embed display of the DM. [#1582] +- Updated notification settings to be user-specific for more personalization. [#1586] + +### Fixed +- Add support for Multisite Language Switcher [#1604] +- Better check for an empty `headers` array key in the Signature class. [#1594] +- Include user context in Global-Inbox actions. [#1603] +- No more PHP warning when Mastodon Apps run out of posts to process. [#1583] +- Reply links and popup modals are now properly translated for logged-out visitors. [#1595] + ## [5.7.0] - 2025-04-11 ### Added - Advanced Settings tab, with special settings for advanced users. [#1449] @@ -1144,6 +1166,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - initial +[5.8.0]: https://github.com/Automattic/wordpress-activitypub/compare/5.7.0...5.8.0 [5.7.0]: https://github.com/Automattic/wordpress-activitypub/compare/5.6.1...5.7.0 [5.6.1]: https://github.com/Automattic/wordpress-activitypub/compare/5.6.0...5.6.1 [5.6.0]: https://github.com/Automattic/wordpress-activitypub/compare/5.5.0...5.6.0 diff --git a/activitypub.php b/activitypub.php index 65ab9e2e1f..a6dca243c0 100644 --- a/activitypub.php +++ b/activitypub.php @@ -3,7 +3,7 @@ * Plugin Name: ActivityPub * Plugin URI: https://github.com/Automattic/wordpress-activitypub * Description: The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format. - * Version: 5.7.0 + * Version: 5.8.0 * Author: Matthias Pfefferle & Automattic * Author URI: https://automattic.com/ * License: MIT @@ -19,7 +19,7 @@ use WP_CLI; -\define( 'ACTIVITYPUB_PLUGIN_VERSION', '5.7.0' ); +\define( 'ACTIVITYPUB_PLUGIN_VERSION', '5.8.0' ); // Plugin related constants. \define( 'ACTIVITYPUB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); diff --git a/includes/class-migration.php b/includes/class-migration.php index eb99e5dad8..9132f6b6b3 100644 --- a/includes/class-migration.php +++ b/includes/class-migration.php @@ -191,7 +191,7 @@ public static function maybe_migrate() { if ( \version_compare( $version_from_db, '5.7.0', '<' ) ) { self::delete_mastodon_api_orphaned_extra_fields(); } - if ( \version_compare( $version_from_db, 'unreleased', '<' ) ) { + if ( \version_compare( $version_from_db, '5.8.0', '<' ) ) { self::update_notification_options(); } diff --git a/readme.txt b/readme.txt index bde1e8878d..12be8545c8 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: automattic, pfefferle, mattwiebe, obenland, akirk, jeherve, mediaf Tags: OStatus, fediverse, activitypub, activitystream Requires at least: 6.4 Tested up to: 6.8 -Stable tag: 5.7.0 +Stable tag: 5.8.0 Requires PHP: 7.2 License: MIT License URI: http://opensource.org/licenses/MIT @@ -129,6 +129,28 @@ For reasons of data protection, it is not possible to see the followers of other == Changelog == +### 5.8.0 - 2025-04-24 +#### Added +- An option to receive notification emails when an Actor was mentioned in the Fediverse. +- Enable direct linking to Help Tabs. +- Fallback embed support for Fediverse content that lacks native oEmbed responses. +- Support for all media types in the Mastodon Importer. + +#### Changed +- Added WordPress disallowed list filtering to block unwanted ActivityPub interactions. +- Mastodon imports now support blocks, with automatic reply embedding for conversations. +- Tested and compatible with the latest version of WordPress. +- Updated design of new follower notification email and added meta information. +- Update DM email notification to include an embed display of the DM. +- Updated notification settings to be user-specific for more personalization. + +#### Fixed +- Add support for Multisite Language Switcher +- Better check for an empty `headers` array key in the Signature class. +- Include user context in Global-Inbox actions. +- No more PHP warning when Mastodon Apps run out of posts to process. +- Reply links and popup modals are now properly translated for logged-out visitors. + ### 5.7.0 - 2025-04-11 #### Added - Advanced Settings tab, with special settings for advanced users. @@ -147,7 +169,7 @@ For reasons of data protection, it is not possible to see the followers of other #### Fixed - Ensure that an `Activity` has an `Actor` before adding it to the Outbox. -- Fixed some some bugs and added additional informations on the Debug tab of the Site-Health page. +- Fixed some bugs and added additional information on the Debug tab of the Site-Health page. - Follow-up to the reply block changes that makes sure Mastodon embeds are displayed in the editor. - Outbox endpoint bug where non-numeric usernames caused errors when querying Outbox data. - Show Site Health error if site uses old "Almost Pretty Permalinks" structure.