Sourced from nodeenv's releases.
1.11.0
What's Changed
New Features 🎉
- feat(certifi): optionally use certifi certificates by
@ekalininin ekalinin/nodeenv#394- feat(nodeenv): accept npm-style semver ranges in --node by
@ekalininin ekalinin/nodeenv#393- feat(nodeenv): add --prefer-system to use system node when available by
@ekalininin ekalinin/nodeenv#395- feat(nodeenv): add --isolate-npm to keep npm config inside the environment by
@ekalininin ekalinin/nodeenv#396- feat(nodeenv): install local packages from a requirements file by
@ekalininin ekalinin/nodeenv#407- feat(nodeenv): write the posix activate on Windows for git-bash by
@ekalininin ekalinin/nodeenv#409Fixed bugs 🐛
- fix: repair Windows CI (ZipFile.extractall filter, test_smoke layout) by
@ekalininin ekalinin/nodeenv#392- fix(nodeenv): replace leftover debug print with logger.debug by
@ekalininin ekalinin/nodeenv#391- fix(nodeenv): stop -p from reinstalling node that is already there by
@ekalininin ekalinin/nodeenv#403- fix(nodeenv): let -p target a virtualenv nodeenv isn't installed in by
@ekalininin ekalinin/nodeenv#402- fix(nodeenv): report the url and proxy instead of a traceback by
@ekalininin ekalinin/nodeenv#410- fix(nodeenv): keep the python virtualenv's scripts under -p on Windows by
@ekalininin ekalinin/nodeenv#411- fix(nodeenv): report a missing node archive instead of a traceback by
@ekalininin ekalinin/nodeenv#412- fix(nodeenv): detect musl regardless of the host triplet vendor by
@ekalininin ekalinin/nodeenv#413- fix(nodeenv): read npm's parseable listing in freeze by
@ekalininin ekalinin/nodeenv#414- fix: allow zsh to source bin/activate by
@r3wretrhyin ekalinin/nodeenv#417- fix(nodeenv): link nodejs.exe without mklink by
@ekalininin ekalinin/nodeenv#415Improvements 🛠
- FEAT: Check if activate is called as script. by
@quazgarin ekalinin/nodeenv#384- address deprecation warning in tarfile.TarFile.extract all in Python … by
@nernstin ekalinin/nodeenv#380- chore(ci): run the activation scripts in sh, dash, bash, zsh and fish by
@ekalininin ekalinin/nodeenv#397- chore(ci): give the integration smoke tests a home and stop running them 20 times by
@ekalininin ekalinin/nodeenv#401- feat(nodeenv): clean "src" directory by default by
@ekalininin ekalinin/nodeenv#404Documentation 📄
- docs(readme): document file:// mirrors as a local download source by
@ekalininin ekalinin/nodeenv#405- docs(changes): backfill the changelog from 1.3.2 to 1.10.0 by
@ekalininin ekalinin/nodeenv#408Other Changes
- chore(release): bump nodeenv version to 1.11.0 by
@ekalininin ekalinin/nodeenv#418New Contributors
@quazgarmade their first contribution in ekalinin/nodeenv#384@nernstmade their first contribution in ekalinin/nodeenv#380@r3wretrhymade their first contribution in ekalinin/nodeenv#417Full Changelog: https://github.com/ekalinin/nodeenv/compare/1.10.0...1.11.0
Sourced from nodeenv's changelog.
Version 1.11.0
- Fixed zsh
source bin/activateaborting on the direct-call guard[#398](https://github.com/ekalinin/nodeenv/issues/398) <https://github.com/ekalinin/nodeenv/issues/398>_- Added check for how
activateis called[#384](https://github.com/ekalinin/nodeenv/issues/384) <https://github.com/ekalinin/nodeenv/pull/384>_- Addressed the
tarfile.extractalldeprecation on Python >= 3.12 by settingfilter='data', which also prevents writing files via ".." or absolute paths[#380](https://github.com/ekalinin/nodeenv/issues/380) <https://github.com/ekalinin/nodeenv/pull/380>_- Added support for Solaris/illumos
[#360](https://github.com/ekalinin/nodeenv/issues/360) <https://github.com/ekalinin/nodeenv/issues/360>_- Added
predeactivatehooks for Windows- Added error handling and tests for the node installation
[#336](https://github.com/ekalinin/nodeenv/issues/336) <https://github.com/ekalinin/nodeenv/issues/336>_- Removed the leftover debug
[#390](https://github.com/ekalinin/nodeenv/issues/390) <https://github.com/ekalinin/nodeenv/issues/390>_- Added
--with-certifito download packages with the certifi certificate bundle[#388](https://github.com/ekalinin/nodeenv/issues/388) <https://github.com/ekalinin/nodeenv/pull/388>_--nodeaccepts npm-style semver ranges[#393](https://github.com/ekalinin/nodeenv/issues/393) <https://github.com/ekalinin/nodeenv/pull/393>_- Added
--prefer-systemto use system-wide node.js when available and install one otherwise[#153](https://github.com/ekalinin/nodeenv/issues/153) <https://github.com/ekalinin/nodeenv/issues/153>_- Added
--isolate-npmto keep npm cache, userconfig and init-module inside the environment[#154](https://github.com/ekalinin/nodeenv/issues/154) <https://github.com/ekalinin/nodeenv/issues/154>_- Added tests that run the activation scripts in sh, dash, bash, zsh and fish.
-pno longer reinstalls node when the requested version is already in the virtualenv[#159](https://github.com/ekalinin/nodeenv/issues/159) <https://github.com/ekalinin/nodeenv/issues/159>_- Repeated
-pruns no longer duplicate thepredeactivatehook[#159](https://github.com/ekalinin/nodeenv/issues/159) <https://github.com/ekalinin/nodeenv/issues/159>_-paccepts an optional virtualenv directory and prefers the activatedVIRTUAL_ENVover the virtualenv nodeenv itself is installed in[#156](https://github.com/ekalinin/nodeenv/issues/156) <https://github.com/ekalinin/nodeenv/issues/156>_-r/--requirementsmay now be given more than once, and the new--local-requirementsinstalls the packages of a file locally, into "node_modules" of the current directory, which is whatfreeze -lwrites. Under npm < 1.0.0, which has no-g, a local file is still installed the old way[#206](https://github.com/ekalinin/nodeenv/issues/206) <https://github.com/ekalinin/nodeenv/issues/206>_- The "src" directory is now removed after installation by default, which halves the size of an environment. Added
--no-clean-srcto keep it: with--sourcethat is what lets a repeated--forcebuild reuse the downloaded source tree[#205](https://github.com/ekalinin/nodeenv/issues/205) <https://github.com/ekalinin/nodeenv/issues/205>_- Documented that
--mirrortakes afile://URL, so a local directory can serve as the download source[#193](https://github.com/ekalinin/nodeenv/issues/193) <https://github.com/ekalinin/nodeenv/issues/193>_- The posix
activateis now written on Windows too, into "Scripts", so git-bash and the other posix shells there can activate an environment[#226](https://github.com/ekalinin/nodeenv/issues/226) <https://github.com/ekalinin/nodeenv/issues/226>_- A download that reaches nothing at all, which a broken
http_proxyorhttps_proxyusually causes, now reports the url and the proxy settings instead of a traceback
... (truncated)
e745358
Merge pull request #418
from ekalinin/chore/release-1.11.0fd19956
chore(release): bump nodeenv version to 1.11.01767015
Merge pull request #415
from ekalinin/fix/nodejs-exe-link55df3ce
Merge pull request #417
from r3wretrhy/fix/zsh-activate-source-guardbb15c5c
fix: allow zsh to source bin/activate152cd3d
fix(nodeenv): link nodejs.exe without mklinkd163302
Merge pull request #414
from ekalinin/fix/freeze-requirementsef5ec35
fix(nodeenv): read npm's parseable listing in freezeb1f0c54
Merge pull request #413
from ekalinin/fix/musl-vendor-detectionaadf307
fix(nodeenv): detect musl regardless of the host triplet vendor