1
+ <a name =" v1.1.2+2 " ></a >
2
+ # v1.1.2+2 unwieldy-elephant (2015-10-14)
3
+
4
+ ## Highlights
5
+
6
+ Prepare for Dart 1.13. Miscellaneous fixes.
7
+
8
+ ## Bug Fixes
9
+
10
+ - ** binder:**
11
+ - adds more explicit error message thrown.
12
+ ([ 6867ed21] ( https://github.com/angular/angular.dart/commit/6867ed212b4c941bbdfc2ab40391b79ac04c14c5 ) )
13
+ - adds a null check for null mappings.
14
+ ([ ff842e1b] ( https://github.com/angular/angular.dart/commit/ff842e1b30a5ea783f96265ebcffd64f5d7dbe03 ) )
15
+ - ** css_shim:** escape keyframes from shimming.
16
+ ([ 4bed7857] ( https://github.com/angular/angular.dart/commit/4bed7857af37a96737e7520a7d2161cc5e729d12 ) )
17
+ - ** karma:** remove analyzer deps from karma run.
18
+ ([ 6959dd3a] ( https://github.com/angular/angular.dart/commit/6959dd3a60ea25ac2997ad42fcb175d2d70bb07e ) )
19
+ - ** ng_show_hide:** make NG_HIDE_CLASS const
20
+ ([ d5f45a69] ( https://github.com/angular/angular.dart/commit/d5f45a695c316df5492d6ad764257e0b9f81377e ) )
21
+
1
22
<a name =" v1.1.2 " ></a >
2
23
# v1.1.2 nefarious-crocodile (2015-04-27)
3
24
@@ -325,7 +346,7 @@ by Protractor E2E tests.
325
346
326
347
## Breaking Changes
327
348
328
- - ** mocks:** due to [ 635f9d0c] ( https://github.com/angular/angular.dart/commit/635f9d0cf2ac9f50e9190047bde080d468d7cfe8 ) ,
349
+ - ** mocks:** due to [ 635f9d0c] ( https://github.com/angular/angular.dart/commit/635f9d0cf2ac9f50e9190047bde080d468d7cfe8 ) ,
329
350
Unexpected requests are detected only when ` flush ` is called.
330
351
331
352
Before:
@@ -339,7 +360,7 @@ After:
339
360
340
361
Closes #900
341
362
- ** scope:** due to [ a4f08a79] ( https://github.com/angular/angular.dart/commit/a4f08a798df7525132ec7b0e18c4c6a8091480e8 ) ,
342
-
363
+
343
364
344
365
Scope context is set to the component instance that trigged the creation
345
366
of the scope (previously it was of a PrototypeMap.)
402
423
closes #919
403
424
closes #917
404
425
- ** urls:** due to [ 50e26453] ( https://github.com/angular/angular.dart/commit/50e26453efc79d2db3a335112b37d13c5b0becbb ) ,
405
-
426
+
406
427
407
428
You must update relative paths to your templates and in ng-include's to
408
429
be relative to the component's library / ng-include'd file.
@@ -434,11 +455,11 @@ https://github.com/angular/angular.dart/blob/master/example/web/paper.html) for
434
455
some [ material
435
456
design] ( http://www.google.com/design/spec/material-design/introduction.html )
436
457
examples.
437
-
458
+
438
459
Also, we have added instrumentation for [ Web Tracing Framework]
439
460
(http://google.github.io/tracing-framework/ ), so that you can visualize
440
461
codepaths in your live apps (only browser plug-in required).
441
-
462
+
442
463
At last we did plenty of bug fixing and performance improvements for an even
443
464
smoother developer experience.
444
465
@@ -535,7 +556,7 @@ smoother developer experience.
535
556
## Breaking Changes
536
557
537
558
- ** directive-injector:** due to [ 600113a8] ( https://github.com/angular/angular.dart/commit/600113a8e6bc1aff08f00513eb1b794ca28e54ee ) ,
538
-
559
+
539
560
540
561
Regular injectors (aka application injectors) can no longer be used to
541
562
retrieve DirectiveInjectors. The compiler creates the Directive
@@ -546,23 +567,23 @@ Injector as part of view creation process.
546
567
547
568
## Highlights
548
569
549
- This release is focused on performance and significantly speeds up rendering. We optimized our
550
- entire rendering pipeline and now component rendering is 2.8 times (those with inlined templates)
570
+ This release is focused on performance and significantly speeds up rendering. We optimized our
571
+ entire rendering pipeline and now component rendering is 2.8 times (those with inlined templates)
551
572
to 6.3 times faster (those with template files) than the previous 0.12.0 release.
552
573
553
574
To accomplish these performance improvements, we
554
575
- fixed a number of performance bugs
555
- - moved more compilation work out of the ViewFactories, which stamps out DOM nodes, and into the
576
+ - moved more compilation work out of the ViewFactories, which stamps out DOM nodes, and into the
556
577
Compiler, which sets up the ViewFactories.
557
- - implemented a custom "directive injector" to optimize Dependency Injection calls from the
578
+ - implemented a custom "directive injector" to optimize Dependency Injection calls from the
558
579
ViewFactories
559
580
- optimized Dependency Injection, eliminating slow APIs
560
581
561
582
Also, we have given apps more knobs to tune performance
562
- - The Http service now supports coalescing http requests. This means that all the HTTP responses
583
+ - The Http service now supports coalescing http requests. This means that all the HTTP responses
563
584
that arrive within a particular interval can all be processed in a single digest.
564
585
- The ElementProbe can be disabled for apps that do not use animation
565
- - Along with the existing ScopeStats, Angular now exposes cache statistics through the ngCaches
586
+ - Along with the existing ScopeStats, Angular now exposes cache statistics through the ngCaches
566
587
global object. This also allows developers to clear the caches and measure memory usage
567
588
- Along with these changes, we have also added support for ProtractorDart.
568
589
@@ -815,12 +836,12 @@ towards the ScopeDigestTTL.
815
836
## Highlights
816
837
817
838
- A 20% performance improvement from caching interpolated expressions.
818
- - Http service can make cross-site requests (get, post, put, etc.) which use credentials (such as
839
+ - Http service can make cross-site requests (get, post, put, etc.) which use credentials (such as
819
840
cookies or authorization headers).
820
- - ** Breaking change** : vetoing is no longer allowed on leave (RouteLeaveEvent). This change corrects
841
+ - ** Breaking change** : vetoing is no longer allowed on leave (RouteLeaveEvent). This change corrects
821
842
an issue with routes unable to recover from another route vetoing a leave event.
822
843
- ** Breaking change** : Zone.defaultOnScheduleMicrotask is now named Zone.onScheduleMicrotask
823
- - ** Breaking change** : OneWayOneTime bindings will continue to accept value assignments until their
844
+ - ** Breaking change** : OneWayOneTime bindings will continue to accept value assignments until their
824
845
stabilized value is non-null.
825
846
826
847
## Bug Fixes
@@ -911,7 +932,7 @@ towards the ScopeDigestTTL.
911
932
## Breaking Changes
912
933
913
934
- ** VmTurnZone:** due to [ a8699da0] ( https://github.com/angular/angular.dart/commit/a8699da016c754e08502ae24034a86bd8d6e0d8e ) ,
914
-
935
+
915
936
` Zone.defaultOnScheduleMicrotask ` is now named ` Zone.onScheduleMicrotask `
916
937
917
938
@@ -931,7 +952,7 @@ If you said: `Http.getString('data.txt').then((String data) { ... })` before, no
931
952
932
953
- Shadow DOM-less components
933
954
934
- Shadow DOM is still enabled by default for components. Now, its use can be controlled through the
955
+ Shadow DOM is still enabled by default for components. Now, its use can be controlled through the
935
956
new ` useShadowDom ` option in the Component annotation.
936
957
937
958
For example:
@@ -944,28 +965,28 @@ For example:
944
965
class MyComp {}
945
966
```
946
967
947
- will disable Shadow DOM for that component and construct the template in the "light" DOM. Either
948
- omitting the ` useShadowDom ` option or explicitly setting it to ` true ` will cause Angular to
968
+ will disable Shadow DOM for that component and construct the template in the "light" DOM. Either
969
+ omitting the ` useShadowDom ` option or explicitly setting it to ` true ` will cause Angular to
949
970
construct the template in the component's shadow DOM.
950
971
951
- Adding cssUrls to Components with Shadow DOM disabled is not allowed. Since they aren't using Shadow
952
- DOM, there is no style encapsulation and per-component CSS doesn't make sense. The component has
953
- access to the styles in the ` documentFragment ` where it was created. Style encapsulation is a
972
+ Adding cssUrls to Components with Shadow DOM disabled is not allowed. Since they aren't using Shadow
973
+ DOM, there is no style encapsulation and per-component CSS doesn't make sense. The component has
974
+ access to the styles in the ` documentFragment ` where it was created. Style encapsulation is a
954
975
feature we are thinking about, so this design will likely change in the future.
955
976
956
977
- bind-* syntax
957
978
958
- We have shipped an early "preview" of the upcoming bind-* syntax. In 0.11.0, you may bind an
959
- expression to any mapped attribute, even if that attribute is a ` @NgAttr ` mapping which typically
979
+ We have shipped an early "preview" of the upcoming bind-* syntax. In 0.11.0, you may bind an
980
+ expression to any mapped attribute, even if that attribute is a ` @NgAttr ` mapping which typically
960
981
takes a string.
961
982
962
983
### Performance improvements
963
984
964
985
There are two significant performance improvements:
965
- - We now cache CSS as ` StyleElement ` s instead of string, saving a ` setInnerHtml ` call on each styled
966
- component instantiation. In a benchmark where components used unminified Bootstrap styles (124kB),
986
+ - We now cache CSS as ` StyleElement ` s instead of string, saving a ` setInnerHtml ` call on each styled
987
+ component instantiation. In a benchmark where components used unminified Bootstrap styles (124kB),
967
988
this sped up component creation by 31%.
968
- - Changes in the DI package sped up View instantiation by 200%. This change makes AngularDart
989
+ - Changes in the DI package sped up View instantiation by 200%. This change makes AngularDart
969
990
rendering significantly faster.
970
991
971
992
## Bug Fixes
@@ -1056,7 +1077,7 @@ There are two significant performance improvements:
1056
1077
- ** Http:** due to [ 39a143d] ( https://github.com/angular/angular.dart/commit/39a143da630965703cbe53e45e902e97163a75d54 ) ,
1057
1078
1058
1079
The deprecated Http.getString() method has been removed in favour of Http.get()
1059
-
1080
+
1060
1081
<a name =" v0.10.0 " ></a >
1061
1082
# v0.10.0 ostemad-teleportation (2014-04-17)
1062
1083
@@ -2460,4 +2481,3 @@ http://semver.org/
2460
2481
i.e.: v1.0.x, v1.2.x, and so on.
2461
2482
- * Development* : All odd numbered minor versions are considered API unstable:
2462
2483
i.e.: v0.9.x, v1.1.x, and so on.
2463
-
0 commit comments