- Behavior Change: Revert Commits are now recognized and ignored by default (#99)
--staged
flag: gitlint can now detect meta-data (such as author details, changed files, etc) of staged/pre-commits. Useful when you use gitlint's commit-msg hook or precommit (#105)- New branch properties on
GitCommit
andGitContext
, useful when writing your own user-defined rules:commit.branches
andcommit.context.current_branch
(#108) - Python 3.8 support
- Python 3.4 no longer supported. Python 3.4 has reached EOL and an increasing
of gitlint's dependencies have dropped support which makes it hard to maintain. - Improved Windows support: better unicode handling. Issues remain but the basic functionality works.
- Bugfixes:
- Gitlint no longer crashes when acting on empty repositories (this only occurred in specific circumstances).
- Changed files are now better detected in repos that only have a root commit
- Improved performance and memory (gitlint now caches git properties)
- Improved
--debug
output - Improved documentation
- Under-the-hood: dependencies updated, unit and integration test improvements, migrated from TravisCI to Github Actions.