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

nodegit

Package Overview
Dependencies
Maintainers
0
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.20.2

Diff

Changelog

Source

<a name="v0-20-2" href="#v0-20-2">v0.20.2</a> (2017-09-13)

Full Changelog

Summary of changes outside of libgit2 bump:
implausibility
published 0.20.1 •

implausibility
published 0.20.0 •

Changelog

Source

<a name="v0-20-0" href="#v0-20-0">v0.20.0</a> (2017-08-16)

Full Changelog

Summary of changes outside of libgit2 bump:
Included merged libgit2 PRs:
Included non-merged libgit2 PRs:
johnhaley81
published 0.18.3 •

johnhaley81
published 0.18.2 •

johnhaley81
published 0.18.1 •

johnhaley81
published 0.19.0 •

Changelog

Source

<a name="v0-19-0" href="#v0-19-0">v0.19.0</a> (2017-04-20)

Full Changelog

Summary of changes outside of libgit2 bump:
  • You can now convert tree entries in blobs PR #1272
Included merged libgit2 PRs:
Included non-merged libgit2 PRs:
johnhaley81
published 0.18.0 •

Changelog

Source

<a name="v0-18-0" href="#v0-18-0">v0.18.0</a> (2017-02-28)

Full Changelog

API Changes

  • All callbacks that go to libgit2 now have an optional waitForResult flag that can be true/false. Defaults to false. When true it will not stop libgit2 from continuing on before the JS code is fully executed and resolved (in cases of a Promise). This is useful for progress callbacks (like fetching) where the bubbling up of the progress to JS doesn't really need the C/C++ code to wait for the JS code to fully handle the event before continuing. This can have serious performance implications for many callbacks that can be fired quite frequently.
  • given_opts in Revert.revert are now optional
  • checkout_opts in Reset.fromAnnotated and Reset.reset are now optional
  • Reset.fromAnnotated is now async
  • message on Stash.save is now optional
  • Added processMergeMessageCallback on Repository#mergeBranches to allow for custom merge messages
  • Add beforeFinishFn to Repository#rebaseBranches and Repository#continueRebase. This is called before the invocation of finish(). If the callback returns a promise, finish() will be called when the promise resolves. The beforeFinishFn will be called with an object that has on it:
  • ontoName The name of the branch that we rebased onto
  • ontoSha The sha that we rebased onto
  • originalHeadName The name of the branch that we rebased
  • originalHeadSha The sha of the branch that was rebased
  • rewitten which is an array of sha pairs that contain which contain what the commit sha was before the rebase and what the commit sha is after the rebase

Summary of Changes from bumping libgit2 to 43275f5

PR #1123 bumped libgit2 which brought in many changes and bug fixes.

Included merged libgit2 PRs:
Included non-merged libgit2 PRs:

Summary of Changes to NodeGit outside of libgit2 bump

  • Don't overwrite C++ files for things that haven't changed PR #1091
  • Add the option to "fire and forget" callbacks so libgit2 doesn't wait for JS to finish before proceeding PR #1208
  • Send back the error code from libgit2 when a call fails PR #1209
  • Initialize pointers to null PR #1210
  • Replace Gitter with Slack PR #1212
  • Make given_opts in Revert.revert optional PR #1213
  • Make Reset.fromAnnotated async and checkout_opts optional PR #1214
  • Make message on Stash.save optional PR #1215
  • Add Remote.ls to NodeGit PR #1218
  • Add processMergeMessageCallback to Repository#mergeBranches to allow for custom merge messages PR #1219
  • Bump libgit2 to 43275f5 PR #1223 from srajko/bump-libgit
  • Provide rebase details on finish PR #1224
  • Use wider int to calculate throttle window PR #1232
  • Update comment to reflect the correct path for generated code output PR #1236
  • Remove nwjs example from the docs PR #1238
  • Remove sudo requirement from linux 32-bit builds PR #1241
