Skip to content

Releases: bchr02/node-pre-gyp-github

2.0.0

13 May 12:35
Compare
Choose a tag to compare
  • updated all dependencies to the latest versions
  • updated dev dependencies to the latest versions. Replaced nyc to c8.
  • test.js > test.mjs to make compatible with ESM modules since chai v5 does not support commonjs modules
  • using Octokit's userAgent property instead of setting through the header property

bumped major version since Node.js v18 or newer is now required

1.4.6

13 May 04:28
Compare
Choose a tag to compare
  • updated all dependencies to the latest versions
  • updated dev dependencies to the latest versions. Replaced nyc to c8.
  • test.js > test.mjs to make compatible with ESM modules since chai v5 does not support commonjs modules
  • using Octokit's userAgent property instead of setting through the header property

Do not use this version. This version was bumped to 2.0.0 since it introduced breaking changes and we deprecated it within npm.

1.4.5

13 May 13:35
115ab23
Compare
Choose a tag to compare

I wanted to provide a fix on version 1 major release that contained the fix from #46

Version 2.0.0 also contains this fix, but it also introduced some breaking changes since v18 of node.js is now required.

1.4.2

01 Dec 16:26
Compare
Choose a tag to compare

bug fixes

1.4.1

04 Aug 18:22
Compare
Choose a tag to compare

Updates:

  • fixed unit test to provide 100% coverage
  • updated some dev dependencies to their latest versions

1.4.0

04 Aug 06:08
Compare
Choose a tag to compare

Changes:

  • replaces dependency "github" with "@octokit/rest" which is the new NPM package for accessing the Github API
  • allows for publishing to Github Enterprise instances.

1.3.1

03 Jun 01:49
Compare
Choose a tag to compare

Changes:

  • bug fix to correct a circular reference with consoleLog function in which it was calling itself instead of console.log.

1.3.0

02 Jun 21:44
Compare
Choose a tag to compare

Changes:

  • new --silent option to turn off verbose logging
  • only options with a default value defined within NodePreGypGithub.prototype.createRelease are passed to the first parameter of github.releases.createRelease(). When I introduced the silent flag I didn't feel it made sense that this property should automatically make it's way to github.releases.createRelease function. This prevents that.
  • 100% test coverage, including a backwards compatibility section.
  • running tests no longer includes the verbose messages that get generate from within the module
  • coveralls badge now on README.md
  • package.json's scripts.coverage now includes a command to post to coveralls when the COVERALLS_SERVICE_NAME and COVERALLS_REPO_TOKEN environment variables are defined properly.
  • coveralls added as a devDependencies within package.json

1.2.2

01 Jun 19:07
Compare
Choose a tag to compare

Changes:

  • adds test\test.js with over 97% line coverage.
  • added a test and coverage section to package.json's scripts property.
  • added some dev dependencies to package.json which are needed for testing and code coverage.
  • removed some unneeded dependencies from package.json
  • removed some unneeded modules that were required in index.js
  • NodePreGypGithub.prototype.github = new GitHubApi(...) now happens immediatelly instead of within NodePreGypGithub.prototype.init(). The main reason for this was so I could provide a replacement mock to use within unit tests.
  • added some missing escape characters, so /{version}/g is now /\{version\}/g

1.2.1

26 May 05:44
Compare
Choose a tag to compare

Changes:

  • made error handling more consistent and always exit with a non 0 error code. #13
  • an error will now occur if NODE_PRE_GYP_GITHUB_TOKEN is not found.
  • slightly changed some of the error messages and removed some of the prepended "Error: ". They are no longer needed since were are now throwing errors.
  • fixed a bug that caused an error to not occur when binary files were not found in the stage directory.
  • added a missing error catch for readdir that caused an error to not occur if the stage directory was missing.
  • in bin/node-pre-gyp-github.js, corrected the path that was displayed in the help text.