All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
4.12.0 (2019-03-12)
- enterprise: add shortcut for registering (a1890b4)
- add
ias alias forintegrations(14a7ddb) - integrations: add
--web-diroption for capacitor integration (#3895) (8a1c4b2) - integrations: ionic enterprise integration (#3905) (b071fcb)
4.11.0 (2019-03-06)
- cordova: add experimental
--cordova-resflag (16cdef8) - cordova: add experimental
--native-runflag (a80d465)
4.10.4 (2019-02-27)
Note: Version bump only for package ionic
4.10.3 (2019-02-15)
Note: Version bump only for package ionic
4.10.2 (2019-02-04)
- angular: pass
--projectand--configurationfor custom scripts (2cf724f)
4.10.1 (2019-01-30)
- cordova: only forward correct options (817879b)
4.10.0 (2019-01-29)
- ionic-angular: link to proper v3 docs (a89c097)
4.9.0 (2019-01-23)
- custom: run ionic:build/ionic:serve scripts (9898fa8)
- resources: --cordova-res option for local resource generation (3c27e05)
- start: make Ionic 4 the default for new projects (#3820) (0195f96)
4.8.0 (2019-01-14)
4.7.1 (2019-01-08)
Note: Version bump only for package ionic
4.7.0 (2019-01-07)
- doctor: handle multilines for viewport-fit-not-set (#3809) (6aa7ae6)
- executor: Exclude options for command argument parsing (#3798) (514015f)
- serve: handle error in opn with debug statement (89b6d33)
- appflow: command to create package builds (#3808) (149f06e)
- cordova: auto-forward port when using --native-run (0da50ac)
4.6.0 (2018-12-19)
- cordova: warn for prepare w/o platforms (385bdf2)
- serve: collapse numbered chunk output and summarize (5ac6834)
- start: update for Ionic Framework 4.0 RC (7e943cc)
4.5.0 (2018-11-27)
- cordova: do not error for ctrl+c during livereload (facc96b)
- serve: ignore link-local addresses (#3761) (1b7fd90)
- telemetry: disable automatically for CI (217ca12)
- Ionic Appflow rebranding (16360af)
- cordova: add
--native-runoption to Cordova run (#3757) (9ef53ad)
4.4.0 (2018-11-20)
- multi-app: properly handle bare projects (3f84a6f), closes /github.com/ionic-team/ionic-docs/issues/83#issuecomment-439655706
- project: write determined project type to config (307d81f)
- build: show build progress (3090615)
- help: show value hint for options (aa13ba8)
- init: add
ionic initcommand (4a12b17) - login: SSO authentication flow (#3741) (71b319a)
- serve: forward
--sslto Angular CLI (815b49a)
4.3.1 (2018-11-04)
- bin: stringify unresolved promise event (788a5ec)
- bootstrap: supply env for CLI <4.3.0 (78dbda8)
- multi-app: hide project warnings during start (b1ecd77)
- start: fix stdio freezing issue on Windows (#3725) (a570770)
4.3.0 (2018-10-31)
- capacitor: switch off livereload for --no-build (9960047)
- help: filter out unnecessary global options (7809c99)
- ssh: adjust validator to work for OpenSSH 7.8 (dcc598a)
- terminal: adjust some feature detection on windows (8a2ed99)
- capacitor: add --livereload-url option for custom dev server (b7738f5)
- cordova: add --livereload-url option for custom dev server (ad57e36)
- integrations: --root option for choosing an alternative location (7e8f11e)
- multi-app: determine active project via cwd path match (f83dc5b)
- resources: generate resources without needing platform installation (4f20554)
- start: better multi-app support (3c70e87)
4.2.1 (2018-10-05)
- doctor: fix viewport-fit-not-set for ionic1 (826b9ae)
- info: show versions for @ionic/angular-toolkit (9d1824a)
4.2.0 (2018-10-03)
- cordova: ng should ignore separated args for Cordova build (16a0111)
- lab: use correct query params for project type (4801680)
- serve: fix incorrect message about app-scripts not being installed (abd665b)
- serve: unnecessary message about utility CLI exiting during Ctrl+C (8e78bf3)
- new
ionic repaircommand (7588233)
4.1.2 (2018-09-05)
- capacitor: use integration root for Capacitor CLI (81a45d5)
4.1.1 (2018-08-20)
- cordova: respect --nosave for platform/plugin add (eb4934b)
- deploy: exclude any existing pro-manifest.json files (#3527) (d03057d)
- shell: allow output() to fail with original error (e6a5bff)
- shell: check if process is still alive before sending signal (0ff1e48)
4.1.0 (2018-08-15)
- capacitor: pass in project/package id during start (1357c5c)
- cordova: properly error for multiple IPs with non-interactive mode (0346adc)
- cordova: remove unwanted allow-navigation entries (77984e1)
- info: disable update check for cordova cli (8310ff6)
- info: remove version.json warning for v1 (78c3582)
- link: support new repo association types (1c1e1f1)
- capacitor: add run command (62a2918)
- capacitor: document platform argument, prompt when required (2a312ab)
- capacitor: install platform if missing (9e29235)
- capacitor: prompt for supported platforms when adding (54c7d55)
- capacitor: unlock capacitor commands as beta (2480a01)
- info: print whitelisted cordova plugins (c266b7b)
4.0.6 (2018-08-09)
4.0.5 (2018-08-07)
Note: Version bump only for package ionic
4.0.4 (2018-08-06)
4.0.3 (2018-08-02)
- build: prompt to install "build cli" for all projects (2862762)
- serve: await connectivity on specified host, not localhost (#3444) (bf10674)
- serve: check all network interfaces for an available port (30fd6ef)
- serve: fix --livereload for device/emulator (f31e79d)
- serve: use correct livereload port option for v1 (bf3e775)
4.0.2 (2018-07-30)
- cordova: default to
cordova preparewithout platforms (d40d961) - resources: fix hanging issue (#3429) (6b7c732)
- build: properly pass --target to remove fonts for cordova (530d87a)
- generate: run in current directory (54c632b)
- info: filter out hidden files/folders (2e56dd7)
- info: show 'not available' when cordova is missing (db60879)
4.0.1 (2018-07-26)
- generate: remove pages/ prefix recommendation (#3392) (23d0db6)
- help: properly show option decorations (b2509de)
4.0.0 (2018-07-25)
Note: Version bump only for package ionic
This release offers support for ✨ Ionic 4 ✨ (beta).
📝 Use the new CLI Documentation on the beta framework documentation website for CLI 4.
Aside from a few edge cases listed below, upgrading to CLI 4 should be seamless.
Ionic 2/3: The CLI will continue working with apps using @ionic/app-scripts for tooling (please update to the latest version to avoid any issues). The CLI will continue to support projects that have yet to migrate to Ionic 4 w/ Angular CLI for tooling. For those who wish to migrate v3 apps to v4, see the Migration Guide.
Ionic 1: For Ionic 1 projects, a new toolkit has been introduced to slim down the main CLI package. All functionality is still supported, but the @ionic/v1-toolkit package needs to be installed.
- Support for legacy Ionic Cloud ended on January 31st, 2018. The
ionic uploadandionic packagecommands have been removed from the CLI. Support for Ionic Appflow will be a major focus for the CLI going forward. 👌 - The
app_idproperty inionic.config.jsonhas been renamed topro_idand is now optional (see #3038). The CLI automatically detects this and changes it, but this notice is here if your build scripts rely on the setting. ionic buildwill no longer runcordova prepare. Instead, runionic cordova prepare <platform>, which performs an Ionic build beforehand.ionic cordova preparewill no longer run an Ionic build without a platform, e.g.ionic cordova prepare ios(see #3653)- Ionic Lab has been moved into the
@ionic/labpackage, which will need to be installed for Lab to work. - The
conferencestarter template has been removed fromionic start. To clone existing apps (as opposed to starting new apps from starter templates), please use the app's repository URL. For example, to create the conference app, useionic start "Conference App" https://github.com/ionic-team/ionic-conference-app. - The
--display-nameoption forionic starthas been removed. Thenameargument is now used as the display name and slugified for directory name, package name, etc. To provide a custom slug, use--project-id(see #3038). - The
ionic:watch:beforenpm script hook has been renamed toionic:serve:before, but behaves the same. ionic doctor checkwill now only print issues and exit with exit code 1 if issues are found. Useionic doctor treatto attempt automatic fixes.ionic doctor ignorehas been removed in favor ofionic config set -g doctor.issues.<issue>.ignored true).- Ionic 1 build/serve functionality has been moved into the
@ionic/v1-toolkitpackage, which will need to be installed in your Ionic 1 project(s). The file watcher, chokidar, has been updated to 2.0.0, which will require those usingwatchPatternsto always use POSIX-style slashes (not an issue if you've never used a backslash in globs for Windows). - The gulp integration has been removed from the CLI and put into the
@ionic/v1-toolkitpackage, which is only for Ionic v1 apps.
ionic sis now an alias forionic serve.- No need for
@ionic/cli-plugin-proxy. Proxy support is now built-in. Use existing environment variables or useionic config set -g proxy <url>. - New
ionic config unsetcommand for deleting config values. - New
ionic doctor treatcommand that attempts automatic fixes of detected issues. - If
ionic:buildorionic:servenpm scripts are defined in yourpackage.json, the Ionic CLI will use them for the Ionic build/serve instead of the default for your project type. - Automatic login via
IONIC_TOKENenvironment variable #2410 --no-colorflag for turning off CLI colors--no-buildoption forionic cordova runandionic cordova emulate#2930- Better monorepo support. See the discussion in #2232.
- Multi-app support for new Angular projects #3281
- Added experimental
ionic ssl generatecommand for generatinglocalhostSSL certificates for use withionic serve. 📝 HTTPS support inionic serveisn't quite finished yet (see #3305).
- Interactivity is now disabled when not in a TTY. See #3047.
- Respect
--nosaveflag forionic cordova platformandionic cordova plugin#2946 - Chain
--verboseflag to Cordova forionic cordovacommands #2919 - Fixed newlines in piped output from underlying CLIs.
- A huge amount of code refactoring has been accomplished to prepare the CLI for a scalable, flexible future. Changes in behavior and help output based upon environment and config are now trivially accomplished.
- The CLI Framework, a (currently) internal framework for building general-purpose command-line programs, has had many features added to support the utility CLIs such as
ionic-labandionic-v1. - Ionic Lab has been rebuilt using StencilJS and now works for any Ionic Framework version.