As you might have noticed, AngularJS
1.2.2 1.2.3 has been released lately, without dedicated announcement. Our update from an AngularJS 1.2-rc2 has been quite smooth, only two hints might be noteable in addition to the official migration guide.
- With the current version the AngularJS team has fixed some issues regarding the isolate scope as described in the changelog for the 1.2.0 release or at the relevant GitHub issues #1924 and #2500.
In directive tests you might currently use the isolate scope of an element using the notion
element.scope(). With the current release you have to use the newly introduced function
element.isolateScope(). Just a simple find and replace task 🙂
- Don’t forget to check third party libraries for compatibility updates. We used the Angular-UI Select2 directive in an older release 0.0.2. Running our e2e-tests produced some strange and non-deterministic error messages in PhantomJS, but not in Chrome or other standard browsers. The errors seemed to be triggered due to directive priority changes in Angular 1.2.0, so the update to the current release 0.0.4 of ui-select2 made the errors go away by setting a fixed priority.