Skip to content

3.5.2

Compare
Choose a tag to compare
@danbucholtz danbucholtz released this 13 Jul 14:50

Upgrade Instructions

[email protected] is a drop-in replacement for 3.5.1. To install it, simply run npm install [email protected] --save --save-exact.

We have released a new version of our build process for ionic-angular apps, @ionic/app-scripts in conjunction with this release of ionic-angular. While it's not a required update, we recommend it because we have greatly improved the developer experience. Incremental, or update builds while developing are much faster now. We've also added scope hoisting for better start-up performance on production builds.

To upgrade to @ionic/app-scripts, run the following command:

rm -rf node_modules
npm install @ionic/[email protected] --save --save-exact

After installing the update, you'll need to make a minor change to the src/index.html file to include a new <script> tag for build/vendor.js. The reason for this breaking change in @ionic/app-scripts is for faster builds. By separating out the node_modules dependencies into a vendor.js file, the incremental build is faster.

...
<body>

  <!-- Ionic's root component and where the app will load -->
  <ion-app></ion-app>

  <!-- cordova.js required for cordova apps -->
  <script src="cordova.js"></script>

  <!-- The polyfills js is generated during the build process -->
  <script src="build/polyfills.js"></script>

  <!-- The vendor js is generated during the build process
       and includes all files in the node_modules directory -->
  <script src="build/vendor.js"></script>

  <!-- The bundle js is generated during the build process -->
  <script src="build/main.js"></script>

</body>
...

If you're customizing @ionic/app-scripts, we recommend you review the changelog, and update any of your configs accordingly.

Notes

3.5.2 is the same as 3.5.1. We had a small publishing error.

Bug Fixes

  • navigation: fix swipe-to-go-back (04e78d8)
  • navigation: mark as not transitioning on success in addition to '_transitionFinish', provide no (48b3243)
  • navigation: navs can have n child navs instead of just one (fce4422)
  • navigation: restore getActiveChildNav method to maintain old API, add deprecation notice (d22d77b)
  • navigation: ts2.4 compatibility (08be9dc), closes #12233 #12235
  • select: not activated on enter in input field (ad25cd1), closes #12202
  • sliding-item: ionSwipe event is fired (#12157) (b5aa304), closes #12146
  • tabs: have tabs behavior match nav when navigating back/forth via the url (3f39e14)

Features

  • navigation: support for named ion-nav/ion-tabs to improve url in the short term (486bff0)