This is a curated CHANGELOG. We also use an automatic utility that maintains the CHANGELOG files within CLI packages. For specific commit-level changes, see #packages. For big, high-level CLI changes, see #versions.
- Warning: For Ionic 1 projects, the
sassgulp task is no longer automatically run during SCSS file changes duringionic serve. See the bullet point below! - Added CLI hooks that you can use to run code during CLI events using npm scripts. See README.md for usage.
- 🎉 Added
@ionic/cli-plugin-gulp! This plugin will hook into appropriately named gulp tasks during CLI events. It will also automatically run thesassgulp task during SCSS file changes duringionic serve. See the plugin's README.md for usage. - Fixed an issue where
0.0.0.0was the address being opened in the browser for Ionic 1 apps for server. Now the dev server still binds on0.0.0.0by default, but openslocalhostin the browser. - Fixed npm errors bubbling up during CLI update checks while offline.
- Improved
--helpdescriptions of a few Cordova commands.
- Added CLI flag for turning on/off timeouts:
--[no-]timeout - Added fuller descriptions to the
--helpoutput of individual commands. - Improved Cordova argument parsing.
- Fixed the proxy plugin so
ionic startworks behind a corporate firewall. - Improved CLI automatic update feature.
- Added persistent CLI
flags, which change CLI
behavior. There is now
--quiet,--[no-]interactive(interactive/non-interactive mode),--[no-]confirm. - Added non-interactive mode, which is useful for CI/CD servers. It disables "flair" such as spinners and unnecessary output. It also disables prompts.
- Added automatic login capability with
IONIC_EMAILandIONIC_PASSWORDenvironment variables. - Added Cordova platforms to output of
ionic info. - (Somewhat) support
documentRootandwatchPatterns(which are attributes ofionic.config.json) for Ionic 1 projects. - If git is installed, new Ionic projects are automatically setup as repositories and an initial commit is made.
- Added
--aot,--minifyjs,--minifycss,--optimizejsflags for build commands of Ionic Angular projects. - Fixed some runtime errors.
- Took out confirmation prompt for logging in again when already logged in.
- If you're using Ionic Deploy, you'll need to update
ionic-plugin-deployto the latest version. See #2237 and ionic-team/ionic-plugin-deploy#122.
setup: This was only used to setup sass in Ionic 1 projects, which now is now handled instart.share: Please use the Dashboard to manage collaborators.lib,add,remove,list: For v1 projects, we recommend using bower.io: Please configure apps in the Dashboard and uselinkto associate your local project.security: Please manage security profiles in the Dashboard.push: Please manage push credentials (through security profiles) in the Dashboard.config: Please manually edit theionic.config.jsonfile.service: Please migrate your app to use the Ionic Cloud Client.state: The plugins and platforms can be managed entirely by Cordova. Please remove thecordovaPlatformsandcordovaPluginskeys from yourpackage.jsonfile. If you're using Cordova 7, please review the announcement about how Cordova usesconfig.xmlandpackage.jsonto manage plugins and platforms.
- Added commands:
signup. Signup will change in the future, but as for now it simply opens up the signup page. - Cordova commands have been namespaced to allow for future platform support
and to reduce clutter. Additionally, Cordova functionality has been moved
into a CLI plugin, which is installed by default with new Ionic projects
and can be installed in existing Ionic projects with
npm i --save @ionic/cli-plugin-cordova. - Many command arguments, options, and flags have changed. For example, the
--v1and--v2flags inionic starthave been removed in favor of--typewith respective valuesionic1(for v1) andionic-angular(for latest Ionic Angular version). Please useionic help <commands>for new command usage. generatecommand has been overhauled to interactively generate components, pages, directives, etc. It uses the power of app-scripts to hook up generated entities to your app. In the future, generators will continue to be expanded upon.
You can drill down into commit-level changes in the CHANGELOG files of each
package. Changes made in one (especially @ionic/cli-utils) may affect the
other, but in general you can expect changes relating to Cordova to be made in
@ionic/cli-plugin-cordova, etc.
Global:
Local (per project):
@ionic/cli-plugin-cordova(CHANGELOG.md)@ionic/cli-plugin-ionic-angular(CHANGELOG.md)@ionic/cli-plugin-ionic1CHANGELOG.md@ionic/cli-plugin-gulp(CHANGELOG.md)
Older changes (CLI 2 and before) can be viewed in the 2.x branch's
CHANGELOG.md.