Miško Hevery
84542d8ae7
docs(changelog): add changelog for 2.4.4
2.4.4
2017-01-18 18:35:54 -06:00
Miško Hevery
17cb3ec565
chore(release): cut the 2.4.4 release
2017-01-18 18:32:57 -06:00
Dzmitry Shylovich
015878afe6
fix(http): don't create a blob out of ArrayBuffer when type is application/octet-stream ( #13992 )
...
Closes #13973
2017-01-18 18:28:37 -06:00
Dzmitry Shylovich
2af58622c1
fix(router): enable loadChildren with function in aot ( #13909 )
...
Closes #11075
2017-01-18 18:28:02 -06:00
Tim Consolazio
7ffd10541d
refactor(core): remove an unused import in application_ref ( #13901 )
2017-01-18 18:27:52 -06:00
Maarten Tibau
481b099d82
docs(CHANGELOG): added reference to closed issue in CHANGELOG for informational purposes ( #13985 )
2017-01-18 18:27:25 -06:00
Dzmitry Shylovich
49c4b0fa92
fix(router): routerLinkActive should not throw when not initialized ( #13273 )
...
Fixes #13270
PR Close #13273
2017-01-18 18:27:14 -06:00
Dzmitry Shylovich
b8b6b1d27a
refactor(router): clean up RouterLinkActive ( #13273 )
...
PR Close #13273
2017-01-18 18:27:03 -06:00
Alex Eagle
892b5ba950
chore(tsc-wrapped): update tsickle to latest ( #13471 )
2017-01-18 18:26:37 -06:00
Martin Probst
bd15110c7d
feat(security): allow calc and gradient functions. ( #13943 )
...
PR Close #13943
Also includes support for # color notation in function arguments (common
in gradient functions).
2017-01-18 18:25:45 -06:00
Peter Bacon Darwin
2250082fd7
fix(upgrade): detect async downgrade component changes ( #13812 )
...
This commit effectively reverts 7e0f02f96e
as it was an invalid fix for #6385 , that created a more significant
bug, which was that changes were not always being detected.
Angular 1 digests should be run inside the ngZone to ensure
that async changes are detected.
We don't know how to fix #6385 without breaking change detection
at this stage. That issue is triggered by async operations, such as
`setTimeout`, being triggered inside scope watcher functions.
One could argue that watcher functions should be pure and not do
work such as triggering async operations. It is possible that the
original use case could be supported by moving the debounce
logic into the watch listener function, which is only called if the
watched value actually changes.
Closes #10660 , #12318 , #12034
PR Close #13812
2017-01-18 18:21:29 -06:00
Peter Bacon Darwin
87316c52db
test(upgrade): reorganise test layout ( #13812 )
2017-01-18 18:21:24 -06:00
Vikram Subramanian
606b76d9bb
chore(compiler-cli): Move calculateEmitPath into CompilerHost ( #13904 )
...
This is so that it can be overriden in an environment specific CompilerHost(like within Google) to customize the output paths.
PR Close #13904
2017-01-18 18:21:09 -06:00
Marc Laval
3d0b1b8184
fix(common): support numeric value as discrete cases for NgPlural ( #13876 )
...
PR Close #13876
2017-01-18 18:20:56 -06:00
Matias Niemelä
261fd16780
fix(animations): fix internal jscompiler issue and AOT quoting ( #13798 )
...
CL #143630929
PR Close #13798
2017-01-18 18:20:47 -06:00
José Nicodemos Maia Neto
104cc42f6d
docs(http): Spelling Fix #13867
2017-01-18 18:20:30 -06:00
Matias Niemelä
a7d28044c5
docs(changelog): add changelog for 2.4.3
2.4.3
2017-01-11 13:38:23 -08:00
Matias Niemelä
055bea2969
chore(release): cut v2.4.3
2017-01-11 13:38:16 -08:00
Alex Eagle
dad0d21b89
chore(owners): configure pullapprove.com
2017-01-11 11:35:31 -08:00
Meligy
313683f6f3
fix(compiler-cli): avoid handling functions in loadChildren as lazy load routes paths
...
The change avoids the compiler CLI internal API from mismatching the following case as lazy loading
```
import { NonLazyLoadedModule } from './non-lazy-loaded/non-lazy-loaded.module';
export function getNonLazyLoadedModule() { return NonLazyLoadedModule; }
export const routes = [
{ path: '/some-path', loadChildren: getNonLazyLoadedModule }
];
```
The output of the check is later passed to `RouteDef.fromString()`, so, it makes sense to be only a string.
Fixes angular/angular-cli#3204
2017-01-11 11:35:23 -08:00
Pawel Kozlowski
338be6d6a5
refactor(common): remove some facade usages
2017-01-11 11:34:03 -08:00
Victor Berchet
4b56f79328
refactor(test): <template>/<ng-container>/*-directives
...
- remove outer `<div>` in tests,
- use `<ng-container>` instead of `<template>` where possible,
- use *... instead of template (tag or attr) where possible.
Fixes #13816
2017-01-11 11:33:30 -08:00
Victor Berchet
d7f2a3c71b
fix(i18n): translate attributes inside elements marked for translation
2017-01-10 17:15:42 -08:00
Victor Berchet
1c929ae244
docs(NgPlural): fix API docs
...
Fixes #13786
2017-01-10 16:51:52 -08:00
Victor Berchet
83d0ff6d13
refactor(Compiler): misc cleanup
2017-01-10 16:50:20 -08:00
Matias Niemelä
d43e5dd44d
chore(benchmarks): change var to let
2017-01-09 16:08:33 -08:00
Dzmitry Shylovich
61ba223c1a
fix(router): throw an error when navigate to null/undefined path
...
Closes #10560
Fixes #13384
2017-01-09 18:55:31 -05:00
Meligy
6164eb25f3
fix(compiler-cli): add support for more than 2 levels of nested lazy routes
...
This change adds Compiler CLI support for any level of nesting for lazy routes.
For example `{app-root}/lazy-loaded-module-1/lazy-loaded-module-2/lazy-loaded-module-3`
Where `lazy-loaded-module-3` is lazy loaded from `lazy-loaded-module-2`,
and `lazy-loaded-module-2` is lazy loaded from module `lazy-loaded-module-1`,
and `lazy-loaded-module-1` is lazy loaded from `AppModule`
Fixes angular/angular-cli#3663
2017-01-09 18:06:26 -05:00
Chuck Jazdzewski
5e9d3dba3a
fix(compiler): avoid evaluating arguments to unknown decorators
...
Fixes #13605
2017-01-09 18:06:11 -05:00
Victor Berchet
16922655ca
fix(Router): fix checking for object intersection
2017-01-09 18:06:03 -05:00
Victor Berchet
7dc12b93fe
fix(Compiler): fix template binding parsing (*directive="-...")
...
fixes #13800
2017-01-09 16:50:14 -05:00
Dzmitry Shylovich
1c82b58185
fix(router): RouterLink mirrors input target as attribute
...
Closes #13837
2017-01-09 16:50:06 -05:00
Misko Hevery
d6c414c08f
fix: correctly show error when karma fails to load
2017-01-09 16:49:01 -05:00
Igor Minar
d25d1730c7
chore(tsc-wrapped): bump version number to 0.5.1
2017-01-06 12:46:07 -08:00
Igor Minar
03b35d2e8f
docs(changelog): add release notes for 2.4.2
2.4.2
2017-01-06 12:40:35 -08:00
Igor Minar
722543739e
chore(release): cut the 2.4.2 release
2017-01-06 12:37:50 -08:00
Chuck Jazdzewski
56b4296a09
fix(language-service): support TypeScript 2.1 ( #13655 )
...
@angular/language-service now supports using TypeScript 2.1 as the
the TypeScript host. TypeScript 2.1 is now also partially supported
in `ngc` but is not recommended as Tsickle does not yet support 2.1.
2017-01-06 11:00:12 -08:00
Matias Niemelä
f1cde4339b
fix(core): animations no longer silently exits if the element is not apart of the DOM ( #13763 )
2017-01-06 11:00:12 -08:00
Matias Niemelä
b245b920a6
fix(core): animations should blend in all previously transitioned styles into next animation if interrupted ( #13148 )
2017-01-06 11:00:12 -08:00
Victor Berchet
f47a71689c
refactor: remove unused imports
2017-01-06 11:00:11 -08:00
Victor Berchet
6be55cc214
fix(Common): allow null/undefined values for NgForTrackBy
...
Reverts a breaking change introduced in 2.4.1 by #13420
fixes #13641
2017-01-06 11:00:11 -08:00
Dzmitry Shylovich
504199cf5a
docs(common): add an example how to bind multiple classes based on a single parameter ( #13779 )
...
Closes #13778
2017-01-06 11:00:11 -08:00
Dzmitry Shylovich
17c5fa9293
fix(forms): Validators.required properly validate arrays ( #13362 )
...
Closes #12274
2017-01-06 11:00:11 -08:00
Dzmitry Shylovich
5f49c3ed23
fix(common): do not override locale provided on bootstrap ( #13654 )
...
Closes #13607
2017-01-06 11:00:11 -08:00
Dimitri Benin
ebba63057f
docs(developer): add linting section and correct command to verify API changes
2017-01-06 11:00:11 -08:00
Tobias Bosch
5058461af7
feat(benchmarks): add detectChanges test for ng2 tree benchmark
2017-01-06 11:00:11 -08:00
William KOZA
21f5f05893
fix(core): Remove reference to "Angular 2" in dev mode warning ( #13751 )
2017-01-06 11:00:11 -08:00
Jon Walsh
f2ee81fa7a
Typo ( #13698 )
2017-01-06 11:00:11 -08:00
Emanuel Hein
ae1029da35
docs(Http): fix and extend samples for testing/MockBackend ( #13689 )
...
Fix samples for MockBackend and MockBackend.connections that were outdated. Also extend central sample for MockBackend to ease getting started.
2017-01-06 11:00:10 -08:00
Tobias Bosch
230e33f3f1
fix(compiler): don’t throw when using ANALYZE_FOR_ENTRY_COMPONENTS with user classes ( #13679 )
...
Fixed #13565
2017-01-05 21:21:33 -08:00