Skip to content

Latest commit

 

History

History
206 lines (176 loc) · 10.3 KB

File metadata and controls

206 lines (176 loc) · 10.3 KB

Changelog

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.

Versions

3.6.0 (2017-07-27)

  • Added prompt for local CLI installation. It is now required that the local CLI be installed to use local CLI plugins (which provide often necessary functionality such as ionic serve). You can use the global ionic binary from npm i -g ionic installation and it will use the local CLI version if installed, similar to gulp or other CLIs. The CLI is installed locally for new projects by default. See this comment for detailed information.
  • Added ionic config commands for getting and setting project (ionic.config.json) and global CLI config (~/.ionic/config.json) files. See README.md#cli-config.
  • Removed --no-timeouts: All CLI timeouts have been removed, so the option is useless.
  • Fixed odd behavior of --no-interactive and --confirm: the flags now work per-command and do not persist the mode.
  • Moved update checking into an opt-in background process that checks npm for new versions. The CLI now simply reads a file of latest versions instead of doing network requests.
  • Fixed CLI HTTP requests not being proxied for project commands. For this to work, the CLI and the proxy plugin must be installed locally. See README.md#using-a-proxy.
  • Added ionic logout command. (Hidden for now.)
  • Using --no-interactive will no longer prompt for CLI updates at all.
  • Fixed issue with Ionic 1 not live-reloading in devices.
  • Added --no-build option to ionic cordova build to skip Ionic builds.
  • Added check for Android SDK Tools version during ionic info.
  • Added --no-module option to Ionic Angular generators. By default, if applicable, components are generated with corresponding @NgModule classes which allow the component to be lazy-loaded. This new flag offers the ability to disable this feature.
  • Added --constants option to Ionic Angular generators. If provided, a file will be generated that stores string constants for identifiers for lazy-loaded pages.

3.5.0 (2017-07-11)

  • Added deploy metadata option for ionic upload. Thanks, @harshabonthu!
  • Added CI detection to switch CLI into non-interactive mode.
  • Added logging for showing the execution of npm script hooks.
  • Added better error messaging for gulpfile errors.
  • Removed non-printing characters in the output of ionic --version.
  • Fixed lack of error message for unknown generator types.
  • Fixed incorrect interpretation of app IDs in scientific notation. (Only if you have a really unfortunate app_id such as 12345e10 😂). See #2506.

3.4.0 (2017-06-12)

  • Warning: For Ionic 1 projects, the sass gulp task is no longer automatically run during SCSS file changes during ionic 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#cli-hooks for usage.
  • 🎉 Added @ionic/cli-plugin-gulp! This plugin will hook into appropriately named gulp tasks during CLI events. It will also automatically run the sass gulp task during SCSS file changes during ionic serve. See the plugin's README.md for usage.
  • Fixed an issue where 0.0.0.0 was the address being opened in the browser for Ionic 1 apps for server. Now the dev server still binds on 0.0.0.0 by default, but opens localhost in the browser.
  • Fixed npm errors bubbling up during CLI update checks while offline.
  • Improved --help descriptions of a few Cordova commands.

3.3.0 (2017-05-31)

  • Added CLI flag for turning on/off timeouts: --[no-]timeout
  • Added fuller descriptions to the --help output of individual commands.
  • Improved Cordova argument parsing.
  • Fixed the proxy plugin so ionic start works behind a corporate firewall.
  • Improved CLI automatic update feature.

3.2.0 (2017-05-23)

  • Added 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_EMAIL and IONIC_PASSWORD environment variables.
  • Added Cordova platforms to output of ionic info.
  • (Somewhat) support documentRoot and watchPatterns (which are attributes of ionic.config.json) for Ionic 1 projects.
  • If git is installed, new Ionic projects are automatically setup as repositories and an initial commit is made.

3.1.0 (2017-05-16)

  • Added --aot, --minifyjs, --minifycss, --optimizejs flags for build commands of Ionic Angular projects.
  • Fixed some runtime errors.
  • Took out confirmation prompt for logging in again when already logged in.

3.0.0 (2017-05-09)

CLI v3 Blog Post 🎉

Upgrading from CLI v2

Required Changes
Removed Commands
  • setup: This was only used to setup sass in Ionic 1 projects, which now is now handled in start.
  • 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 use link to 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 the ionic.config.json file.
  • service: Please migrate your app to use the Ionic Cloud Client.
  • state: The plugins and platforms can be managed entirely by Cordova. Please remove the cordovaPlatforms and cordovaPlugins keys from your package.json file. If you're using Cordova 7, please review the announcement about how Cordova uses config.xml and package.json to manage plugins and platforms.
Additional Changes
  • 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 --v1 and --v2 flags in ionic start have been removed in favor of --type with respective values ionic1 (for v1) and ionic-angular (for latest Ionic Angular version). Please use ionic help <commands> for new command usage.
  • generate command 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.

Packages

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.

Plugins:

Older Changes

Older changes (CLI 2 and before) can be viewed in the 2.x branch's CHANGELOG.md.