-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking Issue: Node.js 9.0.0 #14391
Comments
I think we should remove the |
I think we should remove the |
I think we should revisit Buffer constructor deprecation in this release. |
Why? What harm does it do to leave it there? |
|
What version of V8 is this release going to ship? |
@benjamingr It will be 6.1 or 6.2 |
Will then it support import/export? |
I would like to deprecate |
It's planed in v0.9, so I think remove it at 9.x is make sense. |
@JacksonTian The commit you are referencing was reverted, the current state of deprecation has been introduced in dc42e1f (2015). |
The cost to us of keeping For some historical background: The idea that we are probably never going to remove From January 2015 when
That sentiment is echoed by @piscisaureus, @chrisdickinson, and @indutny in the Technical Committee meeting just prior to that where the issue was discussed. |
So, I see a hidden cost in above statement — people who use |
I think there is the cost of confusion. People who read code that uses I for one want Node to be intuitive as well as easy to understand. |
@refack @ronkorving Those are interesting points worth considering, although I hesitate to encourage the marshaling of more hypothetical downsides. I think these largely-hypothetical concerns are overruled by the concrete concern of breaking working user code for no tangible gain.
|
Quoting 539f4c0#commitcomment-23478657 by @davidmurdoch:
It would probably be nice to compile a list of changed error messages for this release. |
Speaking of the new internal errror stuff... I've been neutral on it lately, but I'm starting to wonder more and more if it's worth it. As I see it, here are the upsides:
The downsides:
I'm not going to object to it unless there are others who feel that way (and even then, I might not object anyway). But as far as I know, there isn't anyone who's uncomfortable with it. But if I'm wrong about that, get in touch, will you? (If there's concern, it would be much better to raise it earlier rather than trying to do it at the last minute. As far as I've been able to tell, no one is concerned except me, and I'm only a little bit concerned.) |
I'm working on it, as per @ljharb's idea, to write an npm package that will do Error message to Error code mapping (#13937 (comment)) |
@refack I'm happy to help with any difficulty you have making it backwards-compatible as far back as possible! |
@Trott I have been a little concerned myself. I think one of the big changes that hasn't really been mentioned is the fact that the code property is no longer writable... I saw |
I think this outweighs the downsides, unless there is an alternative with the same advantages and without the downsides. Most other programming frameworks provide mechanisms to distinguish errors more or less precisely, and we were really falling behind with very few error classes and relying on error messages. I like how we did not go the JAVA way (I think there are about 400 exception classes in the JRE), especially since JS does not allow to catch only specific errors, and I don't really see an alternative to our approach. |
@nodejs/npm It might be good to know, what’s your current schedule for future major npm versions? Is there anything we should be planning for/expecting in time for Node 9? |
#12794 should be in |
Ping @jasnell @nodejs/release |
Yes, planning got out of whack due to Interactive and a surprise customer engagement this week (darned day job!) ... will be getting the RC out as soon as possible this week but struggling to find time. |
@jasnell I believe this can now be closed but let me know if I've made an error or just reopen yourself :) |
@nodejs/collaborators @nodejs/ctc,
It feels like only yesterday that I was preparing the 8.0.0 release! Time flies!
I plan to begin working on the 9.0.0 release in early September, with an eye towards release by the end of October. The
v9.x
andv9.x-staging
branches will be cut the first or second week of September, with an estimated semver-major freeze by September 30th. Beta releases will be cut once per week in September, with a roll over to RC's in October. I'd really like to avoid last minute major updates so please try to get any semver-major updates, significant dependency updates, etc in by the September 30th deadline.For any PR that needs to land for 9.x, I would appreciate if you would assign it to the 9.x milestone for easier tracking.
/cc @nodejs/release
The text was updated successfully, but these errors were encountered: