ionic-angular3.6.0 requires developer's to update to the latest version of theIonic CLIand@ionic/app-scripts.
To upgrade, please run
npm install -g ionic@latest
npm install @ionic/app-scripts@latest --save-dev
npm install ionic-angular@latest --save
The URL when using deep linking is shortened and improved in this release. Due to a limitation in our nav system, if you're usingion-tabsand have a tab name that matches a segment, meaning you have a tab name ofscheduleand a segment ofschedule, there could potentially be issues. To mitigate these issues, make sure you set thetabUrlPathproperty on theion-taband give it a unique name. This limitation will require an API change to fix so it will be resolved inionic-angular4.x.
The upgrades include necessary changes to generators that add back lazy loading functionality, as well as an improved way of generating component/directives/and pipes.
The release adds back the functionality to generate lazy loaded pages. To generate a lazy loaded page, run:
ionic g page
This will include a.module.tsfile in the page directory created. If you do not want to generate a lazy loaded page, you can run:
ionic g page--no-module
This will also generate lazy loaded tabs as well, accepting the--no-moduleflag as well to disable it.
For pipes/components/components, we now generate a shared common module for each of these.
So running:
ionic g component music-card
Will create acomponents/components.module.tsfile that declares and exports themusic-cardcomponent. We think that this will allow developers to get up and running with custom components much faster and will less overhead.
list:remove margin of MD buttons in ion-item-options (#12263) (97f9522)
nav:make call to setPages return the promise so if it rejects it doesn't get lost (de0f9d5)
navigation:account for race conditions in developer's code (4596dbe)
navigation:fix bug where that occurred when tab identifier and segment had the exact same string (add0c4e)
navigation:fix null pointer exceptions that would occur when destroying a nav controller while its transitioning (584afd0)
navigation:reduce urls to minimum set of fields (a8ceee4)
generators:refactor generators (400aa54)