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
5e9d3dba3a
fix(compiler): avoid evaluating arguments to unknown decorators
...
Fixes #13605
2017-01-09 18:06:11 -05:00
16922655ca
fix(Router): fix checking for object intersection
2017-01-09 18:06:03 -05:00
7dc12b93fe
fix(Compiler): fix template binding parsing (*directive="-..."
)
...
fixes #13800
2017-01-09 16:50:14 -05:00
1c82b58185
fix(router): RouterLink mirrors input target
as attribute
...
Closes #13837
2017-01-09 16:50:06 -05:00
d6c414c08f
fix: correctly show error when karma fails to load
2017-01-09 16:49:01 -05:00
d25d1730c7
chore(tsc-wrapped): bump version number to 0.5.1
2017-01-06 12:46:07 -08:00
03b35d2e8f
docs(changelog): add release notes for 2.4.2
2.4.2
2017-01-06 12:40:35 -08:00
722543739e
chore(release): cut the 2.4.2 release
2017-01-06 12:37:50 -08:00
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
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
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
f47a71689c
refactor: remove unused imports
2017-01-06 11:00:11 -08:00
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
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
17c5fa9293
fix(forms): Validators.required properly validate arrays ( #13362 )
...
Closes #12274
2017-01-06 11:00:11 -08:00
5f49c3ed23
fix(common): do not override locale provided on bootstrap ( #13654 )
...
Closes #13607
2017-01-06 11:00:11 -08:00
ebba63057f
docs(developer): add linting section and correct command to verify API changes
2017-01-06 11:00:11 -08:00
5058461af7
feat(benchmarks): add detectChanges
test for ng2 tree benchmark
2017-01-06 11:00:11 -08:00
21f5f05893
fix(core): Remove reference to "Angular 2" in dev mode warning ( #13751 )
2017-01-06 11:00:11 -08:00
f2ee81fa7a
Typo ( #13698 )
2017-01-06 11:00:11 -08:00
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
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
ec0ca01224
docs(Core): fix API docs for ContentChild and ViewChildren ( #13656 )
...
Move the documentations of the ContentChild and ViewChildren decorators
so that they appear correctly on angular.io.
Closes #13625
2017-01-05 21:21:22 -08:00
1cd73c7a79
fix(compiler): query <template>
elements before their children. ( #13677 )
...
Fixes #13118
Closes #13167
2017-01-05 21:20:56 -08:00
9f6a647908
fix(router): update route snapshot before emit new values ( #13558 )
...
Closes #12912
2017-01-05 21:20:45 -08:00
29ffdfdffe
fix(Compiler): allow "." in attribute selectors ( #13653 )
...
fixes #13645
2017-01-05 21:14:54 -08:00
5754ecc3e1
fix(router): fix lazy loaded module with wildcard route ( #13649 )
...
Closes #12955
2017-01-05 21:14:42 -08:00
dab15c79dd
chore(tslint): update tslint to 4.x ( #13603 )
2017-01-05 21:14:28 -08:00
21942a88f0
fix(upgrade): fix/improve support for lifecycle hooks ( #13020 )
...
With the exception of `$onChanges()`, all lifecycle hooks in ng1 are called on
the controller, regardless if it is the binding destination or not (i.e.
regardless of the value of `bindToController`).
This change makes `upgrade` mimic that behavior when calling lifecycle hooks.
Additionally, calling the `$onInit()` hook has been moved before calling the
linking functions, which also mimics the ng1 behavior.
2017-01-05 21:14:14 -08:00
018865ee6b
fix(router): routerLink support of null/undefined ( #13380 )
...
Closes #6971
2017-01-05 21:11:56 -08:00
f7234378b6
fix(common): add link to trackBy docs ( #13634 )
2017-01-05 21:11:34 -08:00
5f47583c94
fixed minor typo ( #13626 )
2017-01-05 21:06:13 -08:00
0e7f9f0bff
fix(testing): improve misleading error message when don't call compileComponents ( #13543 )
...
Closes #11301
2017-01-05 21:05:39 -08:00
28a92b2bcd
docs(changelog): add changelog for 2.4.1
2.4.1
2016-12-21 14:26:13 -08:00
48be539824
chore(release): cut the 2.4.1 release
2016-12-21 14:22:42 -08:00
d788c679b6
fix(animations): always recover from a failed animation step ( #13604 )
2016-12-21 14:17:45 -08:00
a38f14b39c
fix(router): should reset location if a navigation by location is successful ( #13545 )
...
Closes #13491
2016-12-21 14:17:25 -08:00
6a5e46cedd
fix(animations): always quote string map key values in AOT code ( #13602 )
2016-12-21 09:49:03 -08:00
6316e5df71
fix(compiler): ignore @import in comments ( #13368 )
...
* refactor(compiler): clean up style url resolver
* fix(compiler): ignore @import in css comments
Closes #12196
2016-12-21 09:49:03 -08:00
90fca7c879
Include bower instructions in DEVELOPER.md ( #13591 )
2016-12-21 09:49:03 -08:00
d871ae2dc6
refactor(platform-browser): resolver merge conflict for tslint ( #13601 )
2016-12-21 09:49:03 -08:00
44e84d87f9
fix(common): throw an error if trackBy is not a function ( #13420 )
...
* fix(common): throw an error if trackBy is not a function
Closes #13388
* refactor(platform-browser): disable no-console rule in DomAdapter
2016-12-21 09:49:03 -08:00
b9e979e0a5
fix(core): improve error message when component factory cannot be found ( #13541 )
...
Closes #12678
2016-12-21 09:49:03 -08:00
cb2aa41782
build: fix publish-build-artifacts branch detection ( #13599 )
2016-12-21 09:49:03 -08:00
189a7e3750
build: publish build artifacts to branches ( #13529 )
...
Fix #13126
2016-12-21 09:49:03 -08:00
6efdf84d3e
docs(changelog): add changelog for 2.4.0
2.4.0
2016-12-19 17:42:17 -08:00
e61bfc8b24
chore(release): cut the 2.4.0 release
2016-12-19 17:19:25 -08:00
070f9d0644
refactor: formatting fixes
2016-12-19 17:18:33 -08:00
8d5da1e57a
feat: update to rxjs@5.0.1 and unpin the rxjs peerDeps via ^5.0.1 ( #13572 )
...
Now that rxjs is stable and the rxjs team follows semver, we can update and unpin the dependency safely.
From now on the Angular application/library developers are in charge of controlling the rxjs version as long as it's newer than 5.0.1.
closes #13561
closes #13478
closes #13572
2016-12-19 17:09:41 -08:00