Skip to content

Commit 2d48733

Browse files
committed
docs(changelog): release notes for 1.0.0rc11 promise-resolution
1 parent d37d595 commit 2d48733

File tree

1 file changed

+89
-0
lines changed

1 file changed

+89
-0
lines changed

CHANGELOG.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,92 @@
1+
<a name="1.0.0rc11"></a>
2+
# 1.0.0rc11 promise-resolution (2012-06-10)
3+
4+
## Features
5+
6+
- **$route:**
7+
- allow defining route async dependencies as promises and defer route change until all promises
8+
are resolved
9+
([885fb0dd](https://github.com/angular/angular.js/commit/885fb0dd0743859a8985c23e4d0c1855a2be711e))
10+
- rename template -> tempalteUrl and add support for inline templates
11+
([0a6e464a](https://github.com/angular/angular.js/commit/0a6e464a93d9a1e76a624b356054ce9ca4015f55))
12+
- **$compile:** simplify isolate scope bindings and introduce true two-way data-binding between
13+
parent scope and isolate scope
14+
([c3a41ff9](https://github.com/angular/angular.js/commit/c3a41ff9fefe894663c4d4f40a83794521deb14f))
15+
- **$injector:** provide API for retrieving function annotations
16+
([4361efb0](https://github.com/angular/angular.js/commit/4361efb03b79e71bf0cea92b94ff377ed718bad4))
17+
- **$location:** add $locatonChange[start|success] event - since events are cancelable, it's now
18+
possible to cancel route and location changes.
19+
([92a2e180](https://github.com/angular/angular.js/commit/92a2e1807657c69e1372106b0727675a30f4cbd7))
20+
- **$rootElement:** expose application root element as $rootElement service
21+
([85632cb4](https://github.com/angular/angular.js/commit/85632cb44c95617d73c369f3a03fb476a4d5c8a2))
22+
23+
24+
## Bug Fixes
25+
26+
- **$compile:** correctly merge class attr for replace directives (contributed by Max Martinsson,
27+
[fb99b539](https://github.com/angular/angular.js/commit/fb99b539b4d851773b43f1564f7032adb157c0db),
28+
[#1006](https://github.com/angular/angular.js/issues/1006))
29+
- **$http:** add utf-8 to default Content-Type header (post/put)
30+
([10f80d7d](https://github.com/angular/angular.js/commit/10f80d7d2918f98262090b425ecc294d9518aa7e))
31+
- **$timeout:** allow calling $timeout.cancel() with undefined (contributed by Ali Mills,
32+
[1904596e](https://github.com/angular/angular.js/commit/1904596e0c2330299e92f092bd7a6ceca8e97c30))
33+
- **jqLite:** don't eat event exceptions
34+
([416a7830](https://github.com/angular/angular.js/commit/416a7830403a579cc57cf3a0198193790dcd0bc6))
35+
36+
37+
## Breaking Changes
38+
39+
- **$beforeRouteChange and $routeChangeStart events were renamed to $afterRouteChange and
40+
$routeChangeSuccess**
41+
42+
This was done to make the naming consistent with $location events and also get events to
43+
categorize and order nicely just by alphabetical sorting.
44+
45+
([7c242821](https://github.com/angular/angular.js/commit/7c2428218893f59c6a4499667488009ca67f3385))
46+
47+
48+
- **`template` option in $route definition was renamed to `templateUrl`**
49+
50+
The `template` options in $route definition now represents the actual template string. To provide
51+
the template url use `templateUrl` option instead. This was done to unify the directive and $route
52+
definitions.
53+
54+
To migrate just rename `template` to `templateUrl`.
55+
([0a6e464a](https://github.com/angular/angular.js/commit/0a6e464a93d9a1e76a624b356054ce9ca4015f55))
56+
57+
58+
- **isolate scope bindings definition has changed**
59+
60+
To migrate the code follow the example below:
61+
62+
Before:
63+
64+
scope: {
65+
myAttr: 'attribute',
66+
myBind: 'bind',
67+
myExpression: 'expression',
68+
myEval: 'evaluate',
69+
myAccessor: 'accessor'
70+
}
71+
72+
After:
73+
74+
scope: {
75+
myAttr: '@',
76+
myBind: '@',
77+
myExpression: '&',
78+
// myEval - usually not useful, but in cases where the expression is assignable, you can use '='
79+
myAccessor: '=' // in directive's template change myAccessor() to myAccessor
80+
}
81+
82+
83+
- **the inject option for the directive controller injection was removed**
84+
85+
The removed `inject` wasn't generally useful for directives so there should be no code using it.
86+
([c3a41ff9](https://github.com/angular/angular.js/commit/c3a41ff9fefe894663c4d4f40a83794521deb14f))
87+
88+
89+
190
<a name="1.0.0rc10"></a>
291
# 1.0.0rc10 tesseract-giftwrapping (2012-05-23)
392

0 commit comments

Comments
 (0)