There were a few surprises when we upgraded to RC7 that weren’t mentioned in the blog post. The biggest for us being the changes to components and how their context is now inherited from the parent controller. This is a great change and easy to account for, but I was wondering if anyone else has run into any surprises with RC7? It feels like things are moving so quickly that some changes are slipping through the cracks with regards to release notes. Anyone else have any thoughts/input on this?
“… components and how their context is now inherited from the parent controller”
What? Is this for real? I thought the entire purpose of components was to be controller agnostic and as such the default context would be the component it’s self.
Sorry, what I meant to say is that yielded content inherits the context. This is the change that describes what I’m talking about:
https://github.com/emberjs/ember.js/commit/42b8803955c8940a2b7f794c33c20ac82e0a2cbb
There was also a change that allows a context to be sent along with an action:
https://github.com/emberjs/ember.js/commit/f8def45cb80a7013eb926e37c0abcc45780ab496
These are two pretty awesome (and potentially breaking) changes that were made to components, yet there was no mention of it in the RC7 release post. The inherited context change, in particular, forced us to change some of our component code. That’s all.