-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
[v25.x] Revert "lib: throw from localStorage getter on missing storage path" #60750
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
Conversation
This reverts commit 4fbb1ab.
|
Fast-track has been requested by @aduh95. Please 👍 to approve. |
targos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not on main? If we want to change the implementation it will have to happen there as well
I'm not sure we want, I think we established the current behavior is spec compliant, the issue is that it's too breaking for a semver-minor update |
|
Landed in a4dee61 |
Node.js has reverted in v25.2.1 - nodejs/node#60750 - nodejs/node#60704
For v25.x, that's a good move to revert 👍 However, it remains important, even for the upcoming LTS, to roll out this change properly to the Node ecosystem. My intuition is that rolling this change as-is in Node 26 is likely to trigger the same kind of pushback as we have today, on a larger scale. It would be helpful to gather all the community-reported breakages and to provide a clear migration path for all the identified packages and patterns. I haven't studied the problem in depth, but I'm still unsure how to migrate this pattern, for example: Since this is going to break in the next v26, it looks like a good time to help the community upgrade to the upcoming behavior ahead of time. This might also help design codemods. |
This reverts commit 4fbb1ab.