Releases: nodegit/nodegit
Releases · nodegit/nodegit
Release list
v0.11.4
v0.11.3
- Fixed an issue where initializing NodeGit would sometimes seg fault. Also fixed an error when fetching concurrently PR #912
v0.11.2
- Fixed an issue where when staging lines if the index is locked NodeGit just nuked it PR #906
- Fixed diff calculation when staging lines/hunks PR #906
- Fixed seg-fault in linux that happens when getting the diff of very small files PR #908
- Fixed
RevWalk#fastWalkdying when an error happens in libgit2 PR #909
v0.11.1
v0.11.0
v0.10.0
- Clean mutexes are part of GC. No longer leaves processes running after the script ends [PR #880](#880
- Increased the performance of
ConvenientPatchby an order of magnitude [PR #883](#883
API changes
ConvenientPatchConvenientPatchdoes not have apatchor adeltaproperty associated with it, if you were using thedelta, please just use prototype methodsoldFIle,newFile, andStatus, which are stripped directly from thedelta.ConvenientPatch#hunksreturns a promise with an array ofConvenientHunks.
ConvenientHunkConvenientHunkdoes not have an exposed diffHunk associated with it, but does have the same members as diffHunk:size(): number of lines in the hunkoldStart(): old starting positionoldLines(): number of lines in old filenewStart(): new starting positionnewLines(): number of lines in new fileheaderLen(): length of headerheader(): returns the header of the hunklines(): returns a promise containingDiffLines, notConvenientLines.
DiffLineDiffLinenow contains the membersrawContent()andcontent().rawContent()contains the unformatted content of the line. This is no longer a string from the line to the end of the file.content()contains the utf8 formatted content of the line.
v0.9.0
- Thread safe fix to stop crashing on releasing mutexes PR #876
Submodule#setIgnore,Submodule#setUpdate, andSubmodule#setUrlare now all async.Submodule#statusandSubmodule#locationare now available PR #867 and PR #870Remote#defaultBranchis now available PR #872Repository#mergeBranchesnow takes in aMergeOptionsparameter PR #873- Remove a NodeGit specific hack to make
Index#addAllfaster since that is fixed in libgit2 PR #875
v0.8.0
- Thread safe locking has been added and currently is defaulted to off. Use
NodeGit.enableThreadSafety()to turn on - NodeGit no longer requires a specific Promise object from the
nodegit-promiselibrary to be passed in. You can now use whatever you want! Repository#stageFilemodenow can accept an array of strings for files to updateSubmodule#addToIndex,Submodule#addFinalize,Submodule#init,Submodule#open,Submodule#sync, andSubmodule#updateare now all async methods
v0.7.0
- Bumped openssl to 1.0.2e to fix issues with prebuilts on linux platforms
- Fixed a bug with GIT_ITER_OVER breaking rebase and other iterative methods
- Make GraphDescendentOf asynchronous
- Fixed line length of utf8 strings