Overview
A Flutter/Dart package that parses Git commit messages according to the Conventional Commits specification. It validates and extracts structured information such as type, scope, subject, and body from commit messages, enabling consistent changelog generation and automated release workflows. Designed for developers who want to enforce standardized commit formats in their projects, it supports all major platforms including Android, iOS, Web, macOS, Windows, and Linux. The package is ideal for use in CI/CD pipelines and development tooling.
Use cases
- Enforcing commit message standards
- Generating changelogs automatically
- Integrating with CI/CD pipelines
- Validating pull requests
- Supporting semantic versioning
- Parsing git logs programmatically
Key features
- Parses Conventional Commits format
- Extracts type, scope, and subject
- Supports multi-line commit messages
- Platform-agnostic (all major OS)
- Lightweight and fast
- Compatible with Melos and other tooling
Suitable for
- Teams using Conventional Commits
- CI/CD automation
- Changelog generators
- Code quality enforcement
- Developer tooling
- Open-source project maintainers
Considerations
- Requires valid Conventional Commit format
- Does not generate commits
- Limited to parsing only
- No built-in validation UI
- Depends on external tools for full workflow
- Not for commit creation