docs-matrix-spec/changelogs
Dan Callahan 48d8f7202d
Add HTTP 403 to possible profile responses (#3530)
* Add HTTP 403 to possible profile responses

Some servers may not allow profile lookup over federation, and thus
respond to GET /_matrix/client/v3/profile/{userId} with an HTTP 403.

For example, Synapse can be configured to behave in this way by setting:

    allow_profile_lookup_over_federation=false

Thus, this behavior already exists in the wild, and may cause issues for
clients such as https://github.com/vector-im/element-web/issues/17269.

Synapse could alter its behavior and return an HTTP 404 in these cases,
but amending the Spec seems preferable to align with extant behavior.
Further, allowing HTTP 403 gives clients more specific information as to
why a request has failed, enabling more precise error handling.

Signed-off-by: Dan Callahan <danc@element.io>

* Update changelogs/client_server/newsfragments/3530.clarification

Co-authored-by: Travis Ralston <travpc@gmail.com>

* Annotate misc data about error

Co-authored-by: Travis Ralston <travpc@gmail.com>
Co-authored-by: Travis Ralston <travisr@matrix.org>
2021-12-29 11:30:32 -07:00
..
application_service/newsfragments v1.1 changelog 2021-11-09 07:23:27 -07:00
client_server/newsfragments Add HTTP 403 to possible profile responses (#3530) 2021-12-29 11:30:32 -07:00
identity_service/newsfragments v1.1 changelog 2021-11-09 07:23:27 -07:00
legacy Add GitHub Action to check spelling (#3591) 2021-12-28 09:17:49 -07:00
push_gateway/newsfragments v1.1 changelog 2021-11-09 07:23:27 -07:00
room_versions/newsfragments Remove C-S unsigned data from PDU definitions (#3522) 2021-11-24 12:31:14 +00:00
server_server/newsfragments v1.1 changelog 2021-11-09 07:23:27 -07:00
header.md Release process: changelog generation and docs (#3446) 2021-10-18 10:09:35 -06:00
pyproject.toml Release process: changelog generation and docs (#3446) 2021-10-18 10:09:35 -06:00
README.md Release process: changelog generation and docs (#3446) 2021-10-18 10:09:35 -06:00

Changelogs

Towncrier is used to manage the changelog and keep it up to date. Because of this, updating a changelog is really easy.

Generating the changelog

Please see the release docs for more information.

Creating a new changelog

There are a few places you'll have to update:

  • /layouts/shortcodes/changelog/changelog-changes.html to account for the new changelog.
  • /scripts/generate-changelog.sh to render the changelog for releases.
  • Supporting documentation such as the contributing guidelines.