Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "JGit/New and Noteworthy/3.0"
< JGit | New and Noteworthy
(→Features: TagCommand unannotated tags) |
|||
Line 2: | Line 2: | ||
* 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= | ||
+ | |||
+ | ===Storage implementation 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 | ||
+ | <pre style="width: 55em;"> | ||
+ | WindowCacheConfig c = new WindowCacheConfig(); | ||
+ | ... set new configuration params ... | ||
+ | WindowCache.reconfigure(c); | ||
+ | </pre> | ||
+ | use | ||
+ | <pre style="width: 55em;"> | ||
+ | WindowCacheConfig c = new WindowCacheConfig(); | ||
+ | ... set new configuration params ... | ||
+ | WIndowCacheConfig.install() | ||
+ | </pre> | ||
+ | |||
+ | ===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) | ||
+ | <pre style="width: 55em;"> | ||
+ | public static FollowFilter create(String path, DiffConfig cfg) | ||
+ | </pre> | ||
=Performance Improvements= | =Performance Improvements= |
Revision as of 09:01, 10 May 2013
Contents
Features
- TagCommand now also supports creating simple unannotated (lightweight) tags (bug 349223)
API Changes
Storage implementation 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