17
17
- strip off empty hash segments when comparing
18
18
([e93710fe](https://github.com/angular/angular.js/commit/e93710fe0e4fb05ceee59a04f290692a5bec5d20),
19
19
[#9635](https://github.com/angular/angular.js/issues/9635))
20
- - ** $parse:**
20
+ - **$parse:**
21
21
- fix operators associativity
22
22
([ed1243ff](https://github.com/angular/angular.js/commit/ed1243ffc7c2cb4bd5b4dece597597db8eb08e34))
23
23
- follow JavaScript context for unbound functions
81
81
## Breaking Changes
82
82
83
83
- **$location:** due to [2dc34a96](https://github.com/angular/angular.js/commit/2dc34a969956eea680be4c8d9f800556d110996a),
84
-
84
+
85
85
86
86
We no longer throw an `ihshprfx` error if the URL after the base path
87
87
contains only a hash fragment. Previously, if the base URL was `http://abc.com/base/`
@@ -96,6 +96,34 @@ and hashPrfix are set up as above, then `http://abc.com/base/other/path` does no
96
96
throw an error but just ignores the extra path: `http://abc.com/base`.
97
97
98
98
99
+ - **filterFilter:** due to [a75537d4](https://github.com/angular/angular.js/commit/a75537d461c92e3455e372ff5005bf0cad2d2e95),
100
+
101
+ Named properties in the expression object will only match against properties on the **same level**.
102
+ Previously, named string properties would match against properties on the same level **or deeper**.
103
+
104
+ Before:
105
+
106
+ ```js
107
+ arr = filterFilter([{level1: {level2: 'test'}}], {level1: 'test'}); // arr.length -> 1
108
+ ```
109
+
110
+ After:
111
+
112
+ ```js
113
+ arr = filterFilter([{level1: {level2: 'test'}}], {level1: 'test'}); // arr.length -> 0
114
+ ```
115
+
116
+ In order to match deeper nested properties, you have to either match the depth level of the
117
+ property or use the special `$` key (which still matches properties on the same level
118
+ **or deeper**). E.g.:
119
+
120
+ ```js
121
+ // Both examples below have `arr.length === 1`
122
+ arr = filterFilter([{level1: {level2: 'test'}}], {level1: {level2: 'test'}});
123
+ arr = filterFilter([{level1: {level2: 'test'}}], {$: 'test'});
124
+ ```
125
+
126
+
99
127
<a name="1.3.5"></a>
100
128
# 1.3.5 cybernetic-mercantilism (2014-12-01)
101
129
0 commit comments