-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow emoji to be optional #35
Conversation
Signed-off-by: Steven Sheehy <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. I don't have a strong argument for making the emoji optional and perhaps we should review this altogether.
Rather than having title + emoji and then building the title in the toString
we could have a single argument that represents the title and build it upfront. When doing so, we should document that the emoji of a Section
is optional rather than silently ignoring it later as you suggest here.
We'd need also to upgrade the tests to cover this scenario.
If you agree, would you be willing to review the PR in that direction?
Just so I understand, you're advocating removal of the emoji config option and consolidating it into a single title that the user provides, correct? The default section title output would stay the same. I can do this, I just didn't want to break Spring's tooling or a third party (like release-notes-generator-action) that depends upon the current configuration format and has customized the emoji or title.
With the approach you recommend, it's more appropriate to say that the title accepts, but doesn't require, an emoji in markdown format anywhere in the string, right? |
Actually I wasn't but that's a good idea. It would give you the flexibility to format titles any way you like. I am not aware of us using the emoji + title configuration option. Our usage is based on the
Good idea. We could generalize by saying that the title is in markdown format and that emoji are supported. |
Signed-off-by: Steven Sheehy <[email protected]>
Thanks, I've modified the PR to remove emoji in favor of title containing all necessary information. |
Signed-off-by: Steven Sheehy <[email protected]>
Any update on this? |
Fold the "emoji" property into the "title" so that it's easier to omit if a clean looking changelog is preferred. See gh-35
Thanks for the PR @steven-sheehy. This is now merged into master. |
Emoji icon in release sections would be nice if it was optional in case people wanted a cleaner look and feel for their release notes (like myself).
I've ran
./mvnw verify
and previously signed the CLA