Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit fb39e32

Browse files
committed
docs(CHANGELOG.md): add upcoming breaking change
1 parent d1318f7 commit fb39e32

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
# NOTICE: Pending Breaking Change
2+
3+
The next 1.3.0 release candidate (1.3.0-rc.2) will contain a perf-related change that is likely to
4+
introduce breakages in some applications. The change will affect filters and function call
5+
expressions, and will not call the function if the variables passed to the function are primitive
6+
values and have not changed since the last digest loop.
7+
8+
Example:
9+
10+
```html
11+
//date filter would only be called if the 'timeCreated' property has changed
12+
<span ng-bind="timeCreated|date"></span>
13+
14+
//custom filter would break if depends on data changed by user other than 'cost'
15+
<span ng-bind="cost|i18nLocalizer">
16+
```
17+
18+
119
<a name="1.3.0-rc.1"></a>
220
# 1.3.0-rc.1 backyard-atomicity (2014-09-09)
321

0 commit comments

Comments
 (0)