Skip to content

Commit f9ea338

Browse files
authored
Release 5.2.0 (#1321)
1 parent 6f3c6d3 commit f9ea338

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [5.2.0] - 2025-02-13
99

1010
### Added
1111

@@ -1290,8 +1290,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
12901290

12911291
* initial
12921292

1293-
[Unreleased]: https://github.com/Automattic/wordpress-activitypub/compare/5.1.0...trunk
1293+
[Unreleased]: https://github.com/Automattic/wordpress-activitypub/compare/5.2.0...trunk
12941294
<!-- Add new release below and update "Unreleased" link -->
1295+
[5.2.0]: https://github.com/Automattic/wordpress-activitypub/compare/5.1.0...5.2.0
12951296
[5.1.0]: https://github.com/Automattic/wordpress-activitypub/compare/5.0.0...5.1.0
12961297
[5.0.0]: https://github.com/Automattic/wordpress-activitypub/compare/4.7.3...5.0.0
12971298
[4.7.3]: https://github.com/Automattic/wordpress-activitypub/compare/4.7.2...4.7.3

activitypub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: ActivityPub
44
* Plugin URI: https://github.com/Automattic/wordpress-activitypub
55
* Description: The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.
6-
* Version: 5.1.0
6+
* Version: 5.2.0
77
* Author: Matthias Pfefferle & Automattic
88
* Author URI: https://automattic.com/
99
* License: MIT
@@ -19,7 +19,7 @@
1919

2020
use WP_CLI;
2121

22-
\define( 'ACTIVITYPUB_PLUGIN_VERSION', '5.1.0' );
22+
\define( 'ACTIVITYPUB_PLUGIN_VERSION', '5.2.0' );
2323

2424
// Plugin related constants.
2525
\define( 'ACTIVITYPUB_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );

includes/class-dispatcher.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ function ( $inboxes, $actor_id, $activity ) {
5555
* @param int $actor_id The actor ID.
5656
* @param Activity $activity The ActivityPub Activity.
5757
*
58-
* @deprecated Unreleased Use `activitypub_interactees_inboxes` instead.
58+
* @deprecated 5.2.0 Use `activitypub_interactees_inboxes` instead.
5959
*/
60-
return \apply_filters_deprecated( 'activitypub_send_to_inboxes', array( $inboxes, $actor_id, $activity ), 'Unreleased', 'activitypub_interactees_inboxes' );
60+
return \apply_filters_deprecated( 'activitypub_send_to_inboxes', array( $inboxes, $actor_id, $activity ), '5.2.0', 'activitypub_interactees_inboxes' );
6161
},
6262
10,
6363
3
@@ -292,7 +292,7 @@ public static function add_inboxes_of_replied_urls( $inboxes, $actor_id, $activi
292292
/**
293293
* Adds Blog Actor inboxes to Updates so the Blog User's followers are notified of edits.
294294
*
295-
* @deprecated Unreleased Use {@see Followers::maybe_add_inboxes_of_blog_user} instead.
295+
* @deprecated 5.2.0 Use {@see Followers::maybe_add_inboxes_of_blog_user} instead.
296296
*
297297
* @param array $inboxes The list of Inboxes.
298298
* @param int $actor_id The WordPress Actor-ID.
@@ -301,7 +301,7 @@ public static function add_inboxes_of_replied_urls( $inboxes, $actor_id, $activi
301301
* @return array The filtered Inboxes.
302302
*/
303303
public static function maybe_add_inboxes_of_blog_user( $inboxes, $actor_id, $activity ) { // phpcs:ignore
304-
_deprecated_function( __METHOD__, 'Unreleased', 'Followers::maybe_add_inboxes_of_blog_user' );
304+
_deprecated_function( __METHOD__, '5.2.0', 'Followers::maybe_add_inboxes_of_blog_user' );
305305

306306
return $inboxes;
307307
}

includes/class-migration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public static function maybe_migrate() {
179179
\wp_schedule_single_event( \time() + 15, 'activitypub_upgrade', array( 'create_comment_outbox_items' ) );
180180
add_action( 'init', 'flush_rewrite_rules', 20 );
181181
}
182-
if ( \version_compare( $version_from_db, 'unreleased', '<' ) ) {
182+
if ( \version_compare( $version_from_db, '5.2.0', '<' ) ) {
183183
Scheduler::register_schedules();
184184
}
185185

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: automattic, pfefferle, mattwiebe, obenland, akirk, jeherve, mediaf
33
Tags: OStatus, fediverse, activitypub, activitystream
44
Requires at least: 5.5
55
Tested up to: 6.7
6-
Stable tag: 5.1.0
6+
Stable tag: 5.2.0
77
Requires PHP: 7.2
88
License: MIT
99
License URI: http://opensource.org/licenses/MIT
@@ -129,7 +129,7 @@ For reasons of data protection, it is not possible to see the followers of other
129129

130130
== Changelog ==
131131

132-
= Unreleased =
132+
= 5.2.0 =
133133

134134
* Added: Batch Outbox-Processing.
135135
* Added: Outbox processed events get logged in Stream and show any errors returned from inboxes.

0 commit comments

Comments
 (0)