v0.25.0-alpha.10
版本发布时间: 2019-05-04 03:42:54
nodegit/nodegit最新发布版本:v0.27.0(2020-07-29 04:19:19)
Summary of changes
- SECURITY Drops support for Ubuntu 14 after EOL
- Fixes openssl prebuilt downloads for electron builds
- Fixes commits retrieved from Commit.prototype.parent
-
DEPRECATION Support signing commits in Repository.prototype.mergeBranches. The last parameter
processMergeMessageCallback
is now deprecated, but will continue to work. Use the options object instead, which will contain theprocessMergeMessageCallback
, as well as thesigningCb
. - SECURITY Bump Node-Gyp to 4.0.0 to fix tar security vulnerability
-
BREAKING
getRemotes
no longer returns remote names, it now returns remote objects directly. UsegetRemoteNames
to get a list of remote names. - Optimized a set of routines in NodeGit. These methods as written in Javascript require hundreds or thousands of requests to async workers to retrieve data. We've batched these requests and performed them on a single async worker. There are now native implementations of the following:
- Repository.prototype.getReferences: Retrieves all references on async worker.
- Repository.prototype.getRemotes: Retrieves all remotes on async worker.
- Repository.prototype.getSubmodules: Retrieves all submodules on async worker.
- Repository.prototype.refreshReferences: Open sourced function from GitKraken. Grabs a lot of information about references on an async worker.
- Revwalk.prototype.commitWalk: Retrieves up to N commits from a revwalk on an async worker.
Merged PRs into NodeGit
- EOL for Node 6 and Ubuntu 14.04 #1649
- Ensures that commits from parent(*) has a repository #1658
- Update openssl conan distributions #1663
- Support signing in Repository#mergeBranches #1664
- Dependency upgrade node-gyp upgraded to 4.0.0 #1672
- Add additional getters to streamline information gathering (breaking change) #1671