Ionic CLI 3.10.0/.1/.2/.3 is out

https://twitter.com/IonicReleases just tweeted out:

Changelog is here:
https://github.com/ionic-team/ionic-cli/blob/master/CHANGELOG.md#3100-2017-09-12

Changes the default backend to Ionic Pro, adds a HTTPS proxy option (which many enterprise users will be happy about with their crappy proxies…), new ionic cordova requirements (so no more using plain cordova requirements). Looking good!

First experience anyone?

1 Like

Hello there. It seems to ignore the --prod parameter for cordova builds.

i.e. ionic cordova build ios --prod

Before

ionic cordova build ios --prod  
[INFO] Running app-scripts build: --prod --platform ios --target cordova
       
[22:19:40]  build prod started ... 
[22:19:41]  clean started ... 
[22:19:41]  clean finished in 1 ms 
[22:19:41]  copy started ... 
[22:19:41]  ngc started ... 
[22:19:45]  ngc finished in 4.19 s 
[22:19:45]  preprocess started ... 
[22:19:45]  deeplinks started ... 
[22:19:45]  deeplinks finished in 81 ms 
[22:19:45]  optimization started ... 
[22:19:45]  copy finished in 4.39 s

cli packages:

@ionic/cli-utils  : 1.9.2
ionic (Ionic CLI) : 3.9.2

global packages:

Cordova CLI : 7.0.1 

local packages:

@ionic/app-scripts : 2.1.4
Cordova Platforms  : android 6.2.3 ios 4.4.0
Ionic Framework    : ionic-angular 3.6.1

System:

ios-deploy : 1.9.2 
Node       : v6.11.3
npm        : 5.4.1 
OS         : macOS Sierra
Xcode      : Xcode 8.3.3 Build version 8E3004b 

After

ionic cordova build ios --prod
[INFO] Running app-scripts build: --platform ios --target cordova
       
[22:23:04]  build dev started ... 
[22:23:04]  clean started ... 
[22:23:04]  clean finished in less than 1 ms 
[22:23:04]  copy started ... 
[22:23:04]  transpile started ... 
[22:23:06]  transpile finished in 1.78 s 
[22:23:06]  preprocess started ... 
[22:23:06]  deeplinks started ... 
[22:23:06]  deeplinks finished in 37 ms 
[22:23:06]  preprocess finished in 38 ms 
[22:23:06]  webpack started ... 
[22:23:06]  copy finished in 1.92 s

cli packages:

@ionic/cli-utils  : 1.10.0
ionic (Ionic CLI) : 3.10.0

global packages:

Cordova CLI : 7.0.1 

local packages:

@ionic/app-scripts : 2.1.4
Cordova Platforms  : android 6.2.3 ios 4.4.0
Ionic Framework    : ionic-angular 3.6.1

System:

ios-deploy : 1.9.2 
Node       : v6.11.3
npm        : 5.4.1 
OS         : macOS Sierra
Xcode      : Xcode 8.3.3 Build version 8E3004b`Preformatted text`

Can you try ionic build --prod please and see if the same thing happens?

And here is a hotfix for this:

That works better, thanks!

login during ionic cordova resources seems to reject my login.
a simple ionic login, too

What kind of account do I need here? I’m sure that I gave it the same credentials I’m using to log into this forum and to dashboard.ionicjs.com

Your project is probably still on the legacy backend. This should fix it: https://ionic.zendesk.com/hc/en-us/articles/115011945607-Unable-to-log-in-using-the-CLI

1 Like

That worked. Thanks!

1 Like

And the next patch release:

Changelog commit is here:
https://github.com/ionic-team/ionic-cli/commit/cfde487e3f1530a9bba68f900e7d84a7fa56171f

1 Like

And one more:

https://github.com/ionic-team/ionic-cli/blob/ionic%403.10.3/CHANGELOG.md#3103-2017-09-13

In the words of Kylie Minogue - Head Spinning Around :crazy_face: