Vikram Subramanian
5dd1744a0b
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-16 21:54:07 -05:00
Leo Gallucci
21433d0ffa
docs(benchpress): fix android broken links ( #17568 )
2017-07-11 15:30:51 -07:00
Yaroslav Admin
3155255dfc
fix(router): fix outdated homepage url in NPM package ( #17899 )
2017-07-11 15:30:17 -07:00
meDavid
ac862798e9
docs: Fix code example in the ChangeDetectorRef docs ( #18051 )
...
Minor example fix: mark the 'ref' constructor parameter as a private property
(cherry picked from commit a9757ec674 )
2017-07-11 15:18:32 -07:00
Jason Aden
9c4fcd370a
release: cut the 4.2.6 release
2017-07-07 21:46:08 -07:00
Georgios Kalpakas
8b8b4cb794
refactor(upgrade): move shareable functionality to UpgradeHelper class ( #17971 )
...
This functionality can be potentionally re-used by the dynamic version.
2017-07-07 21:11:55 -07:00
Georgios Kalpakas
53378749ef
fix(upgrade): fix transclusion on upgraded components ( #17971 )
...
Previously, only simple, single-slot transclusion worked on upgraded components.
This commit fixes/adds support for the following:
- Multi-slot transclusion.
- Using fallback content when no transclusion content is provided.
- Destroy unused scope (when using fallback content).
Fixes #13271
2017-07-07 21:11:46 -07:00
Jason Aden
3e61bf76c4
Revert "fix(upgrade): fix transclusion on upgraded components ( #17971 )"
...
This reverts commit 30beb52673 .
2017-07-07 21:07:18 -07:00
Jason Aden
b4fab438ea
Revert "refactor(upgrade): move shareable functionality to UpgradeHelper class ( #17971 )"
...
This reverts commit 620c2161f6 .
2017-07-07 21:07:01 -07:00
Victor Berchet
6307581f54
fix(compiler): fix merge error
2017-07-07 19:10:17 -07:00
Victor Berchet
591d894329
feat(compiler): adds support for quoted object keys in the parser
2017-07-07 19:06:23 -07:00
Victor Berchet
48772f189f
refactor: fix typos ( #18000 )
2017-07-07 17:23:15 -07:00
Olivier Combe
991f8ad687
fix(compiler-cli): fix relative source paths on windows for extracted msg ( #17915 )
...
Fixes #16639
2017-07-07 17:23:13 -07:00
Victor Berchet
45ae14c461
fix(compiler): emits quoted keys only iff they are quoted in the original template
...
fixes #14292
2017-07-07 17:23:12 -07:00
Victor Berchet
5ea9b62d58
fix(compiler): fix types
2017-07-07 17:23:11 -07:00
Victor Berchet
276357780c
fix(compiler): remove i18n markup even if no translations ( #17999 )
...
Fixes #11042
2017-07-07 17:23:11 -07:00
Abhimanyu Deora
2108c23b42
revert: "refactor(compiler-cli): remove the dependency on fs in codegen.ts ( #17738 )"
...
This reverts commit b116901400 .
2017-07-07 17:23:10 -07:00
Matias Niemelä
d48b7d3a8e
fix(animations): ensure :animating queries collect previous animation elements properly
2017-07-07 17:23:10 -07:00
Matias Niemelä
00c97417e3
fix(animations): properly detect state transition changes for object literals
2017-07-07 17:23:09 -07:00
Alex Rickabaugh
16e6c6e7f9
refactor: move DOCUMENT from platform/browser to common
2017-07-07 17:23:08 -07:00
George Kalpakas
f632ca4284
refactor(common): replace Object.assign with the spread operator ( #17982 )
...
`Object.assign` is not available in all supported browsers and one had to
provide a polyfill. This commit replaces `Object.assign` with the spread
operator (`...`), which TypeScript will transpile to ES5-compatible code.
2017-07-07 17:23:06 -07:00
Georgios Kalpakas
620c2161f6
refactor(upgrade): move shareable functionality to UpgradeHelper class ( #17971 )
...
This functionality can be potentionally re-used by the dynamic version.
2017-07-07 17:21:38 -07:00
Georgios Kalpakas
30beb52673
fix(upgrade): fix transclusion on upgraded components ( #17971 )
...
Previously, only simple, single-slot transclusion worked on upgraded components.
This commit fixes/adds support for the following:
- Multi-slot transclusion.
- Using fallback content when no transclusion content is provided.
- Destroy unused scope (when using fallback content).
Fixes #13271
2017-07-07 17:21:35 -07:00
Chuck Jazdzewski
fe09e10d02
fix(language-service): ignore hover of symbols not in the TypeScript program ( #17969 )
...
Fixes : #17965
2017-07-07 17:21:35 -07:00
Chuck Jazdzewski
2ab90578f3
fix(language-service): do not crash when hovering over a label definitions ( #17974 )
...
Fixes : #17972
2017-07-07 17:21:33 -07:00
Jason Aden
8f7cce38f8
fix(router): encode URLs the same way AngularJS did (closer to spec) ( #17890 )
...
fixes #16067
2017-07-07 17:21:33 -07:00
Victor Berchet
a3180937c1
fix(core): fix re-insertions in the iterable differ ( #17891 )
...
fixes #17852
2017-07-07 17:21:32 -07:00
Abhimanyu Deora
3d52675c1b
refactor(compiler-cli): remove the dependency on fs in codegen.ts ( #17738 )
2017-07-07 17:21:32 -07:00
Matias Niemelä
cf5752738a
fix(animations): properly handle cancelled animation style application
2017-07-07 17:21:28 -07:00
Matias Niemelä
00de9ff531
fix(animations): properly cleanup query artificats when animation construction fails
2017-07-07 17:21:28 -07:00
Igor Minar
12a2099265
fix(router): export missing UrlMatcher and UrlMatchResult types
...
Fixes #15140
2017-07-07 17:21:27 -07:00
Jason Aden
6d55a807cd
perf(core): refactor NgZone, decrease size by 1.2Kb ( #17773 )
...
- Remove getters
- Hide private methods for better property renaming
```
497893 May 31 11:26 core.umd.js
718073 May 31 11:26 core.umd.js.map
217108 May 31 11:26 core.umd.min.js
575092 May 31 11:26 core.umd.min.js.map
```
```
495594 May 31 11:28 core.umd.js
716943 May 31 11:28 core.umd.js.map
215826 May 31 11:28 core.umd.min.js
574401 May 31 11:28 core.umd.min.js.map
```
diff: 1,282
2017-07-07 17:21:22 -07:00
Matias Niemelä
e1fea47400
release: cut the 4.2.5 release
2017-06-29 17:15:50 -07:00
Alex Eagle
f31b0d664d
fix(core): add needed closure compiler warning suppression
2017-06-29 17:08:12 -07:00
Matias Niemelä
79b634692a
fix(animations): properly collect :enter nodes that exist within multi-level DOM trees
...
Closes #17632
2017-06-29 17:08:12 -07:00
Matias Niemelä
6909171c0a
fix(animations): do not validate style overlap errors in different transitions
2017-06-29 17:08:12 -07:00
Matias Niemelä
ec4ae60fb8
fix(animations): do not remove container nodes when children are queried by a parent animation
...
Closes #17746
2017-06-29 17:08:12 -07:00
Matias Niemelä
7559b7898e
fix(animations): do not delay style() values before a stagger() runs
...
Closes #17412
2017-06-29 17:08:12 -07:00
Jason Hodges
a1458d9cb9
docs(aio): animations typos fixed
2017-06-27 15:57:17 -04:00
Hans Larsen
f4b7bf7e38
release: cut the 4.2.4 release
2017-06-21 16:57:31 -07:00
Chuck Jazdzewski
c112232fa3
fix(compiler): avoid emitting self importing factories
...
Fixes : #17389
2017-06-21 16:20:05 -07:00
Chuck Jazdzewski
59299de374
fix(compiler-cli): find lazy routes in nested module import arrays
...
Fixes : #17531
2017-06-20 14:21:35 -07:00
Alex Rickabaugh
77860a0023
fix: argument destructuring sometimes breaks strictNullChecks
...
Destructuring of the form:
function foo({a, b}: {a?, b?} = {})
breaks strictNullChecks, due to the TypeScript bug https://github.com/microsoft/typescript/issues/10078 .
This change eliminates usage of destructuring in function argument lists in cases where it would leak
into the public API .d.ts.
2017-06-20 12:56:21 -07:00
Pawel Kozlowski
93d834a0b2
refactor(core): remove toString() method from DefaultKeyValueDiffer
...
toString() from DefaultKeyValueDiffer is only used in tests and should not
be part of the production code. toString() methods from differs add
~ 0.3KB (min+gzip) to the production bundle size.
2017-06-20 12:55:35 -07:00
Chuck Jazdzewski
63a5f33e99
fix(language-service): infer any ngForOf of type any
...
Fixes : #17611
2017-06-20 12:05:10 -07:00
Chuck Jazdzewski
20eb5cfd59
fix(language-service): rollup tslib into the language service package
...
Fixes : #17614
2017-06-20 11:50:42 -07:00
Hans Larsen
4ab7353a9f
fix(forms): roll back breaking change with min/max directives
...
With 4.2, we introduced the min and max validator directives. This was actually a breaking change because their selectors could include custom value accessors using the min/max properties for their own purposes.
For now, we are rolling back the change by removing the exports. At the least, we should wait to add them until a major version. In the meantime, we will have further discussion about what the best solution is going forward for all validator directives.
Closes #17491 .
----
PR #17551 tried to roll this back, but did not remove the dead code. This failed internal tests that were checking that all declared directives were used.
This PR rolls back the original PR and commit the same as #17551 while also removing the dead code.
2017-06-20 09:08:25 -07:00
Hans Larsen
eb23460e09
revert: fix(forms): temp roll back breaking change with min/max directives
...
This reverts commit 232bd9395d .
2017-06-20 09:08:25 -07:00
Igor Minar
7de1ae2be8
fix(router): update the version placeholder so that it gets replaced during the build
...
Fixes #17403
2017-06-19 15:11:22 -07:00
Trotyl Yu
623b9c6e58
test(compiler): fix typo "mamespace"
2017-06-16 11:17:49 -07:00