johnhaley81
published 0.17.0 •

Changelog

Source

<a name="v0-17-0" href="#v0-17-0">v0.17.0</a> (2017-01-06)

Full Changelog

Targeted Platform Changes

In this release we had added support for Node v7 and latest Electron. We have removed support for Node v0.12 and v5.

We are also deprecating nw.js support since it is currently broken, no one in the current team uses it and we would not be able to currently support nw.js in an effective manner with a good user experience.

Now building against shared libcurl lib

For proxy support we now use libcurl for HTTP/HTTPS transport which should have no noticeable change in NodeGit remote operations but if changes are noticed this is worth mentioning as a potential source.

Memory leak fixes and stability increases

Many PR's were made to fix memory leaks as they were found so memory usage should go down in this version for long running scripts. Additionally, when performing operations with callbacks (transfer progress, credentials, etc...) there was a small chance for a segfault when NodeGit would schedule the callback to go into JavaScript. This is now fixed.

Fixes to the build

Many users, especially on windows, were experiencing errors during the build. The build still isn't perfect but a lot of the bugs were fixed.

Bump libgit2 to 0bf0526

The majority of changes to NodeGit v17 were in libgit2. The API breaking changes that are known are:

Summary of changes that were brought in:

https://github.com/nodegit/nodegit/pull/1187#issuecomment-277760323

Changes to NodeGit outside of libgit2 bump

  • Define GIT_SSH_MEMORY_CREDENTIALS for libgit2 PR #949
  • Add "Path" to ssh variable names in tests for clarity PR #1135
  • Fix revwalk memory leaks PR #1137
  • Fix tree entry leaks PR #1138
  • Fix typo in postinstall script PR #1141
  • Fix windows exception handling in build PR #1143
  • Fix CI failures on node 0.12 PR #1144
  • Fix postinstall script crash when install location has spaces in its path PR #1148
  • Update 0.13 changelog PR #1151
  • Minor documentation fix in Checkout.index PR #1164
  • FreeBSD also uses struct timespec st_mtim PR #1165
  • README.md needs to show where to get Slack invitation PR #1170
  • Add @async tag to Tree#getEntry PR #1178
  • Fix incorrect anchor link in TESTING.md PR #1179
  • Added tests for Tag PR #1180
  • Added tests for Branch PR #1181
  • Escape the spaces in dir for shell command PR #1186
  • Bump libgit to 0bf0526 PR #1187
  • Checkout's tree* functions do not support Oid as a parameter PR #1190
  • Build against shared library for libcurl PR #1195
  • Move libuv calls to correct thread PR #1197
  • Update Repository#createBranch docs PR #1198
  • Remove Node v0.12 and v5 PR #1199
  • Specify acceptable types for lookup and dwim in Reference PR #1203
  • Build for Node 7.4.0 PR #1204
  • Write the index to a repository directly in merge-cleanly.js examples PR #1205
maxkorp
published 0.16.0 •

Changelog

Source

<a name="v0-16-0" href="#v0-16-0">v0.16.0</a> (2016-09-15)

Full Changelog

  • Bump libssh2 to 1.7.0 PR #1071
  • Js cleanup PR #1074
  • Expose merge options and diff flags PR #1076
  • Fix Tree#entryByName function and add test PR #1079
  • Add isSubmodule() method PR #1080
  • Fix two typos in the documentation for Commit#parents PR #1081
  • Memory management: duplicate time PR #1090
  • Preempt nan to fix deprecated calls to Get/SetHiddenValue PR #1106
  • Try re-enabling node >6.2 PR #1107
  • Bump openssl to 1.0.2h (same as node 6.3.1) PR #1108
  • Don't run postbuild when we detect electron install PR #1111
  • Added instructions for CircleCI users PR #1113
  • Fix up electron and nw.js docs PR #1114
  • Patch libssh2 to work with vs2015 PR #1125
  • Fix CI PR #1126
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