Releases: nodegit/nodegit
Releases · nodegit/nodegit
Release list
v0.25.0-alpha.6 (2019-02-14)
Summary of changes
- Bumped LibGit2 to v0.28.0.
- Fixed problem with continue rebase preventing users from skipping commits
- Fixed leak where struct/option types were leaking libgit2 pointers
Backport v0.24.1 (2019-02-11)
Summary of changes
- Fix Electron 4 builds
Backport v0.23.1 (2019-02-11)
Summary of changes
- Fix Electron 4 builds
v0.25.0-alpha.5 (2018-02-11)
Summary of changes
- Fixed builds for Electron 4 for real this time
Merged PRs into NodeGit
v0.25.0-alpha.4 (2019-02-08)
Summary of changes
- Fixed bug where signing the init commit failed due to being unable to update the
HEADref. - Changed
NodeGit.Signature.defaultto async, because it actually ends up reading the config. - Fixed bug where templates were not reporting errors for synchronous methods. It's a bit of a wide net, but in general,
it is now possible certain sync methods in NodeGit will begin failin that did not fail before. This is the correct
behavior. - Switched
NodeGit.Oid.fromString's internal implementation fromgit_oid_fromstrtogit_oid_fromstrp - Fixed builds for Electron 4
- Added
NodeGit.Reference.updateTerminal
Merged PRs into NodeGit
v0.25.0-alpha.3 (2019-02-05)
Summary of changes
- Enforced consistent use of signing callbacks within the application. Any object that implements the signingCallback
pattern for signing commits or tags should use the exact same callback type and with the same meaning.
type SigningCallback = (content: string) => {| code: number, field?: string, signedData?: string |};
If the code isNodeGit.Error.CODE.OKor 0, the operation will succeed and at least signedData is expected to be filled out.
If the code is a negative number, except forNodeGit.Error.CODE.PASSTHROUGH, the signing operation will fail.
If the code isNodeGit.Error.CODE.PASSTHROUGH, the operation will continue without signing the object.
Merged PRs into NodeGit
v0.25.0-alpha.2 (2019-02-01)
Summary of changes
- Added RebaseOptions to repository.prototype.rebaseContinue
Merged PRs into NodeGit
v0.25.0-alpha.1 (2019-01-30)
Summary of changes
- Bump Libgit2 to preview of v0.28.0
- Add signing support for commits and annotated tags
- Updated Signature.prototype.toString to optionally include timestamps
- [BREAKING] Converted Buf.prototype.set and Buf.prototype.grow from async to sync
- Added complete support for libgit2 types:
- git_index_name_entry
- git_index_reuc_entry
- git_mailmap
- Exposed git_path_is_gitfile
- Exposed git_tag_create_frombuffer
Merged PRs into NodeGit
- adds support for gpg commit signing (fixes #1018) #1448
- Add
updateRefparameter to Repository#createCommitWithSignature #1610 - Documentation fixes. #1611
- Add Commit#amendWithSignature #1616
- Bump libgit2 to a preview of v0.28 #1615
- Fix issues with Commit#amendWithSignature #1617
- Marked Repository.createBlobFromBuffer as async #1614
- Add functionality for creating Tags with signatures and extracting signatures from Tags #1618
v0.24.0 (2019-01-16)
Summary 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.23.0 (2018-10-24)
Summary 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.hon MacOS builds #1569