gitbaker 0.1.2
gitbaker: ^0.1.2 copied to clipboard
An easy and simple-to-integrate info baker for Git repositories into your Flutter or Dart project.
0.1.2 #
- The
Commitclass can now be compared using== - All sets have been changed to lists to preserve order
- New
GitBakerpropertyworkspacewith a list of all uncommitted changes Usernow has acontributionsproperty
0.1.1 #
- Improved documentation
- Added
hashAbbreviatedproperty toCommit - Added (non-static)
toJsonmethods to all generated classes for easier serialization
0.1.0 #
- Documentation of generated classes
- New
presentInproperty onCommitreturning all branches the commit is present in - Removed
branchproperty onCommit, usepresentIninstead GitBakernow has a newcommitsproperty returning all commits in the repository- Including those not present in any branch
Branch'scommitsproperty now doesn't store theCommitobjects directly anymore, but only their hashes. It then resolves the hashes toCommitobjects on access.- This way,
Commitobjects are only created once and reused, making comparisons and lookups easier and faster
- This way,
Branchhas a newrevisionproperty returning the number of commits in the branch- This only takes commits that are a direct ancestor of the branch's HEAD into account
- So if a branch merges another branch, the commits from the merged branch are not counted, only the merge commit itself
Remote'surlproperty is now nameduricontributorsproperty is now calledmembers
0.0.8 #
- Removed Branch's
hashproperty, usecommits.last.hashinstead - Removed Tag's
hashproperty, usecommit.hashinstead - Removed Tag's
descriptionproperty, usecommit.messageinstead
0.0.7 #
- Improved escaping of strings in generated code
- Added support for global
gitbakercommand - Commit's
dateproperty is now correctly set - New
remotegetter returns primary remote fromremotes
0.0.6 #
- Better error handling
- Better encoding handling
- Classes are now marked as
final - Dart SDK version is now 3.7.0 or higher
- No more dependency on
intlpackage- Better DX when used with Flutter
0.0.5 #
Remote.urlnow is anUriobject instead of a string- All helper classes now have a private constructor
- Generated file now declares itself as library
- Code is formatted before being written to the file
- Strings are now raw strings making it safer
- Nicer CLI output
0.0.4 #
- Everything is now a Set
- New User object whenever username was returned before
- Contributors list added
- Commits now have a
signedfield
0.0.3 #
- Support git encoding
0.0.2 #
- Various bug fixes and improvements
0.0.1 #
- Initial version