I noticed in a git-changelog PR that this diff
class Commit:
"""A class to represent a commit."""
def __init__(
self,
commit_hash: str,
author_name: str = "",
author_email: str = "",
author_date: str | datetime = "",
committer_name: str = "",
committer_email: str = "",
committer_date: str | datetime = "",
refs: str = "",
+ parent_hashes: str | list[str] = "",
subject: str = "",
body: list[str] | None = None,
url: str = "",
*,
parse_trailers: bool = False,
):
...does not yield any warning. However the new parameter parent_hashes
shifts subject
, body
and url
positional-or-keyword parameters. So it's a breaking change.
Report such inserted positional-or-keyword parameters when checking for breaking changes.
/
/
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too