Victor Berchet
c723d42d0a
refactor: fix typos ( #18000 )
2017-07-07 16:55:17 -07:00
Matias Niemelä
8e28382e4a
feat(animations): support disabling animations for sub elements
...
Closes #16483
2017-07-07 14:58:40 -07:00
Alex Rickabaugh
37797e2b4e
feat(common): new HttpClient API
...
HttpClient is an evolution of the existing Angular HTTP API, which exists
alongside of it in a separate package, @angular/common/http. This structure
ensures that existing codebases can slowly migrate to the new API.
The new API improves significantly on the ergonomics and features of the legacy
API. A partial list of new features includes:
* Typed, synchronous response body access, including support for JSON body types
* JSON is an assumed default and no longer needs to be explicitly parsed
* Interceptors allow middleware logic to be inserted into the pipeline
* Immutable request/response objects
* Progress events for both request upload and response download
* Post-request verification & flush based testing framework
2017-07-07 12:09:32 -07:00
Alex Rickabaugh
2a7ebbe982
refactor: move DOCUMENT from platform/browser to common
2017-07-07 12:09:32 -07:00
Miško Hevery
bb2fc6b8da
refactor(platform-browser): Remove setGlobalVar from DOM adapter
2017-06-06 13:26:23 -07:00
Matias Niemelä
d108479d84
fix(animations): use a lightweight renderer for non-animation components ( #17003 )
...
This reverts commit c0981b8e13 .
2017-05-26 14:39:42 -06:00
Chuck Jazdzewski
c0981b8e13
Revert "fix(animations): use a lightweight renderer for non-animation components ( #17003 )"
...
This reverts commit 3ab86bd661 .
2017-05-26 08:55:23 -07:00
Matias Niemelä
3ab86bd661
fix(animations): use a lightweight renderer for non-animation components ( #17003 )
2017-05-25 18:54:35 -06:00
Jason Aden
fa809ec8cf
build: import tslib rather than output TS helpers ( #16901 )
2017-05-23 14:01:39 -06:00
Matias Niemelä
b10029c18b
docs(animations): add documentation for new animation features
2017-05-19 12:52:04 -07:00
Matias Niemelä
6cb93c1fac
fix(animations): only require one flushMicrotasks call when testing animations
2017-05-19 10:45:20 -07:00
Matias Niemelä
54a6e4ff9e
refactor(animations): make animation testing work with fixture.whenRenderingDone
2017-05-16 17:39:57 -07:00
Matias Niemelä
8a6eb1ac78
refactor(animations): single animation engine code pass
2017-05-16 17:39:57 -07:00
Matias Niemelä
16c8167886
feat(animations): introduce a wave of new animation features
2017-05-16 17:39:57 -07:00
vikerman
c805082648
fix(platform-server): wait for async app initializers to complete before removing server side styles ( #16712 )
...
This fixes a flicker when transitioning from server rendered page to client rendered page in lazy loaded routes by waiting for the lazy loaded route to finish loading, assuming initialNavigation on the route is set to 'enabled'.
Fixes #15716
2017-05-16 15:14:55 -07:00
Tobias Bosch
39b92f7e54
feat: introduce TestBed.overrideProvider ( #16725 )
...
This allows to overwrite all providers for a token, not matter
where they were defined.
This can be used to test JIT and AOT’ed code in the same way.
Design doc: https://docs.google.com/document/d/1VmTkz0EbEVSWfEEWEvQ5sXyQXSCvtMOw4t7pKU-jOwc/edit?usp=sharing
2017-05-15 13:12:10 -07:00
Matias Niemelä
7f9c589ba3
feat(core): add begin and end renderer methods to track change detection
2017-05-04 15:07:27 -04:00
Miško Hevery
5293794316
fix: turn on nullability in the code base.
2017-04-18 12:07:33 -07:00
Miško Hevery
728c9d0632
fix(platform-browser): Update types for TypeScript nullability support
...
Closes #15898
2017-04-18 12:07:33 -07:00
Dzmitry Shylovich
c17b912eb9
refactor: use object spread operator rather than merge ( #15426 )
2017-03-24 14:45:33 -07:00
Dzmitry Shylovich
92084f2b6a
fix(platform-browser): setAttribute should work with xmlns namespace ( #14874 )
...
Closes #14865
2017-03-23 12:52:06 -07:00
Filipe Silva
f634c62cb3
test: add systemjs+umd integration test ( #14196 )
...
This test ensures the `__esModule` is set on UMD bundles, thus making them compatible with SystemJS@^0.22.3.
Followup from https://github.com/frankwallis/plugin-typescript/issues/185 .
PR Close #14196
2017-03-19 12:23:07 -05:00
Tobias Bosch
0d3e314df0
fix(core): trigger host animations for elements that are removed. ( #15251 )
...
Fixes #14813
Fixes #15193
2017-03-19 12:21:42 -05:00
Matias Niemelä
80075afe8a
fix(animations): only process element nodes through the animation engine ( #15268 )
...
Closes #15267
Closes #15268
PR Close #15268
2017-03-19 10:50:07 -05:00
Jason Aden
49829b4a4d
build: add package names to secondary endpoint package.json files ( #15253 )
...
Fixes #14736
PR Close #15253
2017-03-17 16:52:55 -05:00
Jason Aden
410aa33005
build: fix paths to typings files so tsickle resolves imports correctly
...
Fixes #15080
2017-03-16 17:34:29 -07:00
Miško Hevery
77fd91d615
fix(core): ErrorHandler should not rethrow an error by default ( #15077 ) ( #15208 )
...
ErrorHandler can not throw errors because it will unsubscribe itself from
the error stream.
Zones captures errors and feed it into NgZone, which than has a Rx Observable
to feed it into ErrorHandler. If the ErroHandler throws, then Rx will teardown
the observable which in essence causes the ErrorHandler to be removed from the
error handling. This implies that the ErrorHandler can never throw errors.
Closes #14949
Closes #15182
Closes #14316
2017-03-16 12:58:41 -07:00
Victor Berchet
a4076c70cc
fix(platform-browser): prevent clobbered elements from freezing the browser
...
see
https://github.com/angular/angular.js/commit/4f69d38f097fab76e683105d1c758706e6cbe1a9
2017-03-16 10:16:39 -07:00
Victor Berchet
52bbc9baf4
refactor(platform-browser): cleanup HtmlSanitizer specs
2017-03-16 10:16:39 -07:00
Jason Aden
923d0c56e7
fix: correct UMD resolutions for platform-browser_animations ( #15190 )
...
Fixes #15114
2017-03-15 17:14:20 -07:00