Skip to content

Commit 4c13535

Browse files
committed
chore(changelog): additional details about upgrading and updating app-scripts
1 parent 889b49f commit 4c13535

File tree

1 file changed

+38
-16
lines changed

1 file changed

+38
-16
lines changed

CHANGELOG.md

Lines changed: 38 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,47 @@
22
## [3.5.2](https://github.com/ionic-team/ionic/compare/v3.5.1...v3.5.2) (2017-07-13)
33

44
## Upgrade Instructions
5-
`[email protected]` is a drop-in replacement for `3.5.0`. To install it, simply run `npm install [email protected] --save --save-exact`.
5+
`[email protected]` is a drop-in replacement for `3.5.1`. To install it, simply run `npm install [email protected] --save --save-exact`.
66

7-
## Notes
8-
`3.5.2` is 99% the same as `3.5.1`. We had a small publishing error.
7+
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.
98

10-
### Bug Fixes
9+
To upgrade to `@ionic/app-scripts`, run the following command:
1110

12-
* **navigation:** fix swipe-to-go-back ([04e78d8](https://github.com/ionic-team/ionic/commit/04e78d8))
13-
* **navigation:** mark as not transitioning on success in addition to '_transitionFinish', provide no ([48b3243](https://github.com/ionic-team/ionic/commit/48b3243))
14-
* **navigation:** navs can have n child navs instead of just one ([fce4422](https://github.com/ionic-team/ionic/commit/fce4422))
15-
* **navigation:** restore getActiveChildNav method to maintain old API, add deprecation notice ([d22d77b](https://github.com/ionic-team/ionic/commit/d22d77b))
16-
* **navigation:** ts2.4 compatibility ([08be9dc](https://github.com/ionic-team/ionic/commit/08be9dc)), closes [#12233](https://github.com/ionic-team/ionic/issues/12233) [#12235](https://github.com/ionic-team/ionic/issues/12235)
17-
* **select:** not activated on enter in input field ([ad25cd1](https://github.com/ionic-team/ionic/commit/ad25cd1)), closes [#12202](https://github.com/ionic-team/ionic/issues/12202)
18-
* **sliding-item:** ionSwipe event is fired ([#12157](https://github.com/ionic-team/ionic/issues/12157)) ([b5aa304](https://github.com/ionic-team/ionic/commit/b5aa304)), closes [#12146](https://github.com/ionic-team/ionic/issues/12146)
19-
* **tabs:** have tabs behavior match nav when navigating back/forth via the url ([3f39e14](https://github.com/ionic-team/ionic/commit/3f39e14))
11+
```
12+
rm -rf node_modules
13+
npm install @ionic/[email protected] --save --save-exact
14+
```
2015

16+
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.
2117

22-
### Features
18+
```
19+
...
20+
<body>
2321
24-
* **navigation:** support for named ion-nav/ion-tabs to improve url in the short term ([486bff0](https://github.com/ionic-team/ionic/commit/486bff0))
22+
<!-- Ionic's root component and where the app will load -->
23+
<ion-app></ion-app>
2524
25+
<!-- cordova.js required for cordova apps -->
26+
<script src="cordova.js"></script>
2627
27-
<a name="3.5.1"></a>
28-
## [3.5.1](https://github.com/ionic-team/ionic/compare/v3.5.0...v3.5.1) (2017-07-13)
28+
<!-- The polyfills js is generated during the build process -->
29+
<script src="build/polyfills.js"></script>
30+
31+
<!-- The vendor js is generated during the build process
32+
and includes all files in the node_modules directory -->
33+
<script src="build/vendor.js"></script>
34+
35+
<!-- The bundle js is generated during the build process -->
36+
<script src="build/main.js"></script>
37+
38+
</body>
39+
...
40+
```
2941

42+
If you're customizing `@ionic/app-scripts`, we recommend you review the [changelog](https://github.com/ionic-team/ionic-app-scripts/blob/master/CHANGELOG.md), and update any of your configs accordingly.
43+
44+
## Notes
45+
`3.5.2` is 99% the same as `3.5.1`. We had a small publishing error.
3046

3147
### Bug Fixes
3248

@@ -45,6 +61,12 @@
4561
* **navigation:** support for named ion-nav/ion-tabs to improve url in the short term ([486bff0](https://github.com/ionic-team/ionic/commit/486bff0))
4662

4763

64+
<a name="3.5.1"></a>
65+
## [3.5.1](https://github.com/ionic-team/ionic/compare/v3.5.0...v3.5.1) (2017-07-13)
66+
67+
## Notes
68+
69+
We accidentally had a publishing error. Please see the changelog for `3.5.2` for the release details.
4870

4971
<a name="3.5.0"></a>
5072
# [3.5.0](https://github.com/ionic-team/ionic/compare/v3.4.2...v3.5.0) (2017-06-28)

0 commit comments

Comments
 (0)