Skip to content

Latest commit

 

History

History
157 lines (130 loc) · 7.55 KB

File metadata and controls

157 lines (130 loc) · 7.55 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.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 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 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_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.

Global:

Local (per project):

Older Changes

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