Releases: ionic-team/ionic-framework
4.0.0-alpha.7
Bug Fixes
- all: strong typing for color (618f708)
- angula: platform logic belongs to core (af5db2f)
- angular: build script (a88e1e8)
- angular: params are assigned to props (7fa6e43)
- angular: populated the platforms array (#14466) (d177087)
- angular: Required<> is not available (8aa6965)
- angular: routerLink integration (ed8ff4f)
- content: scrol-inner takes all height (3da0c98)
- nav: Remove console.log (#14467) (d93b1d5)
- refresher: adds threshold (34ae904)
- router: accepts root direction (ae9d0c7)
- router: fix push() public interface (875b9d0)
Features
- img: adds lazy load image (b06c65f)
4.0.0-alpha.6
v4.0.0-alpha.6 4.0.0-alpha.6
4.0.0-alpha.5
v4.0.0-alpha.5 4.0.0-alpha.5
4.0.0-alpha.4
Bug Fixes
- angular: compare router params length (b3a9c7f)
- angular: Config provider (329a348)
- angular: platform.ready() returns type (c0ec02e)
- angular: update proxies (da0bfc7)
- config: add object.entries polyfil (c917a3c)
- config: add setupConfig util (0c1476e)
- lint: import order (8b1452c)
- nav: rename animate to animated (98a3519)
- prerender: router compatible with prerender (9c7b0ca)
- router: error when it can't initialize property (e56b2ee)
- router: initial load waits until outlet attaches (c905ba4)
- router: root prop (89d5a35)
- router: writeURL() for non root base (af4bcb8)
- scripts: github release (545d3c2)
- segment: checked can be changed dynamically (78454b4)
- select: cssClass + strong typed (826e02b)
- toast: only use constant and env if supported (#14399) (9bee0f0)
- validate: fix type errors (3328314)
Features
- router: add willChange event (d613411)
3.9.2
3.9.2 (2017-11-08)
Upgrade Instructions
ionic-angular
3.9.2 is patch release of ionic-angular
3.9.1. To upgrade, follow the instructions here for updating to ionic-angular
3.9.0. After completing those steps, update the ionic-angular
version to 3.9.2.
npm install [email protected] --save
Bug Fixes
3.9.1
3.9.1 (2017-11-08)
Upgrade Instructions
ionic-angular
3.9.1 is patch release of ionic-angular
3.9.0. To upgrade, follow the instructions here for updating to ionic-angular
3.9.0. After completing those steps, update the ionic-angular
version to 3.9.1.
npm install [email protected] --save
Bug Fixes
- datetime: avoid adding cancel and done button repeatedly (248a1ce)
3.9.0
3.9.0 (2017-11-08)
Upgrade Instructions
ionic-angular
3.9.0 adds support for @angular
5.0.0 🎉! It is a drop-in replacement for ionic-angular
3.8.x.
To update, remove existing node_modules
and any lock files, and then update package.json
to the following deps.
"dependencies" : {
...
"@angular/common": "5.0.0",
"@angular/compiler": "5.0.0",
"@angular/compiler-cli": "5.0.0",
"@angular/core": "5.0.0",
"@angular/forms": "5.0.0",
"@angular/http": "5.0.0",
"@angular/platform-browser": "5.0.0",
"@angular/platform-browser-dynamic": "5.0.0",
"@ionic/storage": "2.1.3",
"ionic-angular": "3.9.0",
"rxjs": "5.5.2",
"zone.js": "0.8.18"
...
},
"devDependencies: {
"@ionic/app-scripts": "3.1.0"
"typescript" : "2.4.2"
}
If your app uses RXJS, see the instructions below to update.
RXJS 5.5.2 Updates
The recent update of RXJS includes a change in how operators are applied.
Traditionally, operators were applied like this:
import 'rxjs/add/operator/debounceTime';
import 'rxjs/add/operator/switchMap';
export MyClass {
someMethod(){
// Using Reactive Forms
this.input.valueChanges
.debounceTime(500)
.switchMap(inputVal => this.service.get(inputVal))
.subscribe(res => console.log(res))
}
}
This approach involved modifying the Observable prototype and patching on the
methods.
RXJS 5.5 introduces a different way to do this that can lead to significantly
smaller code bundles, lettable operators.
To use lettable operators, modify the code from above to look like this:
//Use Deep imports here for smallest bunlde size
import { debounceTime } from 'rxjs/operators/debounceTime';
import { switch } from 'rxjs/operators/switchMap';
export MyClass {
someMethod(){
// Using Reactive Forms
// We use the new `.pipe` method on the observable
// too apply operators now
this.input.valueChanges
.pipe(
debounceTime(500),
switchMap(inputVal => this.service.get(inputVal))
)
.subscribe(res => console.log(res))
}
}
This slight change allows only import the operators we need in our code. This will result in a smaller, faster application. This example uses Deep Imports, which allow the module we want to import to be isolated.
Take a look at this
doc for more information.
Bug Fixes
- action-sheet: move box-shadow to first group (4f3e91b)
- alert: focus input after it is ready (#13259) (e555eae)
- datetime: use spread operator to copy pickerOptions (#13202) (2ab8385), closes #11641
- input: better support for WKKeyboard (#13106) (e7ac15f)
- tabs: no safe area padding for top tabs (236e7f8)
- tap-click: clear activated state on activable element when appropriate (#13258) (5742540), closes #13044
- VirtualScroll: stop from resizing while out of view (#13143) (6978bb5)
3.8.0
3.8.0 (2017-10-26)
Upgrade Instructions
This release includes improvements for iOS11 and specifically, the iPhone X. Please also read over the iOS 11 checklist blog post for additional information.
To update, install the latest version of ionic-angular
and @ionic/app-scripts
:
npm install ionic-angular@latest --save
npm install @ionic/app-scripts@latest --save-dev
This release uses version 4.4.4
of Angular. Please update the version number of any @angular
packages in your package.json
file:
"dependencies": {
"@angular/common": "4.4.4",
"@angular/compiler": "4.4.4",
"@angular/compiler-cli": "4.4.4",
"@angular/core": "4.4.4",
"@angular/forms": "4.4.4",
"@angular/http": "4.4.4",
"@angular/platform-browser": "4.4.4",
"@angular/platform-browser-dynamic": "4.4.4",
...
}
Bug Fixes
- action-sheet: fix action sheet so it will scroll when the options exceed the screen (#13049) (199cb00)
- content: reize on orientationchange only (6b848a0)
- cordova: size footer correctly (33960f1)
- item: safe-padding on last item only (af36358)
- nav: remove bad assert (ae4be66)
- navigation: account for condition of toggling one view with tabs to another view with tabs (c963745)
- navigation: add defaultHistory support to ion-tabs (2646ebe)
- navigation: unregister root navs when appropriate (2bd89fe)
- overlay: onWillDismiss is called as expected (#12056) (c91223b), closes #11702
- popover: improve positioning in ios11 (73f6a82)
- select: overlay types should use shared interface (c4e9b5d), closes #13103
- swiper: add safe-guards when user tries to zoom a slide without an image (#12931) (e0c8309), closes #12861
- correct event name (f2946e7)
- swiper: allow for multiple swipers on a page (#12213) (dd66f9a), closes #12008
- tabs: emit viewDidEnter and viewDidLeave on app during tab change (c8be8e2)
- tabs: return promises where appropriate (a77bb2c)
- virtual-scroll: flickering issue fixes (88b2e83)
- correct order of events (4ea8434)
- move resize logic to viewCtrl (ebdf22d)
Features
3.7.1
3.7.1 (2017-09-29)
Upgrade Instructions
This release includes the latest version of zone.js
. Update your package.json
to match the following dependencies, remove the existing node_modules
directory, and then run npm install
:
"dependencies": {
...
"ionic-angular": "3.7.1",
...
"zone.js": "0.8.18"
}