Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Releases: ajoberstar/grgit

5.3.2

Choose a tag to compare

@ajoberstar ajoberstar released this 14 Jun 00:39
5.3.2
f11f9d1

Patch release to fix a vulnerable transitive dependency.

Note

This release is the same as 5.3.1.

Breaking Changes

None

Enhancements

None

Fixes

  • Update dependencies to resolve JGit vulnerability

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.6.4, 8.0.2, 8.14.2
17 7.3.3, 7.6.4, 8.0.2, 8.14.2, 9.0.0-milestone-9
21 8.4, 8.14.2, 9.0.0-milestone-9

5.3.1

Choose a tag to compare

@ajoberstar ajoberstar released this 13 Jun 23:38
5.3.1
d1974cb

Patch release to fix a vulnerable transitive dependency.

Breaking Changes

None

Enhancements

None

Fixes

  • Update dependencies to resolve JGit vulnerability

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.6.4, 8.0.2, 8.14.2
17 7.3.3, 7.6.4, 8.0.2, 8.14.2, 9.0.0-milestone-9
21 8.4, 8.14.2, 9.0.0-milestone-9

5.3.0

Choose a tag to compare

@ajoberstar ajoberstar released this 05 Oct 19:33

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

  • #362 Add GrgitService#findGrgit() which returns an Optional<Grgit> allowing accessing whether a repo is present or not, rather than throwing like getGrgit() does.

Fixes

  • #391 initIfNoTExists on GrgitService works now
  • Update dependencies

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.6.4, 8.0.2, 8.10.2
17 7.3.3, 7.6.4, 8.0.2, 8.10.2
21 8.4, 8.10.2

5.2.2

Choose a tag to compare

@ajoberstar ajoberstar released this 18 Feb 07:26

Small patch to pick up new dependencies.

Breaking Changes

None

Enhancements

None

Fixes

  • Update dependencies

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.6.4, 8.0.2, 8.6
17 7.3.3, 7.6.4, 8.0.2, 8.6
21 8.6

5.2.1

Choose a tag to compare

@ajoberstar ajoberstar released this 21 Oct 18:57
44a3af5

Small patch to pick up new dependencies.

Breaking Changes

None

Enhancements

None

Fixes

  • #394 Update dependencies to resolve JGit vulnerability

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.6.1, 8.0.2, 8.4
17 7.3.3, 7.6.1, 8.0.2, 8.4
21 8.4

5.2.0

Choose a tag to compare

@ajoberstar ajoberstar released this 22 Apr 01:07
2a4d1d7

This release adds support for the depth option on fetch, which I meant to include in 5.1.0.

Breaking Changes

None

Enhancements

  • #387 Add fetch depth option

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.6.1, 8.0.2, 8.1.1
17 7.3.3, 7.6.1, 8.0.2, 8.1.1

5.1.0

Choose a tag to compare

@ajoberstar ajoberstar released this 22 Apr 00:07
61c477a

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, the org.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

  • #380 and #381 Provider mismatch issues preventing proper use of the service plugin (thanks @Vampire in #382)

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.6.1, 8.0.2, 8.1.1
17 7.3.3, 7.6.1, 8.0.2, 8.1.1

5.1.0-rc.1

5.1.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@ajoberstar ajoberstar released this 22 Apr 00:06
61c477a

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, the org.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

  • #380 and #381 Provider mismatch issues preventing proper use of the service plugin (thanks @Vampire in #382)

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.6.1, 8.0.2, 8.1.1
17 7.3.3, 7.6.1, 8.0.2, 8.1.1

5.0.0

Choose a tag to compare

@ajoberstar ajoberstar released this 10 Feb 18:24

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 or org.ajoberstar.grgit.service to multiple projects. This is caused by an upstream Gradle issue gradle/gradle#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

  • Upgrade to JGit 6
  • Drops support for Java 8 (due to JGit upgrade)
  • Drops support for Gradle 4, 5, and 6
  • Drops support for Groovy 2
  • org.ajoberstar.grgit is no longer auto-applied to all subprojects, you must apply it to any project that wants to access the grgit property

Enhancements

  • #322 --configuration-cache is now supported (thanks @abelom and @runningcode)
  • #354 A new org.ajoberstar.grgit-service plugin is available to provide lazy access to a GrgitService (a Gradle BuildService). See the README for tips on how to use this.
  • Adds grgit.remote.remove(name: 'origin') to remove remotes

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.3.3, 7.4-rc-2
17 7.3.3, 7.4-rc-2

5.0.0-rc.7

5.0.0-rc.7 Pre-release
Pre-release

Choose a tag to compare

@ajoberstar ajoberstar released this 10 Feb 03:25

This release includes a number of breaking changes, with the main user highlight being the long awaited configuration cache support.

Breaking Changes

  • Upgrade to JGit 6
  • Drops support for Java 8 (due to JGit upgrade)
  • Drops support for Gradle 4, 5, and 6
  • Drops support for Groovy 2
  • org.ajoberstar.grgit is no longer auto-applied to all subprojects, you must apply it to any project that wants to access the grgit property

Enhancements

  • #322 --configuration-cache is now supported (thanks @abelom and @runningcode)
  • #354 A new org.ajoberstar.grgit-service plugin is available to provide lazy access to a GrgitService (a Gradle BuildService). See the README for tips on how to use this.
  • Adds grgit.remote.remote(name: 'origin') to remove remotes

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
11 7.0.2, 7.3.3, 7.4-rc-2
17 7.3.3, 7.4-rc-2