7d137d7f88
fix(core): complete EventEmitter in QueryList on component destroy ( #18902 )
...
Fixes #18741
PR Close #18902
2017-09-01 22:52:03 -05:00
b8b551cf2b
perf(core): add option to remove blank text nodes from compiled templates ( #18823 )
...
PR Close #18823
2017-09-01 13:30:04 -05:00
7ec28fe9af
feat(compiler): allow multiple exportAs names ( #18723 )
...
This change allows users to specify multiple exportAs names for a
directive by giving a comma-delimited list inside the string.
The primary motivation for this change is to allow these names to be
changed in a backwards compatible way.
PR Close #18723
2017-09-01 13:26:10 -05:00
1cc3fe21b6
fix(animations): do not leak DOM nodes/styling for host triggered animations ( #18853 )
...
Closes #18606
PR Close #18853
2017-09-01 10:24:14 -07:00
497e0178cc
fix(compiler): normalize the locale name ( #18963 )
...
PR Close #18963
2017-08-30 17:48:08 -07:00
8821723526
fix(common): fix XSSI prefix stripping by using JSON.parse always ( #18466 )
...
Currently HttpClient sends requests for JSON data with the
XMLHttpRequest.responseType set to 'json'. With this flag, the browser
will attempt to parse the response as JSON, but will return 'null' on
any errors. If the JSON response contains an XSSI-prevention prefix,
this will cause the browser's parsing to fail, which is unrecoverable.
The only compelling reason to use the responseType 'json' is for
performance (especially if the browser offloads JSON parsing to a
separate thread). I'm not aware of any browser which does this currently,
nor of any plans to do so. JSON.parse and responseType 'json' both
end up using the same V8 code path in Chrome to implement the parse.
Thus, this change switches all JSON parsing in HttpClient to use
JSON.parse directly.
Fixes #18396 , #18453 .
PR Close #18466
2017-08-29 17:19:02 -07:00
a203a959ae
fix(common): fix improper packaging for @angular/common/http ( #18613 )
...
PR Close #18613
2017-08-29 17:16:56 -07:00
3853fff795
release: cut the 4.3.6 release
2017-08-23 14:59:49 -05:00
ee5591d583
fix(core): make sure onStable runs in the right zone ( #18706 )
...
Make sure the callbacks to the NgZone callbacks run in the right zone
with or without the rxjs Zone patch -
1ed83d08ac
.
PR Close #18706
2017-08-23 13:18:47 -05:00
14d34c9bdf
style(animations): format integration spec ( #18805 )
...
PR Close #18805
2017-08-21 17:09:53 -05:00
e1f45a33b7
fix(animations): restore auto-style support for removed DOM nodes ( #18787 )
...
PR Close #18787
2017-08-18 23:32:41 -05:00
9a754f9f0f
fix(animations): make sure animation cancellations respect AUTO style values ( #18787 )
...
Closes #17450
PR Close #18787
2017-08-18 23:32:34 -05:00
c3dcbf9cb3
fix(animations): make sure @.disabled respects disabled parent/sub animation sequences ( #18715 )
...
Prior to this fix if @parent and @child animations ran at the same
time within a disabled region then there was a chance that a @child
sub animation would never complete. This would cause *directives to
never close a removal when a @child trigger was placed on them. This
patch fixes this issue.
PR Close #18715
2017-08-18 23:32:28 -05:00
5d68c830d2
fix(animations): ensure animations are disabled on the element containing the @.disabled flag ( #18714 )
...
Prior to fix this fix, @.disabled would only work to disable child
animations. Now it will also disable animations for the element that has
the @.disabled flag (which makes more sense).
PR Close #18714
2017-08-18 23:32:21 -05:00
ac58914b97
feat(animations): allow @.disabled property to work without an expression ( #18713 )
...
PR Close #18713
2017-08-18 23:32:13 -05:00
fec3b1a0e9
fix(core): correct order in ContentChildren query result ( #18326 )
...
Fixes #16568
PR Close #18326
2017-08-18 23:15:17 -05:00
f9b290570e
fix(animations): resolve error when using AnimationBuilder with platform-server ( #18642 )
...
Use an injected DOCUMENT instead of assuming the global 'document'
exists.
Fixes #18635 .
PR Close #18642
2017-08-18 13:15:05 -05:00
793f31b9b3
feat(common): add an empty DeprecatedI18NPipesModule module
...
Adding an empty module to ease the migration to the i18n pipes.
2017-08-18 13:15:05 -05:00
6076a8d7bb
release: cut the 4.3.5 release
2017-08-16 10:49:38 -07:00
a1624f217c
fix(forms): re-assigning options should not clear select
...
Fixes #18330
2017-08-16 10:34:23 -07:00
259fc91305
docs(core): correct code examples for ChangeDetectorRef
2017-08-15 15:12:35 -07:00
a618d6e4ce
docs(forms): add api docs for AbstractControlDirective
2017-08-15 15:07:44 -07:00
972538be7a
fix(core): forbid destroyed views to be inserted or moved in VC
...
Fixes #18615
2017-08-14 12:09:22 -07:00
0065868f37
release: cut the 4.3.4 release
2017-08-10 09:38:13 -07:00
71f5e78bcb
test(animations): disable buggy test in Chrome 39 ( #18483 )
...
Fixes #15793
2017-08-09 14:16:03 -07:00
c8fd3f5237
docs(common): fix the DatePipe API docs ( #18548 )
2017-08-07 11:47:38 -07:00
e0660b1b72
fix(animations): support persisting dynamic styles within animation states ( #18468 )
...
Closes #18423
Closes #17505
2017-08-07 11:40:34 -07:00
5a165ebcef
fix(animations): revert container/queried animations accordingly during cancel ( #18516 )
2017-08-07 11:39:04 -07:00
732eb61957
docs(forms): update and re-organize validation guide
2017-08-03 13:57:58 -07:00
e7e7622971
fix(compiler): ignore @import in multi-line css ( #18452 )
...
Fixes #18038
2017-08-03 11:01:24 -07:00
4176832266
refactor(router): compile router cleanly with TypeScript 2.4 ( #18465 )
2017-08-02 17:32:27 -07:00
71de92a189
docs(router): fix typo ( #18479 )
2017-08-02 17:31:33 -07:00
e0021d4cf5
refactor(platform-browser): compiler platform-browser packages cleanly ( #18464 )
2017-08-02 16:31:14 -07:00
4e44102e31
refactor(forms): compile forms cleanly with TypeScript 2.4 ( #18462 )
2017-08-02 16:29:57 -07:00
111b70d108
refactor(upgrade): compile upgrade cleanly with TypeScript 2.4 ( #18461 )
2017-08-02 16:28:38 -07:00
5e4054b8f3
fix(compiler): cleanly compile with TypeScript 2.4 ( #18456 )
2017-08-02 16:27:14 -07:00
5afc7abcb0
fix(benchpress): compile cleanly with TS 2.4 ( #18455 )
2017-08-02 16:24:33 -07:00
afe339396f
test(common): skip some DatePipe tests in old Chrome where Intl is buggy ( #15784 )
2017-08-02 15:52:27 -07:00
baf4ce0dd0
build: enable TSLint on the packages folder ( #18459 )
...
porting PRs #18392 and #18441 to 4.x
2017-08-02 15:23:33 -07:00
82798e9d04
release: cut the 4.3.3 release
2017-08-02 12:57:34 -07:00
f5cbc2ee25
fix(compiler): fix for element needing implicit parent placed in top-level ng-container
...
fixes #18314
2017-07-31 11:40:20 -07:00
c977994864
release: cut the 4.3.2 release
2017-07-27 15:51:46 -05:00
12b8e1af55
Revert "fix(router): should throw when lazy loaded module doesn't define any routes ( #15001 )"
...
This reverts commit be49e0ee93
.
2017-07-27 13:05:36 -07:00
9a188485f5
ci: correct bad bazel merge
2017-07-27 12:43:29 -07:00
45a10419bc
Revert "build: Bazel builds ngfactories for packages/core ( #18289 )"
...
This reverts commit bcea196530
.
2017-07-27 10:51:41 -07:00
2245748c14
test(compiler): fix xliff2 integration test for the 4.3 branch ( #18363 )
...
Closes #18363
2017-07-27 10:20:34 -07:00
bcea196530
build: Bazel builds ngfactories for packages/core ( #18289 )
...
PR Close #18289
2017-07-26 16:31:26 -07:00
b9e32c833a
fix(router): child CanActivate guard should wait for parent to complete ( #18110 )
...
Closes #15670
PR Close #18110
2017-07-26 17:52:47 -05:00
be49e0ee93
fix(router): should throw when lazy loaded module doesn't define any routes ( #15001 )
...
Closes #14596
PR Close #15001
2017-07-26 16:49:50 -05:00
a0846194b7
fix(compiler): add equiv & disp attributes to Xliff2 ICU placeholders ( #18283 )
...
Fixes #17344
PR Close #18283
2017-07-26 12:08:29 -05:00