Skip to content

Commit d15cea4

Browse files
author
Erin Altenhof-Long
committed
docs(CHANGELOG): add v1.3.0-beta.15 and v1.2.20 changes
1 parent 363fb4f commit d15cea4

File tree

1 file changed

+162
-0
lines changed

1 file changed

+162
-0
lines changed

CHANGELOG.md

+162
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,165 @@
1+
2+
<a name="1.3.0-beta.15"></a>
3+
# 1.3.0-beta.15 unbelievable-advancement (2014-07-11)
4+
5+
6+
## Bug Fixes
7+
8+
- **$animate:**
9+
- ensure that parallel class-based animations are all eventually closed
10+
([f07af61f](https://github.com/angular/angular.js/commit/f07af61f050fcdcece15c13ee8c6a6d32f86d3a1),
11+
[#7766](https://github.com/angular/angular.js/issues/7766))
12+
- remove the ng-animate className after canceling animation
13+
([e18db78d](https://github.com/angular/angular.js/commit/e18db78d7793b1e94d9b19ac15b89d39f21a5729),
14+
[#7784](https://github.com/angular/angular.js/issues/7784), [#7801](https://github.com/angular/angular.js/issues/7801), [#7894](https://github.com/angular/angular.js/issues/7894))
15+
- **$http:**
16+
- don't remove content-type header if data is set by request transform
17+
([c7c363cf](https://github.com/angular/angular.js/commit/c7c363cf8d4533f94c5534c83dd1c7135633ddd8),
18+
[#7910](https://github.com/angular/angular.js/issues/7910))
19+
- add ability to remove default headers
20+
([172a4093](https://github.com/angular/angular.js/commit/172a40931be5fe47e7732e5ba173895a1d59c5cd),
21+
[#5784](https://github.com/angular/angular.js/issues/5784))
22+
- **$location:** remove query args when passed in object
23+
([2c7d0857](https://github.com/angular/angular.js/commit/2c7d0857ccbdb3a0967acc20e4346a7e1a6be792),
24+
[#6565](https://github.com/angular/angular.js/issues/6565))
25+
- **input:**
26+
- escape forward slash in email regexp
27+
([a88c215f](https://github.com/angular/angular.js/commit/a88c215f17829c1cfdec36bc1ef40bae10c41dff),
28+
[#8096](https://github.com/angular/angular.js/issues/8096))
29+
- modify email validation regexp to match rfc1035
30+
([af6f943a](https://github.com/angular/angular.js/commit/af6f943a22f26cf2968f0ae3a1fab2fd09b52a2b),
31+
[#6026](https://github.com/angular/angular.js/issues/6026))
32+
- **jqLite:**
33+
- correctly dealoc svg elements in IE
34+
([012ab1f8](https://github.com/angular/angular.js/commit/012ab1f8745c8985d3f132c2dfa8fd84e7dc7041))
35+
- remove exposed dealoc method
36+
([9c5b407f](https://github.com/angular/angular.js/commit/9c5b407fd1e296dd525c129743f2b2b47da4dc0d))
37+
- **ngModel:** test & update correct model when running $validate
38+
([f3cb2741](https://github.com/angular/angular.js/commit/f3cb2741161353f387d02725637ce4ba062a9bc0),
39+
[#7836](https://github.com/angular/angular.js/issues/7836), [#7837](https://github.com/angular/angular.js/issues/7837))
40+
- **parseKeyValue:** ignore properties in prototype chain
41+
([cb42766a](https://github.com/angular/angular.js/commit/cb42766a14f8123aa288b6e20f879141970fb84d),
42+
[#8070](https://github.com/angular/angular.js/issues/8070), [#8068](https://github.com/angular/angular.js/issues/8068))
43+
- **select:** auto-select new option that is marked as selected
44+
([b8ae73e1](https://github.com/angular/angular.js/commit/b8ae73e17c19d9aebf572a75c05a7d981dcac807),
45+
[#6828](https://github.com/angular/angular.js/issues/6828))
46+
47+
48+
## Features
49+
50+
- **$animate:** allow directives to cancel animation events
51+
([ca752790](https://github.com/angular/angular.js/commit/ca752790d95480b7ad1125a7ddb52b726b987a24),
52+
[#7722](https://github.com/angular/angular.js/issues/7722))
53+
- **$controller:** disable using global controller constructors
54+
([3f2232b5](https://github.com/angular/angular.js/commit/3f2232b5a181512fac23775b1df4a6ebda67d018))
55+
- **FormController:** add `$rollbackViewValue` to rollback all controls
56+
([85b77314](https://github.com/angular/angular.js/commit/85b77314ed8e4b45d7365a24a47349ed94672aeb),
57+
[#7595](https://github.com/angular/angular.js/issues/7595))
58+
- **input:** support constant expressions for ngTrueValue/ngFalseValue
59+
([c90cefe1](https://github.com/angular/angular.js/commit/c90cefe16142d973a123e945fc9058e8a874c357),
60+
[#8041](https://github.com/angular/angular.js/issues/8041), [#5346](https://github.com/angular/angular.js/issues/5346), [#1199](https://github.com/angular/angular.js/issues/1199))
61+
- **ngAnimate:** conditionally allow child animations to run in parallel with parent animations
62+
([8252b8be](https://github.com/angular/angular.js/commit/8252b8be946367f1759065adf528adc908da00a2),
63+
[#7946](https://github.com/angular/angular.js/issues/7946))
64+
- **ngModel:** bind to getters/setters
65+
([b9fcf017](https://github.com/angular/angular.js/commit/b9fcf017316d37e91959949f56692644ce09d54a),
66+
[#768](https://github.com/angular/angular.js/issues/768))
67+
68+
69+
## Performance Improvements
70+
71+
- **$compile:** no longer need nodeType filter when setting $scope data
72+
([b0ca5195](https://github.com/angular/angular.js/commit/b0ca5195e88a42611e933c49d7d2768b181b2d1b),
73+
[#7887](https://github.com/angular/angular.js/issues/7887))
74+
75+
76+
## Breaking Changes
77+
78+
- **$controller:** due to [3f2232b5](https://github.com/angular/angular.js/commit/3f2232b5a181512fac23775b1df4a6ebda67d018),
79+
80+
`$controller` will no longer look for controllers on `window`.
81+
The old behavior of looking on `window` for controllers was originally intended
82+
for use in examples, demos, and toy apps. We found that allowing global controller
83+
functions encouraged poor practices, so we resolved to disable this behavior by
84+
default.
85+
86+
To migrate, register your controllers with modules rather than exposing them
87+
as globals:
88+
89+
Before:
90+
91+
```javascript
92+
function MyController() {
93+
// ...
94+
}
95+
```
96+
97+
After:
98+
99+
```javascript
100+
angular.module('myApp', []).controller('MyController', [function() {
101+
// ...
102+
}]);
103+
```
104+
105+
Although it's not recommended, you can re-enable the old behavior like this:
106+
107+
```javascript
108+
angular.module('myModule').config(['$controllerProvider', function($controllerProvider) {
109+
// this option might be handy for migrating old apps, but please don't use it
110+
// in new ones!
111+
$controllerProvider.allowGlobals();
112+
}]);
113+
```
114+
- **input:** due to [c90cefe1](https://github.com/angular/angular.js/commit/c90cefe16142d973a123e945fc9058e8a874c357),
115+
116+
117+
Previously, these attributes would always be treated as strings. However, they are now parsed as
118+
expressions, and will throw if an expression is non-constant.
119+
120+
To convert non-constant strings into constant expressions, simply wrap them in an extra pair of quotes, like so:
121+
122+
<input type="checkbox" ng-model="..." ng-true-value="'truthyValue'">
123+
124+
Closes #8041
125+
Closes #5346
126+
Closes #1199
127+
128+
<a name="1.2.20"></a>
129+
# 1.2.20 accidental-beautification (2014-07-11)
130+
131+
132+
## Bug Fixes
133+
134+
- **$http:**
135+
- don't remove content-type header if data is set by request transform
136+
([7027844d](https://github.com/angular/angular.js/commit/7027844d42cd428cb799f38f9e9b303da013ac4f),
137+
[#7910](https://github.com/angular/angular.js/issues/7910))
138+
- add ability to remove default headers
139+
([172a4093](https://github.com/angular/angular.js/commit/172a40931be5fe47e7732e5ba173895a1d59c5cd),
140+
[#5784](https://github.com/angular/angular.js/issues/5784))
141+
- **$location:** remove query args when passed in object
142+
([a26acb64](https://github.com/angular/angular.js/commit/a26acb64fe2ed3e05bf21ac1c058d6ac59b89870),
143+
[#6565](https://github.com/angular/angular.js/issues/6565))
144+
- **input:**
145+
- escape forward slash in email regexp
146+
([da0e3c99](https://github.com/angular/angular.js/commit/da0e3c99f51c196f58758841d4d8492a9fa09e20),
147+
[#8096](https://github.com/angular/angular.js/issues/8096))
148+
- modify email validation regexp to match rfc1035
149+
([816b8423](https://github.com/angular/angular.js/commit/816b84230cdd8273ba19e8dec3b6f2e800f76612),
150+
[#6026](https://github.com/angular/angular.js/issues/6026))
151+
- **parseKeyValue:** ignore properties in prototype chain
152+
([873acf8f](https://github.com/angular/angular.js/commit/873acf8fab3eb41914920259e713e1916e3c4f38),
153+
[#8070](https://github.com/angular/angular.js/issues/8070), [#8068](https://github.com/angular/angular.js/issues/8068))
154+
155+
156+
## Features
157+
158+
- **ngAnimate:** conditionally allow child animations to run in parallel with parent animations
159+
([931789ec](https://github.com/angular/angular.js/commit/931789ec1476e1d06739e63cb423eb87172b5ebc),
160+
[#7946](https://github.com/angular/angular.js/issues/7946))
161+
162+
1163
<a name="1.3.0-beta.14"></a>
2164
# 1.3.0-beta.14 harmonious-cacophonies (2014-06-30)
3165

0 commit comments

Comments
 (0)