matrix-doc/changelogs
Denis Kasak ed08c1cb9e Tweak PDU diagram demonstrating `prev_events`. (#3340)
This tweaks the DAG to be simpler, with two linear event chains E4 -> E3
-> E2 -> E1 and E6 -> E5 -> E2 -> E1. The extremities of the DAG are now
the first and only point in the DAG where multiple event parents occur.
Since the point of the diagram is to demonstrate this very situation,
it's better didactically if there is only one such situation in the
diagram.
2021-08-31 16:51:06 +01:00
..
application_service Add changelogs for 2888 2020-12-07 14:32:58 -07:00
client_server Replace "Pagination" section in C-S API with text in appendices (#3366) 2021-08-27 19:17:18 +01:00
identity_service Update 3167.clarification 2021-08-27 19:17:14 +01:00
push_gateway Add a link to the push module in the push gateway spec 2020-09-02 14:04:55 -06:00
server_server Tweak PDU diagram demonstrating `prev_events`. (#3340) 2021-08-31 16:51:06 +01:00
README.md Support a 'removed endpoints' changelog type 2020-03-24 11:29:00 -06:00
application_service.rst Appservices r0.1.2 changelog 2019-07-30 13:02:04 -06:00
client_server.rst Client-Server r0.6.1 2020-05-27 07:19:31 -06:00
identity_service.rst Identity Service r0.3.0 release 2019-11-06 12:37:50 -07:00
push_gateway.rst Push r0.1.1 changelog 2019-07-30 12:54:50 -06:00
server_server.rst Fix r0.1.4 changelog reference 2020-05-29 07:00:38 -06:00

README.md

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

  1. Ensure you're in your Python 3 virtual environment
  2. cd your way to the API you're releasing (eg: cd changelogs/client_server)
  3. Run towncrier --version "r0.4.0" --name "client-server" --yes substituting the variables as approprite. Note that --name is required although the value is ignored.
  4. 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.

  1. Create the file changelogs/server_server.rst
  2. Create the folder changelogs/server_server
  3. In the new folder, create a pyproject.toml file 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 = "removal"
         name = "Removed Endpoints"
         showcontent = true
    
     [[tool.towncrier.type]]
         directory = "feature"
         name = "Backwards Compatible Changes"
         showcontent = true
    
     [[tool.towncrier.type]]
         directory = "clarification"
         name = "Spec Clarifications"
         showcontent = true
    
  4. Create a .gitignore in changelogs/server_server/newsfragments with the contents !.gitignore