Bowen Ni
e39e16ae6a
Keep console.log that are not called during compilation.
2016-11-30 15:13:38 -08:00
Bowen Ni
d160591453
refactor(lint): Don't allow console.log
...
Enable tslint check for `console.log` as a follow-up to
https://github.com/angular/angular/issues/13018
2016-11-30 15:13:38 -08:00
Tobias Bosch
015ca47336
Revert "fix(compiler): fix versions of @angular/tsc-wrapped"
...
This reverts commit 2fe6fb1163 .
2016-11-23 12:09:04 -08:00
Tobias Bosch
f32e287812
Revert "refactor(tsc-wrapped): collect all exported functions and classes and bump metadata version from 1 to 2"
...
This reverts commit 39a71eb0ec .
2016-11-23 12:08:46 -08:00
Chuck Jazdzewski
9c954740d1
chore(release): cut tsc-wrapped 0.4.1 release
2016-11-22 14:51:47 -08:00
Tobias Bosch
39a71eb0ec
refactor(tsc-wrapped): collect all exported functions and classes and bump metadata version from 1 to 2
...
This is needed to resolve symbols without `.d.ts` files.
This bumps the version of the metadata from 1 to 2.
This adds logic into `ng_host.ts` to automatically upgrade
version 1 to version 2 metadata by adding the exported symbols
from the `.d.ts` file.
2016-11-22 14:26:19 -08:00
Tobias Bosch
2fe6fb1163
fix(compiler): fix versions of @angular/tsc-wrapped
2016-11-22 14:26:19 -08:00
Peter Bacon Darwin
c7f750dd5a
chore(public_api): remove Angular 1 types from upgrade/static API
2016-11-16 16:26:44 -08:00
Matias Niemelä
5c46c493f2
fix(animations): retain styling when transition destinations are changed ( #12208 )
...
Closes #9661
Closes #12208
2016-11-16 16:26:43 -08:00
Joao Dias
77ee27c59e
refactor(): use const and let instead of var
2016-11-12 16:40:17 -08:00
Victor Savkin
52be848f94
fix(router): incorrect injector is used when instantiating components loaded lazily ( #12817 )
2016-11-11 17:12:00 -08:00
João Dias
458ca7112a
build(publish): remove unneeded add-license-to-rx ( #12734 )
2016-11-10 15:56:14 -08:00
Chuck Jazdzewski
69f87ca075
fix(tools): harden colletor against invalid asts ( #12793 )
2016-11-10 11:58:55 -08:00
vsavkin
73407351e7
feat(router): add support for custom url matchers
...
Closes #12442
Closes #12772
2016-11-09 16:24:58 -08:00
Victor Savkin
6e35d13fbc
feat(router): add a provider making angular1/angular2 integration easier ( #12769 )
2016-11-09 13:33:33 -08:00
Dzmitry Shylovich
09092ac3c2
fix(forms): getRawValue returns any instead of Object ( #12599 )
2016-11-08 15:44:36 -08:00
Tobias Bosch
d8f23f4b7f
fix(common): NgSwitch - don’t create the default case if another case matches ( #12726 )
...
This also simplifies the implementation of `NgSwitch`.
Closes #11297
Closes #9420
2016-11-07 12:22:36 -08:00
Joao Dias
78039b41d6
chore(build): remove unused build/util
2016-11-07 10:32:00 -08:00
Georgios Kalpakas
469010ea8e
feat(UpgradeComponent): add/improve support for lifecycle hooks
...
Add support for the `$postDigest()` and `$onDestroy()` lifecycle hooks.
Better align the behavior of the `$onChanges()` and `$onInit()` lifecycle hooks
with Angular 1.x:
- Call `$onInit()` before pre-linking.
- Always instantiate the controller before calling `$onChanges()`.
2016-11-04 11:16:28 -07:00
Tobias Bosch
0e3d655220
refactor(compiler): remove view factories, use view classes directly
2016-11-02 20:58:48 -07:00
vsavkin
d509ee078b
fix(router): reset URL to the stable state when a navigation gets canceled
...
Closes #10321
2016-11-02 12:25:23 -07:00
Joao Dias
a382d6dd20
style: add missing semicolons
2016-10-31 14:25:53 -07:00
Joao Dias
52bf188b8f
style: add missing copyright headers
2016-10-31 14:25:53 -07:00
Joao Dias
a0aecac0e5
chore(lint): replace enforce-copyright-header rule with the native equivalent
2016-10-31 11:27:35 -07:00
Joao Dias
0936ceeab4
chore(npm): clean up clean-shrinkwrap script
2016-10-31 11:26:59 -07:00
Joao Dias
0a94845435
chore(lint): replace duplicate-module-import rule with no-duplicate-imports
2016-10-28 15:53:15 -07:00
Thomas Shafer
7c16ef942e
feat(core): add the find method to QueryList
2016-10-28 15:34:47 -07:00
Alex Eagle
a26dd28bdb
refactor(upgrade): re-export the new static upgrade APIs on new entry
...
Add upgrade-static.umd.js bundles
This allows depending on it without getting a transitive dependency on compiler.
BREAKING CHANGE:
Four newly added APIs in 2.2.0-beta:
downgradeComponent, downgradeInjectable, UpgradeComponent, and UpgradeModule
are no longer exported by @angular/upgrade.
Import these from @angular/upgrade/static instead.
2016-10-26 15:14:22 -07:00
Jeremy Elbourn
c9f58cf78c
feat(router): export routerLinkActive w/ isActive property
2016-10-26 14:08:22 -07:00
Victor Savkin
8b9ab44eee
feat(router): add support for ng1/ng2 migration ( #12160 )
2016-10-20 10:44:44 -07:00