From ad481694e1c4d8ac48fe3d11970247ca16088eed Mon Sep 17 00:00:00 2001 From: Rob Wormald Date: Mon, 7 Dec 2015 14:45:50 -0800 Subject: [PATCH] fix(changelog): add RxJS imports breaking change Closes #5678 --- CHANGELOG.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 268d138699..d80c68c03c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,8 +46,17 @@ import * as core from 'angular2/core'; * Http's MockBackend is no longer exported from the `angular2/http` module. It's now available at `angular2/http/testing` - - +* Operators and Observables from RxJS (e.g. .map(), .toArray(), .toPromise(), etc ) now need to be explicitly imported (once per operator in your app) + ``` + import {Observable} from 'angular2/angular2/' + import 'rxjs/operators/map'; + import 'rxjs/observable/interval' + + Observable.interval(1000).subscribe(...); + + http.get('foos.json').map(res => res.json()).subscribe(...); + ``` + # 2.0.0-alpha.47 (2015-12-01)