You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
harmony-regexp-properties should be not enabled without a flag yet #6251
I think this is worth a separate issue and that we should keep an eye on it — releasing 6.0.0 with this issue would mean that any future fix to this (i.e. hiding harmony-regexp-properties behind a flag) would technically be a semver-major change.
@ChALkeR Thanks for extracting this into a separate issue. I would expect that a fix for this is likely to be merged back to V8 5.0 soon. Even if it wasn't, I think you're using too strict a definition of semver-major. Every bug fix, by definition, an is observable change. If a bug lives in the ecosystem for a very long time, and people start depending on that specific behaviour, only then it comes a semver major.
Changes to command line flags exposed by node are always semver-major but I think this one would be a gray area -- I'm not sure we need to treat flags exposed by v8 as a major.
@jasnell Hm. Imo one way how this would be not a semver-major is this issue being explicitly documented as a bug in the release notes. That would solve it, perhaps.
Activity
ofrobots commentedon Apr 18, 2016
@ChALkeR Thanks for extracting this into a separate issue. I would expect that a fix for this is likely to be merged back to V8 5.0 soon. Even if it wasn't, I think you're using too strict a definition of semver-major. Every bug fix, by definition, an is observable change. If a bug lives in the ecosystem for a very long time, and people start depending on that specific behaviour, only then it comes a semver major.
jasnell commentedon Apr 18, 2016
Changes to command line flags exposed by node are always semver-major but I think this one would be a gray area -- I'm not sure we need to treat flags exposed by v8 as a major.
ofrobots commentedon Apr 18, 2016
@jasnell The command line flag already exists; the bug is that it wasn't being respected in code.
jasnell commentedon Apr 18, 2016
Awesome, then I'd definitely be surprised if it was anything more than a minor.
ChALkeR commentedon Apr 18, 2016
@jasnell The issue here is that the code works without the harmony flag, when it shouldn't.
The fix would make code that currently works out of the box not working anymore without a flag, that looks semver-major to me.
bnoordhuis commentedon Apr 18, 2016
FWIW, https://bugs.chromium.org/p/v8/issues/detail?id=4743 is the tracking issue. v8/v8@e0d0c96a is the commit that introduced the flag but v8/v8@aba76874 first started using it. The former is in master, the latter is not; there are a few intermediate commits as well.
jasnell commentedon Apr 18, 2016
@ChALkeR ... understood, but even then I'm not 100% sure it rises to a semver-major. In any case, let's try to get it fixed before v6 is cut ;-)
ChALkeR commentedon Apr 19, 2016
@jasnell Hm. Imo one way how this would be not a semver-major is this issue being explicitly documented as a bug in the release notes. That would solve it, perhaps.
jasnell commentedon Apr 19, 2016
+1, I prefer that approach
vsemozhetbyt commentedon Apr 19, 2016
Fixed in the V8 5.0.71.33: https://bugs.chromium.org/p/v8/issues/detail?id=4926#c4
deps: upgrade to V8 5.0.71.33
deps: upgrade to V8 5.0.71.33