From 929799484bb4c5ca69955fb5e7b380cf43ccee80 Mon Sep 17 00:00:00 2001 From: Amit Moryossef Date: Fri, 19 May 2017 17:17:18 +0300 Subject: [PATCH 01/20] docs(issue): add reference to ionic v1 for v1.x issues (#11272) --- .github/ISSUE_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 017c46458b..c9bc3a92a9 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,5 +1,5 @@ **Ionic version:** (check one with "x") -[ ] **1.x** +[ ] **1.x** (For Ionic 1.x issues, please use https://github.com/driftyco/ionic-v1) [ ] **2.x** [ ] **3.x** From c0200f7447b346b09c7d1290816481653f159d7a Mon Sep 17 00:00:00 2001 From: Chris Griffith Date: Fri, 19 May 2017 10:06:46 -0700 Subject: [PATCH 02/20] dosc(navigation): rename params variable to navParams (#11709) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aligning the code sample to match the generated code from the CLI’s page generator. --- src/navigation/nav-params.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/navigation/nav-params.ts b/src/navigation/nav-params.ts index ba6474854f..01116bb6bf 100644 --- a/src/navigation/nav-params.ts +++ b/src/navigation/nav-params.ts @@ -8,9 +8,9 @@ * @usage * ```ts * export class MyClass{ - * constructor(public params: NavParams){ + * constructor(public navParams: NavParams){ * // userParams is an object we have in our nav-parameters - * this.params.get('userParams'); + * this.navParams.get('userParams'); * } * } * ``` @@ -33,9 +33,9 @@ export class NavParams { * * ```ts * export class MyClass{ - * constructor(public params: NavParams){ + * constructor(public navParams: NavParams){ * // userParams is an object we have in our nav-parameters - * this.params.get('userParams'); + * this.navParams.get('userParams'); * } * } * ``` From 55f31dd7ec7fada6c8e73e2a8f56a07caaf2d15f Mon Sep 17 00:00:00 2001 From: Hadrien TOMA Date: Fri, 19 May 2017 19:07:33 +0200 Subject: [PATCH 03/20] docs(menu): update link to MenuController (#11677) --- src/components/menu/menu.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/menu/menu.ts b/src/components/menu/menu.ts index af0f706d6c..7ded973baa 100644 --- a/src/components/menu/menu.ts +++ b/src/components/menu/menu.ts @@ -170,14 +170,14 @@ import { RootNode } from '../split-pane/split-pane'; * } * ``` * - * See the [MenuController](../MenuController) API docs for all of the methods + * See the [MenuController](../../app/MenuController) API docs for all of the methods * and usage information. * * * @demo /docs/demos/src/menu/ * * @see {@link /docs/components#menus Menu Component Docs} - * @see {@link ../MenuController MenuController API Docs} + * @see {@link ../../app/MenuController MenuController API Docs} * @see {@link ../../nav/Nav Nav API Docs} * @see {@link ../../nav/NavController NavController API Docs} */ From a6d1e12a949752633224885e94c3a151960ea25d Mon Sep 17 00:00:00 2001 From: jamesgroat Date: Fri, 19 May 2017 10:09:02 -0700 Subject: [PATCH 04/20] refactor(loading): remove unused delay option (#11583) --- src/components/loading/loading-options.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/loading/loading-options.ts b/src/components/loading/loading-options.ts index 3e2713e743..f3f5711568 100644 --- a/src/components/loading/loading-options.ts +++ b/src/components/loading/loading-options.ts @@ -5,6 +5,5 @@ export interface LoadingOptions { cssClass?: string; showBackdrop?: boolean; dismissOnPageChange?: boolean; - delay?: number; duration?: number; } From d86785c376cb74233cdf00f4dd3240b2f90254e5 Mon Sep 17 00:00:00 2001 From: Shane Smith Date: Fri, 19 May 2017 13:19:12 -0400 Subject: [PATCH 05/20] fix(range): update the UI when min/max change (#11720) fixes #11719 --- src/components/range/range.ts | 2 ++ .../range/test/basic/pages/root-page/root-page.html | 10 +++++++++- .../range/test/basic/pages/root-page/root-page.ts | 4 ++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/components/range/range.ts b/src/components/range/range.ts index ea4dd6b8db..9389619168 100644 --- a/src/components/range/range.ts +++ b/src/components/range/range.ts @@ -146,6 +146,7 @@ export class Range extends BaseInput implements AfterContentInit, ControlVa val = Math.round(val); if (!isNaN(val)) { this._min = val; + this._inputUpdated(); } } @@ -160,6 +161,7 @@ export class Range extends BaseInput implements AfterContentInit, ControlVa val = Math.round(val); if (!isNaN(val)) { this._max = val; + this._inputUpdated(); } } diff --git a/src/components/range/test/basic/pages/root-page/root-page.html b/src/components/range/test/basic/pages/root-page/root-page.html index 042873e29e..1c982b62b8 100644 --- a/src/components/range/test/basic/pages/root-page/root-page.html +++ b/src/components/range/test/basic/pages/root-page/root-page.html @@ -92,6 +92,14 @@ + + dynamic min and max + + + + + + dual, pin, {{dualValue | json}} @@ -117,4 +125,4 @@ - \ No newline at end of file + diff --git a/src/components/range/test/basic/pages/root-page/root-page.ts b/src/components/range/test/basic/pages/root-page/root-page.ts index 426f243947..dddfe16990 100644 --- a/src/components/range/test/basic/pages/root-page/root-page.ts +++ b/src/components/range/test/basic/pages/root-page/root-page.ts @@ -10,9 +10,13 @@ export class RootPage { singleValue2: number = 150; singleValue3: number = 64; singleValue4: number = 1300; + singleValue5: number = 0; dualValue: any; dualValue2 = {lower: 33, upper: 60}; + min: number = -50; + max: number = 50; + rangeCtrl = new FormControl({value: '66', disabled: true}); dualRangeCtrl = new FormControl({value: {lower: 33, upper: 60}, disabled: true}); From 3323275dddf4d25269a6e5fc304c0811af1ff22a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Nie=C3=9F?= Date: Fri, 19 May 2017 20:31:01 +0200 Subject: [PATCH 06/20] docs(checkbox): add advanced example Add an example for how to do a function call when checkbox changed --- src/components/checkbox/checkbox.ts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/components/checkbox/checkbox.ts b/src/components/checkbox/checkbox.ts index 86377f4c0c..ef3bb9086e 100644 --- a/src/components/checkbox/checkbox.ts +++ b/src/components/checkbox/checkbox.ts @@ -42,6 +42,34 @@ import { Item } from '../item/item'; * * ``` * + * @advanced + * + * ```html + * + * + * + * + * + * Cucumber + * + * + * + * + * ``` + * + * ```ts + * @Component({ + * templateUrl: 'main.html' + * }) + * class SaladPage { + * cucumber: boolean; + * + * updateCucumber() { + * console.log("Cucumbers new state:" + this.cucumber); + * } + * } + * ``` + * * @demo /docs/demos/src/checkbox/ * @see {@link /docs/components#checkbox Checkbox Component Docs} */ From 67bbaf331e454c9911d1dd30adf2b1e8355899e9 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Fri, 19 May 2017 21:14:13 +0200 Subject: [PATCH 07/20] chore(package): update Angular to 4.1.2 (#11615) Update to Angular 4.1.2 --- package.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index da6265a11b..3547db75ff 100644 --- a/package.json +++ b/package.json @@ -25,14 +25,14 @@ "link": "gulp release.prepareReleasePackage && cd dist/ionic-angular && npm link" }, "dependencies": { - "@angular/common": "4.1.0", - "@angular/compiler": "4.1.0", - "@angular/compiler-cli": "4.1.0", - "@angular/core": "4.1.0", - "@angular/forms": "4.1.0", - "@angular/http": "4.1.0", - "@angular/platform-browser": "4.1.0", - "@angular/platform-browser-dynamic": "4.1.0", + "@angular/common": "4.1.2", + "@angular/compiler": "4.1.2", + "@angular/compiler-cli": "4.1.2", + "@angular/core": "4.1.2", + "@angular/forms": "4.1.2", + "@angular/http": "4.1.2", + "@angular/platform-browser": "4.1.2", + "@angular/platform-browser-dynamic": "4.1.2", "ionicons": "~3.0.0", "rxjs": "5.1.1", "zone.js": "^0.8.10" @@ -146,4 +146,4 @@ "pre-push#master": [ "test" ] -} \ No newline at end of file +} From 7a797d4f3ef489505117dbba2a7d1385b6693d2a Mon Sep 17 00:00:00 2001 From: Alexander Bell-Towne Date: Fri, 19 May 2017 13:21:05 -0700 Subject: [PATCH 08/20] dos(navigation): fix navbar link (#11540) --- src/components/toolbar/toolbar.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/toolbar/toolbar.ts b/src/components/toolbar/toolbar.ts index 80b7f03040..6141b28fd9 100644 --- a/src/components/toolbar/toolbar.ts +++ b/src/components/toolbar/toolbar.ts @@ -8,7 +8,7 @@ import { ToolbarBase } from './toolbar-base'; * @name Toolbar * @description * A Toolbar is a generic bar that is positioned above or below content. - * Unlike a [Navbar](../../navbar/Navbar), a toolbar can be used as a subheader. + * Unlike a [Navbar](../Navbar/), a toolbar can be used as a subheader. * When toolbars are placed within an `` or ``, * the toolbars stay fixed in their respective location. When placed within * ``, toolbars will scroll with the content. @@ -90,7 +90,7 @@ import { ToolbarBase } from './toolbar-base'; * ``` * * @demo /docs/demos/src/toolbar/ - * @see {@link ../../navbar/Navbar/ Navbar API Docs} + * @see {@link ../Navbar/ Navbar API Docs} */ @Component({ selector: 'ion-toolbar', From b64733aacedb11f0afc6ac25c980fb0be64c3c8f Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Fri, 19 May 2017 22:21:58 +0200 Subject: [PATCH 09/20] docs(menu): fix link to MenuController (#11537) fixes driftyco/ionic-site#1080 --- src/components/menu/menu.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/menu/menu.ts b/src/components/menu/menu.ts index 7ded973baa..b896e88077 100644 --- a/src/components/menu/menu.ts +++ b/src/components/menu/menu.ts @@ -25,7 +25,7 @@ import { RootNode } from '../split-pane/split-pane'; * will be displayed differently based on the mode, however the display type can be changed * to any of the available [menu types](#menu-types). The menu element should be a sibling * to the app's content element. There can be any number of menus attached to the content. - * These can be controlled from the templates, or programmatically using the [MenuController](../MenuController). + * These can be controlled from the templates, or programmatically using the [MenuController](../app/MenuController). * * @usage * From 7b369a1a6e1b531193193d99c8a0a535e09a67ee Mon Sep 17 00:00:00 2001 From: "Dylan v.d Merwe" Date: Fri, 19 May 2017 22:34:20 +0200 Subject: [PATCH 10/20] docs(segment): add usage for ionChange event (#11293) The `Segment` docs do not show a clear example on how to use the `ionChange` event. --- src/components/segment/segment.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/segment/segment.ts b/src/components/segment/segment.ts index 0af6e4805d..3fc253b2ea 100644 --- a/src/components/segment/segment.ts +++ b/src/components/segment/segment.ts @@ -31,11 +31,11 @@ import { SegmentButton } from './segment-button'; * * * - * - * + * + * * Friends * - * + * * Enemies * * From bb22e4a5f39cbabf2cf63866ee20c5f278bee9c0 Mon Sep 17 00:00:00 2001 From: BrandonShar Date: Fri, 19 May 2017 16:40:31 -0400 Subject: [PATCH 11/20] fix(segment): add z-index to ios back button (#10363) --- src/components/toolbar/toolbar.ios.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/toolbar/toolbar.ios.scss b/src/components/toolbar/toolbar.ios.scss index 60aab685e6..0632cc48a3 100644 --- a/src/components/toolbar/toolbar.ios.scss +++ b/src/components/toolbar/toolbar.ios.scss @@ -316,6 +316,7 @@ $toolbar-button-ios-strong-font-weight: 600 !default; @include margin(0); overflow: visible; + z-index: 99; order: map-get($toolbar-order-ios, back-button); From 8a4a93ee03f491f5f160d8cd73145f31c23d76d1 Mon Sep 17 00:00:00 2001 From: Anton Gillert Date: Fri, 19 May 2017 23:13:54 +0200 Subject: [PATCH 12/20] refactor(swiper): add null check for better testability (#11191) --- src/components/slides/swiper/swiper.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/slides/swiper/swiper.ts b/src/components/slides/swiper/swiper.ts index a1cbdaa1f8..97d6fbb395 100644 --- a/src/components/slides/swiper/swiper.ts +++ b/src/components/slides/swiper/swiper.ts @@ -897,9 +897,10 @@ function cleanupStyles(s: Slides) { } // Container - removeClass(s.container, s._classNames); - s.container.removeAttribute('style'); - + if(s.container){ + removeClass(s.container, s._classNames); + s.container.removeAttribute('style'); + } // Wrapper s._wrapper.removeAttribute('style'); From 3e2eefc9c96e0848a7b4e9c73a928e1250ab0e18 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Fri, 19 May 2017 17:16:21 -0400 Subject: [PATCH 13/20] style(lint): fix lint errors with sass and ts --- src/components/slides/swiper/swiper.ts | 2 +- src/components/toolbar/toolbar.ios.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/slides/swiper/swiper.ts b/src/components/slides/swiper/swiper.ts index 97d6fbb395..bc8c7beae9 100644 --- a/src/components/slides/swiper/swiper.ts +++ b/src/components/slides/swiper/swiper.ts @@ -897,7 +897,7 @@ function cleanupStyles(s: Slides) { } // Container - if(s.container){ + if (s.container) { removeClass(s.container, s._classNames); s.container.removeAttribute('style'); } diff --git a/src/components/toolbar/toolbar.ios.scss b/src/components/toolbar/toolbar.ios.scss index 0632cc48a3..e46f59feaf 100644 --- a/src/components/toolbar/toolbar.ios.scss +++ b/src/components/toolbar/toolbar.ios.scss @@ -315,8 +315,8 @@ $toolbar-button-ios-strong-font-weight: 600 !default; .back-button-ios { @include margin(0); - overflow: visible; z-index: 99; + overflow: visible; order: map-get($toolbar-order-ios, back-button); From 892e14f3344b9ea666793eb24b9c83b6c4d5c919 Mon Sep 17 00:00:00 2001 From: Daniel Ciao Date: Fri, 19 May 2017 16:19:23 -0700 Subject: [PATCH 14/20] fix(VirtualScroll): initialize trackByFn reference (#11624) * fix(VirtualScroll): initialize trackByFn reference * fix(VirtualScroll): simplify fix for TrackByFn reference --- src/components/virtual-scroll/virtual-scroll.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/virtual-scroll/virtual-scroll.ts b/src/components/virtual-scroll/virtual-scroll.ts index 805ff0c6c4..39fb389db8 100644 --- a/src/components/virtual-scroll/virtual-scroll.ts +++ b/src/components/virtual-scroll/virtual-scroll.ts @@ -528,7 +528,7 @@ export class VirtualScroll implements DoCheck, AfterContentInit, OnDestroy { } private _updateDiffer() { - if (isBlank(this._differ) && isPresent(this._records)) { + if (isPresent(this._records)) { this._differ = this._iterableDiffers.find(this._records).create(this._virtualTrackBy); } } From 7bdfaacfa9adc9a6ccb0a224e74d6d8727261128 Mon Sep 17 00:00:00 2001 From: Amit Moryossef Date: Mon, 22 May 2017 19:15:13 +0300 Subject: [PATCH 15/20] feat(icon): add flip/unflip for icon on rtl (#11634) * feat(icon): add flip/unflip for rtl * fix(icon): flip before not display * fix(icon): flip before not actual --- src/fonts/ionicons.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/fonts/ionicons.scss b/src/fonts/ionicons.scss index dc8e92c386..436a309139 100644 --- a/src/fonts/ionicons.scss +++ b/src/fonts/ionicons.scss @@ -32,4 +32,19 @@ ion-icon { text-rendering: auto; text-transform: none; speak: none; + + @include rtl() { + &[aria-label^="arrow"]::before, + &[flip-rtl]::before { + transform: scaleX(-1); + } + + &[unflip-rtl]::before { + transform: scaleX(1); + } + } + + &::before { + display: inline-block; + } } From e5d08a00fb72c83665d69e088fc9ef9bf48bd47c Mon Sep 17 00:00:00 2001 From: Amit Moryossef Date: Mon, 22 May 2017 19:19:10 +0300 Subject: [PATCH 16/20] style(lint): remove unused import (#11738) --- src/components/virtual-scroll/virtual-scroll.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/virtual-scroll/virtual-scroll.ts b/src/components/virtual-scroll/virtual-scroll.ts index 39fb389db8..88bf65ba80 100644 --- a/src/components/virtual-scroll/virtual-scroll.ts +++ b/src/components/virtual-scroll/virtual-scroll.ts @@ -4,7 +4,7 @@ import { adjustRendered, calcDimensions, estimateHeight, initReadNodes, processR import { Config } from '../../config/config'; import { Content, ScrollEvent } from '../content/content'; import { DomController } from '../../platform/dom-controller'; -import { isBlank, isFunction, isPresent, assert } from '../../util/util'; +import { isFunction, isPresent, assert } from '../../util/util'; import { Platform } from '../../platform/platform'; import { ViewController } from '../../navigation/view-controller'; import { VirtualCell, VirtualData, VirtualNode } from './virtual-util'; From d2975c0ab0a4f35db08e237ebc41c55a2c1ebe68 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Mon, 22 May 2017 12:19:49 -0400 Subject: [PATCH 17/20] chore(gulp): remove bonjour service --- scripts/gulp/util.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/gulp/util.ts b/scripts/gulp/util.ts index 8045708e8d..44ff714791 100644 --- a/scripts/gulp/util.ts +++ b/scripts/gulp/util.ts @@ -203,8 +203,7 @@ export function runAppScriptsServe(testOrDemoName: string, appEntryPoint: string '--ionicAngularDir', ionicAngularDir, '--sass', sassConfigPath, '--copy', copyConfigPath, - '--enableLint', 'false', - '--bonjour' + '--enableLint', 'false' ]; if (watchConfigPath) { From 4a56cbba29913df72872ffdbec5691f085801ea1 Mon Sep 17 00:00:00 2001 From: Dan Bucholtz Date: Wed, 24 May 2017 09:51:35 -0500 Subject: [PATCH 18/20] chore(changelog): ionic-angular 3.3.0 changelog ionic-angular 3.3.0 changelog --- CHANGELOG.md | 20 ++++++++++++++++++++ package.json | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1dc30ddaf3..89e2087d0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ + +# [3.3.0](https://github.com/driftyco/ionic/compare/v3.2.1...v3.3.0) (2017-05-24) + + +### Bug Fixes + +* **range:** update the UI when min/max change ([#11720](https://github.com/driftyco/ionic/issues/11720)) ([d86785c](https://github.com/driftyco/ionic/commit/d86785c)), closes [#11719](https://github.com/driftyco/ionic/issues/11719) +* **searchbar:** searchbar padding should be on the left ([#11651](https://github.com/driftyco/ionic/issues/11651)) ([3443ffd](https://github.com/driftyco/ionic/commit/3443ffd)) +* **segment:** add z-index to ios back button ([#10363](https://github.com/driftyco/ionic/issues/10363)) ([bb22e4a](https://github.com/driftyco/ionic/commit/bb22e4a)) +* **select:** RTL fix for searchbar ([#11355](https://github.com/driftyco/ionic/issues/11355)) ([ca71072](https://github.com/driftyco/ionic/commit/ca71072)) +* **VirtualScroll:** initialize trackByFn reference ([#11624](https://github.com/driftyco/ionic/issues/11624)) ([892e14f](https://github.com/driftyco/ionic/commit/892e14f)) + + +### Features + +* **icon:** add flip/unflip for icon on rtl ([#11634](https://github.com/driftyco/ionic/issues/11634)) ([7bdfaac](https://github.com/driftyco/ionic/commit/7bdfaac)) +* **rtl:** add rtl margin, padding, position and border-radius ([#11342](https://github.com/driftyco/ionic/issues/11342)) ([a30379b](https://github.com/driftyco/ionic/commit/a30379b)) + + + ## [3.2.1](https://github.com/driftyco/ionic/compare/v3.2.0...v3.2.1) (2017-05-12) diff --git a/package.json b/package.json index 3547db75ff..cf642d2dec 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "ionic2", - "version": "3.2.1", + "version": "3.3.0", "description": "A powerful framework for building mobile and progressive web apps with JavaScript and Angular 2", "keywords": [ "ionic", From 8ba1fcac45957900bd6a250bcf37dcd63dab5a32 Mon Sep 17 00:00:00 2001 From: Dan Bucholtz Date: Wed, 24 May 2017 09:57:24 -0500 Subject: [PATCH 19/20] chore(changelog): add upgrade instructions --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 89e2087d0d..95c453dda4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,37 @@ # [3.3.0](https://github.com/driftyco/ionic/compare/v3.2.1...v3.3.0) (2017-05-24) +### Steps to Upgrade + +`ionic-angular` now supports the latest `@angular` version (4.1.2). Feel free to update apps by updating the `package.json` `@angular` dependencies, removeing the existing `node_modules` directory, and then running `npm install`: + +``` +"dependencies": { + "@angular/common": "4.1.2", + "@angular/compiler": "4.1.2", + "@angular/compiler-cli": "4.1.2", + "@angular/core": "4.1.2", + "@angular/forms": "4.1.2", + "@angular/http": "4.1.2", + "@angular/platform-browser": "4.1.2", + "@angular/platform-browser-dynamic": "4.1.2", + "@ionic-native/core": "3.6.1", + "@ionic-native/splash-screen": "3.6.1", + "@ionic-native/status-bar": "3.6.1", + "@ionic/storage": "2.0.1", + "ionic-angular": "3.3.0", + "ionicons": "3.0.0", + "rxjs": "5.1.1", + "sw-toolbox": "3.6.0", + "zone.js": "0.8.10" +}, +"devDependencies": { + "@ionic/app-scripts": "1.3.7", + "typescript": "2.2.1" +} +``` + + ### Bug Fixes * **range:** update the UI when min/max change ([#11720](https://github.com/driftyco/ionic/issues/11720)) ([d86785c](https://github.com/driftyco/ionic/commit/d86785c)), closes [#11719](https://github.com/driftyco/ionic/issues/11719) From 3de6d24a40db4bc3685f0447c6076f95d1c75433 Mon Sep 17 00:00:00 2001 From: Dan Bucholtz Date: Wed, 24 May 2017 10:22:07 -0500 Subject: [PATCH 20/20] chore(changelog): add instructions on how to upgrade typescript --- CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 95c453dda4..f2ac6fe6da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ### Steps to Upgrade -`ionic-angular` now supports the latest `@angular` version (4.1.2). Feel free to update apps by updating the `package.json` `@angular` dependencies, removeing the existing `node_modules` directory, and then running `npm install`: +`ionic-angular` now supports the latest `@angular` (4.1.2), and `typescript` (2.3.3) versions. Feel free to update apps by updating the `package.json` dependencies to match below: ``` "dependencies": { @@ -28,10 +28,11 @@ }, "devDependencies": { "@ionic/app-scripts": "1.3.7", - "typescript": "2.2.1" + "typescript": "2.3.3" } ``` +Another optional step is to remove the `src/declarations.d.ts` file. This is a legacy file introduced early with `ionic-angular` projects to improve compatibility between TypeScript and third-party libraries. Due to improvements in TypeScript, this file is no longer necessary. By removing this file, the TypeScript compiler will be able to provide more accurate error messages for `import` statements. ### Bug Fixes