docs: ♻️ Rewrite various docs pages, add null fields everywhere they were missing, make some Note and User fields mandatory

This commit is contained in:
Jesse Wierzbinski 2025-06-07 22:54:59 +02:00
parent e6f7a27d3e
commit e9b5ccd76c
No known key found for this signature in database
31 changed files with 412 additions and 148 deletions

View file

@ -20,6 +20,13 @@ This page lists changes since Working Draft 3. {{ className: 'lead' }}
- Added [References](/types#reference) as a way to refer to other entities.
- Mandated the usage of `null` for optional fields that are not set, instead of omitting them.
- Changed usage of "`null` authors" to simply being an optional field.
- Added more guidelines on [JSON data handling](/json).
- Clarified the meaning of [Domain](/api/basics#domain) in the context of Versia.
- Changes to [Note](/entities/note):
- `is_sensitive`, `attachments`, `mentions` and `previews` are now required.
- Changes to [User](/entities/user):
- `fields`, `manually_approves_followers` and `indexable` are now required.
- Removed "short pronoun" from [Vanity Extension](/extensions/vanity) (union types are tricky to parse in strongly typed languages).
## Since WD 4