Matias Niemelä
0fb2ba577e
release: cut the 5.0.0-beta.7 release
2017-09-13 13:43:43 -07:00
Olivier Combe
1aa8401ddf
build(common): inject deprecated `getPluralCase` for treeshaking ( #19136 )
...
Fixes #19115
PR Close #19136
2017-09-13 13:52:56 -04:00
Tobias Bosch
bf94f878bc
refactor(compiler): use new ngc for i18n ( #19095 )
...
This also changes ngc to support all tsc command line arguments.
PR Close #19095
2017-09-12 18:55:32 -04:00
Kara Erickson
c8f742e288
test(packaging): added test for source map correctness
2017-09-12 16:59:32 -04:00
Yi Qi
97cc6caa33
fix(upgrade): add testability hook to downgraded component
...
Add testability hook to downgraded component so that protractor can wait for asynchronous call to complete.
Add unregisterApplication() and unregisterAllApplications() to testability registry for cleaning up testability and unit test.
2017-09-12 16:59:27 -04:00
Vikram Subramanian
831613aab5
fix(platform-server): support setting innerText property
...
Domino doesn't support innerText. So the actual inner text wasn't
getting set if the [innerText] was set on an element in a template. Add
it to the domino adapter to map it to textContent.
Also change wrongly named initParse5Adapter to initDominoAdapter.
2017-09-12 14:19:25 -04:00
Tobias Bosch
ca5aebaa6b
refactor: update angular to support TypeScript 2.4
...
Detailed updates:
- rxjs@5.0.x
- tsickle@0.24.x
- typescript@2.4.x
- @bazel/typescript@0.10.0
- protractor@5.1.x
- selenium-webdriver@3.0.x
BREAKING CHANGE:
- the Angular compiler now requires TypeScript 2.4.x.
2017-09-12 10:31:30 -07:00
Linskeyd
07153f7e7f
docs(aio): provide link text for AbstractControl references in reactive directives for forms
...
Closes #17484
2017-09-08 17:05:39 -04:00
Olivier Combe
626555c013
fix(tsc-wrapped): fix metadata symbol reference
2017-09-08 16:20:12 -04:00
Olivier Combe
a9ef858359
refactor(router): remove deprecated `RouterOutlet` properties
...
BREAKING CHANGE: `RouterOutlet` properties `locationInjector` and `locationFactoryResolver` have been removed as they were deprecated since v4.
2017-09-08 16:19:32 -04:00
Jason Aden
8f7915022c
feat(router): add ActivationStart/End events
2017-09-08 13:24:26 -04:00
Tobias Bosch
a69172f6ce
fix(compiler): fix bazel integration and make `perform-compile` more flexible
...
Needed to allow custom checking for diagnostics.
2017-09-07 19:30:04 -04:00
Tobias Bosch
b1055a5edb
fix(compiler): emit preamble in generated files.
2017-09-07 19:29:58 -04:00
Tobias Bosch
5ef6e6366f
fix(compiler): lower variables with a closure by exporting the variable.
...
This e.g. leaves comments at the right place, which is important for closure.
2017-09-07 18:28:00 -04:00
Rado Kirov
b6833d1bbd
fix(upgrade): remove code setting id attribute.
...
The id was leftover from previous iterations of ngUpgrade and is
no longer needed. Moreover, setting it can clash with CSS usage of id.
Fixes #18446
2017-09-07 14:22:07 -04:00
Victor Berchet
818f6dbe9e
build(platform-browser): fix typo
...
fixes #19033
2017-09-07 14:21:41 -04:00
Olivier Combe
c056b8c7f1
fix(tsc-wrapped): deduplicate metadata for re-exported modules
2017-09-07 14:21:25 -04:00
Alex Eagle
d2707f1457
build: cleanup duplicated code now in @bazel/typescript ( #19004 )
...
PR Close #19004
2017-09-05 23:17:26 -05:00
Vikram Subramanian
8dfc3c386a
feat(platform-server): provide a way to hook into renderModule* ( #19023 )
...
A multi RENDER_MODULE_HOOK provider can provide function that will be called with the current document just before the document is rendered to
string.
This hook can for example be used for the state transfer module to serialize any server state that needs to be transported to the client, just before the current platform state is rendered to string.
PR Close #19023
2017-09-05 23:17:04 -05:00
Miško Hevery
15945c8791
Revert "fix(animations): ensure animateChild() works with all inner leave animations ( #19006 )"
...
This reverts commit a95e03ae85
.
2017-09-05 23:08:26 -05:00
Jason Aden
66f0ab0371
fix(router): adjust ChildActivation events to only fire when the child is actually changing ( #19043 )
...
* The problem was with the `fireChildActivationStart` function. It was taking a `path` param, which was an
array of `ActivatedRouteSnapshot`s. The function was being fired for each piece of the route that was being
activated. This resulted in far too many `ChildActivationStart` events being fired, and being fired on routes
that weren't actually getting activated. This change fires the event only for those routes that are actually
being activated.
fixes #18942
PR Close #19043
2017-09-05 15:46:29 -05:00
Jason Aden
dce36751f5
refactor(router): remove RouteEvent base class ( #19043 )
...
* Introduced with #18407 , `RouteEvents` don't actually have a common constructor. Reverting here to be able to add new functionality to ChildActivation events.
PR Close #19043
2017-09-05 15:46:29 -05:00
Olivier Combe
b56dd32454
refactor(compiler): update template parse error message to ng-template ( #19029 )
...
PR Close #19029
2017-09-05 15:34:28 -05:00
Kara Erickson
71b58769af
docs(forms): clarify ControlValueAccessor docs ( #19008 )
...
Closes #18174
PR Close #19008
2017-09-05 15:33:59 -05:00
Matias Niemelä
a95e03ae85
fix(animations): ensure animateChild() works with all inner leave animations ( #19006 )
...
Closes #18305
PR Close #19006
2017-09-05 15:33:50 -05:00
Olivier Combe
66a5dab85a
feat(compiler): deprecate i18n comments in favor of `ng-container` ( #18998 )
...
PR Close #18998
2017-09-05 15:33:29 -05:00
JiaLi.Passion
d52f42688a
fix(platform-browser): run BLACK_LISTED_EVENTS outside of ngZone ( #18993 )
...
PR Close #18993
2017-09-05 15:33:22 -05:00
JiaLi.Passion
ed1175f27e
fix(platform-browser): simple version of zone aware addEventListener ( #18993 )
...
PR Close #18993
2017-09-05 15:33:22 -05:00
Misko Hevery
54c1784da7
release: cut the 5.0.0-beta.6 release
2017-09-02 07:42:40 -07:00
Olivier Combe
3c4eef8a86
refactor(core): remove deprecated `OpaqueToken` ( #18971 )
...
BREAKING CHANGE: `OpaqueToken` has been removed as it was deprecated since v4. Use `InjectionToken` instead.
PR Close #18971
2017-09-01 16:29:47 -05:00
Marc Laval
36d37cc6ae
fix(core): complete EventEmitter in QueryList on component destroy ( #18902 )
...
Fixes #18741
PR Close #18902
2017-09-01 16:27:58 -05:00
Alex Eagle
d1afadbd22
fix(tsc-wrapped): decouple bundle index host from tsickle dependency ( #18999 )
...
PR Close #18999
2017-09-01 13:40:08 -05:00
Georgios Kalpakas
450a13dea0
fix(upgrade): deprecate the dynamic version of `ngUpgrade`
2017-09-01 12:23:11 -05:00
Olivier Combe
22c409029c
fix(compiler-cli): use `--locale` parameter for transformers ( #18988 )
...
PR Close #18988
2017-09-01 12:23:11 -05:00
Pawel Kozlowski
590b8052fe
docs(core): improve formatting for the preserveWhitespaces option ( #18995 )
...
PR Close #18995
2017-09-01 12:23:11 -05:00
Alex Eagle
fef3d2ad53
build: ngc-wrapped as a bazel worker ( #18960 )
...
PR Close #18960
2017-09-01 12:23:11 -05:00
Olivier Combe
56238fe94e
feat(compiler): set `enableLegacyTemplate` to false by default ( #18756 )
...
BREAKING CHANGE: the compiler option `enableLegacyTemplate` is now disabled by default as the `<template>` element has been deprecated since v4. Use `<ng-template>` instead. The option `enableLegacyTemplate` and the `<template>` element will both be removed in Angular v6.
PR Close #18756
2017-08-31 18:38:34 -07:00
Matias Niemelä
fcadeb2079
fix(animations): do not leak DOM nodes/styling for host triggered animations ( #18853 )
...
Closes #18606
PR Close #18853
2017-08-31 18:38:27 -07:00
Jason Aden
fd701b07f0
build: publish tree of files rather than FESMs ( #18541 )
...
* Remove now unnecessary portions of build.
* Add a compilePackageES5 method to build ES5 from sources
* Rework all package.json and rollup config files to new format
* Remove "extends" from tsconfig-build.json files and fixup compilation roots
PR Close #18541
2017-08-31 15:34:50 -07:00
Filipe Silva
ee04217d53
refactor(compiler-cli): expose ngtools api separately ( #18978 )
...
PR Close #18978
2017-08-31 14:37:13 -07:00
Tobias Bosch
a1293b26ef
build: correctly collect summary files with bazel ( #18912 )
...
PR Close #18912
2017-08-31 13:27:56 -07:00
Tobias Bosch
667473c32d
build: for bazel, paths in summaries should never contain blaze prefix paths ( #18912 )
...
PR Close #18912
2017-08-31 13:27:56 -07:00
Tobias Bosch
fce7ae16f5
fix(compiler): treat absolute imports as package imports ( #18912 )
...
This is a corner case, and converting them is what
was expected in G3. This also fits the fact that
we already convert package paths into relative paths.
PR Close #18912
2017-08-31 13:27:56 -07:00
Tobias Bosch
4059a72710
fix(compiler): workaround bugs in TS when combining transformers ( #18912 )
...
PR Close #18912
2017-08-31 13:27:55 -07:00
Tobias Bosch
f1e526f046
fix(compiler): use either summary or metadata information when reading .d.ts files ( #18912 )
...
This fix applies for getting all symbols in file.
PR Close #18912
2017-08-31 13:27:55 -07:00
Chuck Jazdzewski
83e5deb988
fix(compiler-cli): fix memory leaks in watch mode ( #18961 )
...
PR Close #18961
2017-08-31 13:27:45 -07:00
Jason Aden
56b751ead5
Revert "refactor(compiler-cli): expose ngtools api separately ( #18952 )"
...
This reverts commit f544128138
.
2017-08-31 11:52:44 -07:00
Filipe Silva
f544128138
refactor(compiler-cli): expose ngtools api separately ( #18952 )
...
PR Close #18952
2017-08-31 11:31:23 -07:00
Olivier Combe
57abe8d078
refactor(common): export locale data from closure-locale ( #18973 )
...
PR Close #18973
2017-08-31 11:23:12 -07:00
Chuck Jazdzewski
cf7d47dda0
feat(compiler-cli): add watch mode to `ngc` ( #18818 )
...
With this change ngc now accepts a `-w` or a `--watch`
command-line option that will automatically perform a
recompile whenever any source files change on disk.
PR Close #18818
2017-08-31 09:46:24 -07:00