b7a6f52d59
perf: latest tsickle to tree shake: abstract class methods & interfaces ( #18236 )
...
In previous version of tsickle abstract class methods were materialized.
The change resulted in 6Kb savings in angular.io bundle.
This change also required the removal of `@private` and `@return` type
annotation as it is explicitly dissalowed by tsickle.
NOTE: removed casts in front of `makeDecorator` due to:
https://github.com/angular/devkit/issues/45
```
14938 Jul 19 13:16 0.b19e913fbdd6507d346b.chunk.js
1535 Jul 19 13:16 inline.d8e019ea3cfdd86c2bd0.bundle.js
589178 Jul 19 13:16 main.54c97bcb6f254776b678.bundle.js
34333 Jul 19 13:16 polyfills.4a3c9ca9481d53803157.bundle.js
14938 Jul 18 16:55 0.b19e913fbdd6507d346b.chunk.js
1535 Jul 18 16:55 inline.0c83abb44fad9a2768a7.bundle.js
582786 Jul 18 16:55 main.ea290db71b051813e156.bundle.js
34333 Jul 18 16:55 polyfills.4a3c9ca9481d53803157.bundle.js
main savings: 589178 - 582786 = 6,392
```
PR Close #18236
2017-07-21 16:35:37 -05:00
7ae7573bc8
fix(core): invoke error handler outside of the Angular Zone ( #18269 )
...
In Node.JS console.log/error/warn functions actually resuls in a socket
write which in turn is considered by Zone.js as an async task.
This means that if there is any exception during change detection in a platform-server
application the error handler will make the Angular Zone unstable which
in turn will cause change detection to run on next tick and cause an
infinite loop.
It is also better to run the error handler outside of the Angular Zone
in general on all platforms so that an error in the error handler itself doesn't cause an
infinite loop.
Fixes #17073 , #7774 .
PR Close #18269
2017-07-21 16:35:23 -05:00
abee785821
refactor(tsc-wrapped): update tsc-wrapped to pass strictNullCheck ( #18160 )
...
PR Close #18160
2017-07-21 12:26:20 -05:00
619e625ee2
refactor(tsc-wrapped): move tsc-wrapped to the packages directory ( #18160 )
2017-07-21 12:26:16 -05:00
a6c635e69e
ci: force precise on Travis ( #18282 )
...
PR Close #18282
2017-07-21 12:20:27 -05:00
e0a9625e46
test: fix bad merge ( #18267 )
...
PR Close #18267
2017-07-21 11:53:34 -05:00
fd0cc01eed
fix(animations): export BrowserModule as apart of BrowserAnimationsModule ( #18263 )
...
PR Close #18263
2017-07-20 17:47:49 -05:00
1bfc77bf8c
docs(aio): pngcrush all pngs ( #18243 )
...
PR Close #18243
2017-07-20 17:47:06 -05:00
a094769bca
fix(platform-server): don't clobber parse5 properties when setting ( #18237 )
...
element properties.
Fixes #17050 .
We now store all element properties in a separate 'properties' bag.
PR Close #18237
2017-07-20 17:46:37 -05:00
b4c98305da
refactor(common): CleanUp HttpClient's imports ( #18120 )
...
PR Close #18120
2017-07-20 17:43:23 -05:00
a3a54299af
fix(compiler): allow numbers for ICU message cases in lexer ( #18095 )
...
Closes #18095
Fixes #17799
2017-07-20 17:41:54 -05:00
15a3e2d307
ci(aio): fix aio payload script
2017-07-20 15:32:32 -07:00
54e0244954
Revert "docs: Remove unneeded file ( #18106 )"
...
This reverts commit 72fe45db2b
.
2017-07-20 16:46:47 -05:00
43c33d5663
fix(upgrade): ensure downgraded components are created in the Angular zone ( #18209 )
...
PR Close #18209
2017-07-20 16:25:11 -05:00
6d7799fce9
test(upgrade): fail tests when there are AngularJS errors ( #18209 )
2017-07-20 16:25:07 -05:00
d31dc7b2b3
fix(upgrade): throw error if trying to get injector before setting ( #18209 )
...
Previously, `undefined` would be returned.
This change makes it easier to identify incorrect uses/bugs.
(Discussed in https://github.com/angular/angular/pull/18213#issuecomment-316191308 .)
2017-07-20 16:24:45 -05:00
4cd4f7a208
aio: debounce search and delay index building ( #18134 )
...
* feat(aio): debounce search requests
* feat(aio): delay loading search worker and index
2017-07-20 09:51:40 -07:00
72fe45db2b
docs: Remove unneeded file ( #18106 )
2017-07-20 09:50:17 -07:00
8d2819121b
fix(aio): invalid formatting in architecure.md ( #18159 )
...
Introduced in e110a80caf (diff-9ac9c6a9277eea9856d75249a7c0a40aL127)
2017-07-20 09:48:02 -07:00
073e8ba2f2
docs(aio): replace old blog link ( #18252 )
...
Fixes #18233
* Docs(aio): Replaced old blog link Now with the Link to the new Angular.io Blog
* Removed double braces
2017-07-20 09:45:14 -07:00
5d1864fe68
docs: fixing invisible tag in README ( #18245 )
2017-07-20 09:43:42 -07:00
eaa843b55f
ci: test bazel builds on travis ( #18240 )
2017-07-20 09:40:40 -07:00
c6cf678a07
docs(aio): Fixed typo with closing div
2017-07-20 09:38:28 -07:00
31cb418370
docs(aio): Fix http guide
2017-07-20 09:35:27 -07:00
8de44cf5e3
docs: fix wrong link in CONTRIBUTING.md ( #18228 )
...
The link to the CONTRIBUTING.md file was not correct
2017-07-20 09:33:15 -07:00
c67bad4f43
docs(router): minor typo ( #18226 )
...
Fix a minor typo in the description of a router spec.
2017-07-20 09:32:34 -07:00
410f21c75c
docs(aio): fix typo in NgModule FAQs ( #18211 )
...
Fix #18133 . Fix typo 'added' to 'add' in the 'Why does lazy loading create a child injector' section.
2017-07-20 09:07:30 -07:00
54ea5b6ffd
docs: add changelog for 5.0.0-beta.0
5.0.0-beta.0
2017-07-19 13:16:43 -07:00
0af03beaed
release: cut the 5.0.0-beta.0 release
2017-07-19 13:12:50 -07:00
d71fa734f5
docs: add changelog for 4.3.1
2017-07-19 12:55:08 -07:00
6f45519d6f
feat(animations): support :increment and :decrement transition aliases
2017-07-19 11:24:00 -07:00
65c9e13105
fix(compiler-cli): don't generate empty <target/> when extracting xliff
...
Fixes #15754
2017-07-19 09:45:52 -07:00
9208f0beea
docs(aio): fix typo in Router documentation
...
Fix title and link to RouteConfigLoadEnd documentation
2017-07-19 15:01:50 +01:00
5344be5182
fix(animations): make sure @.disabled works in non-animation components
...
Note 4.3 only!
Prior to this fix when [@.disabled] was used in a component that
contained zero animation code it wouldn't register properly because the
renderer associated with that component was not an animation renderer.
This patch ensures that it gets registered even when there are no
animations set.
2017-07-18 16:37:04 -07:00
5db6f38b73
fix(animations): do not crash animations if a nested component fires CD during CD
...
Closes #18193
2017-07-18 15:22:43 -07:00
d22f8f54db
fix(animations): always camelcase style property names that contain auto styles
...
Closes #17938
2017-07-18 15:22:30 -07:00
23146c9201
fix(animations): capture cancelled animation styles within grouped animations
...
Closes #17170
2017-07-18 15:22:10 -07:00
a5205c686e
fix(upgrade): allow accessing AngularJS injector from downgraded module
2017-07-18 14:00:19 -07:00
807648251f
fix(platform-server): provide XhrFactory for HttpClient
2017-07-18 13:59:26 -07:00
5c62e300e1
fix(common): send flushed body as error instead of null
...
fix #18181
2017-07-18 10:57:51 -07:00
256bc8acdd
docs(http): Make name of injected HttpTestingController consistent
2017-07-18 10:35:56 -07:00
59c23c7bd7
feat(upgrade): propagate touched state of NgModelController
2017-07-18 10:35:35 -07:00
e03adb9edd
docs(platform-server): add doc string for PlatformOptions
2017-07-18 10:34:57 -07:00
b399cb26d9
fix(router): terminal route in custom matcher
2017-07-18 10:25:18 -07:00
3b588fe2b0
docs: fix typo
2017-07-18 10:11:55 -07:00
95635c18c7
fix(compiler): ensure jit external id arguments names are unique
...
Fixes : #17558 , #17378 , #8676
2017-07-18 10:11:32 -07:00
e20cfe1bbc
fix(router): canDeactivate guards should run from bottom to top
...
Closes #15657 .
2017-07-18 10:04:39 -07:00
eb6fb5f87e
fix(router): should navigate to the same url when config changes
...
Closes #15535
2017-07-18 10:04:11 -07:00
ad3029e786
fix(router): should run resolvers for the same route concurrently
...
Fixes #14279
2017-07-18 10:03:33 -07:00
2a2fe11e8d
docs(aio): fix HttpClient setting new header sample
2017-07-18 10:02:27 -07:00