Changelog History
Page 6
-
v0.24.0 Changes
January 16, 2019Summary of changes
- Garbage collect most of the library.
- ๐ All free functions have been removed. The expectation is that they will be collected by the GC.
- ๐ All init options methods have been removed. They were never supposed to be exposed in the first place.
- โ Added support for performing history walks on directories.
- ๐ Fix various bugs that led to segfaults or incorrect behavior.
- โ Removed ssl and crypto dependency from non-electron builds.
โ Removed methods
๐ Mostly due to missing support anyway, please report anything you were using as an issue.
- NodeGit.Blob.createFromStreamCommit
- NodeGit.Branch.Iterator.prototype.new
- NodeGit.Config.initBackend
- NodeGit.Config.prototype.snapshot
- NodeGit.Config.prototype.setBool
- NodeGit.Config.prototype.setInt32
- NodeGit.Config.prototype.setInt64
- NodeGit.Index.prototype.owner
- NodeGit.Note.iteratorNew
- NodeGit.Note.next
- NodeGit.Odb.prototype.addDiskAlternate
- NodeGit.Repository.prototype.configSnapshot
- NodeGit.Signature.prototype.dup
- NodeGit.Tag.foreach
- NodeGit.Transport.init
- NodeGit.Transport.sshWithPaths
- NodeGit.Transport.unregister
๐ Newly exposed methods:
- NodeGit.Config.prototype.getEntry
- NodeGit.Config.prototype.snapshot
- NodeGit.Config.prototype.refresh
- NodeGit.Config.prototype.setBool
- NodeGit.Config.prototype.setInt32
- NodeGit.Config.prototype.setInt64
- NodeGit.Diff.prototype.isSortedIcase
- NodeGit.DiffStats.prototype.deletions
- NodeGit.DiffStats.prototype.filesChanged
- NodeGit.DiffStats.prototype.insertions
- NodeGit.DiffStats.prototype.toBuf
- NodeGit.Odb.hashfile
- NodeGit.Odb.prototype.readPrefix
- NodeGit.OidShorten.prototype.add
- NodeGit.OidShorten.create
- NodeGit.PathspecMatchList.prototype.diffEntry
- NodeGit.PathspecMatchList.prototype.entry
- NodeGit.PathspecMatchList.prototype.entrycount
- NodeGit.PathspecMatchList.prototype.failedEntry
- NodeGit.PathspecMatchList.prototype.failedEntryCount
๐ Newly exposed types
- NodeGit.DescribeFormatOptions
- NodeGit.DiffStats
- NodeGit.OidShorten
- NodeGit.PathspecMatchList
๐ Merged PRs into NodeGit
- ๐ Garbage collection: Free mostly everything automatically #1570
- Fix typo in GitHub issue template #1586
- More suitable example about Signature #1582
- ๐ Add support for directories when using
fileHistoryWalk
#1583 - โ Add a test for Repository's getReferenceCommit #1601
- Check parameters before performing reset #1603
- ๐ Remove ssl and crypto dependency on non-electron builds #1600
- ๐ง Clean up libssh2 configure step #1574
- Fix checkout bug in our fork of libgit2 #1609
- โช Fix segfault in NodeGit.Revert.revert #1605
-
v0.24.0-alpha.1 Changes
October 25, 2018Summary of changes
- Garbage collect most of the library.
- ๐ All free functions have been removed. The expectation is that they will be collected by the GC.
- ๐ All init options methods have been removed. They were never supposed to be exposed in the first place.
โ Removed methods
๐ Mostly due to missing support anyway, please report anything you were using as an issue.
- NodeGit.Blob.createFromStreamCommit
- NodeGit.Branch.Iterator.prototype.new
- NodeGit.Config.initBackend
- NodeGit.Config.prototype.snapshot
- NodeGit.Config.prototype.setBool
- NodeGit.Config.prototype.setInt32
- NodeGit.Config.prototype.setInt64
- NodeGit.Index.prototype.owner
- NodeGit.Note.iteratorNew
- NodeGit.Note.next
- NodeGit.Odb.prototype.addDiskAlternate
- NodeGit.Repository.prototype.configSnapshot
- NodeGit.Signature.prototype.dup
- NodeGit.Tag.foreach
- NodeGit.Transport.init
- NodeGit.Transport.sshWithPaths
- NodeGit.Transport.unregister
๐ Newly exposed methods:
- NodeGit.Config.prototype.getEntry
- NodeGit.Config.prototype.snapshot
- NodeGit.Config.prototype.refresh
- NodeGit.Config.prototype.setBool
- NodeGit.Config.prototype.setInt32
- NodeGit.Config.prototype.setInt64
- NodeGit.Diff.prototype.isSortedIcase
- NodeGit.DiffStats.prototype.deletions
- NodeGit.DiffStats.prototype.filesChanged
- NodeGit.DiffStats.prototype.insertions
- NodeGit.DiffStats.prototype.toBuf
- NodeGit.Odb.hashfile
- NodeGit.Odb.prototype.readPrefix
- NodeGit.OidShorten.prototype.add
- NodeGit.OidShorten.create
- NodeGit.PathspecMatchList.prototype.diffEntry
- NodeGit.PathspecMatchList.prototype.entry
- NodeGit.PathspecMatchList.prototype.entrycount
- NodeGit.PathspecMatchList.prototype.failedEntry
- NodeGit.PathspecMatchList.prototype.failedEntryCount
๐ Newly exposed types
- NodeGit.DescribeFormatOptions
- NodeGit.DiffStats
- NodeGit.OidShorten
- NodeGit.PathspecMatchList
๐ Merged PRs into NodeGit
-
v0.23.0 Changes
October 22, 2018Summary of changes
- โ Added Node 10 support.
- ๐ง We no longer compile OpenSSL. Instead, we prefer the OpenSSL shipped with Node. In electron builds, we prefer the system openssl on linux, and we get prebuilt static libs from Conan.
- โ Cleaned up some compiler warnings
- ๐ Our http_parser dependency is now a submodule.
- โก๏ธ Updated some dependencies in npm to get rid of security vulnerabilities and warnings.
- ๐ฆ Exposed transfer progress callback for pushing.
- ๐ Libssh2 is now preconfigured for both Mac OS and Windows
๐ Merged PRs into NodeGit
- warn about node v10 incompatibility in readme #1534
- โ Define error codes to fix compiler warnings about unused variables #1486
- ๐ Include http_parser via submodule #1551
- โก๏ธ Update dependencies to get rid of security vulnerabilities #1547
- add github issue template #1548
- Enable git_push_transfer_progress - Help wanted #1500
- ๐ Fixed createBranch API params #1552
- Use curl-config to find curl #1555
- โก๏ธ Update readme #1554
- ๐ Node 10 support #1545
- โก๏ธ Update dependencies #1519
- โก๏ธ Run submodule updates in sequence rather than parallel #1558
- ๐ Fix Electron builds on win32 #1560
- ๐ Use static
libssh2_config.h
on MacOS builds #1569
-
v0.23.0-alpha.2 Changes
October 19, 2018Summary of changes
๐ On Mac OS Mojave, libssh2 configure failed to configure, because libssh2 always tries to configure against system libraries. The configure process uses links to determine that a OpenSSL is present. Since OSX and Windows no longer link against the system lib, we've prebuilt the configure steps for both environments. This should be stable when building NodeGit on Mojave.
๐ Merged PRs into NodeGit
-
v0.23.0-alpha.1 Changes
October 01, 2018Summary of changes
- โ Added Node 10 support.
- ๐ง We no longer compile OpenSSL. Instead, we prefer the OpenSSL shipped with Node. In electron builds, we prefer the system openssl on linux, and we get prebuilt static libs from Conan.
- โ Cleaned up some compiler warnings
- ๐ Our http_parser dependency is now a submodule.
- โก๏ธ Updated some dependencies in npm to get rid of security vulnerabilities and warnings.
- ๐ฆ Exposed transfer progress callback for pushing.
๐ Merged PRs into NodeGit
- warn about node v10 incompatibility in readme #1534
- โ Define error codes to fix compiler warnings about unused variables #1486
- ๐ Include http_parser via submodule #1551
- โก๏ธ Update dependencies to get rid of security vulnerabilities #1547
- add github issue template #1548
- Enable git_push_transfer_progress - Help wanted #1500
- ๐ Fixed createBranch API params #1552
- Use curl-config to find curl #1555
- โก๏ธ Update readme #1554
- ๐ Node 10 support #1545
- โก๏ธ Update dependencies #1519
- โก๏ธ Run submodule updates in sequence rather than parallel #1558
- ๐ Fix Electron builds on win32 #1560
-
v0.22.2 Changes
July 10, 2018Summary of changes
- ๐ Bumped libgit2 to 0.27.3 to incorporate security patch. Details can be found here https://github.com/libgit2/libgit2/releases/tag/v0.27.3
- ๐ Also includes changes made in 0.27.2. Details can be found here https://github.com/libgit2/libgit2/releases/tag/v0.27.2
- ๐ Ensure optional params are respected as optional in
NodeGit.Merge.trees
๐ Merged PRs into NodeGit
๐ Included non-merged libgit2 PRs:
- Parallelize checkout_create_the_new for ntfs perf gains #4205
- negotiate always fails via libcurl #4126
๐ Included merged libgit2 PRs:
-
v0.22.1 Changes
April 09, 2018Summary of changes
๐ Bumped libgit2 to 0.27.1 to address security flaw with submodule name validation (CVE-2018-11235, reported by Etienne Stalmans). ๐ Details can be found here https://github.com/libgit2/libgit2/releases/tag/v0.27.1
-
v0.22.0 Changes
April 09, 2018Summary of changes
- ๐ท Expose Tag.listMatch
- Expose Repo.prototype.createCommitBuffer
- ๐ Bump Libgt2 to 0.27.0. For more information about what was in this release. Check upstream.
- Errors are now properly thrown from
Attr.prototype.get
Blob.createFrombuffer
Blob.createFromworkdir
Reference.list
Remote.prototype.getFetchRefspecs
Remote.prototype.getPushRefspecs
Status.file
- WorkTree is now exposed
- Static methods
add
list
lookup
openFromRepository
- Instance methods
isLocked
isPrunable
lock
prune
unlock
validate
- ๐ฅ BREAKING Functions that are now async
Attr.prototype.getMany
Tag.prototype.target
Treebuilder.prototype.Write
- ๐ฅ BREAKING Diffs generated from
Diff.treeToIndex
andDiff.treeToWorkdirWithIndex
conditionally supportDiff.OPTION.IGNORE_CASE
. Only on repositories where the index is case insensitive will the flag be set on the output diff. The flag itself is ignored when passed toDiffOptions
.
๐ Merged PRs into NodeGit
- ๐ท Add JavaScript Tag.listMatch function for git_tag_list_match #1470
- Expose error code in Status.file #1468
- ๐ Travis documentation deploy fixes #1466
- Bump to libgit2 v0.27.0 #1477
- Add repo.createCommitBuffer #1481
๐ Included non-merged libgit2 PRs:
-
v0.21.2 Changes
March 19, 2018Summary of changes
- โฌ๏ธ Drop support for node 7
- ๐ Fixed an issue where fast-forward rebase would throw an error unexepctedly.
- Expose git_commit_extract_signature
- ๐ TreeEntry.prototype.path() should always return posix style separators
- Expose git_config_open_ondisk
- Expose git_config_find_global
- Expose git_config_find_system
- Expose git_config_find_xdg
- Expose git_config_get_path
๐ Merged PRs into NodeGit
- Fix typo in CHANGELOG.md #1455
- Add two tests for Tag #1452
- Handle fast-forward merges properly in repository.performRebase #1457
- Enable git_commit_extract_signature #1458
- removes 'only' from test #1460
- Deploy documentation and make extended tests visible #1447
- resolves #1433 TreeEntry#path should return posix path #1434
- Exposed git_config_open_ondisk #1459
- Expose git_config functions #1463
-
v0.21.1 Changes
March 05, 2018Summary of changes
- ๐ Fixed an issue where having html escape characters in the path portion of an ssh url always fails when performing remote actions.
๐ Included non-merged libgit2 PRs: