ChangeLogEntry class

A simple changelog entry, containing sub-entries.

Mixed-in types

Constructors

ChangeLogEntry({bool isInitialRelease = false})
Creates a new changelog entry instance.

Properties

breakingChangeCount → int
Returns the number of breaking changes.
no setter
changeCount → int
Returns the number of changes.
no setter
hasBreakingChange → bool
Whether this entry has breaking changes.
no setter
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
Whether this entry is empty.
no setter
isInitialRelease → bool
Whether the changes are relative to the initial 0.0.0 tag.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
types → Iterable<String>
Returns the types.
no setter

Methods

addSubEntry(ConventionalCommitWithHash commit) → void
Adds a sub-entry to the list.
bumpVersion(Version version) → Version
Creates a new version, bumped from the current version.
filter({List<String> ignoredScopes = const [], List<String> ignoredTypes = const [], List<String> ignoredHashes = const []}) → ChangeLogEntry
Filters the changelog entry.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](String type) → List<ConventionalCommitWithHash>?
Returns the sub-entries.

Static Methods

parseGitLog(String gitLog, {bool isInitialRelease = false}) → ChangeLogEntry
Parses a git log and returns a changelog entry.

Constants

orderedTypes → const List<String>
The types, ordered.