chore(deps): update plugin org.ajoberstar.grgit to v5 - autoclosed #107
+1
−1
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:
1.7.2
->5.2.2
Release Notes
ajoberstar/grgit (org.ajoberstar.grgit)
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:
v2.3.0
Compare Source
Small feature release to make improvements to existing operations.
Breaking Changes
None
Enhancements
revert
commands fail and throw an exception (thanks @gavinbunney)abbreviatedId
onCommit
Fixes
None
Deprecations
None
Compatibility
Tested on the following version:
v2.2.1
Compare Source
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
Deprecations
None
Compatibility
Tested on the following version:
v2.2.0
Compare Source
Feature release adding opt-in support of SSH via external
ssh
orplink
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.Breaking Changes
None
Enhancements
Consumer
as an alternative toClosure
orMap
syntax on all operationsFixes
Deprecations
None
Compatibility
Tested on the following version:
v2.1.2
Compare Source
Fix release to make lsremote respect any authentication settings you've made.
Breaking Changes
None
Enhancements
None
Fixes
lsremote()
fails to use credentials configured on repositoryDeprecations
None
Compatibility
Tested on the following version:
v2.1.1
Compare Source
Update dependencies and fix POM for Grgit to use static versions instead of ranges.
Breaking Changes
None
Enhancements
4.10.0.201712302008-r
Fixes
Deprecations
None
Compatibility
Java: requires 8 or higher
Gradle: tested against 3.0, 3.1, 3.2, 3.2.1, 3.3, 3.4, 3.5, 3.5.1, 4.0, 4.0.1, 4.0.2, 4.1, 4.2, 4.2.1, 4.3, 4.3.1, 4.4, 4.4.1, 4.5, 4.5.1
v2.1.0
Compare Source
Adds support for the match option on describe.
Breaking Changes
None
Enhancements
--match
4.8.0.201706111038-r
to4.9.0.201710071750-r
Fixes
None
Deprecations
None
Compatibility
Java: requires 8 or higher
Gradle: tested against 3.0, 3.1, 3.2, 3.2.1, 3.3, 3.4, 3.5, 3.5.1, 4.0, 4.0.1, 4.0.2, 4.1, 4.2, 4.2.1
v2.0.1
Compare Source
Small fix release.
Breaking Changes
None
Enhancements
None
Fixes
Deprecations
None
Compatibility
Java: requires 8 or higher
Gradle: tested against 3.0, 3.1, 3.2, 3.2.1, 3.3, 3.4, 3.5, 3.5.1, 4.0, 4.0.1, 4.0.2, 4.1-rc-1
v2.0.0
Compare Source
This is a breaking release to clean up some outstanding deprecated items, require Java 8 (to be able to use the latest JGit), incorporate the
org.ajoberstar.grgit
Gradle plugin, and a few miscellaneous features.All documentation has also been revised and migrated to a site that should be a little more friendly.
Breaking Changes
Grgit.open(String)
Grgit.open(String, Credentials)
Grgit.open(File)
Grgit.open(File, Credentials)
branch
field ongrgit.branch.status(...)
Enhancements
org.ajoberstar.grgit
plugin was added to this project (migrated from gradle-git)grgit
instance will be closedgrgit
property.grgit.describe(...)
now supports alongDescr
option to force it to always output the more verbose format (thanks to Frank Vennemeyer)grgit.describe(...)
now supports acommit
option to choose an alternate target to describe thanHEAD
(thanks to Frank Vennemeyer)grgit.branch.current()
to replace the now deprecatedgrgit.branch.getCurrent()
. These have identical functionality.Fixes
Deprecations
grgit.branch.current
/grgit.branch.getCurrent()
has been deprecated in favor ofgrgit.branch.current()
Compatibility
Java: requires 8 or higher
Gradle: tested against 3.0, 3.1, 3.2, 3.2.1, 3.3, 3.4, 3.5, 3.5.1, 4.0, 4.0.1, 4.0.2, 4.1-rc-1
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.