mazzella-c / rundeck

Enable Self-Service Operations: Give specific users access to your existing tools, services, and scripts
http://rundeck.org
Apache License 2.0
0 stars 0 forks source link

Update plugin org.ajoberstar.grgit to v5 #140

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.ajoberstar.grgit 2.3.0 -> 5.2.2 age adoption passing confidence

Release Notes

ajoberstar/grgit (org.ajoberstar.grgit) ### [`v5.2.2`](https://togithub.com/ajoberstar/grgit/releases/tag/5.2.2) [Compare Source](https://togithub.com/ajoberstar/grgit/compare/5.2.1...5.2.2) 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 | ### [`v5.2.1`](https://togithub.com/ajoberstar/grgit/releases/tag/5.2.1) [Compare Source](https://togithub.com/ajoberstar/grgit/compare/5.2.0...5.2.1) Small patch to pick up new dependencies. #### Breaking Changes *None* #### Enhancements *None* #### Fixes - [#​394](https://togithub.com/ajoberstar/grgit/issues/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 | ### [`v5.2.0`](https://togithub.com/ajoberstar/grgit/releases/tag/5.2.0) [Compare Source](https://togithub.com/ajoberstar/grgit/compare/5.1.0...5.2.0) This release adds support for the depth option on fetch, which I meant to include in 5.1.0. #### Breaking Changes *None* #### Enhancements - [#​387](https://togithub.com/ajoberstar/grgit/issues/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 | ### [`v5.1.0`](https://togithub.com/ajoberstar/grgit/releases/tag/5.1.0) [Compare Source](https://togithub.com/ajoberstar/grgit/compare/5.0.0...5.1.0) 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](https://togithub.com/ajoberstar/grgit/issues/155) Support for shallow clones (thanks to [@​AfzalivE](https://togithub.com/AfzalivE) in [#​384](https://togithub.com/ajoberstar/grgit/issues/384)) #### Fixes - [#​380](https://togithub.com/ajoberstar/grgit/issues/380) and [#​381](https://togithub.com/ajoberstar/grgit/issues/381) Provider mismatch issues preventing proper use of the service plugin (thanks [@​Vampire](https://togithub.com/Vampire) in [#​382](https://togithub.com/ajoberstar/grgit/issues/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 | ### [`v5.0.0`](https://togithub.com/ajoberstar/grgit/releases/tag/5.0.0) [Compare Source](https://togithub.com/ajoberstar/grgit/compare/4.1.1...5.0.0) This release includes a number of breaking changes, with the main user highlight being the long awaited configuration cache support. **Known Issue:** [#​356](https://togithub.com/ajoberstar/grgit/issues/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](https://togithub.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](https://togithub.com/ajoberstar/grgit/issues/322) `--configuration-cache` is now supported (thanks [@​abelom](https://togithub.com/abelom) and [@​runningcode](https://togithub.com/runningcode)) - [#​354](https://togithub.com/ajoberstar/grgit/issues/354) A new `org.ajoberstar.grgit-service` plugin is available to provide lazy access to a `GrgitService` (a Gradle [BuildService](https://docs.gradle.org/current/userguide/build_services.html)). 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 | ### [`v4.1.1`](https://togithub.com/ajoberstar/grgit/releases/tag/4.1.1) [Compare Source](https://togithub.com/ajoberstar/grgit/compare/4.1.0...4.1.1) 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](https://togithub.com/ajoberstar/grgit/issues/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 | ### [`v4.1.0`](https://togithub.com/ajoberstar/grgit/releases/tag/4.1.0) [Compare Source](https://togithub.com/ajoberstar/grgit/compare/4.0.2...4.1.0) A few small fixes and dependency bumps. #### Breaking Changes *None* #### Enhancements - [#​145](https://togithub.com/ajoberstar/grgit/issues/145) Support cloning a subset of branches (Thanks [@​stebbi](https://togithub.com/stebbi)) - [#​167](https://togithub.com/ajoberstar/grgit/issues/167) Support diff command (Thanks [@​Lucas3oo](https://togithub.com/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 | ### [`v4.0.2`](https://togithub.com/ajoberstar/grgit/releases/tag/4.0.2) [Compare Source](https://togithub.com/ajoberstar/grgit/compare/4.0.1...4.0.2) A few small fixes and dependency bumps. #### Breaking Changes *None* #### Enhancements *None* #### Fixes - [#​298](https://togithub.com/ajoberstar/grgit/issues/298) Fix NPE when calling `grgit.head()` on an empty repo, now returns null - [#​305](https://togithub.com/ajoberstar/grgit/issues/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 ### [`v4.0.1`](https://togithub.com/ajoberstar/grgit/releases/tag/4.0.1) [Compare Source](https://togithub.com/ajoberstar/grgit/compare/4.0.0...4.0.1) 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](https://togithub.com/ajoberstar/grgit/issues/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 | ### [`v4.0.0`](https://togithub.com/ajoberstar/grgit/releases/tag/4.0.0) [Compare Source](https://togithub.com/ajoberstar/grgit/compare/3.1.1...4.0.0) 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](https://togithub.com/ajoberstar/grgit/issues/292) (Thanks [@​JLLeitschuh](https://togithub.com/JLLeitschuh)) #### Enhancements - Better Kotlin compatibility by using extension instead of extra property. [#​292](https://togithub.com/ajoberstar/grgit/issues/292) (Thanks [@​JLLeitschuh](https://togithub.com/JLLeitschuh)) - Support `commit.sign` boolean flag for GPG commits. [#​300](https://togithub.com/ajoberstar/grgit/issues/300) (Thanks [@​tlinkowski](https://togithub.com/tlinkowski)) - Upgrade JGit dependency from 5.3.0 to 5.5.1. #### Fixes - Properly close JGit repository [#​288](https://togithub.com/ajoberstar/grgit/issues/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 | ### [`v3.1.1`](https://togithub.com/ajoberstar/grgit/releases/tag/3.1.1) [Compare Source](https://togithub.com/ajoberstar/grgit/compare/3.1.0...3.1.1) 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 | ### [`v3.1.0`](https://togithub.com/ajoberstar/grgit/releases/tag/3.1.0) [Compare Source](https://togithub.com/ajoberstar/grgit/compare/3.0.0...3.1.0) This is a feature release providing a few improvements to `grgit.log`, `grgit.show`, and `grgit.push`. #### Breaking Changes *None* #### Enhancements - [#​274](https://togithub.com/ajoberstar/grgit/issues/274) Support specifying push options - [#​272](https://togithub.com/ajoberstar/grgit/issues/272) Throw `IllegalArgumentException` instead of NPE when log op can't find revstr - [#​273](https://togithub.com/ajoberstar/grgit/issues/273) ShowOp now returns renames with old and new paths, instead of just new paths (Thanks to [@​mithomas](https://togithub.com/mithomas)) - Upgrade from JGit 5.1.3 to 5.3.0 #### Fixes - Closing `ObjectReader` used during parsing commits (related to [#​182](https://togithub.com/ajoberstar/grgit/issues/182)) #### 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 | ### [`v3.0.0`](https://togithub.com/ajoberstar/grgit/releases/tag/3.0.0) [Compare Source](https://togithub.com/ajoberstar/grgit/compare/2.3.0...3.0.0) 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` and `Pageant`. 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 an `ssh` or `plink` executable on your `PATH`. Review the [authentication](http://ajoberstar.org/grgit/grgit-authentication.html) documentation for details. #### Breaking Changes - [#​233](https://togithub.com/ajoberstar/grgit/issues/233) Upgrade to JGit 5. Generally, this should not be breaking, but there are some [behavior changes documented](https://wiki.eclipse.org/JGit/New_and_Noteworthy/5.0). - Maven coordinates have changed to break the Core and Gradle features into their own dependencies: - `org.ajoberstar.grgit:grgit-core:` if you're using as a library - `org.ajoberstar.grgit:grgit-gradle:` if you're using from Gradle (the plugin ID, `org.ajoberstar.grgit`, has not changed) - [#​244](https://togithub.com/ajoberstar/grgit/issues/244) Interactive credentials (i.e. the AWT pop-up window) is no longer supported. - [#​245](https://togithub.com/ajoberstar/grgit/issues/245) JSch agent support has been removed. System `ssh` and `plink` commands are now used instead of JSch. #### Enhancements - [#​237](https://togithub.com/ajoberstar/grgit/issues/237) Groovy 2.5 is now supported (Groovy 2.4 is still compatible) - `grgit.describe()` now supports a `tags` option to include un-annotated tags (the default is `false`, but `true` would match the JGit 4 behavior) - [#​255](https://togithub.com/ajoberstar/grgit/issues/255) The `OpenOp` now has a `credentials` method to be consistent with `CloneOp`. - [#​250](https://togithub.com/ajoberstar/grgit/issues/250) Logging when no Git repo is found by the Gradle plugin is downgraded to debug. - [#​262](https://togithub.com/ajoberstar/grgit/issues/262) **EXPERIMENTAL** Gradle Kotlin DSL compatibility. This project will remain explicitly dedicated to Groovy bindings, so I will not consider it a breaking change if this stops working in the future. #### Fixes *None* #### Deprecations - [#​255](https://togithub.com/ajoberstar/grgit/issues/255) The `OpenOp` `creds` parameter was deprecated in favor of the new `credentials` parameter. #### Compatibility Tested on the following version: | Java Version | Gradle Versions | |---------------|-------------------| | 8 | 3.0, 3.5.1, 4.0, 4.10.2, 5.0-rc-2 | | 9 | 4.2.1, 4.10.2, 5.0-rc-2 | | 10 | 4.2.1, 4.10.2, 5.0-rc-2 |

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.