2022-12-27 20:26:42 +00:00
|
|
|
# Changelog
|
|
|
|
|
|
|
|
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.0.0/).
|
|
|
|
|
|
|
|
## [Unreleased]
|
|
|
|
|
2023-03-21 18:33:05 +00:00
|
|
|
## [1.18.0] - 2023-03-21
|
|
|
|
|
2022-12-29 13:36:34 +00:00
|
|
|
### Added
|
|
|
|
|
|
|
|
- Added `fep-e232` feature flag (disabled by default).
|
2023-03-18 19:02:54 +00:00
|
|
|
- Added `account_index` parameter to Monero configuration.
|
2023-03-20 17:06:24 +00:00
|
|
|
- Added `/api/v1/instance/peers` API endpoint.
|
2023-03-21 16:05:59 +00:00
|
|
|
- Added `federation.enabled` configuration parameter that can be used to disable federation.
|
2022-12-29 13:36:34 +00:00
|
|
|
|
2023-03-19 19:08:49 +00:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Documented valid role names for `set-role` command.
|
2023-03-19 19:20:36 +00:00
|
|
|
- Granted `delete_any_post` and `delete_any_profile` permissions to admin role.
|
2023-03-21 13:47:31 +00:00
|
|
|
- Updated profile page URL template to match mitra-web.
|
2023-03-19 19:08:49 +00:00
|
|
|
|
2023-03-18 13:37:46 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Make webclient-to-object redirects work for remote profiles and posts.
|
2023-03-18 13:29:03 +00:00
|
|
|
- Added webclient redirection rule for `/@username` routes.
|
2023-03-21 18:05:57 +00:00
|
|
|
- Don't allow migration if user doesn't have identity proofs.
|
2023-03-18 13:37:46 +00:00
|
|
|
|
2023-03-15 11:21:42 +00:00
|
|
|
## [1.17.0] - 2023-03-15
|
|
|
|
|
2023-03-12 20:13:53 +00:00
|
|
|
### Added
|
|
|
|
|
|
|
|
- Enabled audio and video uploads.
|
2023-03-12 20:14:58 +00:00
|
|
|
- Added `audio/ogg` and `audio/x-wav` to the list of supported media types.
|
2023-03-12 20:13:53 +00:00
|
|
|
|
2023-03-12 01:53:59 +00:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Save latest ethereum block number to database instead of file.
|
2023-03-14 15:17:56 +00:00
|
|
|
- Removed hardcoded upload size limit.
|
2023-03-12 01:53:59 +00:00
|
|
|
|
|
|
|
### Deprecated
|
|
|
|
|
|
|
|
- Reading ethereum block number from `current_block` file.
|
|
|
|
|
2023-03-08 23:16:42 +00:00
|
|
|
### Removed
|
2023-03-09 01:05:45 +00:00
|
|
|
|
2023-03-08 23:16:42 +00:00
|
|
|
- Disabled post tokenization (can be re-enabled with `ethereum-extras` feature).
|
2023-03-12 15:50:30 +00:00
|
|
|
- Removed ability to switch from Ethereum devnet to another chain without resetting subscriptions.
|
2023-03-09 01:05:45 +00:00
|
|
|
|
2023-03-11 17:12:37 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Allow `!` after hashtags and mentions.
|
2023-03-14 18:48:36 +00:00
|
|
|
- Ignore emojis with non-unique names in remote posts.
|
2023-03-11 17:12:37 +00:00
|
|
|
|
2023-03-08 01:42:38 +00:00
|
|
|
## [1.16.0] - 2023-03-08
|
|
|
|
|
2023-03-02 17:24:32 +00:00
|
|
|
### Added
|
|
|
|
|
|
|
|
- Allow to add notes to generated invite codes.
|
2023-03-03 18:14:00 +00:00
|
|
|
- Added `registration.default_role` configuration option.
|
2023-03-03 22:23:52 +00:00
|
|
|
- Save emojis attached to actor objects.
|
2023-03-04 22:35:49 +00:00
|
|
|
- Added `emojis` field to Mastodon API Account entity.
|
2023-03-05 14:08:26 +00:00
|
|
|
- Support audio attachments.
|
2023-03-04 00:35:04 +00:00
|
|
|
- Added CLI command for viewing unreachable actors.
|
2023-03-06 19:49:45 +00:00
|
|
|
- Implemented NodeInfo 2.1.
|
2023-03-06 14:30:34 +00:00
|
|
|
- Added `federation.onion_proxy_url` configuration parameter (enables proxy for requests to `.onion` domains).
|
2023-03-03 18:14:00 +00:00
|
|
|
|
2023-03-04 12:39:16 +00:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Use .jpg extension for files with image/jpeg media type.
|
|
|
|
|
2023-03-03 18:14:00 +00:00
|
|
|
### Deprecated
|
|
|
|
|
|
|
|
- Deprecated `default_role_read_only_user` configuration option (replaced by `registration.default_role`).
|
2023-03-02 17:24:32 +00:00
|
|
|
|
2023-02-27 00:57:44 +00:00
|
|
|
## [1.15.0] - 2023-02-27
|
|
|
|
|
2023-02-22 21:48:19 +00:00
|
|
|
### Added
|
|
|
|
|
|
|
|
- Set fetcher timeout to 3 minutes.
|
2023-02-22 21:54:08 +00:00
|
|
|
- Set deliverer timeout to 30 seconds.
|
2023-02-22 22:14:42 +00:00
|
|
|
- Added `federation` parameter group to configuration.
|
2023-02-24 00:26:39 +00:00
|
|
|
- Add empty `spoiler_text` property to Mastodon API Status object.
|
2023-02-25 22:27:07 +00:00
|
|
|
- Added `error` and `error_description` fields to Mastodon API error responses.
|
2023-02-24 20:17:32 +00:00
|
|
|
- Store information about failed activity deliveries in database.
|
2023-02-26 22:10:42 +00:00
|
|
|
- Added `/api/v1/accounts/{account_id}/aliases` API endpoint.
|
2023-02-22 22:14:42 +00:00
|
|
|
|
2023-02-25 16:37:24 +00:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Put activities generated by CLI commands in a queue instead of immediately sending them.
|
2023-02-25 21:12:31 +00:00
|
|
|
- Changed path of user's Atom feed to `/feeds/users/{username}`.
|
2023-02-26 14:52:27 +00:00
|
|
|
- Increase number of delivery attempts and increase intervals between them.
|
2023-02-25 16:37:24 +00:00
|
|
|
|
2023-02-22 22:14:42 +00:00
|
|
|
### Deprecated
|
|
|
|
|
2023-02-24 13:12:10 +00:00
|
|
|
- Deprecated `proxy_url` configuration parameter (replaced by `federation.proxy_url`).
|
2023-02-25 21:12:31 +00:00
|
|
|
- Deprecated Atom feeds at `/feeds/{username}`.
|
2023-02-25 22:27:07 +00:00
|
|
|
- Deprecated `message` field in Mastodon API error response.
|
2023-02-22 21:48:19 +00:00
|
|
|
|
2023-02-23 21:30:44 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Prevent `delete-extraneous-posts` command from removing locally-linked posts.
|
2023-02-24 00:49:18 +00:00
|
|
|
- Make webfinger response compatible with GNU Social account lookup.
|
2023-02-24 13:12:10 +00:00
|
|
|
- Prefer `Group` actor when doing webfinger query on Lemmy server.
|
2023-02-26 20:15:51 +00:00
|
|
|
- Fetch missing profiles before doing follower migration.
|
2023-02-26 22:57:41 +00:00
|
|
|
- Follow FEP-e232 links when importing post.
|
2023-02-23 21:30:44 +00:00
|
|
|
|
2023-02-22 17:34:17 +00:00
|
|
|
## [1.14.0] - 2023-02-22
|
|
|
|
|
2023-02-11 00:02:00 +00:00
|
|
|
### Added
|
|
|
|
|
2023-02-10 23:29:42 +00:00
|
|
|
- Added `/api/v1/apps` endpoint.
|
2023-02-11 16:12:15 +00:00
|
|
|
- Added OAuth authorization page.
|
2023-02-11 17:54:38 +00:00
|
|
|
- Support `authorization_code` OAuth grant type.
|
2023-02-11 00:02:00 +00:00
|
|
|
- Documented `http_cors_allowlist` configuration parameter.
|
2023-02-19 16:50:02 +00:00
|
|
|
- Added `/api/v1/statuses/{status_id}/thread` API endpoint (replaces `/api/v1/statuses/{status_id}/context`).
|
2023-02-19 21:47:12 +00:00
|
|
|
- Accept webfinger requests where `resource` is instance actor ID.
|
2023-02-22 14:53:05 +00:00
|
|
|
- Added `proxy_set_header X-Forwarded-Proto $scheme;` directive to nginx config example.
|
2023-02-22 15:18:19 +00:00
|
|
|
- Add `Content-Security-Policy` and `X-Content-Type-Options` headers to all responses.
|
2023-02-11 00:02:00 +00:00
|
|
|
|
2023-02-09 15:37:50 +00:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Allow `instance_uri` configuration value to contain URI scheme.
|
2023-02-19 16:50:02 +00:00
|
|
|
- Changed `/api/v1/statuses/{status_id}/context` response format to match Mastodon API.
|
|
|
|
- Changed status code of `/api/v1/statuses` response to 200 to match Mastodon API.
|
2023-02-22 15:18:19 +00:00
|
|
|
- Removed `add_header` directives for `Content-Security-Policy` and `X-Content-Type-Options` headers from nginx config example.
|
2023-02-09 15:37:50 +00:00
|
|
|
|
2023-02-22 14:53:05 +00:00
|
|
|
### Deprecated
|
|
|
|
|
|
|
|
- Deprecated protocol guessing on incoming requests (use `X-Forwarded-Proto` header).
|
|
|
|
|
2023-02-19 22:14:10 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fixed actor object JSON-LD validation errors.
|
2023-02-19 23:20:25 +00:00
|
|
|
- Fixed activity JSON-LD validation errors.
|
2023-02-21 21:39:42 +00:00
|
|
|
- Make media URLs in Mastodon API responses relative to current origin.
|
2023-02-19 22:14:10 +00:00
|
|
|
|
2023-02-09 20:07:39 +00:00
|
|
|
## [1.13.1] - 2023-02-09
|
|
|
|
|
2023-02-09 19:56:51 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fixed permission error on subscription settings update.
|
|
|
|
|
2023-02-06 00:35:31 +00:00
|
|
|
## [1.13.0] - 2023-02-06
|
|
|
|
|
2023-01-30 03:10:07 +00:00
|
|
|
### Added
|
|
|
|
|
|
|
|
- Replace post attachments and other related objects when processing `Update(Note)` activity.
|
2023-01-30 02:09:49 +00:00
|
|
|
- Append attachment URL to post content if attachment size exceeds limit.
|
2023-02-02 12:38:02 +00:00
|
|
|
- Added `/api/v1/custom_emojis` endpoint.
|
2023-01-30 00:23:16 +00:00
|
|
|
- Added `limits` parameter group to configuration.
|
|
|
|
- Made file size limit adjustable with `limits.media.file_size_limit` configuration option.
|
2023-02-04 21:47:13 +00:00
|
|
|
- Added `limits.posts.character_limit` configuration parameter (replaces `post_character_limit`).
|
2023-02-05 20:28:40 +00:00
|
|
|
- Implemented automatic pruning of remote posts and empty profiles (disabled by default).
|
2023-01-30 03:10:07 +00:00
|
|
|
|
2023-01-28 01:11:47 +00:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Use proof suites with prefix `Mitra`.
|
2023-01-29 21:13:35 +00:00
|
|
|
- Added `https://w3id.org/security/data-integrity/v1` to JSON-LD context.
|
|
|
|
- Return `202 Accepted` when activity is accepted by inbox endpoint.
|
2023-02-02 00:48:03 +00:00
|
|
|
- Ignore forwarded `Like` activities.
|
2023-02-02 20:46:03 +00:00
|
|
|
- Set 10 minute timeout on background job that processes incoming activities.
|
2023-02-02 20:49:50 +00:00
|
|
|
- Use "warn" log level for delivery errors.
|
2023-02-04 16:57:55 +00:00
|
|
|
- Don't allow read-only users to manage subscriptions.
|
2023-01-28 01:11:47 +00:00
|
|
|
|
2023-02-04 21:47:13 +00:00
|
|
|
### Deprecated
|
|
|
|
|
|
|
|
- Deprecated `post_character_limit` configuration option.
|
|
|
|
|
2023-02-04 00:16:40 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Change max body size in nginx example config to match app limit.
|
2023-02-04 17:07:38 +00:00
|
|
|
- Don't create invoice if recipient can't accept subscription payments.
|
2023-02-05 20:46:58 +00:00
|
|
|
- Ignore `Announce(Delete)` activities.
|
2023-02-04 00:16:40 +00:00
|
|
|
|
2023-01-26 19:05:41 +00:00
|
|
|
## [1.12.0] - 2023-01-26
|
|
|
|
|
2023-01-25 02:13:26 +00:00
|
|
|
### Added
|
|
|
|
|
|
|
|
- Added `approval_required` and `invites_enabled` flags to `/api/v1/instance` endpoint response.
|
2023-01-24 20:55:24 +00:00
|
|
|
- Added `registration.type` configuration option (replaces `registrations_open`).
|
2023-01-19 13:13:49 +00:00
|
|
|
- Implemented roles & permissions.
|
|
|
|
- Added "read-only user" role.
|
2023-01-24 20:55:24 +00:00
|
|
|
- Added configuration option for automatic assigning of "read-only user" role after registration.
|
2023-01-25 05:52:58 +00:00
|
|
|
- Added `set-role` command.
|
2023-01-24 20:55:24 +00:00
|
|
|
|
2023-01-26 13:52:30 +00:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Don't retry activity if fetcher recursion limit has been reached.
|
|
|
|
|
2023-01-24 20:55:24 +00:00
|
|
|
### Deprecated
|
|
|
|
|
|
|
|
- `registrations_open` configuration option.
|
2023-01-25 02:13:26 +00:00
|
|
|
|
2023-01-24 21:11:07 +00:00
|
|
|
### Removed
|
|
|
|
|
|
|
|
- Dropped support for `blockchain` configuration parameter.
|
|
|
|
|
2023-01-25 22:22:56 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Added missing `<link rel="self">` element to Atom feeds.
|
2023-01-25 22:24:45 +00:00
|
|
|
- Added missing `<link rel="alternate">` element to Atom feed entries.
|
2023-01-25 22:22:56 +00:00
|
|
|
|
2023-01-23 12:53:57 +00:00
|
|
|
## [1.11.0] - 2023-01-23
|
|
|
|
|
2023-01-19 21:57:29 +00:00
|
|
|
### Added
|
|
|
|
|
|
|
|
- Save sizes of media attachments and other files to database.
|
2023-01-17 00:09:09 +00:00
|
|
|
- Added `import-emoji` command.
|
2023-01-21 00:23:15 +00:00
|
|
|
- Added support for emoji shortcodes.
|
2023-01-22 23:45:43 +00:00
|
|
|
- Allowed custom emojis with `image/apng` media type.
|
2023-01-19 21:57:29 +00:00
|
|
|
|
2023-01-21 21:25:51 +00:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Make `delete-emoji` command accept emoji name and hostname instead of ID.
|
2023-01-13 21:28:26 +00:00
|
|
|
- Replaced client-side tag URLs with collection IDs.
|
2023-01-21 21:25:51 +00:00
|
|
|
|
2023-01-20 18:47:26 +00:00
|
|
|
### Security
|
|
|
|
|
|
|
|
- Validate emoji name before saving.
|
|
|
|
|
2023-01-18 20:20:26 +00:00
|
|
|
## [1.10.0] - 2023-01-18
|
|
|
|
|
2023-01-08 21:40:41 +00:00
|
|
|
### Added
|
|
|
|
|
|
|
|
- Added `/api/v1/settings/move_followers` API endpoint (replaces `/api/v1/accounts/move_followers`).
|
2023-01-10 20:46:57 +00:00
|
|
|
- Added `/api/v1/settings/import_follows` API endpoint.
|
2023-01-12 00:56:52 +00:00
|
|
|
- Validation of Monero subscription payout address.
|
2023-01-05 18:30:00 +00:00
|
|
|
- Accept webfinger requests where `resource` is actor ID.
|
2023-01-17 00:51:17 +00:00
|
|
|
- Adeed support for `as:Public` and `Public` audience identifiers.
|
2023-01-16 22:40:03 +00:00
|
|
|
- Displaying custom emojis.
|
2023-01-08 21:40:41 +00:00
|
|
|
|
2023-01-14 00:46:49 +00:00
|
|
|
### Changed
|
|
|
|
|
|
|
|
- Save downloaded media as "unknown" if its media type is not supported.
|
2023-01-04 20:04:10 +00:00
|
|
|
- Use `mediaType` property value to determine file extension when saving downloaded media.
|
2023-01-14 19:34:08 +00:00
|
|
|
- Added `mediaType` property to images in actor object.
|
2023-01-16 12:39:01 +00:00
|
|
|
- Prevent `delete-extraneous-posts` command from deleting post if there's a recent reply or repost.
|
2023-01-16 16:54:57 +00:00
|
|
|
- Changed max actor image size to 5 MB.
|
2023-01-14 00:46:49 +00:00
|
|
|
|
2023-01-08 21:40:41 +00:00
|
|
|
### Removed
|
|
|
|
|
|
|
|
- `/api/v1/accounts/move_followers` API endpoint.
|
|
|
|
|
2023-01-11 00:51:03 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Don't ignore `Delete(Person)` verification errors if database error subtype is not `NotFound`.
|
2023-01-11 19:49:12 +00:00
|
|
|
- Don't stop activity processing on invalid local mentions.
|
2023-01-17 18:01:57 +00:00
|
|
|
- Accept actor objects where `attachment` property value is not an array.
|
2023-01-17 19:13:37 +00:00
|
|
|
- Don't download HTML pages attached by GNU Social.
|
2023-01-18 01:12:49 +00:00
|
|
|
- Ignore `Like()` activity if local post doesn't exist.
|
2023-01-18 17:47:23 +00:00
|
|
|
- Fixed `.well-known` paths returning `400 Bad Request` errors.
|
2023-01-11 00:51:03 +00:00
|
|
|
|
2023-01-07 23:10:57 +00:00
|
|
|
## [1.9.0] - 2023-01-08
|
|
|
|
|
2022-12-28 00:13:49 +00:00
|
|
|
### Added
|
|
|
|
|
|
|
|
- Added `/api/v1/accounts/lookup` Mastodon API endpoint.
|
2022-12-11 18:41:08 +00:00
|
|
|
- Implemented activity delivery queue.
|
2022-12-03 21:06:15 +00:00
|
|
|
- Started to keep track of unreachable actors.
|
2023-01-06 16:46:59 +00:00
|
|
|
- Added `configuration` object to response of `/api/v1/instance` endpoint.
|
2023-01-05 17:36:38 +00:00
|
|
|
- Save media types of uploaded avatar and banner images.
|
2023-01-07 23:06:23 +00:00
|
|
|
- Support for `MitraJcsRsaSignature2022` and `MitraJcsEip191Signature2022` signature suites.
|
2022-12-28 00:13:49 +00:00
|
|
|
|
2022-12-27 21:15:19 +00:00
|
|
|
### Changed
|
|
|
|
|
2022-12-27 21:46:48 +00:00
|
|
|
- Updated installation instructions, default mitra config and recommended nginx config.
|
2022-12-29 17:23:15 +00:00
|
|
|
- Limited the number of requests made during the processing of a thread.
|
2023-01-06 16:52:28 +00:00
|
|
|
- Limited the number of media files that can be attached to a post.
|
2022-12-27 21:15:19 +00:00
|
|
|
|
2023-01-06 16:46:59 +00:00
|
|
|
### Deprecated
|
|
|
|
|
|
|
|
- Deprecated `post_character_limit` property in `/api/v1/instance` response.
|
2023-01-05 17:36:38 +00:00
|
|
|
- Avatar and banner uploads without media type via `/api/v1/accounts/update_credentials`.
|
2023-01-07 23:06:23 +00:00
|
|
|
- `JcsRsaSignature2022` and `JcsEip191Signature2022` signature suites.
|
2023-01-06 16:46:59 +00:00
|
|
|
|
2023-01-06 01:50:30 +00:00
|
|
|
### Removed
|
|
|
|
|
|
|
|
- Removed ability to upload non-images using `/api/v1/media` endpoint.
|
|
|
|
|
2022-12-27 20:26:42 +00:00
|
|
|
### Fixed
|
|
|
|
|
|
|
|
- Fixed post and profile page redirections.
|
2023-01-05 19:18:08 +00:00
|
|
|
- Fixed federation with GNU Social.
|