-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[BUGFIX release] Fix #12475 #12908
[BUGFIX release] Fix #12475 #12908
Conversation
good hunting, I'm sorta sad about the fix. But... as discussed it appears a better fix may be a breaking change. also would like @krisselden 👀 on this |
Me too 😭 |
OK, 🍏 build now... |
I'm definitely sad about the fix, I think we can do something else but we have to fix the regression in the mean time. |
@krisselden good to merge for now? |
@stefanpenner: @krisselden approved on Slack.
|
many tears are shed. |
On the plus side, this bug got me more familiar with ember-metal. I'm going to spike out lazy array observers and see how bad it breaks my apps :) |
Thankyou very much @mmun for fixing this.. I've been stuck on 2.0.3 because of this bug. I'm now on 2.4.1 and much happier. :) |
Fixes #12475 by reverting the ArrayProxy code to use before-observers. In order to re-remove these before observers we will need to remove the
@array:before
event (AKA thewillChange
part ofarray.addArrayObserver({ willChange, didChange })
)For more details see #12860 (comment).