Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/changelog/1524-from-description

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/1546-from-description

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/1547-from-description

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/1552-from-description

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/1553-from-description

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/1554-from-description

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/1555-from-description

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/1557-from-description

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/1559-from-description

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/1561-from-description

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/1564-from-description

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/1566-from-description

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/1567-from-description

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/1570-from-description

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/add-advanced-settings

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/add-oembed-reply-block

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/add-same-server-domain-move

This file was deleted.

4 changes: 0 additions & 4 deletions .github/changelog/update-button-only-mode-for-follow-me

This file was deleted.

26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,31 @@ 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.7.0] - 2025-04-11
### Added
- Advanced Settings tab, with special settings for advanced users. [#1449]
- Check if pretty permalinks are enabled and recommend to use threaded comments. [#1524]
- Reply block: show embeds where available. [#1572]
- Support same-server domain migrations. [#1572]
- Upgrade routine that removes any erroneously created extra field entries. [#1566]

### Changed
- Add option to enable/disable the "shared inbox" to the "Advanced Settings". [#1553]
- Add option to enable/disable the `Vary` Header to the "Advanced Settings". [#1552]
- Configure the "Follow Me" button to have a button-only mode. [#1133]
- Importers are loaded on admin-specific hook. [#1561]
- Improve the troubleshooting UI and show Site-Health stats in ActivityPub settings. [#1546]
- Increased compatibility with Mobilizon and other platforms by improving signature verification for different key formats. [#1557]

### Fixed
- Ensure that an `Activity` has an `Actor` before adding it to the Outbox. [#1564]
- Fixed some bugs and added additional information on the Debug tab of the Site-Health page. [#1547]
- Follow-up to the reply block changes that makes sure Mastodon embeds are displayed in the editor. [#1555]
- Outbox endpoint bug where non-numeric usernames caused errors when querying Outbox data. [#1559]
- Show Site Health error if site uses old "Almost Pretty Permalinks" structure. [#1570]
- Sites with comments from the Fediverse no longer create uncached extra fields posts that flood the Outbox. [#1554]
- Transformers allow settings values to false again, a regression from 5.5.0. [#1567]

## [5.6.1] - 2025-04-02
### Fixed
- "Post Interactions" settings will now be saved to the options table. [#1540]
Expand Down Expand Up @@ -1119,6 +1144,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- initial

[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
[5.5.0]: https://github.com/Automattic/wordpress-activitypub/compare/5.4.1...5.5.0
Expand Down
4 changes: 2 additions & 2 deletions activitypub.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.1
* Version: 5.7.0
* Author: Matthias Pfefferle & Automattic
* Author URI: https://automattic.com/
* License: MIT
Expand All @@ -19,7 +19,7 @@

use WP_CLI;

\define( 'ACTIVITYPUB_PLUGIN_VERSION', '5.6.1' );
\define( 'ACTIVITYPUB_PLUGIN_VERSION', '5.7.0' );

// Plugin related constants.
\define( 'ACTIVITYPUB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
Expand Down
2 changes: 1 addition & 1 deletion includes/class-migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public static function maybe_migrate() {
\wp_schedule_single_event( \time(), 'activitypub_upgrade', array( 'update_comment_author_emails' ) );
\add_action( 'init', 'flush_rewrite_rules', 20 );
}
if ( \version_compare( $version_from_db, 'unreleased', '<' ) ) {
if ( \version_compare( $version_from_db, '5.7.0', '<' ) ) {
self::delete_mastodon_api_orphaned_extra_fields();
}

Expand Down
6 changes: 3 additions & 3 deletions includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,12 +364,12 @@ function user_can_activitypub( $user_id ) {
/**
* Allow plugins to disable users for ActivityPub.
*
* @deprecated unreleased Use the `activitypub_user_can_activitypub` filter instead.
* @deprecated 5.7.0 Use the `activitypub_user_can_activitypub` filter instead.
*
* @param boolean $disabled True if the user is disabled, false otherwise.
* @param int $user_id The user ID.
*/
$enabled = ! \apply_filters_deprecated( 'activitypub_is_user_disabled', array( ! $enabled, $user_id ), 'unreleased', 'activitypub_user_can_activitypub' );
$enabled = ! \apply_filters_deprecated( 'activitypub_is_user_disabled', array( ! $enabled, $user_id ), '5.7.0', 'activitypub_user_can_activitypub' );

/**
* Allow plugins to enable/disable users for ActivityPub.
Expand All @@ -383,7 +383,7 @@ function user_can_activitypub( $user_id ) {
/**
* This function checks if a user is disabled for ActivityPub.
*
* @deprecated unreleased Use the `user_can_activitypub` function instead.
* @deprecated 5.7.0 Use the `user_can_activitypub` function instead.
*
* @param int $user_id The user ID.
*
Expand Down
27 changes: 26 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.7
Stable tag: 5.6.1
Stable tag: 5.7.0
Requires PHP: 7.2
License: MIT
License URI: http://opensource.org/licenses/MIT
Expand Down Expand Up @@ -129,6 +129,31 @@ For reasons of data protection, it is not possible to see the followers of other

== Changelog ==

### 5.7.0 - 2025-04-11
#### Added
- Advanced Settings tab, with special settings for advanced users.
- Check if pretty permalinks are enabled and recommend to use threaded comments.
- Reply block: show embeds where available.
- Support same-server domain migrations.
- Upgrade routine that removes any erroneously created extra field entries.

#### Changed
- Add option to enable/disable the "shared inbox" to the "Advanced Settings".
- Add option to enable/disable the `Vary` Header to the "Advanced Settings".
- Configure the "Follow Me" button to have a button-only mode.
- Importers are loaded on admin-specific hook.
- Improve the troubleshooting UI and show Site-Health stats in ActivityPub settings.
- Increased compatibility with Mobilizon and other platforms by improving signature verification for different key formats.

#### 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.
- 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.
- Sites with comments from the Fediverse no longer create uncached extra fields posts that flood the Outbox.
- Transformers allow settings values to false again, a regression from 5.5.0.

### 5.6.1 - 2025-04-02
#### Fixed
- "Post Interactions" settings will now be saved to the options table.
Expand Down
Loading