1
+ - The Latest Stable Release: <a href =" #0.9.19 " >0.9.19 canine-psychokinesis</a >
2
+ - The Latest Unstable Release: <a href =" #0.10.0 " >0.10.0 chicken-hands</a >
3
+
4
+
1
5
<a name =" 0.10.0 " ><a />
2
- # 0.10.0 chicken-hands (in-progress) #
6
+ # 0.10.0 chicken-hands (2011-09-02) #
7
+
8
+ ## Features:
9
+
10
+ - complete rewrite of the Scope implementation with several API and semantic changes. Please see:
11
+ - [ angular.scope API docs] ( http://docs-next.angularjs.org/#!/api/angular.scope )
12
+ - [ scopes dev guide article] ( http://docs-next.angularjs.org/#!/guide/dev_guide.scopes )
13
+ - [ scope.js source file] ( https://github.com/angular/angular.js/blob/master/src/Scope.js )
14
+ - breaking changes section of this changelog
15
+ - added event system to scopes (see [ $on] , [ $emit] and [ $broadcast] )
16
+ - added i18n and l10n support for date, currency and number filters see [ i18n] docs for more info
17
+ - added localizable [ ng: pluralize ] widget
18
+ - added [ ng: cloak ] directive for hiding uncompiled templates
19
+
20
+
21
+ ## Bug Fix:
22
+
23
+ - make [ ng: class ] friendly towards other code adding/removing classes
24
+ ([ commit] ( https://github.com/angular/angular.js/commit/2a8fe56997fddbad673748ce02abf649a709c4ca ) )
25
+ - several [ jqLite] bugfixes and improvements
26
+ - [ ng: href ] , [ ng: src ] and friends now work properly when no expression is present in the attribute
27
+ value.
28
+ (Issue [ #534 ] ( https://github.com/angular/angular.js/issues/534 ) )
29
+ - expose missing [ lowercase] , [ uppercase] and [ isDate] APIs.
30
+
31
+
32
+ ## Docs:
33
+
34
+ - many (but not all just yet) api docs were proof-read and improved
35
+
36
+
37
+ ## Breaking Changes:
38
+
39
+ - many scope related changes:
40
+ - $onEval is no more (use $watch with a fn as the only param if you really miss it)
41
+ - $eval without params doesn't trigger model mutation observations (use $apply/$digest instead)
42
+ - $digest propagates through the scope tree automatically (this is the desired behavior anyway)
43
+ - $watch various API changes
44
+ - scope is now the first argument passed into the $watch listener
45
+ - ` this ` in the $watch listener is undefined instead of current scope
46
+ - objects and arrays are watched and compared by equality and not just identity
47
+ - the initial execution of the $watch listener now executes asynchronously with respect to the
48
+ code registering it via $watch
49
+ - exceptionHandler argument is no more
50
+ - initRun argument is no more
51
+ - angular.scope does not create child scopes by taking parent as the first argument - use $new
52
+ instead
53
+ - scope.$set and scope.$get were removed, use direct property assignment instead or $eval
54
+ - $route.onChange was removed and replaced with $beforeRouteChange, $afterRouteChange and
55
+ $routeUpdate events that can be used together with the new $routeParams service
56
+ - ` angular.equals() ` now uses ` === ` instead of ` == ` when comparing primitives
3
57
4
58
5
59
@@ -647,6 +701,9 @@ with the `$route` service
647
701
648
702
649
703
704
+ [ lowercase ] : http://docs.angularjs.org/#!/api/angular.lowercase
705
+ [ uppercase ] : http://docs.angularjs.org/#!/api/angular.uppercase
706
+ [ isDate ] : http://docs.angularjs.org/#!/api/angular.isDate
650
707
[ scope ] : http://docs.angularjs.org/#!/api/angular.scope
651
708
[ compile ] : http://docs.angularjs.org/#!/api/angular.compile
652
709
[ element ] : http://docs.angularjs.org/#!/api/angular.element
@@ -662,6 +719,9 @@ with the `$route` service
662
719
[ ng:readonly ] : http://docs.angularjs.org/#!/api/angular.directive.ng:readonly
663
720
[ ng:show ] : http://docs.angularjs.org/#!/api/angular.directive.ng:show
664
721
[ ng:hide ] : http://docs.angularjs.org/#!/api/angular.directive.ng:hide
722
+ [ ng:class ] : http://docs.angularjs.org/#!/api/angular.directive.ng:class
723
+ [ ng:src ] : http://docs.angularjs.org/#!/api/angular.directive.ng:src
724
+ [ ng:href ] : http://docs.angularjs.org/#!/api/angular.directive.ng:href
665
725
[ $defer ] : http://docs.angularjs.org/#!/api/angular.service.$defer
666
726
[ $cookies ] : http://docs.angularjs.org/#!/api/angular.service.$cookies
667
727
[ $xhr ] : http://docs.angularjs.org/#!/api/angular.service.$xhr
@@ -680,3 +740,9 @@ with the `$route` service
680
740
[ jqLite ] : http://docs.angularjs.org/#!/api/angular.element
681
741
[ angular.version ] : http://docs.angularjs.org/#!/api/angular.version
682
742
[ Jstd Scenario Adapter ] : https://github.com/angular/angular.js/blob/master/src/jstd-scenario-adapter/Adapter.js
743
+ [ i18n ] : http://docs-next.angularjs.org/#!/guide/dev_guide.i18n
744
+ [ ng:pluralize ] : http://docs-next.angularjs.org/#!/api/angular.widget.ng:pluralize
745
+ [ ng:cloak ] : http://docs-next.angularjs.org/#!/api/angular.directive.ng:cloak
746
+ [ $on ] : http://docs-next.angularjs.org/#!/api/angular.scope.$on
747
+ [ $emit ] : http://docs-next.angularjs.org/#!/api/angular.scope.$emit
748
+ [ $broadcast ] : http://docs-next.angularjs.org/#!/api/angular.scope.$broadcast
0 commit comments