File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -507,12 +507,16 @@ Each `Change` has the following fields:
507507| scope | `str | None` | An optional scope |
508508| message | `str` | The commit message body |
509509| sha1 | `str` | The commit `sha1` |
510+ | parents | `list[str]` | The parent commit(s) `sha1`(s) |
510511| author | `str` | The commit author name |
511512| author_email | `str` | The commit author email |
512513
513514!!! Note
514515 The field values depend on the customization class and/or the settings you provide
515516
517+ The `parents` field can be used to identify merge commits and generate a changelog based on those. Another use case
518+ is listing commits that belong to the same pull request.
519+
516520When using another template (either provided by a plugin or by yourself), you can also pass extra template variables
517521by :
518522
You can’t perform that action at this time.
0 commit comments