Skip to content

Commit d604d94

Browse files
docs(CHANGELOG): add info about $parse breaking change in 1.3.3
Closes angular#10054
1 parent dc9775d commit d604d94

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@
4343
([8eabc546](https://github.com/angular/angular.js/commit/8eabc5463c795d87f37e5a9eacbbb14435024061),
4444
[#9942](https://github.com/angular/angular.js/issues/9942))
4545

46+
## Breaking Changes
4647

48+
- **$parse:** due to [fbad2805](https://github.com/angular/angular.js/commit/fbad2805703569058a4a860747b0e2d8aee36bdf),
49+
you can't use characters that have special meaning in AngularJS expressions (ex.: `.` or `-`)
50+
as part of filter's name. Before this commit custom filters could contain special characters
51+
(like a dot) in their name but this wasn't intentional.
4752

4853
<a name="1.3.2"></a>
4954
# 1.3.2 cardiovasculatory-magnification (2014-11-07)

docs/content/guide/filter.ngdoc

+5
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ The filter function should be a [pure function](http://en.wikipedia.org/wiki/Pur
9191
means that it should be stateless and idempotent. Angular relies on these properties and executes
9292
the filter only when the inputs to the function change.
9393

94+
<div class="alert alert-warning">
95+
**Note:** filter names must be valid angular expression identifiers, such as `uppercase` or `orderBy`.
96+
Names with special characters, such as hyphens and dots, are not allowed.
97+
</div>
98+
9499
The following sample filter reverses a text string. In addition, it conditionally makes the
95100
text upper-case.
96101

0 commit comments

Comments
 (0)