Skip to content

Commit 3a142e7

Browse files
committed
docs(changelog.md): update changelog for 1.3.0-rc.4 and 1.2.26
1 parent b40130a commit 3a142e7

File tree

1 file changed

+125
-0
lines changed

1 file changed

+125
-0
lines changed

CHANGELOG.md

+125
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,128 @@
1+
<a name="1.3.0-rc.4"></a>
2+
# 1.3.0-rc.4 unicorn-hydrafication (2014-10-01)
3+
4+
5+
## Bug Fixes
6+
7+
- **$compile:**
8+
- get $$observe listeners array as own property
9+
([a27d827c](https://github.com/angular/angular.js/commit/a27d827c22b0b6b3ba6b7495cf4fc338c6934b37),
10+
[#9343](https://github.com/angular/angular.js/issues/9343), [#9345](https://github.com/angular/angular.js/issues/9345))
11+
- Resolve leak with asynchronous compilation
12+
([6303c3dc](https://github.com/angular/angular.js/commit/6303c3dcf64685458fc84aa12289f5c9d57f4e47),
13+
[#9199](https://github.com/angular/angular.js/issues/9199), [#9079](https://github.com/angular/angular.js/issues/9079), [#8504](https://github.com/angular/angular.js/issues/8504), [#9197](https://github.com/angular/angular.js/issues/9197))
14+
- connect transclude scopes to their containing scope to prevent memory leaks
15+
([fb0c77f0](https://github.com/angular/angular.js/commit/fb0c77f0b66ed757a56af13f81b943419fdcbd7f),
16+
[#9095](https://github.com/angular/angular.js/issues/9095), [#9281](https://github.com/angular/angular.js/issues/9281))
17+
- sanitize srcset attribute
18+
([ab80cd90](https://github.com/angular/angular.js/commit/ab80cd90661396dbb1c94c5f4dd2d11ee8f6b6af))
19+
- **input:**
20+
- register builtin parsers/formatters before anyone else
21+
([10644432](https://github.com/angular/angular.js/commit/10644432ca9d5da69ce790a8d9e691640f333711),
22+
[#9218](https://github.com/angular/angular.js/issues/9218), [#9358](https://github.com/angular/angular.js/issues/9358))
23+
- correctly handle invalid model values for `input[date/time/…]`
24+
([a0bfdd0d](https://github.com/angular/angular.js/commit/a0bfdd0d60882125f614a91c321f12f730735e7b),
25+
[#8949](https://github.com/angular/angular.js/issues/8949), [#9375](https://github.com/angular/angular.js/issues/9375))
26+
- **ngModel:** do not parse undefined viewValue when validating
27+
([92f05e5a](https://github.com/angular/angular.js/commit/92f05e5a5900713301e64373d7b7daa45a88278b),
28+
[#9106](https://github.com/angular/angular.js/issues/9106), [#9260](https://github.com/angular/angular.js/issues/9260))
29+
- **ngView:** use animation promises ensure that only one leave animation occurs at a time
30+
([3624e380](https://github.com/angular/angular.js/commit/3624e3800fb3ccd2e9ea361a763e20131fd42c29),
31+
[#9355](https://github.com/angular/angular.js/issues/9355), [#7606](https://github.com/angular/angular.js/issues/7606), [#9374](https://github.com/angular/angular.js/issues/9374))
32+
- **select:** make ctrl.hasOption method consistent
33+
([2bcd02dc](https://github.com/angular/angular.js/commit/2bcd02dc1a6b28b357d47c83be3bed5c9a38417c),
34+
[#8761](https://github.com/angular/angular.js/issues/8761))
35+
36+
37+
## Features
38+
39+
- **$compile:** optionally get controllers from ancestors only
40+
([07e3abc7](https://github.com/angular/angular.js/commit/07e3abc7dda872adc3fb25cb3e133f86f494b35d),
41+
[#4518](https://github.com/angular/angular.js/issues/4518), [#4540](https://github.com/angular/angular.js/issues/4540), [#8240](https://github.com/angular/angular.js/issues/8240), [#8511](https://github.com/angular/angular.js/issues/8511))
42+
- **Scope:** allow the parent of a new scope to be specified on creation
43+
([6417a3e9](https://github.com/angular/angular.js/commit/6417a3e9eb7ab0011cefada8db855aa929a64ff8))
44+
45+
46+
## Performance Improvements
47+
48+
- **$rootScope:** moving internal queues out of the Scope instances
49+
([b1192518](https://github.com/angular/angular.js/commit/b119251827cea670051198e1b48af7ee0c9f2a1b),
50+
[#9071](https://github.com/angular/angular.js/issues/9071))
51+
- **benchmark:** add ngBindOnce benchmarks to largetable-bp
52+
([2c8b4648](https://github.com/angular/angular.js/commit/2c8b4648526acf5c2645de8408a6d9ace2144b5f))
53+
- **ngForm,ngModel:** move initial addClass to the compile phase
54+
([b1ee5386](https://github.com/angular/angular.js/commit/b1ee5386d584f208bce6d3b613afdb3bae9df76a),
55+
[#8268](https://github.com/angular/angular.js/issues/8268))
56+
57+
58+
## Breaking Changes
59+
60+
- **$compile:** due to [fb0c77f0](https://github.com/angular/angular.js/commit/fb0c77f0b66ed757a56af13f81b943419fdcbd7f),
61+
62+
63+
`$transclude` functions no longer attach `$destroy` event handlers to the
64+
transcluded content, and so the associated transclude scope will not automatically
65+
be destroyed if you remove a transcluded element from the DOM using direct DOM
66+
manipulation such as the jquery `remove()` method.
67+
68+
If you want to explicitly remove DOM elements inside your directive that have
69+
been compiled, and so potentially contain child (and transcluded) scopes, then
70+
it is your responsibility to get hold of the scope and destroy it at the same time.
71+
72+
The suggested approach is to create a new child scope of your own around any DOM
73+
elements that you wish to manipulate in this way and destroy those scopes if you
74+
remove their contents - any child scopes will then be destroyed and cleaned up
75+
automatically.
76+
77+
Note that all the built-in directives that manipulate the DOM (ngIf, ngRepeat,
78+
ngSwitch, etc) already follow this best practice, so if you only use these for
79+
manipulating the DOM then you do not have to worry about this change.
80+
81+
Closes #9095
82+
Closes #9281
83+
84+
- **$parse:** due to [5572b40b](https://github.com/angular/angular.js/commit/5572b40b15ed06969c8e0e92866c5afd088484b4),
85+
86+
- $scope['this'] no longer exits on the $scope object
87+
- $parse-ed expressions no longer allow chaining 'this' such as this['this'] or $parent['this']
88+
- 'this' in $parse-ed expressions can no longer be overriden, if a variable named 'this' is put on the scope it must be accessed using this['this']
89+
90+
Closes #9105
91+
92+
- **input:** due to [1eda1836](https://github.com/angular/angular.js/commit/1eda18365a348c9597aafba9d195d345e4f13d1e),
93+
94+
(Note: this change landed in 1.3.0-rc.3, but was not considered a breaking change at the time).
95+
96+
For text based inputs (text, email, url), the `$viewValue` will now always be converted to a string,
97+
regardless of what type the value is on the model.
98+
99+
To migrate, any code or expressions that expect the `$viewValue` to be anything other than string
100+
should be updated to expect a string.
101+
102+
103+
- **input:** due to a0bfdd0d60882125f614a91c321f12f730735e7b (see #8949),
104+
105+
Similar to `input[number]` Angular will now throw if the model value
106+
for a `input[date]` is not a `Date` object. Previously, Angular only
107+
showed an empty string instead.
108+
Angular does not set validation errors on the `<input>` in this case
109+
as those errors are shown to the user, but the erroneous state was
110+
caused by incorrect application logic and not by the user.
111+
112+
<a name="1.2.26"></a>
113+
# 1.2.26 zucchini-expansion (2014-10-01)
114+
115+
## Bug Fixes
116+
117+
118+
- **$compile:** Resolve leak with asynchronous compilation
119+
([5c9c1973](https://github.com/angular/angular.js/commit/5c9c19730526d5df6f16c523e578e5305f3796d0),
120+
[#9199](https://github.com/angular/angular.js/issues/9199), [#9079](https://github.com/angular/angular.js/issues/9079), [#8504](https://github.com/angular/angular.js/issues/8504), [#9197](https://github.com/angular/angular.js/issues/9197))
121+
- **select:** make ctrl.hasOption method consistent
122+
([11d2242d](https://github.com/angular/angular.js/commit/11d2242df65b2ade0dabe366a0c42963b6d37df5),
123+
[#8761](https://github.com/angular/angular.js/issues/8761))
124+
125+
1126
<a name="1.3.0-rc.3"></a>
2127
# 1.3.0-rc.3 aggressive-pacification (2014-09-23)
3128

0 commit comments

Comments
 (0)