nodegit v0.15.0 Release Notes

Release Date: 2016-06-20 // almost 8 years ago
  • Full Changelog

    • โšก๏ธ Update to libgit2 @ 37dba1a PR #1041

    ๐Ÿš€ This updates NodeGit to use the latest HEAD version of libgit2. The plan for staying on the official tagged releases of libgit2 is that they will get a maintenance branch and not-breaking API fixes will be backported to them. The first branch of this sort is maint/0.14. Going forward new releases of NodeGit will follow closely to the master branch of libgit2.

    Summary of changes that were brought in:

    https://github.com/libgit2/libgit2/commit/37dba1a739b5ee6c45dc9f3c0bd1f7f7a18f13f7

    ๐Ÿ”„ Changes or improvements

    • NodeGit.FetchOptions, and NodeGit.PushOptions now have a proxyOpts field that accepts a NodeGit.ProxyOptions object that allows NodeGit to use a proxy for all remote communication

    • ๐Ÿ”€ NodeGit.MergeOptions has a defaultDriver field that lets the caller change the driver used to when both sides of a merge have changed

    API additions

    • โœ… Commit.createWithSignature allows the caller to create a signed commit. There are no tests for this currently so it's labelled experimental.

    • Blob, Commit, Tag, and Tree all have a new prototype dup method on them to make a low-level copy of the libgit2 object if needed.

    • Odb#expandIds is exposed which takes in a list of short ids and expands them in-place to the full id of the object in the database