v4.3.0
Yay! Release time! It's a rainy day, and we have another smallish release for y'all. These things are not necessarily related. Or are they 馃導馃
As far as news go, you may have noticed that the CLI team dropped support fornode@0.12
when that version went out of maintenance. Still, we've avoided explicitly breaking it and node@0.10
so far -- but not much longer.
Sometime soon, the CLI team plans on switching over to language features onlyavailable as of node@4 LTS
, and will likely start dropping old versions of node as they go out of maintenance. The new features are exciting! We're really looking forward to using them in the core CLI (and its dependencies) as we keep upwith our current feature work.
And speaking of features, this release is a minor bump due to a small change inhow npm login
works for the sake of supporting OAuth-based login for npmEnterprise users. But we won't leave the rest of y'all out -- we're working on a larger version of this feature. Soon enough, you'll be able to log in to npmwith, say, GitHub -- and use some shiny features that come from the integration. Or turn on 2FA and other such security features. Keep your eyes peeled for newon this in the next few releases and our weekly newsletter!
NEW AUTH TYPES
There's a new command line option: --auth-type
, which can be used to log in toa supporting registry with OAuth2 or SAML. The current implementation is mainly meant to support npmE customers, so if you're one of those: ask us about using it! If not, just hold off cause we'll have a much more complete version of this feature out soon.
ac8595e
bcf2dd8
9298d20
66b61bc
dc85de7
#13389 Implement single-sign-on support with--auth-type
option. (@zkat)
FASTER STARTUP. SOMETIMES!
request
is pretty heavy. And it loads a bunch of things. It's actually a pretty big chunk of npm's load time. This small patch by Rebecca will make it so npm only loads that module when we're actually intending to make network requests. Those of you who use npm commands that run offline might see a small speedup in startup time.
DOCUMENTATION
4ad9247
#15630 Fix formatting/rendering for root npm README. (@ungoldman)