synapse/changelog.d
Alex Durham 0d0f966b31
Fix GET /_matrix/federation/v1/query/profile response (#18593)
Don't send the fields `avatar_url` and `displayname` when they are not
defined for the queried user.

Before this change they would be sent and set to null in the JSON
response object, which would violate the OpenAPI definitions
(https://spec.matrix.org/v1.11/server-server-api/#get_matrixfederationv1queryprofile).
Fixes: #18442 
### Pull Request Checklist

<!-- Please read
https://element-hq.github.io/synapse/latest/development/contributing_guide.html
before submitting your pull request -->

* [x] Pull request is based on the develop branch
* [x] Pull request includes a [changelog
file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog).
The entry should:
- Be a short description of your change which makes sense to users.
"Fixed a bug that prevented receiving messages from other servers."
instead of "Moved X method from `EventStore` to `EventWorkerStore`.".
  - Use markdown where necessary, mostly for `code blocks`.
  - End with either a period (.) or an exclamation mark (!).
  - Start with a capital letter.
- Feel free to credit yourself, by adding a sentence "Contributed by
@github_username." or "Contributed by [Your Name]." to the end of the
entry.
* [x] [Code
style](https://element-hq.github.io/synapse/latest/code_style.html) is
correct (run the
[linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters))

---------

Co-authored-by: Quentin Gliech <quenting@element.io>
2025-07-03 09:59:45 +00:00
..
.gitignore
18070.feature Add via param to hierarchy enpoint (#18070) 2025-06-30 12:42:14 +00:00
18196.feature Add forget_forced_upon_leave capability as per MSC4267 (#18196) 2025-06-27 15:07:24 -05:00
18241.feature Add federated_user_may_invite spam checker callback (#18241) 2025-06-26 12:27:21 +01:00
18418.removal Stop sending or processing the origin field in PDUs (#18418) 2025-07-01 12:04:23 +01:00
18509.bugfix Fix registering of background updates for split main/state db (#18509) 2025-06-25 13:59:18 +01:00
18519.doc Fix documentation of the Delete Room Admin API's status field. (#18519) 2025-07-01 17:55:38 +01:00
18573.misc Improve docstring on simple_upsert_many. (#18573) 2025-06-30 10:35:23 +01:00
18575.misc Raise poetry-core version cap to 2.1.3 (#18575) 2025-07-02 15:57:30 +00:00
18576.misc Raise setuptools_rust version cap to 1.11.1 (#18576) 2025-07-03 09:12:49 +00:00
18582.bugfix Improve performance of device deletion by adding missing index. (#18582) 2025-06-30 10:36:12 +01:00
18593.bugfix Fix GET /_matrix/federation/v1/query/profile response (#18593) 2025-07-03 09:59:45 +00:00
18594.bugfix Forbid locked users from using POST /login (#18594) 2025-07-02 18:18:33 +02:00
18595.misc Lift pausing on ratelimited requests to http layer (#18595) 2025-06-25 14:32:55 +00:00
18596.misc Update Rust in CI to v1.87.0 as well as dtolnay/rust-toolchain GitHub Action pinned commit hash (#18596) 2025-07-02 18:48:28 +00:00
18600.misc Fix backwards compat for DirectServeJsonResource (#18600) 2025-06-26 14:05:48 +00:00
18602.misc Speed up device deletion (#18602) 2025-06-30 11:48:57 +01:00
18605.bugfix Skip processing policy server events through policy server (#18605) 2025-06-30 11:45:23 +01:00
18625.misc Log the room ID we're purging state for (#18625) 2025-07-02 15:02:12 +01:00