Tools Release: March 02, 2015
02 Mar 2015
New versions of cordova tools are now live!
To update your tools:
-
If you have
cordovainstalled:npm install -g cordova -
If you have
plugmaninstalled:npm install -g plugman
Release highlights:
- Cordova-iOS developers will need to update their
iOS-deploydependency to launch on iOS devices. Please runnpm install -g ios-deployto install the latest version1.4.0. - You can now save your list of installed plugins and platforms using the
--savecommand when adding platforms and plugins to your project. Saved platforms and plugins are automagically restored during prepare. Ex.cordova platform add android --save. This should make it easier developing cordova projects among a team. - Plugin authors can use the new command
plugman createpackagejson <plugin_path>to add apackage.jsonfile to their plugins. - We are preparing to transition our plugin hosting over to npm. We will be doing a detailed blog post soon. Stay tuned.
Changes include:
Platform updates
When adding these platforms to your project, the following versions are now used by default. These platform versions were released recently, and the tools' defaults were updated:
cordova-lib
- Updated pinned versions of iOS to 3.8.0 and Android to 3.7.1
- CB-8284 Revert
npmdependency due to issues with registry - CB-8524 Switched to the latest Windows release
- changed
createpackage.jsonkeyword toecosystem:cordova - CB-8448 Add support for activities
- CB-8482 Rename:
platformId->platformName - CB-8482 Update engine syntax within config.xml
--saveflag for plugins- Restore plugins and platforms on prepare
- CB-8472 Can't find
config.xmlerror installing browser platform after plugin - CB-8469 Android: Call into platform's
build.jsafterplugin addso that Android Studio will work without needing an explicit command-line build first - CB-8123 Plugin references can target specific Windows platforms
- CB-8420 Make
cordova plugin add FOOuse version from config.xml - CB-8239 Fix
cordova platform add PATHwhen PATH is relative and CWD != project root - CB-8227 CB8237 CB-8238 Add
--saveflag and autosave tocordova platform add,cordova platform removeandcordova platform update - CB-8409
compile: bubble failures - CB-8239 Fix
cordova platform updateshould ignore<cdv:engine> - CB-8390 Android: Make
<framework custom=false>work with Gradle - CB-8416 Updated
plugman publishto temporarily rename existingpackage.jsonfiles - CB-8416 Added
plugman createpackagejson .command to create apackage.jsonfromplugin.xml - CB-8377 Fixed
<runs>tag parsing - CB-5696 Find iOS project directory using the xcode project file
- CB-8373 Android: Add Gradle references to project.properties rather than build.gradle
- CB-8370 Make
plugman publishwithout args default to CWD - CB-8366 Android: Remove empty
<framework>directory upon uninstall - CB-6973 Enable JSHint for spec-cordova
- CB-8239 Add support for git urls to 'cordova platform add'
- CB-8358 Add
--linkforplatform addandplatform update - CB-6973 Remove base rules from individual files in
src - CB-8354 Add --link support for iOS source and header files
- Make all ad-hoc
plugin.xmlparsing usePluginInfoinstead - Make all usages of
PluginInfousePluginInfoProviderinstead - Add
PluginInfoProviderfor better caching ofPluginInfo - CB-8223 Expose
config.xmlin the Browser platform - CB-8168
--listsupport for cordova-lib - FireOS Improve error message when
<source-file>is missingtarget-dir - Make
addUninstalledPluginToPrepareQueuetakepluginIdrather thandirName
cordova-cli
- CB-8439 Fix
cordova platform updatedocumentation to include<plat-spec> - CB-8379 Have
--versionprint out cordova-lib version if it's not the same as CLI's version - CB-8211, CB-8358 Update
--linkhelp text - CB-8168
--listsupport for CLI - CB-8227 CB-8237 CB-8238 Add
--saveoption tocordova platform add,cordova platform removeandcordova platform update - CB-5316 Spell Cordova as a brand unless it's a command or script
- CB-7950 CLI make
CordovaCliCreate.prototype.runvaguely correct
cordova-js
- CB-8378 Android: Deleted
hidekeyboard&showkeyboardevents - Android: Use correct plugin name for
navigator.appexec()calls - CB-8158 Fixed
symbolListrequire - CB-8298 Android: Execute
execcallbacks within their own stack frames - CB-8210 Remove unused
onDestroychannel - Fixed
callbackFromNativemethod
plugman
- CB-8416 Added
plugman createpackagejson .command to generate apackage.jsonfile fromplugin.xml - CB-8370 Update documentation for
plugman publishwithout args
Pinned Platform Versions for Cordova CLI 4.2.0
- Cordova Amazon-FireOS: 3.6.3
- Cordova Android: 3.7.1
- Cordova BlackBerry10: 3.7.0
- Cordova Browser: 3.6.0
- Cordova FirefoxOS: 3.6.3
- Cordova iOS: 3.8.0
- Cordova Ubuntu: 4.0.0
- Cordova Windows: 3.8.0
- Cordova WP8: 3.7.1
