mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-25 18:38:37 +01:00
As per [MSC1452](https://github.com/matrix-org/matrix-doc/issues/1452) Fixes https://github.com/matrix-org/matrix-doc/issues/1254 Although MSC1452 focuses on just the warnings part of the server notices, the base for notices has not been established in the spec. This commit adds the needed support to be able to handle notices. No intentional divergences from the proposal are included in this changeset. There are a few additions which are used in practice although not defined in the proposal, such as who is responsible for aesthetics, sending notices, and other misc rules. |
||
|---|---|---|
| .. | ||
| application_service | ||
| client_server | ||
| identity_service | ||
| push_gateway | ||
| server_server | ||
| application_service.rst | ||
| client_server.rst | ||
| identity_service.rst | ||
| push_gateway.rst | ||
| README.md | ||
| server_server.rst | ||
Changelogs
Towncrier is used to manage the changelog and keep it up to date. Because of this, updating a changelog is really easy.
How to update a changelog when releasing an API
- Ensure you're in your Python 3 virtual environment
cdyour way to the API you're releasing (eg:cd changelogs/client_server)- Run
towncrier --version "r0.4.0" --name "client-server" --yessubstituting the variables as approprite. Note that--nameis required although the value is ignored. - Commit the changes and finish the release process.
How to prepare a changelog for a new API
For this example, we're going to pretend that the server_server API doesn't exist.
- Create the file
changelogs/server_server.rst - Create the folder
changelogs/server_server - In the new folder, create a
pyproject.tomlfile with these contents:[tool.towncrier] filename = "../server_server.rst" directory = "newsfragments" issue_format = "`#{issue} <https://github.com/matrix-org/matrix-doc/issues/{issue}>`_" title_format = "{version}" [[tool.towncrier.type]] directory = "breaking" name = "Breaking Changes" showcontent = true [[tool.towncrier.type]] directory = "deprecation" name = "Deprecations" showcontent = true [[tool.towncrier.type]] directory = "new" name = "New Endpoints" showcontent = true [[tool.towncrier.type]] directory = "feature" name = "Backwards Compatible Changes" showcontent = true [[tool.towncrier.type]] directory = "clarification" name = "Spec Clarifications" showcontent = true - Create a
.gitignoreinchangelogs/server_server/newsfragmentswith the contents!.gitignore