|
| 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 | +For every PR the script will generate and update a comment with a changelog for the current branch in the following format: |
| 30 | + |
| 31 | +``` |
| 32 | +# Changelog |
| 33 | +#### Features |
| 34 | +- Feature 1 [#1234](https://github.com/mapbox/mapbox-navigation-android/pull/1234) |
| 35 | +- Feature 2 [#2345](https://github.com/mapbox/mapbox-navigation-android/pull/2345) |
| 36 | +
|
| 37 | +#### Bug fixes and improvements |
| 38 | +- Bugfix 3 [#3456](https://github.com/mapbox/mapbox-navigation-android/pull/3456) |
| 39 | +- Bugfix 4 [#4567](https://github.com/mapbox/mapbox-navigation-android/pull/4567) |
| 40 | +
|
| 41 | +#### Known issues :warning: |
| 42 | +- Issue 1 |
| 43 | +- Issue 2 |
| 44 | +
|
| 45 | +Some other changes |
| 46 | +``` |
| 47 | + |
| 48 | +The comment will be updated with every change. |
| 49 | +Also, a comment with a changelog will be generated and updated for the android auto project too. |
| 50 | + |
| 51 | +Every release the release train app will: |
| 52 | + |
| 53 | +* assemble the changelog |
| 54 | +* add information about dependencies and compile changelog like: |
| 55 | +``` |
| 56 | +## Mapbox Navigation SDK 1.1.1 - 13 December, 2022 |
| 57 | +### Changelog |
| 58 | +[Changes between v1.1.0 and v1.1.1](https://github.com/mapbox/mapbox-navigation-android/compare/v1.1.0...v1.1.1) |
| 59 | +
|
| 60 | +#### Features |
| 61 | +- Feature 1 [#1234](https://github.com/mapbox/mapbox-navigation-android/pull/1234) |
| 62 | +- Feature 2 [#2345](https://github.com/mapbox/mapbox-navigation-android/pull/2345) |
| 63 | +
|
| 64 | +#### Bug fixes and improvements |
| 65 | +- Bugfix 3 [#3456](https://github.com/mapbox/mapbox-navigation-android/pull/3456) |
| 66 | +- Bugfix 4 [#4567](https://github.com/mapbox/mapbox-navigation-android/pull/4567) |
| 67 | +
|
| 68 | +#### Known issues :warning: |
| 69 | +- Issue 1 |
| 70 | +- Issue 2 |
| 71 | +
|
| 72 | +Some other changes |
| 73 | +
|
| 74 | +### Mapbox dependencies |
| 75 | +This release depends on, and has been tested with, the following Mapbox dependencies: |
| 76 | +- Mapbox Maps SDK `v10.8.0` ([release notes](https://github.com/mapbox/mapbox-maps-android/releases/tag/v10.8.0)) |
| 77 | +- Mapbox Navigation Native `v115.0.1` |
| 78 | +- Mapbox Core Common `v23.0.0` |
| 79 | +- Mapbox Java `v6.8.0` ([release notes](https://github.com/mapbox/mapbox-java/releases/tag/v6.8.0)) |
| 80 | +- Mapbox Android Core `v5.0.2` ([release notes](https://github.com/mapbox/mapbox-events-android/releases/tag/core-5.0.2)) |
| 81 | +``` |
| 82 | +* add compiled changelog to `CHANGELOG.md` file |
| 83 | +* delete all files in `changelog/unreleased` dir |
0 commit comments