grgit

The Groovy way to use Git.

APACHE-2.0 License

Stars
516

Bot releases are hidden (Show)

grgit - Latest Release

Published by ajoberstar 8 months ago

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
grgit -

Published by ajoberstar almost 1 year ago

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
grgit -

Published by ajoberstar over 1 year ago

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
grgit -

Published by ajoberstar over 1 year ago

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

  • #155 Support for shallow clones (thanks to @AfzalivE in #384)

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
grgit -

Published by ajoberstar over 1 year ago

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

  • #155 Support for shallow clones (thanks to @AfzalivE in #384)

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
grgit -

Published by ajoberstar over 2 years ago

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 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

  • 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
grgit -

Published by ajoberstar over 2 years ago

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
grgit -

Published by ajoberstar over 2 years ago

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.

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
grgit -

Published by ajoberstar over 2 years ago

First batch of changes for Grgit 5.

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

Enhancements

None

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
grgit -

Published by ajoberstar almost 3 years ago

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

  • Published to Maven Central

Fixes

  • Pin POM to JGit 5.13.0 to fix #339

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.0.2, 4.10.3, 5.0, 5.6.4, 6.0.1, 6.6.1, 6.7-rc-1
11 5.0, 5.6.4, 6.0.1, 6.6.1, 6.7-rc-1
15 6.3, 6.6.1, 6.7-rc-1
grgit -

Published by ajoberstar almost 3 years ago

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

  • Published to Maven Central

Fixes

  • Pin POM to JGit 5.13.0 to fix #339

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.0.2, 4.10.3, 5.0, 5.6.4, 6.0.1, 6.6.1, 6.7-rc-1
11 5.0, 5.6.4, 6.0.1, 6.6.1, 6.7-rc-1
15 6.3, 6.6.1, 6.7-rc-1
grgit -

Published by ajoberstar about 4 years ago

A few small fixes and dependency bumps.

Breaking Changes

None

Enhancements

  • #145 Support cloning a subset of branches (Thanks @stebbi)
  • #167 Support diff command (Thanks @Lucas3oo)
  • Update to JGit 5.9.0

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.0.2, 4.10.3, 5.0, 5.6.4, 6.0.1, 6.6.1, 6.7-rc-1
11 5.0, 5.6.4, 6.0.1, 6.6.1, 6.7-rc-1
15 6.3, 6.6.1, 6.7-rc-1
grgit -

Published by ajoberstar about 4 years ago

A few small fixes and dependency bumps.

Breaking Changes

None

Enhancements

  • #145 Support cloning a subset of branches (Thanks @stebbi)
  • #167 Support diff command (Thanks @Lucas3oo)
  • Update to JGit 5.9.0

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.0.2, 4.10.3, 5.0, 5.6.4, 6.0.1, 6.6.1, 6.7-rc-1
11 5.0, 5.6.4, 6.0.1, 6.6.1, 6.7-rc-1
15 6.3, 6.6.1, 6.7-rc-1
grgit -

Published by ajoberstar over 4 years ago

A few small fixes and dependency bumps.

Breaking Changes

None

Enhancements

None

Fixes

  • #298 Fix NPE when calling grgit.head() on an empty repo, now returns null
  • #305 Remove extra close call that may be triggering a warning message
  • Update to JGit 5.7.0

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.0.2, 4.10.3, 5.0, 5.6.4, 6.0.1, 6.3
11 5.0, 5.6.4, 6.0.1, 6.3
14 6.3
grgit -

Published by ajoberstar almost 5 years ago

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

  • Missing abstract method specified by JGit SystemReader #309

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.0.2, 4.10.3, 5.0, 5.6.4, 6.0.1, 6.1-rc-1
11 5.0, 5.6.4, 6.0.1, 6.1-rc-1
grgit -

Published by ajoberstar almost 5 years ago

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

  • Missing abstract method specified by JGit SystemReader #309

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.0.2, 4.10.3, 5.0, 5.6.4, 6.0.1, 6.1-rc-1
11 5.0, 5.6.4, 6.0.1, 6.1-rc-1
grgit -

Published by ajoberstar almost 5 years ago

A few assorted features, but be careful about the drop of Gradle 3 support if that was important to you.

Breaking Changes

  • Gradle 3 is no longer supported.
  • grgit is now an extension rather than an extra property. #292 (Thanks @JLLeitschuh)

Enhancements

  • Better Kotlin compatibility by using extension instead of extra property. #292 (Thanks @JLLeitschuh)
  • Support commit.sign boolean flag for GPG commits. #300 (Thanks @tlinkowski)
  • Upgrade JGit dependency from 5.3.0 to 5.5.1.

Fixes

  • Properly close JGit repository #288

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.0.2, 4.10.3, 5.0, 5.6.4, 6.0
11 5.0, 5.6.4, 6.0
grgit -

Published by ajoberstar almost 5 years ago

A few assorted features, but be careful about the drop of Gradle 3 support if that was important to you.

Breaking Changes

  • Gradle 3 is no longer supported.
  • grgit is now an extension rather than an extra property. #292 (Thanks @JLLeitschuh)

Enhancements

  • Better Kotlin compatibility by using extension instead of extra property. #292 (Thanks @JLLeitschuh)
  • Support commit.sign boolean flag for GPG commits. #300 (Thanks @tlinkowski)
  • Upgrade JGit dependency from 5.3.0 to 5.5.1.

Fixes

  • Properly close JGit repository #288

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.0.2, 4.10.3, 5.0, 5.6.4, 6.0
11 5.0, 5.6.4, 6.0
grgit -

Published by ajoberstar about 5 years ago

A few assorted features, but be careful about the drop of Gradle 3 support if that was important to you.

Breaking Changes

  • Gradle 3 is no longer supported.
  • grgit is now an extension rather than an extra property. #292 (Thanks @JLLeitschuh)

Enhancements

  • Better Kotlin compatibility by using extension instead of extra property. #292 (Thanks @JLLeitschuh)
  • Support commit.sign boolean flag for GPG commits. #300 (Thanks @tlinkowski)
  • Upgrade JGit dependency from 5.3.0 to 5.5.0.

Fixes

  • Properly close JGit repository #288

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 4.0.2, 4.10.3, 5.0, 5.6.2
11 5.0, 5.6.2
grgit -

Published by ajoberstar over 5 years ago

Fix for a unintentional breaking change in 3.1.0 for Groovy 2.4 (and Gradle <5) users.

Breaking Changes

None

Enhancements

None

Fixes

  • Restore compatibility with Groovy 2.4 (and by extension Gradle <5)

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 3.0, 3.5.1, 4.0, 4.10.3, 5.0, 5.3
11 5.0, 5.3