Eclipse JGit: Java implementation of Git 7.6.0

7.6.0

Description

New Features

  • #jgit-247 Add AddCommand #addFilepatterns methods
  • Support diff3 conflict style in merges
  • #jgit-245 RebaseCommand: Honor the commit message cleanup configuration
  • [cli] Add options --pack-refs and --no-pack-refs to Gc command
  • #jgit-241 Add GarbageCollectCommand#setGcConfig
  • #jgit-241 GC: add flag to control whether gc should pack all refs
  • DfsMidxWriter: add writing bitmaps to the newly created midx
  • DfsPackFileMidx: expose the checksum of the midx
  • DfsMidxWriter: set file size for the midx extension
  • DfsPackFileMidx: Implement PackReverseIndex over midx
  • DfsPackFileMidx: Implement PackIndex over midx
  • MultiPackIndex: add the checksum to the midx
  • DfsPackFileMidx: Add method to translate midx position to objectId
  • MultiPackIndex: Add #getObjectAt to translate position to id
  • MultiPackIndex: implement methods for the reverse index
  • MultiPackIndexLoader: do not ignore the ridx chunk
  • MultiPackIndexWriter: write "bitmapped packfiles" chunk
  • DfsPackFileMidx: Introduce single-pack midx

Bug Fixes

  • Do not log packfiles moved away or pruned
  • RevWalk: abort computation of merged commits if the monitor is canceled
  • Downgrade spring-boot-maven-plugin to 3.5.10
  • pack-refs: Add sorted flag
  • #jgit-239 Throw IOException if API tries to use destroyed TemporaryBuffer

Build and Release Engineering

Update dependencies

  • Apache sshd to 2.17.1
  • bouncycastle to 1.83
  • bytebuddy to 1.18.5
  • commons-codec to 1.21.0
  • com.google.errorprone:error_prone_type_annotations to 2.46.0
  • jetty to 12.1.6
  • mockito to 5.21.0
  • org.assertj:assertj-core to 3.27.7
  • org.objectweb.asm to 9.9.1
  • org.objenesis to 3.5.0
  • add missing reference to commons-io

 

  • Bazel: Pin jcl-over-slf4j to SLF4J_VERSION
  • Bazel: align JGit with shared external_deps repository
  • Bazel: bump rules_jvm_external to 6.10
  • Bazel: enforce strict MODULE.bazel.lock synchronization
  • MODULE.bazel: Move dependencies from WORKSPACE to bazel modules

Update python dependencies of download_release.py

Update Maven plugins

  • japicmp-maven-plugin to 0.25.0
  • maven-antrun-plugin to 3.2.0
  • maven-jar-plugin to 3.5.0
  • maven-pmd-plugin to 3.28.0
  • maven-resources-plugin to 3.4.0
  • maven-source-plugin to 3.4.0
  • spotbugs-maven-plugin t0 4.9.8.2

Update compiler versions

  • plexus-compiler-eclipse to 2.16.1
  • ecj to 3.44.0

Add target platform jgit-4.39 for 2025-03

 

API Certification

The project leadership certifies that the APIs in this release are "Eclipse Quality".

Conforms To UI/UX Guidelines
Not verified