Skip to content

2.0.0-milestone.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@ajoberstar ajoberstar released this 29 Jul 21:41
· 287 commits to main since this release

This is a breaking release to clean up some outstanding deprecated items, require Java 8 (to be able to use the latest JGit), and a few miscellaneous features.

Breaking Changes

  • #180 Require Java 8
  • #67 Removed deprecated methods:
    • Grgit.open(String)
    • Grgit.open(String, Credentials)
    • Grgit.open(File)
    • Grgit.open(File, Credentials)
    • branch field on grgit.branch.status(...)

Enhancements

  • #85 Methods on Grgit are now generated by an AST transformation, so they should be visible in IDE completion.
  • #174 grgit.describe(...) now supports a longDescr option to force it to always output the more verbose format (thanks to Frank Vennemeyer)
  • #172 grgit.describe(...) now supports a commit option to choose an alternate target to describe than HEAD (thanks to Frank Vennemeyer)

Fixes

  • #171 Safer selection of Jsch agent for authentication

Deprecations

None

Compatibility

Java: requires 8 or higher