Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "JGit/New and Noteworthy/3.0"

(API Changes)
Line 3: Line 3:
 
* TagCommand now also supports creating simple unannotated (lightweight) tags ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=349223 bug 349223])
 
* TagCommand now also supports creating simple unannotated (lightweight) tags ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=349223 bug 349223])
  
=API Changes=
+
=API Changes and Migration Hints=
 +
Details of API changes in 3.0 compared to the previous release 2.3.1 are available in the [https://hudson.eclipse.org/hudson/job/jgit-stable/ws/org.eclipse.jgit/target/site/clirr-report.html Clirr API change report]
  
===Storage implementation moved to internal packages===
+
('''TODO:''' adapt link when release is available)
 +
 
 +
===Internal storage API moved to internal packages===
 
Applications are not supposed to build against the internal storage API unless they can accept API churn and make necessary updates as versions change.
 
Applications are not supposed to build against the internal storage API unless they can accept API churn and make necessary updates as versions change.
 
*package org.eclipse.jgit.storage.dfs was moved to org.eclipse.jgit.internal.storage.dfs
 
*package org.eclipse.jgit.storage.dfs was moved to org.eclipse.jgit.internal.storage.dfs

Revision as of 09:08, 10 May 2013

Features

  • TagCommand now also supports creating simple unannotated (lightweight) tags (bug 349223)

API Changes and Migration Hints

Details of API changes in 3.0 compared to the previous release 2.3.1 are available in the Clirr API change report

(TODO: adapt link when release is available)

Internal storage API moved to internal packages

Applications are not supposed to build against the internal storage API unless they can accept API churn and make necessary updates as versions change.

  • package org.eclipse.jgit.storage.dfs was moved to org.eclipse.jgit.internal.storage.dfs
  • package org.eclipse.jgit.storage.file was moved to org.eclipse.jgit.internal.storage.file

In order to construct specific Repository instances use the respective builder classes:

  • org.eclipse.jgit.storage.file.FileRepositoryBuilder
  • org.eclipse.jgit.internal.storage.dfs.DfsRepositoryBuilder

WindowCache reconfiguration

Instead of

WindowCacheConfig c = new WindowCacheConfig();
... set new configuration params ...
WindowCache.reconfigure(c);

use

WindowCacheConfig c = new WindowCacheConfig();
... set new configuration params ...
WIndowCacheConfig.install()

FollowFilter requires DiffConfig

Creation of a FollowFilter now needs an explicit DiffConfig, this was necessary to fix an NPE (see https://git.eclipse.org/r/#/c/12499)

public static FollowFilter create(String path, DiffConfig cfg)

Performance Improvements

  • TODO

Bug Fixes

14 Bugs and 0 enhancement requests were closed

Contributors

The following X developers worked on this release of JGit:

TODO

Back to the top