|
| 1 | +# Multi-file running changelog |
| 2 | + |
| 3 | +To avoid merge conflicts in the CHANGELOG.md file we accepted the multi-file running changelog strategy. |
| 4 | + |
| 5 | +*This strategy works for the libnavui-androidauto project too. It works in the `libnavui-androidauto/changelog` directory* |
| 6 | + |
| 7 | +To follow this strategy you should create a `.md` file for every PR. Choose a directory: |
| 8 | + |
| 9 | +- `changelog/unreleased/features` for **Features** changes |
| 10 | +- `changelog/unreleased/bugfixes` for **Bug fixes and improvements** changes |
| 11 | +- `changelog/unreleased/issues` for **Known issues :warning:** changes |
| 12 | +- `changelog/unreleased/other` for other changes |
| 13 | + |
| 14 | +Or you can use the helper script to do it. Just call `python3 scripts/changelog/add_changelog.py -f "I have added something special"` to create a changelog file. |
| 15 | +Call `python3 scripts/changelog/add_changelog.py -h` to get more info. |
| 16 | + |
| 17 | +You can use anything that allow .md format in changelog files. |
| 18 | + |
| 19 | +If you have implemented several features or bugfixes you should describe all of them: |
| 20 | + |
| 21 | +``` |
| 22 | +- Description of changes in md format |
| 23 | +- Description of changes in md format also |
| 24 | +``` |
| 25 | + |
| 26 | +You can choose any name for your changelog files because the GitHub action will rename files in |
| 27 | +`changelog/unreleased/features` and `changelog/unreleased/bugfixes` directories to `${PR_NUMBER}.md` when you open a PR. |
| 28 | + |
| 29 | +Every push to the main or release branch Assemble changelog GitHub action will be executed: |
| 30 | + |
| 31 | +* collect all files from `changelog/unreleased` |
| 32 | +* assemble the changelog like: |
| 33 | + |
| 34 | +``` |
| 35 | +#### Features |
| 36 | +- Feature 1 [#1234](https://github.com/mapbox/mapbox-navigation-android/pull/1234) |
| 37 | +- Feature 2 [#2345](https://github.com/mapbox/mapbox-navigation-android/pull/2345) |
| 38 | +
|
| 39 | +#### Bug fixes and improvements |
| 40 | +- Bugfix 3 [#3456](https://github.com/mapbox/mapbox-navigation-android/pull/3456) |
| 41 | +- Bugfix 4 [#4567](https://github.com/mapbox/mapbox-navigation-android/pull/4567) |
| 42 | +
|
| 43 | +#### Known issues :warning: |
| 44 | +- Issue 1 |
| 45 | +- Issue 2 |
| 46 | +
|
| 47 | +Some other changes |
| 48 | +``` |
| 49 | + |
| 50 | +* write the changelog to the `changelog/unreleased/CHANGELOG.md` file |
| 51 | + |
| 52 | +Every release the release train app will: |
| 53 | + |
| 54 | +* get changelog from `changelog/unreleased/CHANGELOG.md` file |
| 55 | +* add information about dependencies and compile changelog like: |
| 56 | +``` |
| 57 | +## Mapbox Navigation SDK 1.1.1 - 13 December, 2022 |
| 58 | +### Changelog |
| 59 | +[Changes between v1.1.0 and v1.1.1](https://github.com/mapbox/mapbox-navigation-android/compare/v1.1.0...v1.1.1) |
| 60 | +
|
| 61 | +#### Features |
| 62 | +- Feature 1 [#1234](https://github.com/mapbox/mapbox-navigation-android/pull/1234) |
| 63 | +- Feature 2 [#2345](https://github.com/mapbox/mapbox-navigation-android/pull/2345) |
| 64 | +
|
| 65 | +#### Bug fixes and improvements |
| 66 | +- Bugfix 3 [#3456](https://github.com/mapbox/mapbox-navigation-android/pull/3456) |
| 67 | +- Bugfix 4 [#4567](https://github.com/mapbox/mapbox-navigation-android/pull/4567) |
| 68 | +
|
| 69 | +#### Known issues :warning: |
| 70 | +- Issue 1 |
| 71 | +- Issue 2 |
| 72 | +
|
| 73 | +Some other changes |
| 74 | +
|
| 75 | +### Mapbox dependencies |
| 76 | +This release depends on, and has been tested with, the following Mapbox dependencies: |
| 77 | +- Mapbox Maps SDK `v10.8.0` ([release notes](https://github.com/mapbox/mapbox-maps-android/releases/tag/v10.8.0)) |
| 78 | +- Mapbox Navigation Native `v115.0.1` |
| 79 | +- Mapbox Core Common `v23.0.0` |
| 80 | +- Mapbox Java `v6.8.0` ([release notes](https://github.com/mapbox/mapbox-java/releases/tag/v6.8.0)) |
| 81 | +- Mapbox Android Core `v5.0.2` ([release notes](https://github.com/mapbox/mapbox-events-android/releases/tag/core-5.0.2)) |
| 82 | +``` |
| 83 | +* add compiled changelog to `CHANGELOG.md` file |
| 84 | +* delete all files in `changelog/unreleased` dir |
0 commit comments