-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
module: remove require('.') with NODE_PATH compatibilty #1452
Conversation
7220214
to
ca16df6
Compare
We should at the same time start emitting warnings whenever NODE_PATH is used. |
So the consensus is to remove |
It's been deprecated for ages. Seeing how it negatively interacts with the module system, I don't think we want to carry it forward forever. |
Honestly, I don't see any negative implications of the |
What are the alternatives to |
Let's move the discussion to #1627 |
I suggest we move this to like 4.0.0, since 3.0.0 seems like it should be soon according to v8. |
Yeah, if 3.0.0 lands in the next 2 months, I'll delay this (according to the 3 months policy suggested recently). |
See #1735 - it should (ideally for v8?) land this week..
Where was that suggested? That was the original suggestion but doesn't really work when v8 breaks every 6 weeks. |
@Fishrock123 I was just lazily following #12, but I see, it's not decided yet. |
Should this still land in 3.0.0, or is it better we target 4.0.0? |
Moved to 4.0, given 3.0 is imminent. |
@nodejs/collaborators thoughts on this for 4.0.0? I'm leaning towards punting till 5.0.0 to avoid some of the pain of users upgrading from 0.10 and 0.12 straight to 4. This is just another pain point they would encounter and it doesn't seem necessary to rip this band-aid off right now. |
@rvagg You are correct. I think we can defer all the current semver-majors to 5.0.0. |
Moving it to 5.0.0 is fine with me. |
Moving to 5.0.0, feel free to disagree though |
👍 this way, at least the deprecation message will be visible for some time to new-time users. |
ping @silverwind |
I thought we were doing a 4.2.0 next? Anyways, it's too early to land this. |
4.2.0 and 5.0.0 are on independent parallel tracks. 4.2.0 is the LTS off
|
Alright, moving to 6.0.0 in this case. |
Fwiw... The 6.0.0 stable will be cut right around early April 2016.
|
Updated and targeted master: #3384 |
This basically reverts #1363 and removes the hack in place for the unintended use case of
require('.')
used in conjunction withNODE_PATH
.I'd like to give users a few months to accustom to the deprecation, so it might not be a candidate for 2.0.0, but rather 3.0.0.