Skip to content

Releases: ajoberstar/grgit

2.3.0-rc.1

04 Jul 01:46
0775a63
Compare
Choose a tag to compare
2.3.0-rc.1 Pre-release
Pre-release

Small feature release to make improvements to existing operations.

Breaking Changes

None

Enhancements

  • #247 Detect when revert commands fail and throw an exception (thanks @gavinbunney)
  • #238 Ensure unique abbreviatedId on Commit

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 3.0, 3.5.1, 4.0, 4.8-rc-3
9 4.2.1, 4.8-rc-3
10 4.2.1, 4.8-rc-3

2.2.1

02 Jun 00:40
Compare
Choose a tag to compare

Fix release to publish static dependencies to the Gradle Plugin Portal. Previously static ones were being published to JCenter, but dynamic to the Portal. This caused a JGit 5 dependency to get pulled in which contains breaking changes.

Breaking Changes

None

Enhancements

None

Fixes

  • #229 Publish static versions in POM on Gradle Plugin Portal to avoid pulling in breaking JGit 5 version

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 3.0, 3.5.1, 4.0, 4.8-rc-3
9 4.2.1, 4.8-rc-3
10 4.2.1, 4.8-rc-3

2.2.1-rc.3

01 Jun 00:55
Compare
Choose a tag to compare
2.2.1-rc.3 Pre-release
Pre-release

Fix release to publish static dependencies to the Gradle Plugin Portal. Previously static ones were being published to JCenter, but dynamic to the Portal. This caused a JGit 5 dependency to get pulled in which contains breaking changes.

Breaking Changes

None

Enhancements

None

Fixes

  • #229 Publish static versions in POM on Gradle Plugin Portal to avoid pulling in breaking JGit 5 version

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 3.0, 3.5.1, 4.0, 4.8-rc-3
9 4.2.1, 4.8-rc-3
10 4.2.1, 4.8-rc-3

2.2.1-rc.2

31 May 12:42
7cfc6bd
Compare
Choose a tag to compare
2.2.1-rc.2 Pre-release
Pre-release

Fix release to publish static dependencies to the Gradle Plugin Portal. Previously static ones were being published to JCenter, but dynamic to the Portal. This caused a JGit 5 dependency to get pulled in which contains breaking changes.

Breaking Changes

None

Enhancements

None

Fixes

  • #229 Publish static versions in POM on Gradle Plugin Portal to avoid pulling in breaking JGit 5 version

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 3.0 through 4.7
9 4.2.1. through 4.7
10 4.2.1 through 4.7

2.2.1-rc.1

31 May 12:08
aff28dc
Compare
Choose a tag to compare
2.2.1-rc.1 Pre-release
Pre-release

Fix release to publish static dependencies to the Gradle Plugin Portal. Previously static ones were being published to JCenter, but dynamic to the Portal. This caused a JGit 5 dependency to get pulled in which contains breaking changes.

Breaking Changes

None

Enhancements

None

Fixes

  • #229 Publish static versions in POM on Gradle Plugin Portal to avoid pulling in breaking JGit 5 version

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 3.0 through 4.7
9 4.2.1. through 4.7
10 4.2.1 through 4.7

2.2.0

21 Apr 14:24
Compare
Choose a tag to compare

Feature release adding opt-in support of SSH via external ssh or plink commands as an alternative to JSch (which has been pretty problematic for people). The grgit-authentication documentation has been updated to show how to use this. However, note that if your remote is on Git 2.14+ you'll likely encounter JGit#529463 causing your program to hang. Hope is that this will be fixed in JGit's next release.

Rejected pushes now throw an exception instead of failing silently.

Additionally, a Consumer variant was added to all operations to make Java usage of Grgit easier.

grgit.add({ op ->
  op.setPatterns(Arrays.asList("."));
});

Breaking Changes

None

Enhancements

  • #206 Support external SSH commands as an alternative to JSch
  • Support Consumer as an alternative to Closure or Map syntax on all operations

Fixes

  • #216 Push used to fail silently when pre-receive hooks declined the push. This will now throw an exception.

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 3.0 through 4.7
9 4.2.1. through 4.7
10 4.2.1 through 4.7

2.2.0-rc.1

21 Apr 01:17
Compare
Choose a tag to compare
2.2.0-rc.1 Pre-release
Pre-release

Feature release adding opt-in support of SSH via external ssh or plink commands as an alternative to JSch (which has been pretty problematic for people). The grgit-authentication documentation has been updated to show how to use this. However, note that if your remote is on Git 2.14+ you'll likely encounter JGit#529463 causing your program to hang. Hope is that this will be fixed in JGit's next release.

Rejected pushes now throw an exception instead of failing silently.

Additionally, a Consumer variant was added to all operations to make Java usage of Grgit easier.

grgit.add({ op ->
  op.setPatterns(Arrays.asList("."));
});

Changes since beta.2 The #216 fix was added.

Breaking Changes

None

Enhancements

  • #206 Support external SSH commands as an alternative to JSch
  • Support Consumer as an alternative to Closure or Map syntax on all operations

Fixes

  • #216 Push used to fail silently when pre-receive hooks declined the push. This will now throw an exception.

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 3.0 through 4.7
9 4.2.1. through 4.7
10 4.2.1 through 4.7

2.2.0-beta.2

20 Apr 01:44
880e93c
Compare
Choose a tag to compare
2.2.0-beta.2 Pre-release
Pre-release

Feature release adding opt-in support of SSH via external ssh or plink commands as an alternative to JSch (which has been pretty problematic for people). The grgit-authentication documentation has been updated to show how to use this. However, note that if your remote is on Git 2.14+ you'll likely encounter JGit#529463 causing your program to hang. Hope is that this will be fixed in JGit's next release.

Additionally, a Consumer variant was added to all operations to make Java usage of Grgit easier.

grgit.add({ op ->
  op.setPatterns(Arrays.asList("."));
});

Changes since beta.1 The consumer variants were generated with the incorrect generic types making them unusable. This is fixed now.

Breaking Changes

None

Enhancements

  • #206 Support external SSH commands as an alternative to JSch
  • Support Consumer as an alternative to Closure or Map syntax on all operations

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 3.0 through 4.7-rc-2
9 4.2.1. through 4.7-rc-2
10 4.2.1 through 4.7-rc-2

2.1.2

17 Apr 23:32
8041440
Compare
Choose a tag to compare

Fix release to make lsremote respect any authentication settings you've made.

Breaking Changes

None

Enhancements

None

Fixes

  • #222 lsremote() fails to use credentials configured on repository

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 3.0 through 4.7-rc-1
9 4.2.1. through 4.7-rc-1
10 4.2.1 through 4.6

2.2.0-beta.1

15 Apr 01:24
a2bbb5f
Compare
Choose a tag to compare
2.2.0-beta.1 Pre-release
Pre-release

Feature release adding opt-in support of SSH via external ssh or plink commands as an alternative to JSch (which has been pretty problematic for people). The grgit-authentication documentation has been updated to show how to use this. However, note that if your remote is on Git 2.14+ you'll likely encounter JGit#470555 causing your program to hang. Hope is that this will be fixed in JGit's next release.

Additionally, a Consumer variant was added to all operations to make Java usage of Grgit easier.

grgit.add({ op ->
  op.setPatterns(Arrays.asList("."));
});

Breaking Changes

None

Enhancements

  • #206 Support external SSH commands as an alternative to JSch
  • Support Consumer as an alternative to Closure or Map syntax on all operations

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 3.0 through 4.7-rc-2
9 4.2.1. through 4.7-rc-2
10 4.2.1 through 4.7-rc-2