7073 Commits

Author SHA1 Message Date
Hans Larsen 14a2d1a6f7 docs: add changelog for 4.0.2 4.0.2 2017-04-11 14:56:13 -07:00
Hans Larsen 61e089931f release: cut the 4.0.2 release 2017-04-11 14:50:12 -07:00
Victor Berchet cbf30cb101 ci: add jasonaden to the router 2017-04-11 14:38:46 -07:00
Victor Berchet 2f41b52e78 fix(router): fix query param parsing 2017-04-11 14:38:46 -07:00
Victor Berchet dcf60da16d refactor(router): cleanup & simplifications 2017-04-11 14:38:45 -07:00
Marc Laval 9c9f409364 test(router): enable running the campaign in non-ES6 browsers
Closes #15806.
2017-04-11 14:38:45 -07:00
Victor Berchet b44b983c1f test(router): test preloading when a module is already loaded 2017-04-11 14:38:45 -07:00
Dzmitry Shylovich 978f80985c fix(router): the preloader use the module from the loaded config 2017-04-11 14:38:45 -07:00
Paul Gschwendtner c10e50cf38 fix(tsc-wrapped): ensure valid path separators in metadata
* Fixes that `tsc-wrapped` stores invalid path separators in the bundled metadata files. Previous errors could have been: `Cannot find module '.corecoordinationnique-selection-dispatcher'.` (See https://github.com/angular/material2/issues/3834)
* Fixes failing tests on Windows. Now all tooling tests are green on Windows.

Related to #15403
2017-04-11 14:38:45 -07:00
Chuck Jazdzewski 168a2eb5bf fix(language-service): detect when there isn't a tsconfig.json
Fixes #15874
2017-04-11 14:38:44 -07:00
Chuck Jazdzewski c9c7acd484 fix(language-service): parse extended i18n forms 2017-04-11 14:34:15 -07:00
Chuck Jazdzewski 5b99533315 fix(language-service): initialize static reflector correctly
Fixes #15768
2017-04-11 14:34:14 -07:00
Ethan Veres 037805b741 style(router): fix typo in router preloader method 2017-04-11 14:34:14 -07:00
Chuck Jazdzewski 0861fda69c fix(language-service): avoid throwing exceptions when reporting metadata errors 2017-04-11 14:34:13 -07:00
Chuck Jazdzewski feae7b6059 fix(language-service): resolve any parameter types to any result 2017-04-11 14:34:12 -07:00
Chuck Jazdzewski e4277a0869 fix(language-service): improve resilience to incomplete information 2017-04-11 14:34:12 -07:00
Tobias Bosch 1864ccb3dd fix(compiler): fix inheritance for AOT with summaries (#15583)
Allows to inherit ctor args, lifecycle hooks and statics from a class
in another compilation unit. 
Will error if trying to inherit from a class in another compilation unit 
that has an `@Component` / `@Directive` / `@Pipe` / `@NgModule`.
2017-04-11 14:34:11 -07:00
Victor Berchet 6b79ab5abe docs: add changelog for 4.0.1 4.0.1 2017-03-29 16:27:40 -07:00
Victor Berchet 53c12a84dc release: cut the 4.0.1 release 2017-03-29 16:26:06 -07:00
Tobias Bosch ca665303f4 fix(core): fix inheritance in JIT mode for TS 2.1 (#15599)
Fixes #15502
2017-03-29 16:19:15 -07:00
Chuck Jazdzewski 0fe4985756 fix(language-service): correctly determine base members of types (#15600)
Fixes #15460
2017-03-29 16:19:09 -07:00
Dzmitry Shylovich 74087cb39d docs(http): remove deprecated stuff and outdated plunkrs (#15598) 2017-03-29 15:18:03 -07:00
Dzmitry Shylovich 902bb2f026 fix(compiler): throw when a component defines both template and templateUrl (#15572)
Closes #15566
2017-03-29 10:29:00 -07:00
Victor Berchet 23bf34853c refactor(router): cleanup & simplification (#15436) 2017-03-29 10:15:00 -07:00
Miško Hevery 8c4b963927 fix(core): Update types for TypeScript nullability support (#15472) 2017-03-29 10:14:55 -07:00
Chuck Jazdzewski bfa4f70204 fix(language-service): don't require reflect-metadata module to be provided (#15569)
Fixes #15568
2017-03-29 10:14:48 -07:00
Shai Reznik d481f6d150 docs(core): fix API docs for Injector.get 2017-03-29 10:14:38 -07:00
Dzmitry Shylovich fd6114561b perf(router): don't create new serializer every time UrlTree.toString is called (#15565) 2017-03-29 10:11:21 -07:00
Matias Niemelä c82851172e fix(animations): make sure style calculations are not computed too early (#15540)
Closes #15507
2017-03-29 10:11:06 -07:00
Dzmitry Shylovich 75478b2078 fix(router): should run CanActivate after CanDeactivate guards
Closes #14059
Closes #15467
2017-03-29 10:11:00 -07:00
Dzmitry Shylovich cdbb3dbd2a refactor(router): fix tests structure 2017-03-29 10:10:53 -07:00
Victor Berchet e72124c888 fix(core): fix the key/value differ (#15539)
fixes #15457
2017-03-29 10:10:43 -07:00
Diego Barahona b8c0a97e35 fix(core): check for undefined on normalizeDebugBindingValue (#15503)
DebugServices is parsing false atributes values incorrectly.
Parse5 expects a string value for attributes, but currently boolean is being sent.

Closes #15494
2017-03-29 10:10:37 -07:00
Chuck Jazdzewski 5597fd3180 fix(language-service): improve performance of updateModuleAnalysis() (#15543) 2017-03-29 10:10:26 -07:00
Chuck Jazdzewski a88413f871 fix(compiler): ignore errors when evaluating base classes (#15560)
Fixes #15536
2017-03-29 10:10:22 -07:00
Dzmitry Shylovich aa116524e6 refactor(router): improve flatten fn
closes #15505
2017-03-29 10:10:10 -07:00
Dzmitry Shylovich 4a5ad7ba30 refactor(router): use object spread operator instead of merge fn 2017-03-29 10:10:06 -07:00
Dzmitry Shylovich d74e4d0633 fix(core): improve error msg for invalid KeyValueDiffer.diff arg (#15489)
Closes #15402
2017-03-29 10:09:55 -07:00
Chuck Jazdzewski a2c2b87aa3 fix(language-service): be resilient to invalidate ordering (#15470)
Fixes #15466
2017-03-29 10:09:19 -07:00
JB Nizet 8f4ea3e4b8 docs(core): fix typo and example in InjectionToken doc (#15449)
The doc included an example that didn't use InjectionToken.
2017-03-29 10:08:22 -07:00
Chuck Jazdzewski bf25e94f19 fix(language-service): guard access to Symbol.members (#15529)
Fixes #15528 

What is the current behavior?
The language service access TypeScript's Symbol.members without checking for null or undefined.
What is the new behavior?
The access is guarded.
2017-03-29 10:08:06 -07:00
Chuck Jazdzewski 7983414e6a ci: add tbosch and vicb as approvers of the language service (#15530) 2017-03-29 10:07:58 -07:00
Ward Bell 8248eba3e2 docs: in doc comments, replace [aA]ngular2 with Angular (#15463) 2017-03-29 10:07:44 -07:00
Olivier Combe a65487528f fix(compiler): allow single quotes into named interpolations (#15461)
Fixes #15318
2017-03-29 10:07:32 -07:00
Dzmitry Shylovich 426b3a19b7 refactor: use object spread operator rather than merge (#15426) 2017-03-29 10:07:14 -07:00
Dzmitry Shylovich 2360676a7b fix(router): shouldn't execute CanLoad when a route has been loaded
Closes #14475
Closes #15438
2017-03-29 10:07:01 -07:00
Dzmitry Shylovich ce3e03ff1a refactor(router): polishing 2017-03-29 10:06:52 -07:00
Mike 858c11cf7b docs: clarify querying all descendants (#15400)
Fixes #14417
Updated example to illustrate @ContentChildren default behavior (only query direct children), and how to query for nested elements/all descendants.
2017-03-29 10:06:09 -07:00
Marc Laval 95afaf495b test(compiler): refactor i18n integration test 2017-03-24 14:35:10 -07:00
Thomas Pink d92930e975 docs: fixed broken links (#15455)
Closes #15446
2017-03-24 08:14:23 -07:00