Skip to content

Releases: nodegit/nodegit

v0.25.0-alpha.6 (2019-02-14)

Pre-release

Choose a tag to compare

@implausible implausible released this 20 Feb 19:34

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)

Choose a tag to compare

@implausible implausible released this 12 Feb 19:11

Summary of changes

  • Fix Electron 4 builds

Backport v0.23.1 (2019-02-11)

Choose a tag to compare

@implausible implausible released this 12 Feb 19:10

Summary of changes

  • Fix Electron 4 builds

v0.25.0-alpha.5 (2018-02-11)

Pre-release

Choose a tag to compare

@implausible implausible released this 12 Feb 19:09

Summary of changes

  • Fixed builds for Electron 4 for real this time

Merged PRs into NodeGit

v0.25.0-alpha.4 (2019-02-08)

Pre-release

Choose a tag to compare

@implausible implausible released this 12 Feb 19:09

Summary of changes

  • Fixed bug where signing the init commit failed due to being unable to update the HEAD ref.
  • Changed NodeGit.Signature.default to 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 from git_oid_fromstr to git_oid_fromstrp
  • Fixed builds for Electron 4
  • Added NodeGit.Reference.updateTerminal

Merged PRs into NodeGit

v0.25.0-alpha.3 (2019-02-05)

Pre-release

Choose a tag to compare

@implausible implausible released this 12 Feb 19:08

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 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.

Merged PRs into NodeGit

v0.25.0-alpha.2 (2019-02-01)

Pre-release

Choose a tag to compare

@implausible implausible released this 12 Feb 19:08

Summary of changes

  • Added RebaseOptions to repository.prototype.rebaseContinue

Merged PRs into NodeGit

v0.25.0-alpha.1 (2019-01-30)

Pre-release

Choose a tag to compare

@implausible implausible released this 12 Feb 19:07

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

v0.24.0 (2019-01-16)

Choose a tag to compare

@implausible implausible released this 16 Jan 22:42

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

v0.23.0 (2018-10-24)

Choose a tag to compare

@implausible implausible released this 25 Oct 00:42

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