Eclipse JGit: Java implementation of Git 5.2.0

Features

  • 520927 Apache MINA sshd client: 
    • Include id_ed25519 in the known default identity files
    • Enable support for ed25519 keys
    • Proxy support
    • Add --ssh option to command-line commands
    • Use NumberOfPasswordPrompts for encrypted keys
    • Properly handle HostKeyAlgorithms config
    • Respect NumberOfPasswordPrompts
    • Add gssapi-with-mic authentication
    • Add ssh tests for PreferredAuthentications
    • Add features for the Apache MINA sshd implementation
    • Add a new ssh client implementation based on Apach MINA sshd 2.0.0.
    • Add more ssh tests: pushing, known_host file handling, etc.
    • TransportSftp: eliminate dependency on Jsch
    • Factor out a JSch-independent ssh config parser
    • Ssh tests with an Apache MINA sshd test git server
  • UploadPack v2 protocol support
    • UploadPack: Implement deepen-not for protocol v2 to allow clients to use the --shallow-exclude parameter
    • Accept protocol v2 server options on fetch and ls-refs requests
    • UploadPack: Use request instead of field for filterBlobLimt
    • UploadPack: support deepen-since in protocol v2
  • Add a method to HttpConnection to get all values of HTTP header defined as list
  • New GpgConfig for typed access to GPG settings
  • RepoCommand.RemoteReader: Add method to read contents and mode of file
  • DfsFsck: Check that .gitmodules in the repository have valid contents
  • RefDatabase: Support multiple prefixes when querying refs

Bug Fixes

  • 541622 Set git environment variables GIT_DIR and GIT_WORK_TREE when calling hooks
  • 467631 Fix IndexDiffs for git links
  • Fix DescribeCommand with multiple match options
  • Revert C Git 1.7.5 bug workaround which is a patch for dealing with a buggy C Git client v1.7.5 in 2012.
  • 520927 Apache MINA sshd client: don't leak HostConfigEntry
  • 520927 Apache MINA sshd client: test & fix password authentication
  • 538610 Fix git-describe tie-breakers
  • DepthGenerator: fix multi-child boundary handling causing invalid repository on shallow clone
  • Fix package exports in org.eclipse.jgit MANIFEST.MF
  • RepoCommand: Preserve executable bit in <copyfile>
  • gitignore/gitattributes: fix matching of \r
  • Throw error when deepen-since excludes all commits in "git fetch --shallow-since=<date> origin <ref>"
  • UploadPack v0: Extract "agent" client capability at parse time. This makes the treatment of "agent" consistent in v0/v1 and v2.
  • Ensure pre-push hook properly terminates ref lines by \n
  • CheckoutCommand: force flag now allows overwrite ensuring a force checkout will overwrite conflicting files
  • UploadPack: Return correct peer user agent on v2 requests
  • InternalPushConnection: don't swallow RuntimeException
  • 497290 Fix handling of core.eol=native and of crlf attribute on Windows
  • TextBuiltin: Default to UTF-8 when i18n.logOutputEncoding is not set
  • SidebandInputStream: Specify charset when calling String.getBytes()
  • Fix Mylyn commit message template
  • 538270 Config.set-methods should not touch lines from included files
  • 529825 Don't inline included configs on FileBasedConfig.save()
  • 538768 Set TagOpt.AUTO_FOLLOW when not cloning all branches
  • 466858 Fix fetch refspecs when not cloning all branches
  • Fix potential NPE in SmudgeFilter#downloadLfsResource
  • SpotBugs: don't rely on default encoding

Build and Release Engineering

  • Update Apache commons compress to 1.18.0, fixes CVE-2018-1324 and CVE-2018-11771
  • Update bcprov-jdk15on used in tests to 1.59
  • Update Ant to 1.10.5
  • Update mockito to 2.13.0
  • Upgrade maven-shade-plugin to 3.2.1
  • Upgrade Spotbugs to 3.1.8
  • Update eclipse compiler org.eclipse.jdt:ecj to 3.15.0
  • Upgrade maven-pmd-plugin to 3.11.0
  • Upgrade maven-surefire plugins to 2.22.1
  • Upgrade error_prone_core to 2.3.2
  • Upgrade wagon-ssh to 3.2.0
  • Upgrade maven-jxr-plugin to 3.0.0
  • Upgrade maven-shade-plugin to 3.2.0
  • Upgrade jacoco-maven-plugin to 0.8.2
  • Upgrade maven-project-info-reports-plugin to 3.0.0
  • Upgrade maven-enforcer-plugin to 3.0.0-M2
  • Ensure same version of maven-surefire-plugin and maven-surefire-report-plugin
  • Update staging target platform for eclipse platform 4.10
  • New target platform for 4.9
  • Bazel: Consume versions directly from lib:versions.bzl in skylib
  • Bazel: Add missing test dependency on ObjectIdMatcher
  • Upgrade to Bazel 0.19.0
  • Bazel: Increase severity of DefaultCharset to ERROR
  • Bazel: Increase severity of MissingFail to ERROR
  • Bazel: Increase severity of ExpectedExceptionChecker to ERROR
  • Bazel: Provide toolchain with activated error prone warnings
  • Update .mailmap
Release Date
Release Type
Minor release
This release is part of Eclipse IDE 2018-12