Alex Eagle
0317c4c478
build: update bazel rules to latest ( #18289 )
2017-07-21 18:09:44 -05:00
Miško Hevery
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
Vikram Subramanian
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
Chuck Jazdzewski
abee785821
refactor(tsc-wrapped): update tsc-wrapped to pass strictNullCheck ( #18160 )
...
PR Close #18160
2017-07-21 12:26:20 -05:00
Chuck Jazdzewski
619e625ee2
refactor(tsc-wrapped): move tsc-wrapped to the packages directory ( #18160 )
2017-07-21 12:26:16 -05:00
Victor Berchet
e0a9625e46
test: fix bad merge ( #18267 )
...
PR Close #18267
2017-07-21 11:53:34 -05:00
Matias Niemelä
fd0cc01eed
fix(animations): export BrowserModule as apart of BrowserAnimationsModule ( #18263 )
...
PR Close #18263
2017-07-20 17:47:49 -05:00
Vikram Subramanian
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
WilliamKoza
b4c98305da
refactor(common): CleanUp HttpClient's imports ( #18120 )
...
PR Close #18120
2017-07-20 17:43:23 -05:00
Olivier Combe
a3a54299af
fix(compiler): allow numbers for ICU message cases in lexer ( #18095 )
...
Closes #18095
Fixes #17799
2017-07-20 17:41:54 -05:00
Miško Hevery
54e0244954
Revert "docs: Remove unneeded file ( #18106 )"
...
This reverts commit 72fe45db2b
.
2017-07-20 16:46:47 -05:00
Georgios Kalpakas
43c33d5663
fix(upgrade): ensure downgraded components are created in the Angular zone ( #18209 )
...
PR Close #18209
2017-07-20 16:25:11 -05:00
Georgios Kalpakas
6d7799fce9
test(upgrade): fail tests when there are AngularJS errors ( #18209 )
2017-07-20 16:25:07 -05:00
Georgios Kalpakas
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
Stephen Fluin
72fe45db2b
docs: Remove unneeded file ( #18106 )
2017-07-20 09:50:17 -07:00
Lars Gyrup Brink Nielsen
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
Alex Rickabaugh
0af03beaed
release: cut the 5.0.0-beta.0 release
2017-07-19 13:12:50 -07:00
Matias Niemelä
6f45519d6f
feat(animations): support :increment and :decrement transition aliases
2017-07-19 11:24:00 -07:00
Olivier Combe
65c9e13105
fix(compiler-cli): don't generate empty <target/> when extracting xliff
...
Fixes #15754
2017-07-19 09:45:52 -07:00
Matias Niemelä
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
Matias Niemelä
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
Matias Niemelä
d22f8f54db
fix(animations): always camelcase style property names that contain auto styles
...
Closes #17938
2017-07-18 15:22:30 -07:00
Matias Niemelä
23146c9201
fix(animations): capture cancelled animation styles within grouped animations
...
Closes #17170
2017-07-18 15:22:10 -07:00
Georgios Kalpakas
a5205c686e
fix(upgrade): allow accessing AngularJS injector from downgraded module
2017-07-18 14:00:19 -07:00
Alex Rickabaugh
807648251f
fix(platform-server): provide XhrFactory for HttpClient
2017-07-18 13:59:26 -07:00
jnizet
5c62e300e1
fix(common): send flushed body as error instead of null
...
fix #18181
2017-07-18 10:57:51 -07:00
Sergey Shevchenko
59c23c7bd7
feat(upgrade): propagate touched state of NgModelController
2017-07-18 10:35:35 -07:00
Vikram Subramanian
e03adb9edd
docs(platform-server): add doc string for PlatformOptions
2017-07-18 10:34:57 -07:00
Sam Verschueren
b399cb26d9
fix(router): terminal route in custom matcher
2017-07-18 10:25:18 -07:00
Chuck Jazdzewski
95635c18c7
fix(compiler): ensure jit external id arguments names are unique
...
Fixes : #17558 , #17378 , #8676
2017-07-18 10:11:32 -07:00
Roy Ling
e20cfe1bbc
fix(router): canDeactivate guards should run from bottom to top
...
Closes #15657 .
2017-07-18 10:04:39 -07:00
Dzmitry Shylovich
eb6fb5f87e
fix(router): should navigate to the same url when config changes
...
Closes #15535
2017-07-18 10:04:11 -07:00
Dzmitry Shylovich
ad3029e786
fix(router): should run resolvers for the same route concurrently
...
Fixes #14279
2017-07-18 10:03:33 -07:00
Georgios Kalpakas
30e76fcd80
feat(upgrade): support lazy-loading Angular module into AngularJS app
2017-07-14 14:10:30 -07:00
Georgios Kalpakas
44b50427d9
refactor(upgrade): clean up some types
2017-07-14 14:10:30 -07:00
Alex Rickabaugh
4fbb5b29ea
release: cut the 4.3.0 release
2017-07-14 12:50:40 -07:00
Alex Rickabaugh
3ecc5e5398
fix(common): rename HttpXsrfModule to HttpClientXsrfModule
2017-07-14 12:40:52 -07:00
Alex Rickabaugh
f7686d4124
Revert "fix(animations): make sure @.disabled works in non-animation components"
...
This reverts commit 01a2688848
.
2017-07-14 11:00:29 -07:00
Matias Niemelä
01a2688848
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-14 10:34:58 -07:00
Alex Rickabaugh
dd04f09483
feat(common): on-by-default XSRF support in HttpClient ( #18108 )
...
Fixes #18100
2017-07-13 17:22:02 -07:00
Alex Rickabaugh
9f28e838d3
fix(common): expose reportProgress option on HttpClient API ( #18083 )
2017-07-13 16:19:52 -07:00
Chuck Jazdzewski
ddb766e456
feat(compiler): do not evaluate metadata expressions that can use references ( #18001 )
2017-07-13 16:16:56 -07:00
Alex Rickabaugh
18559897a0
fix(common): document HttpClient, fixing a few other issues
2017-07-13 14:58:33 -07:00
Alex Rickabaugh
4f1e4ffa4e
fix(common): don't guess Content-Type for FormData bodies ( #18104 )
...
Fixes #18096
2017-07-13 12:28:20 -07:00
Leo Gallucci
a50d935a48
docs(benchpress): fix android broken links ( #17568 )
2017-07-11 12:54:34 -07:00
Yaroslav Admin
df06e8b7a4
fix(router): fix outdated homepage url in NPM package ( #17899 )
2017-07-11 12:00:56 -07:00
meDavid
a9757ec674
docs: Fix code example in the ChangeDetectorRef docs ( #18051 )
...
Minor example fix: mark the 'ref' constructor parameter as a private property
2017-07-11 11:45:32 -07:00
Jason Aden
8928a58796
release: cut the 4.3.0-rc.0 release
2017-07-07 22:07:13 -07:00
Jason Aden
09f1609f81
style(http): fix linting error in http/testing ( #18002 )
2017-07-07 17:02:07 -07:00
Victor Berchet
c723d42d0a
refactor: fix typos ( #18000 )
2017-07-07 16:55:17 -07:00