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

Commit ff923a5

Browse files
committed
docs(changelog): release notes for 1.2.0-rc.3
1 parent 0d63ad5 commit ff923a5

File tree

1 file changed

+276
-0
lines changed

1 file changed

+276
-0
lines changed

CHANGELOG.md

+276
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,279 @@
1+
<a name="1.2.0-rc.3"></a>
2+
# 1.2.0-rc.3 ferocious-twitch (2013-10-14)
3+
4+
5+
## Features
6+
7+
- **$interval:** add a service wrapping setInterval
8+
([2b5ce84f](https://github.com/angular/angular.js/commit/2b5ce84fca7b41fca24707e163ec6af84bc12e83))
9+
- **$sce:** simpler patterns for `$sceDelegateProviders` white/blacklists
10+
([93ce5923](https://github.com/angular/angular.js/commit/93ce5923e92f6d2db831d8715ec62734821c70ce),
11+
[#4006](https://github.com/angular/angular.js/issues/4006))
12+
- **$filter:** allow map of filters to be registered
13+
([4033cf28](https://github.com/angular/angular.js/commit/4033cf28142664c52aa7b4bc95340ac913397ac8),
14+
[#4036](https://github.com/angular/angular.js/issues/4036),
15+
[#4091](https://github.com/angular/angular.js/issues/4091))
16+
- **$compile:** support `tel:` links in `a[href]`
17+
([e7730297](https://github.com/angular/angular.js/commit/e773029717f11d727af609a139b173a135c79eab))
18+
19+
- **Directives:**
20+
- **ngRepeat:** support repeating over `ngInclude` and other directives that replace repeated nodes
21+
([9efa46ae](https://github.com/angular/angular.js/commit/9efa46ae640cde17487c341daa9a75c0bd79da02),
22+
[#3104](https://github.com/angular/angular.js/issues/3104))
23+
- **event directives:** add `ngCopy`, `ngCut`, and `ngPaste`
24+
([147c6929](https://github.com/angular/angular.js/commit/147c6929a264a7b077a5f2cfc5aa9a0b9513acd7),
25+
[#4172](https://github.com/angular/angular.js/issues/4172))
26+
27+
- **Misc:**
28+
- jQuery 1.10.x support
29+
([e0c134b8](https://github.com/angular/angular.js/commit/e0c134b8bfa282379daec6a7137512d58f956443),
30+
[#3764](https://github.com/angular/angular.js/issues/3764))
31+
- **minErr:** linkify error messages on minErr docs pages
32+
([6aaae062](https://github.com/angular/angular.js/commit/6aaae062171bfc8e5046c3eae99bc9d63037120a))
33+
- **tutorial:** add step 12 on animations to the phonecat tutorial
34+
([ad525645](https://github.com/angular/angular.js/commit/ad5256452bb8f1d481d78e7ae15a59d288f0d8e9))
35+
36+
37+
38+
## Bug Fixes
39+
40+
- **$compile:**
41+
- abort compilation when duplicate element transclusion
42+
([63c5334c](https://github.com/angular/angular.js/commit/63c5334c84b7269428c710226764d1f08a36e0d4),
43+
[#3893](https://github.com/angular/angular.js/issues/3893),
44+
[#4217](https://github.com/angular/angular.js/issues/4217),
45+
[#3307](https://github.com/angular/angular.js/issues/3307))
46+
- make order directives w/ same priority deterministic
47+
([4357da85](https://github.com/angular/angular.js/commit/4357da857587d3c28790e7dc654664bec5808768))
48+
- fix (reverse) directive postLink fn execution order
49+
([31f190d4](https://github.com/angular/angular.js/commit/31f190d4d53921d32253ba80d9ebe57d6c1de82b),
50+
[#3558](https://github.com/angular/angular.js/issues/3558))
51+
- don't terminate compilation for regular transclusion directives
52+
([fe214501](https://github.com/angular/angular.js/commit/fe2145016cb057c92f9f01b32c58b4d7259eb6ee))
53+
- ng-attr to support dash separated attribute names
54+
([8e6e3eba](https://github.com/angular/angular.js/commit/8e6e3ebad991eaf57a7885549ea3b91932d495c9))
55+
- allow interpolations for non-event handlers attrs
56+
([8e1276c0](https://github.com/angular/angular.js/commit/8e1276c011b33b90af47494dc5e76baf86468a5a))
57+
- link parents before traversing
58+
([742271ff](https://github.com/angular/angular.js/commit/742271ffa3a518d9e8ef2cb97c24b45b44e3378d),
59+
[#3792](https://github.com/angular/angular.js/issues/3792),
60+
[#3923](https://github.com/angular/angular.js/issues/3923),
61+
[#3935](https://github.com/angular/angular.js/issues/3935),
62+
[#3927](https://github.com/angular/angular.js/issues/3927))
63+
- collect ranges on multiple directives on one element
64+
([6a8edc1d](https://github.com/angular/angular.js/commit/6a8edc1d43aca7c5a92f86309b1bb1d5f9968442),
65+
[#4002](https://github.com/angular/angular.js/issues/4002))
66+
- **$parse:**
67+
- deprecate promise unwrapping and make it an opt-in
68+
([5dc35b52](https://github.com/angular/angular.js/commit/5dc35b527b3c99f6544b8cb52e93c6510d3ac577),
69+
[#4158](https://github.com/angular/angular.js/issues/4158),
70+
[#4270](https://github.com/angular/angular.js/issues/4270))
71+
- disallow access to window and dom in expressions
72+
([be0b4856](https://github.com/angular/angular.js/commit/be0b4856699334ff51bacf2d1fd3394663d6bd28))
73+
- **$httpBackend:**
74+
- set headers with falsy values
75+
([e9a22241](https://github.com/angular/angular.js/commit/e9a222418a029d830698444cf95bf13f8ad75805),
76+
[#2984](https://github.com/angular/angular.js/issues/2984))
77+
- don't send empty string bodies
78+
([0d0330ad](https://github.com/angular/angular.js/commit/0d0330adc24a68cd6891a030a56d3ce3bbced03c),
79+
[#2149](https://github.com/angular/angular.js/issues/2149))
80+
- **$location:**
81+
- prevent infinite digest error in IE7
82+
([d7071148](https://github.com/angular/angular.js/commit/d70711481e6311c9cd283d650f07ca0cca72ecc2),
83+
[#2802](https://github.com/angular/angular.js/issues/2802))
84+
- re-assign location after BFCache back
85+
([2ebf9316](https://github.com/angular/angular.js/commit/2ebf93163027abc55ba27f673be3b8dc1281c068),
86+
[#4044](https://github.com/angular/angular.js/issues/4044))
87+
- **$log:** prevent logging `undefined` for $log in IE
88+
([4ff1a650](https://github.com/angular/angular.js/commit/4ff1a65031e985bf930f6761c1ecf46e4db98d6e),
89+
[#1705](https://github.com/angular/angular.js/issues/1705))
90+
- **Scope:**
91+
- `$evalAsync` executes on the right scope
92+
([10cc1a42](https://github.com/angular/angular.js/commit/10cc1a42c925749f88433546d41d35ba07a88e6f))
93+
- make `stopPropagation` only stop its own event
94+
([47f7bd70](https://github.com/angular/angular.js/commit/47f7bd706efc5f2944d182e46c1b1d324298ff36),
95+
[#4204](https://github.com/angular/angular.js/issues/4204))
96+
97+
- **Filters:**
98+
- **date:** allow negative millisecond value strings
99+
([025c9219](https://github.com/angular/angular.js/commit/025c92190376414c15f15fd20a75b41489a4e70a))
100+
101+
- **Directives:**
102+
- correct priority of structural directives (ngRepeat, ngSwitchWhen, ngIf, ngInclude, ngView)
103+
([b7af76b4](https://github.com/angular/angular.js/commit/b7af76b4c5aa77648cc1bfd49935b48583419023))
104+
- **input:** `false` is no longer an empty value by default
105+
([b56b21a8](https://github.com/angular/angular.js/commit/b56b21a898b3c77589a48a290271f9dc181dafe8),
106+
[#3490](https://github.com/angular/angular.js/issues/3490))
107+
- **ngBindHtml:** watch string value instead of wrapper
108+
([e2068ad4](https://github.com/angular/angular.js/commit/e2068ad426075ac34c06c12e2fac5f594cc81969),
109+
[#3932](https://github.com/angular/angular.js/issues/3932))
110+
- **ngOptions:** ignore object properties which start with $
111+
([aa3c54c7](https://github.com/angular/angular.js/commit/aa3c54c73f7470999535294899a1c33cd193f455))
112+
- **ngRepeat:** correctly track elements even when the collection is initially undefined
113+
([31c56f54](https://github.com/angular/angular.js/commit/31c56f540045b5270f5b8e235873da855caf3486),
114+
[#4145](https://github.com/angular/angular.js/issues/4145),
115+
[#3964](https://github.com/angular/angular.js/issues/3964))
116+
- **ngTransclude:** detect ngTranslude usage without a transclusion directive
117+
([5a1a6b86](https://github.com/angular/angular.js/commit/5a1a6b86a8dbcd8aa4fe9c59fad8d005eead686c),
118+
[#3759](https://github.com/angular/angular.js/issues/3759))
119+
120+
121+
- **jqLite:**
122+
- ignore class methods on comment elements
123+
([64fd2c42](https://github.com/angular/angular.js/commit/64fd2c421ed582c16812d164a8a6f031b8e66287))
124+
- use get/setAttribute so that jqLite works on SVG nodes
125+
([c785267e](https://github.com/angular/angular.js/commit/c785267eb8780d8b7658ef93ebb5ebddd566294d),
126+
[#3858](https://github.com/angular/angular.js/issues/3858))
127+
128+
- **Misc:**
129+
- **isArrayLike:** correctly handle string primitives
130+
([5b8c7884](https://github.com/angular/angular.js/commit/5b8c78843e8d62a7a67cead8bf04c76aa8ee411d),
131+
[#3356](https://github.com/angular/angular.js/issues/3356))
132+
- protect calls to hasOwnProperty in public API
133+
([7a586e5c](https://github.com/angular/angular.js/commit/7a586e5c19f3d1ecc3fefef084ce992072ee7f60),
134+
[#3331](https://github.com/angular/angular.js/issues/3331))
135+
136+
- **ngRoute:**
137+
- **ngView:** IE8 regression due to expando on non-element nodes
138+
([255e8c13](https://github.com/angular/angular.js/commit/255e8c13cf0fd78f1c4d7c279be7bf47c2402956),
139+
[#3971](https://github.com/angular/angular.js/issues/3971))
140+
- **$route:** parametrized routes do not match against locations that would not valorize each parameters.
141+
([0ff86c32](https://github.com/angular/angular.js/commit/0ff86c323359fba1a60bacab178e3c68528f8e1f))
142+
143+
- **ngResource:**
144+
- pass transformed value to both callbacks and promises
145+
([e36e28eb](https://github.com/angular/angular.js/commit/e36e28ebd4a6c144e47d11fba8e211d8d5a9d03e),
146+
[#3817](https://github.com/angular/angular.js/issues/3817))
147+
- remove request body from $delete
148+
([8336b3a2](https://github.com/angular/angular.js/commit/8336b3a286f8469d4cd7c412c41ca8c1a31fecf0),
149+
[#4280](https://github.com/angular/angular.js/issues/4280))
150+
151+
- **ngSanitize:**
152+
- sanitize DOCTYPE declarations correctly
153+
([e66c23fe](https://github.com/angular/angular.js/commit/e66c23fe55f8571a014b0686c8dbca128e7a8240),
154+
[#3931](https://github.com/angular/angular.js/issues/3931))
155+
- sanitizer should not accept <!--> as a valid comment
156+
([21e9e8cf](https://github.com/angular/angular.js/commit/21e9e8cf68ef007136da6cc212d2f1f252fb668a))
157+
158+
- **ngTouch:**
159+
- ngClick does not pass touchend event when jQuery is loaded
160+
([9fd92cc3](https://github.com/angular/angular.js/commit/9fd92cc3c93a6378e8887fd46fd4ad182a375544))
161+
- add $event to ng-swipe
162+
([507d8021](https://github.com/angular/angular.js/commit/507d8021b1c91cc0cefc0418e61b04597ad1030b),
163+
[#4071](https://github.com/angular/angular.js/issues/4071),
164+
[#4321](https://github.com/angular/angular.js/issues/4321))
165+
166+
- **ngAnimate:**
167+
- ensure that a timeStamp is created if not provided by the browser event
168+
([cd216c4c](https://github.com/angular/angular.js/commit/cd216c4c30adfebb3ef633f18fab2d98e8c52ebc),
169+
[#3053](https://github.com/angular/angular.js/issues/3053))
170+
- perform internal caching on getComputedStyle to boost the performance of CSS3 transitions/animations
171+
([b1e604e3](https://github.com/angular/angular.js/commit/b1e604e38ceec1714174fb54cc91590a7fe99a92),
172+
[#4011](https://github.com/angular/angular.js/issues/4011),
173+
[#4124](https://github.com/angular/angular.js/issues/4124))
174+
- ensure structural animations skip all child animations even if no animation is present during compile
175+
([cc584607](https://github.com/angular/angular.js/commit/cc5846073e57ef190182026d7e5a8e2770d9b770),
176+
[#3215](https://github.com/angular/angular.js/issues/3215))
177+
- cancel any ongoing child animations during move and leave animations
178+
([3f31a7c7](https://github.com/angular/angular.js/commit/3f31a7c7691993893f0724076816f6558643bd91))
179+
- ensure elapsedTime always considers delay values
180+
([079dd939](https://github.com/angular/angular.js/commit/079dd93991ac79b5f9af6efb7fe2b3600195f10c))
181+
- ensure transition-property is not changed when only keyframe animations are in use
182+
([2df3c9f5](https://github.com/angular/angular.js/commit/2df3c9f58def9584455f7c4bfdabbd12aab58bf9),
183+
[#3933](https://github.com/angular/angular.js/issues/3933))
184+
- avoid completing the animation asynchronously unless CSS transtiions/animations are present
185+
([2a63dfa6](https://github.com/angular/angular.js/commit/2a63dfa6cc7889888f4296fff2944e74ff30b3af),
186+
[#4023](https://github.com/angular/angular.js/issues/4023),
187+
[#3940](https://github.com/angular/angular.js/issues/3940))
188+
- ensure that delays are always considered before an animation closes
189+
([0a63adce](https://github.com/angular/angular.js/commit/0a63adce687d28ada90ea930d5e69883cc11cba5),
190+
[#4028](https://github.com/angular/angular.js/issues/4028))
191+
- check elapsedTime on current event
192+
([d50ed6bf](https://github.com/angular/angular.js/commit/d50ed6bfb8c4982401923ff535fe932ef4f387a2))
193+
- support addClass/removeClass animations on SVG nodes
194+
([c785267e](https://github.com/angular/angular.js/commit/c785267eb8780d8b7658ef93ebb5ebddd566294d),
195+
[#3858](https://github.com/angular/angular.js/issues/3858))
196+
197+
- **ngScenario:**
198+
- remove redundant assignment
199+
([a80e96ce](https://github.com/angular/angular.js/commit/a80e96cea184b392505f0a292785a5c66d45e165),
200+
[#4315](https://github.com/angular/angular.js/issues/4315))
201+
- fix error message description
202+
([f8f8f754](https://github.com/angular/angular.js/commit/f8f8f754b02459bb789247476cc0da63d2d7370f))
203+
- provide event parameters as object
204+
([28f56a38](https://github.com/angular/angular.js/commit/28f56a383e9d1ff378e3568a3039e941c7ffb1d8))
205+
- include "not " in error messages if test is inverted
206+
([3589f178](https://github.com/angular/angular.js/commit/3589f17824376e9db4e8d002caeb4483943eeb18),
207+
[#3840](https://github.com/angular/angular.js/issues/3840))
208+
209+
210+
## Breaking Changes
211+
212+
- **$compile:** due to [31f190d4](https://github.com/angular/angular.js/commit/31f190d4d53921d32253ba80d9ebe57d6c1de82b),
213+
the order of postLink fn is now mirror opposite of the order in which corresponding preLinking and compile functions execute.
214+
215+
Previously the compile/link fns executed in this order controlled via priority:
216+
217+
- CompilePriorityHigh, CompilePriorityMedium, CompilePriorityLow
218+
- compile child nodes
219+
- PreLinkPriorityHigh, PreLinkPriorityMedium, PreLinkPriorityLow
220+
- link child nodes
221+
- PostLinkPriorityHigh, PostLinkPriorityMedium, PostLinkPriorityLow
222+
223+
This was changed to:
224+
225+
- CompilePriorityHigh, CompilePriorityMedium, CompilePriorityLow
226+
- compile child nodes
227+
- PreLinkPriorityHigh, PreLinkPriorityMedium, PreLinkPriorityLow
228+
- link child nodes
229+
- PostLinkPriorityLow, PostLinkPriorityMedium , PostLinkPriorityHigh
230+
231+
Very few directives in practice rely on order of postLinking function (unlike on the order of compile functions), so
232+
in the rare case of this change affecting an existing directive, it might be necessary to convert it to a preLinking
233+
function or give it negative priority (look at the diff of this commit to see how an internal attribute interpolation
234+
directive was adjusted).
235+
236+
- **$parse:**
237+
- due to [5dc35b52](https://github.com/angular/angular.js/commit/5dc35b527b3c99f6544b8cb52e93c6510d3ac577),
238+
$parse and templates in general will no longer automatically unwrap promises. This feature has been deprecated and if absolutely needed, it can be reenabled during transitional period via `$parseProvider.unwrapPromises(true)` api.
239+
- due to [b6a37d11](https://github.com/angular/angular.js/commit/b6a37d112b3e1478f4d14a5f82faabf700443748),
240+
feature added in rc.2 that unwraps return values from functions if the values are promises (if promise unwrapping is enabled - see previous point), was reverted due to breaking a popular usage pattern.
241+
242+
- **directives:** due to [b7af76b4](https://github.com/angular/angular.js/commit/b7af76b4c5aa77648cc1bfd49935b48583419023),
243+
the priority of ngRepeat, ngSwitchWhen, ngIf, ngInclude and ngView has changed. This could affect directives that explicitly specify their priority.
244+
245+
In order to make ngRepeat, ngSwitchWhen, ngIf, ngInclude and ngView work together in all common scenarios their directives are being adjusted to achieve the following precendence:
246+
247+
```
248+
Directive | Old Priority | New Priority
249+
=============================================
250+
ngRepeat | 1000 | 1000
251+
---------------------------------------------
252+
ngSwitchWhen | 500 | 800
253+
---------------------------------------------
254+
ngIf | 1000 | 600
255+
---------------------------------------------
256+
ngInclude/ngView | 1000 | 400
257+
```
258+
259+
- **form/ngForm** due to [7a586e5c](https://github.com/angular/angular.js/commit/7a586e5c19f3d1ecc3fefef084ce992072ee7f60),
260+
Inputs with name equal to "hasOwnProperty" are not allowed inside form or ngForm directives.
261+
262+
Before, inputs whose name was "hasOwnProperty" were quietly ignored and not added to the scope. Now a badname exception is thrown.
263+
264+
Using "hasOwnProperty" for an input name would be very unusual and bad practice.
265+
266+
Either do not include such an input in a `form` or `ngForm` directive or change the name of the input.
267+
268+
269+
- **ngScenario:** due to [28f56a38](https://github.com/angular/angular.js/commit/28f56a383e9d1ff378e3568a3039e941c7ffb1d8),
270+
browserTrigger now uses an eventData object instead of direct parameters for mouse events.
271+
To migrate, place the `keys`,`x` and `y` parameters inside of an object and place that as the third parameter for the browserTrigger function.
272+
273+
274+
275+
276+
1277
<a name="1.2.0-rc.2"></a>
2278
# 1.2.0-rc.2 barehand-atomsplitting (2013-09-04)
3279

0 commit comments

Comments
 (0)