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
Commit
class can now be compared using==
- All sets have been changed to lists to preserve order
- New
GitBaker
propertyworkspace
with a list of all uncommitted changes User
now has acontributions
property
0.1.1 #
- Improved documentation
- Added
hashAbbreviated
property toCommit
- Added (non-static)
toJson
methods to all generated classes for easier serialization
0.1.0 #
- Documentation of generated classes
- New
presentIn
property onCommit
returning all branches the commit is present in - Removed
branch
property onCommit
, usepresentIn
instead GitBaker
now has a newcommits
property returning all commits in the repository- Including those not present in any branch
Branch
'scommits
property now doesn't store theCommit
objects directly anymore, but only their hashes. It then resolves the hashes toCommit
objects on access.- This way,
Commit
objects are only created once and reused, making comparisons and lookups easier and faster
- This way,
Branch
has a newrevision
property 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
'surl
property is now nameduri
contributors
property is now calledmembers
0.0.8 #
- Removed Branch's
hash
property, usecommits.last.hash
instead - Removed Tag's
hash
property, usecommit.hash
instead - Removed Tag's
description
property, usecommit.message
instead
0.0.7 #
- Improved escaping of strings in generated code
- Added support for global
gitbaker
command - Commit's
date
property is now correctly set - New
remote
getter 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
intl
package- Better DX when used with Flutter
0.0.5 #
Remote.url
now is anUri
object 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
signed
field
0.0.3 #
- Support git encoding
0.0.2 #
- Various bug fixes and improvements
0.0.1 #
- Initial version