Changelog¶
The purpose of this document is to list all of the notable changes to this project. The format was inspired by Keep a Changelog. This project adheres to semantic versioning.
Release 2.0 (2020-03-03)¶
Significant changes:
- Update Python compatibility: Added 3.7 and 3.8, removed 3.4.
- Add support for the
$NPM_ACCEL_CACHE_LIMITenvironment variable. - Add support for pnpm (it has piqued my interest) and remove support for npm-fast-install (it was never worth my time).
- Change cache key computation to include version of installer that’s actually used instead of npm version (bug fix).
- Change development status in
setup.pyscript from beta to stable.
Miscellaneous changes:
- Include documentation in source distributions.
- Switch from node_4.x to node_10.x on Travis CI.
- Add this changelog, restructure the documentation.
- Include
license=MITkey insetup.pyscript. - Change
Makefileto use Python 3 for local development. - Upgrade to humanfriendly 8.0 (fix deprecated imports).
- Integrate pytest-rerunfailures because MacOS workers on Travis CI are slow 😝.
Release 1.0 (2017-06-29)¶
Integrate yarn, stop using npm prune (backwards incompatible!).
I’ve decided to bump the major version number because numerous minor backwards incompatibilities were introduced in the Python API during my refactoring spree of the past few days. I’ve also changed the previous ‘alpha’ label into a ‘beta’ label, which sounds weird together with the 1.0, but there you go, semantic versioning 😉.
Detailed overview of changes:
- Integrated support for
yarn:- When available
yarnis used in preference tonpm. - The benchmark now allows npm-accel to use
yarn.
- When available
- Update project status (alpha ➡️ beta) and performance (further improved) in readme.
- Include full pathname of Node.js interpreter in log output.
- Exclude
npm-cache&npm-fast-installfrom npm-accel cache usage. - Make
benchmark()handle command failure gracefully. - Bug fix for matching of short options
-pand-i. - Update supported Python versions (added 3.6).
- Remove support for local installers and pruning because it’s broken anyway.
When I originally created npm-accel I was under the impression that it should
be possible to start with an empty
node_modulesdirectory, install a non-default installer in that directory and use that installer to install the packages that you’re actually interested in. In reality I’ve seen bothyarnandnpm-fast-installchoke completely when used in this setting. After installing them globally those problems immediately disappeared. - Add
npm-accel --updateoption to refresh existing cache entries. - Add
npm-accel --versionoption.
Release 0.4 (2016-10-12)¶
- Automatic garbage collection of cache entries.
- Configured Travis CI to run tests on Mac OS X.
Release 0.3.1 (2016-09-17)¶
- Clarify supported operating systems in documentation and
setup.py. - Mention the Arch Linux (AUR) package in the readme. Refer to pull request #1 for details.
Release 0.3 (2016-09-17)¶
Merged pull request #1: Fix calling node/nodejs binary in nodejs_version.
- The primary nodejs executable being called
nodejsis a Debian-ism, and is not compatible with upstream nodejs and non-Debian distros, because upstream just calls the binarynode. - This makes the
node_versionmethod fail on non-Debian systems, wherenodejsis actually callednodeinstead. - Instead of just executing the
nodejscommand, we now first search for it in the$PATH. - When no node executable is found, a
NodeBinaryNotFoundErroris now raised. - If one of the node executables is found, we return the result of
node --versionornodejs --versionas before.
Release 0.2 (2016-09-16)¶
- Bug fix: Avoid race conditions.
- Added Travis CI configuration.
- Improved the documentation.
Release 0.1 (2016-09-15)¶
This was the initial release.