chore(deps): update plugin org.ajoberstar.grgit to v5 #111
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.3.0
->5.3.0
Release Notes
ajoberstar/grgit (org.ajoberstar.grgit)
v5.3.0
Compare Source
Small release to resolve outstanding issues that I still felt were in scope (given feature freeze, see README for more background).
Breaking Changes
None
Enhancements
GrgitService#findGrgit()
which returns anOptional<Grgit>
allowing accessing whether a repo is present or not, rather than throwing likegetGrgit()
does.Fixes
initIfNoTExists
onGrgitService
works nowDeprecations
None
Compatibility
Tested on the following version:
v5.2.2
Compare Source
Small patch to pick up new dependencies.
Breaking Changes
None
Enhancements
None
Fixes
Deprecations
None
Compatibility
Tested on the following version:
v5.2.1
Compare Source
Small patch to pick up new dependencies.
Breaking Changes
None
Enhancements
None
Fixes
Deprecations
None
Compatibility
Tested on the following version:
v5.2.0
Compare Source
This release adds support for the depth option on fetch, which I meant to include in 5.1.0.
Breaking Changes
None
Enhancements
Fixes
None
Deprecations
None
Compatibility
Tested on the following version:
v5.1.0
Compare Source
This release adds support for shallow clones, Gradle 8, and fixes some issues with the service plugin
NOTE: While the
org.ajoberstar.grgit.service
plugin is compatible with the configuration cache, theorg.ajoberstar.grgit
plugin no longer is due to changes in Gradle 8. If you want configuration cache support, please switch to the service plugin.Breaking Changes
None
Enhancements
Fixes
Deprecations
None
Compatibility
Tested on the following version:
v5.0.0
Compare Source
This release includes a number of breaking changes, with the main user highlight being the long awaited configuration cache support.
Known Issue: #356 highlighted that (some?) multi-project builds will encounter an error when applying
org.ajoberstar.grgit
ororg.ajoberstar.grgit.service
to multiple projects. This is caused by an upstream Gradle issue https://github.com/gradle/gradle/issues/17559 that is, as of 2/10/2022, is targeted to be fixed in 7.5. I suggest multi-project builds hold off on upgrading until that upstream issue is resolved.Breaking Changes
org.ajoberstar.grgit
is no longer auto-applied to all subprojects, you must apply it to any project that wants to access thegrgit
propertyEnhancements
--configuration-cache
is now supported (thanks @abelom and @runningcode)org.ajoberstar.grgit-service
plugin is available to provide lazy access to aGrgitService
(a Gradle BuildService). See the README for tips on how to use this.grgit.remote.remove(name: 'origin')
to remove remotesFixes
None
Deprecations
None
Compatibility
Tested on the following version:
v4.1.1
Compare Source
Resolving an issue with the POM in 4.1.0 that was pulling in the latest JGit (which in JGit 6, causes incompatibility with Java 8).
Breaking Changes
None
Enhancements
Fixes
Deprecations
None
Compatibility
Tested on the following version:
v4.1.0
Compare Source
A few small fixes and dependency bumps.
Breaking Changes
None
Enhancements
Fixes
None
Deprecations
None
Compatibility
Tested on the following version:
v4.0.2
Compare Source
A few small fixes and dependency bumps.
Breaking Changes
None
Enhancements
None
Fixes
grgit.head()
on an empty repo, now returns nullDeprecations
None
Compatibility
Tested on the following version:
v4.0.1
Compare Source
A fix to implement a new abstract method introduced in JGit 5.5.2 for the
SystemReader
class (which is used as part of Grgit's support for SSH).Breaking Changes
None
Enhancements
None
Fixes
SystemReader
#309Deprecations
None
Compatibility
Tested on the following version:
v4.0.0
Compare Source
A few assorted features, but be careful about the drop of Gradle 3 support if that was important to you.
Breaking Changes
Enhancements
commit.sign
boolean flag for GPG commits. #300 (Thanks @tlinkowski)Fixes
Deprecations
None
Compatibility
Tested on the following version:
v3.1.1
Compare Source
Fix for a unintentional breaking change in 3.1.0 for Groovy 2.4 (and Gradle <5) users.
Breaking Changes
None
Enhancements
None
Fixes
Deprecations
None
Compatibility
Tested on the following version:
v3.1.0
Compare Source
This is a feature release providing a few improvements to
grgit.log
,grgit.show
, andgrgit.push
.Breaking Changes
None
Enhancements
IllegalArgumentException
instead of NPE when log op can't find revstrFixes
ObjectReader
used during parsing commits (related to #182)Deprecations
None
Compatibility
Tested on the following version:
v3.0.0
Compare Source
This is a breaking release, supporting JGit 5 and Groovy 2.5.
However, the more significant change is the removal of some previous authentication options. Up until Grgit 3, we leveraged JGit's default JSch support for SSH communication. This is a Java implementation of the SSH protocol. Additionally, the JSch agent proxy library was used to support
ssh-agent
andPageant
. Those features caused numerous headaches with the differences between how the Java implementation and system SSH worked. JSch and JSch agent proxy support is now removed.All SSH communication will leverage the command referenced by the
GIT_SSH
env var or anssh
orplink
executable on yourPATH
.Review the authentication documentation for details.
Breaking Changes
org.ajoberstar.grgit:grgit-core:<version>
if you're using as a libraryorg.ajoberstar.grgit:grgit-gradle:<version>
if you're using from Gradle (the plugin ID,org.ajoberstar.grgit
, has not changed)ssh
andplink
commands are now used instead of JSch.Enhancements
grgit.describe()
now supports atags
option to include un-annotated tags (the default isfalse
, buttrue
would match the JGit 4 behavior)OpenOp
now has acredentials
method to be consistent withCloneOp
.Fixes
None
Deprecations
OpenOp
creds
parameter was deprecated in favor of the newcredentials
parameter.Compatibility
Tested on the following version: