| 1 | Updating the Changelog |
| 2 | ====================== |
| 3 | |
| 4 | This project uses a [CHANGELOG.md](../../CHANGELOG.md). |
| 5 | |
| 6 | ## Structure of the Changelog |
| 7 | |
| 8 | Each pull request should also update the "Unreleased" section of the changelog. |
| 9 | It should also update the "Deployment Migration Notes" Section of the unreleased section as preparation for the release. |
| 10 | |
| 11 | For each release there will be a separate section especially with an "Overview" section containing a summary |
| 12 | from a product perspective. |
| 13 | |
| 14 | Releases will especially contain a "Compatible Versions" section with the final docker |
| 15 | images and versions of other software components that are connected by APIs. |
| 16 | |
| 17 | ## How to categorize a change |
| 18 | |
| 19 | The changelog uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 20 | Changes are categorized as either Major, Minor or Patch Changes. |
| 21 | |
| 22 | For this project, changes are categorized as the following: |
| 23 | |
| 24 | ### Major Changes |
| 25 | |
| 26 | Major changes include: |
| 27 | |
| 28 | - UX / Product overhauls. |
| 29 | - Breaking changes to APIs with API contracts with other deployment units (our UI doesn't count). |
| 30 | |
| 31 | Sometimes minor version releases can be upgraded to major releases on release if the release |
| 32 | signifies a major milestone to the customer. |
| 33 | |
| 34 | ### Minor Changes |
| 35 | |
| 36 | Minor changes include: |
| 37 | |
| 38 | - New or changed features from a customer perspective. |
| 39 | - New APIs with API contracts with other deployment units (our UI doesn't count). |
| 40 | - New Product Documentation |
| 41 | |
| 42 | ### Patch Changes |
| 43 | |
| 44 | Patch changes are basically everything else, that does not add, change or remove any product or external API features. |
| 45 | |
| 46 | - Product Fixes, Bugfixes, Refactorings |
| 47 | - Changes to existing Product Documentation |
| 48 | - New or changes to existing Developer Documentation |
| 49 | - Everything else |
| 50 | |
| 51 | ## Released Versions |
| 52 | |
| 53 | On releases the "Unreleased" section is emptied in favor of a new section for the release. |
| 54 | |
| 55 | Whether a release will bump the major, minor or patch version is decided by the unreleased changes in the changelog. |
| 56 | |
| 57 | The Release sections will be cleaned up on release, improved with additional information and made |
| 58 | useful for the customer and people deploying the application, containing both product changes and |
| 59 | deployment migration notes. |
| 60 | |
| 61 | More on that can be found in the [Release Issue Template](../../.github/ISSUE_TEMPLATE/release.md). |