invertase / melos

🌋 A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
https://melos.invertase.dev/~melos-latest
Apache License 2.0
1.19k stars 206 forks source link

request: Add option to group commits by type in changelog for version command #763

Open MobiliteDev opened 2 months ago

MobiliteDev commented 2 months ago

Is there an existing feature request for this?

Command

melos version --[no-]group-commits

Description

I would like to propose an enhancement to the version command in Melos that improves the changelog generation by grouping commits by their type (e.g., fix, feat). The idea is to have a single header for each type, under which all related commits are grouped. This would improve the readability of the changelog by reducing clutter and providing a more organized summary of changes.

For example :

### Fixes
- corrected issue with API call (#123)
- resolved UI glitch on iOS (#124)

### Features
- added user authentication (#125)
- implemented dark mode support (#126)

Reasoning

This feature would make changelogs more user-friendly, especially for projects with a lot of commits, by presenting changes in a more structured and less redundant way.

Additional context and comments

No response

spydon commented 2 months ago

Sounds like a good idea, would you be interested in developing it?

MobiliteDev commented 2 months ago

Hello!

Thank you for your response. I'm definitely interested in contributing to the development of this feature. However, I want to be upfront that I haven't contributed to open-source projects before, so I'm not entirely familiar with all the processes and best practices involved. That said, I'm eager to learn and follow any guidelines necessary to ensure my contribution meets the project's standards.

If you have any pointers or specific steps to follow, I'd greatly appreciate your guidance.

spydon commented 2 months ago

We have a contributors guide here that you can read: https://github.com/invertase/melos/blob/main/CONTRIBUTING.md :)