File tree 1 file changed +4
-0
lines changed
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:
507
507
| scope | `str | None` | An optional scope |
508
508
| message | `str` | The commit message body |
509
509
| sha1 | `str` | The commit `sha1` |
510
+ | parents | `list[str]` | The parent commit(s) `sha1`(s) |
510
511
| author | `str` | The commit author name |
511
512
| author_email | `str` | The commit author email |
512
513
513
514
!!! Note
514
515
The field values depend on the customization class and/or the settings you provide
515
516
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
+
516
520
When using another template (either provided by a plugin or by yourself), you can also pass extra template variables
517
521
by :
518
522
You can’t perform that action at this time.
0 commit comments