From 75f11f1fc46c35a28c0905f7316ea6779145e2fb Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Tue, 16 Aug 2011 23:08:13 -0700 Subject: feat(ng:repeat) collection items and DOM elements affinity / stability --- CHANGELOG.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index 856731b2..cd5fb2b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -52,7 +52,10 @@ - If Angular is being used with jQuery older than 1.6, some features might not work properly. Please upgrade to jQuery version 1.6.4. - +## Breaking Changes +- ng:repeat no longer has ng:repeat-index property. This is because the elements now have + affinity to the underlying collection, and moving items around in the collection would move + ng:repeat-index property rendering it meaningless. @@ -88,7 +91,7 @@ - $location.hashPath -> $location.path() - $location.hashSearch -> $location.search() - $location.search -> no equivalent, use $window.location.search (this is so that we can work in - hashBang and html5 mode at the same time, check out the docs) + hashBang and html5 mode at the same time, check out the docs) - $location.update() / $location.updateHash() -> use $location.url() - n/a -> $location.replace() - new api for replacing history record instead of creating a new one -- cgit v1.2.3