Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nodegit

Package Overview
Dependencies
Maintainers
4
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodegit - npm Package Versions

1
16

0.14.1

Diff

Changelog

Source

<a name="v0-14-1" href="#v0-14-1">v0.14.1</a> (2016-06-20)

Full Changelog

  • Fix postinstall breaking build if it fails.
johnhaley81
published 0.15.1 •

Changelog

Source

<a name="v0-15-1" href="#v0-15-1">v0.15.1</a> (2016-06-20)

Full Changelog

  • Fix postinstall breaking build if it fails.
johnhaley81
published 0.15.0 •

Changelog

Source

<a name="v0-15-0" href="#v0-15-0">v0.15.0</a> (2016-06-20)

Full Changelog

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

johnhaley81
published 0.14.0 •

Changelog

Source

<a name="v0-14-0" href="#v0-14-0">v0.14.0</a> (2016-06-20)

Full Changelog

johnhaley81
published 0.13.2 •

Changelog

Source

<a name="v0-13-2" href="#v0-13-2">v0.13.2</a> (2016-06-09)

Full Changelog

  • Stop RevWalk#walk from swallowing errors in the callback PR #1047
  • Stop swallowing errors in the install script PR #1048
  • Fix initializing submodules when installing from npm PR #1050
johnhaley81
published 0.13.1 •

Changelog

Source

<a name="v0-13-1" href="#v0-13-1">v0.13.1</a> (2016-06-03)

Full Changelog

Added

  • Repository#discardLines is now a thing PR #1021

Modified

  • Async methods now use a custom threadpool to prevent thread-locking the event loop PR #1019

Bug fixes

  • Fix building NodeGit from NPM PR #1026
  • Plug a memory leak in RevWalk.fastWalk PR #1030
  • Plug a memory leak with Oid PR #1033
  • Fixed some underlying libgit2 objects getting freed incorrectly PR #1036
johnhaley81
published 0.13.0 •

Changelog

Source

<a name="v0-13-0" href="#v0-13-0">v0.13.0</a> (2016-05-04)

Full Changelog

Summary

This is a big update! Lots of work was done to bring NodeGit up to the latest stable libgit2 version (v0.24.1), to use babel in the library, to make it more stable, remove memory leaks, squash bugs and in general just improve the library for all. Make sure to see all of the API changes below (there are a lot).

Node support

We have added Node 6 as a supported platform! Going forward we aim to have 1:1 support for versions of Node that are either current or LTS. That means that v0.12 will not be supported soon so if you're on that please upgrade to at least Node v4. Also Node v5 will NOT be LTS so when Node stops supporting that in the coming months we will as well. You can read more about the current Node upgrade plan here.

API Changes


Modified

  • Index#add, Index#addByPath, Index#clear, Index#conflictAdd, Index#conflictCleanup, Index#conflictGet, Index#conflictRemove, Index.open, Index#read, Index#readTree, Index#remove, Index#removeByPath, Index#removeDirectory, Index#read, Index#write, Index#writeTree, and Index#writeTreeTo are all now asynchronous functions PR #971
  • Made ancestoryEntry, outEntry and theirEntry optional parameters on Index#conflictAdd PR #997
  • Repository#refreshIndex will return an Index object back that has the latest data loaded off of disk PR #986
  • Commit.create is now asynchronous PR #1022
  • Remote.create is now asynchronous PR #990

Added

  • Diff#merge will combine a diff into itself PR #1000
  • ReflogEntry#committer, ReflogEntry#idNew, ReflogEntry#idOld, and ReflogEntry#message have been added PR #1013

Removed

  • Repository#openIndex PR #989, use Repository#index or Repository#refreshIndex instead
  • Reflog#entryCommitter, Reflog#entryIdNew, Reflog#entryIdOld, and Reflog#entryMessage have been moved to be under ReflogEntry PR #1013

Bug fixes

johnhaley81
published 0.12.2 •

Changelog

Source

<a name="v0-12-2" href="#v0-12-2">v0.12.2</a> (2016-04-07)

Full Changelog

Added

  • We now provide 32-bit binaries for linux PR #980

Bug fixes

johnhaley81
published 0.12.1 •

Changelog

Source

<a name="v0-12-1" href="#v0-12-1">v0.12.1</a> (2016-03-30)

Full Changelog

Bug fixes

  • Fixed post install script dying on windows PR #978
johnhaley81
published 0.12.0 •

Changelog

Source

<a name="v0-12-0" href="#v0-12-0">v0.12.0</a> (2016-03-28)

Full Changelog

API changes

  • Ignore
    • Made Ignore.pathIsIgnored async PR #970

Bug fixes

  • Added an error message when trying to install NodeGit without a required version of libstdc++ PR #972
  • Fix a crash when grabbing content out of a buffer that has unicode PR #966
  • Added some plumbing for better memory management PR #958
  • Fix checkoutOptions in Stash#apply PR #956
  • Fixed install when there is a space in the username on windows PR #951
  • Bump to nan@2.2.0 PR #952
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc