gotosocial/internal/api/client
tobi ca12742a7a [chore] Deprecate with_approval, always (client API), approvalRequired, always (fedi API) (#4173)
This pull request deprecates `with_approval` and `always` on the client API side, and `approvalRequired` and `always` on the fedi API side, replacing them with `automatic_approval` and `manual_approval` and `automaticApproval` and `manualApproval`, respectively.

Back-compat is kept with these deprecated fields, and they're still serialized to the client API and fedi APIs respectively, in addition to the new non-deprecated properties.

This will stay the case until v0.21.0 when they'll be removed.

For the sake of not doing a massive database migration, the fields are still named `Always` and `WithApproval` in storage. I think this is probably fine!

Part of https://codeberg.org/superseriousbusiness/gotosocial/issues/4026
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4173
Co-authored-by: tobi <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
2025-05-13 14:48:11 +00:00
..
accounts [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
admin [chore] Deprecate with_approval, always (client API), approvalRequired, always (fedi API) (#4173) 2025-05-13 14:48:11 +00:00
announcements [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
apps [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
blocks [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
bookmarks [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
conversations [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
customemojis [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
exports [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
favourites [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
featuredtags [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
filters [chore] Rewrite all remaining Github links 2025-04-27 13:40:22 +02:00
followedtags [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
followrequests [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
import [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
instance [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
interactionpolicies [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
interactionrequests [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
lists [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
markers [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
media [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
mutes [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
notifications [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
polls [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
preferences [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
push [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
reports [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
search [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
statuses [chore] Deprecate with_approval, always (client API), approvalRequired, always (fedi API) (#4173) 2025-05-13 14:48:11 +00:00
streaming [bugfix] ensure timeline limit query is respected (#4141) 2025-05-06 13:30:23 +00:00
tags [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
timelines [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00
tokens [bugfix] don't prevent moved accounts from invalidating their old tokens (#4091) 2025-04-29 13:43:01 +00:00
user [feature] Move to code.superseriousbusiness.org 2025-04-26 15:38:43 +02:00