Changelog
<a name="v0-26-5" href="#v0-26-5">v0.26.5</a> (2020-02-27)
Commit.prototype.parent()
now correctly assigns the repo property on the retrieved commit. This should solve certain bugs when working with a commit retrieved from parent
.Changelog
<a name="v0-26-4" href="#v0-26-4">v0.26.4</a> (2020-01-14)
NodeGit.Libgit2.opts
. See #1748 for details.core.longpaths
on Windows #5347git_off_t
to git_object_size_t
Changelog
<a name="v0-26-3" href="#v0-26-3">v0.26.3</a> (2019-12-10)
Changelog
<a name="v0-26-2" href="#v0-26-2">v0.26.2</a> (2019-09-26)
Changelog
<a name="v0-26-1" href="#v0-26-1">v0.26.1</a> (2019-09-16)
.gitattributes
from HEADChangelog
<a name="v0-26-0" href="#v0-26-0">v0.26.0</a> (2019-09-09)
Changelog
<a name="v0-25-1" href="#v0-25-1">v0.25.1</a> (2019-08-13)
Security patch for LibGit2:
A carefully constructed commit object with a very large number of parents may lead to potential out-of-bounds writes or potential denial of service.
The ProgramData configuration file is always read for compatibility with Git for Windows and Portable Git installations. The ProgramData location is not necessarily writable only by administrators, so we now ensure that the configuration file is owned by the administrator or the current user.
Additionally:
Changelog
<a name="v0-25-0" href="#v0-25-0">v0.25.0</a> (2019-08-09)
getRemotes
no longer returns remote names, it now returns remote objects directly. Use getRemoteNames
to get a list of remote names.Repository.prototype.continueRebase
will now throw on any error except for EAPPLIED on the first call to Rebase.prototype.next
diff_so_far
param in git_diff_notify_cb
and git_diff_progress_cb
FilterSource.prototype.repo
to async to prevent segfaults on filters that run during Submodule.status
NodeGit.Signature.default
to async, because it actually ends up reading the config.Repository.prototype.mergeBranches
. The last parameter processMergeMessageCallback
is now deprecated, but will continue to work. Use the options object instead, which will contain the processMergeMessageCallback
, as well as the signingCb
.type SigningCallback = (content: string) => {| code: number, field?: string, signedData?: string |};
If the code is NodeGit.Error.CODE.OK
or 0, the operation will succeed and at least signedData is expected to be filled out.
If the code is a negative number, except for NodeGit.Error.CODE.PASSTHROUGH
, the signing operation will fail.
If the code is NodeGit.Error.CODE.PASSTHROUGH
, the operation will continue without signing the object.AnnotatedCommit
methods:
AnnotatedCommit.prototype.ref
Apply
methods:
Apply.apply
applies a diff to the repositoryApply.toTree
applies a diff to a treeConfig
methods:
Config.prototype.deleteEntry
Config.prototype.deleteMultivar
Config.prototype.getBool
Config.prototype.getInt32
Config.prototype.getInt64
Config.prototype.setMultivar
Config.prototype.snapshot
ConfigIterator
with methods:
ConfigIterator.create
ConfigIterator.createGlob
ConfigIterator.createMultivar
ConfigIterator.prototype.next
IndexNameEntry
:
IndexNameEntry.add
IndexNameEntry.clear
IndexNameEntry.entryCount
IndexNameEntry.getByIndex
IndexNameEntry.prototype.ancestor
IndexNameEntry.prototype.ours
IndexNameEntry.prototype.theirs
IndexReucEntry
:
IndexReucEntry.add
IndexReucEntry.clear
IndexReucEntry.entryCount
IndexReucEntry.find
IndexReucEntry.getByIndex
IndexReucEntry.getByPath
IndexReucEntry.remove
IndexReucEntry.prototype.mode
IndexReucEntry.prototype.oid
IndexReucEntry.prototype.path
Mailmap
:
Mailmap.prototype.addEntry
Mailmap.fromBuffer
Mailmap.fromRepository
Mailmap.create
Mailmap.prototype.resolve
Mailmap.prototype.resolveSignature
Merge
methods:
Merge.analysis
Merge.analysisForRef
Path.isGitfile
RebaseOptions
to Repository.prototype.rebaseContinue
NodeGit.Reference.updateTerminal
Remote
methods:
Remote.createWithOpts
Tag.createFromBuffer
Tree.prototype.createUpdated(repo, numUpdates, updates)
reachedEndOfHistory
will be specified on the resulting array.Commit.prototype.parent
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.ceiling_dirs
is now an optional parameter to Repository.discover
NodeGit.Oid.fromString
's internal implementation from git_oid_fromstr
to git_oid_fromstrp
Signature.prototype.toString
to optionally include timestampsRemote.list
now gets the correct list of remotes if remotes are changed by external processceiling_dirs
parameter in Repository.discover
is optional #1245shouldAlloc
declarations for git_merge_analysis* functions #1641updateRef
parameter to Repository#createCommitWithSignature #1610git_headlist_cb
fromnoun
to from_noun
(with an underscore)p_fallocate
_cb
ZLIB_LIBRARIES
to LIBGIT2_LIBS
so don't also add the z
libraryregcomp
git_hash_global_init
for win32git_hash_global_init
git_cache_free
git_time_monotonic
latest
docker imagesgiterr
to git_error
git_ref_t
to git_reference_t
git_obj
to git_object
updatesrefdb_reflog_fs__delete
char
is not signed by default.git_ignore_path_is_ignored
description Git analogygit_refspec__free
to git_refspec__dispose
mbedTLS
libraries in when SHA1_BACKEND
== "mbedTLS"git_packfile_stream_free
git_path_is_*
APIsChangelog
<a name="v0-25-0-alpha-16" href="#v0-25-0-alpha-16">v0.25.0-alpha.16</a> (2019-07-23)
Changelog
<a name="v0-25-0-alpha-15" href="#v0-25-0-alpha-15">v0.25.0-alpha.15</a> (2019-07-15)