diff --git a/.travis.yml b/.travis.yml index 4aa2971..9bef96d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,3 @@ -branches: - only: - - master - language: node_js os: diff --git a/CHANGELOG.md b/CHANGELOG.md index 2dfcf07..7d4f850 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [2.4.0] - 2018-07-31 +### Changed +- Updated brotli from [v1.0.4] to [v1.0.5] +- Replaced NAN with N-API + +### Removed +- Dropped support for Node 9 + ## [2.3.2] - 2018-05-01 ### Fixed - Fixed pre-compiled binaries download script @@ -270,6 +278,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ## [1.0.0] - 2015-10-18 +[2.4.0]: https://github.com/MayhemYDG/iltorb/compare/v2.3.2...v2.4.0 [2.3.2]: https://github.com/MayhemYDG/iltorb/compare/v2.3.1...v2.3.2 [2.3.1]: https://github.com/MayhemYDG/iltorb/compare/v2.3.0...v2.3.1 [2.3.0]: https://github.com/MayhemYDG/iltorb/compare/v2.2.0...v2.3.0 @@ -314,6 +323,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p [1.0.1]: https://github.com/MayhemYDG/iltorb/compare/1.0.0...1.0.1 [1.0.1]: https://github.com/MayhemYDG/iltorb/releases/tag/1.0.0 +[v1.0.5]: https://github.com/google/brotli/releases/tag/v1.0.5 [v1.0.4]: https://github.com/google/brotli/releases/tag/v1.0.4 [v1.0.3]: https://github.com/google/brotli/releases/tag/v1.0.3 [v1.0.2]: https://github.com/google/brotli/releases/tag/v1.0.2 diff --git a/package.json b/package.json index 10b7e39..5bb59df 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "iltorb", - "version": "2.3.2", + "version": "2.4.0", "description": "Brotli compression/decompression with native bindings", "homepage": "https://github.com/MayhemYDG/iltorb", "bugs": "https://github.com/MayhemYDG/iltorb/issues", diff --git a/scripts/build.js b/scripts/build.js index 86bc968..1ce7cca 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -41,19 +41,5 @@ function build({target, runtime, abi}) { } -const builds = [ - { runtime: 'node', target: process.versions.node, abi: false } -]; - -if (PUBLISH_BINARY) { - builds.push( - { runtime: 'electron', target: '50', abi: true }, - { runtime: 'electron', target: '53', abi: true }, - { runtime: 'electron', target: process.versions.modules, abi: true } - ); -} - -builds - .reduce((promise, item) => { - return promise.then(() => build(item)).catch((code) => process.exit(code)); - }, Promise.resolve()); +build({ runtime: 'node', target: process.versions.node, abi: false }) + .catch(code => process.exit(code));