Tools Release: April 21, 2015
        
        21 Apr 2015
    New versions of cordova tools are now live!
Release highlights:
- Plugins have been renamed and the Cordova-CLI now supports fetching plugins from npm. We highly recommend reading about it in the plugins release blog post.
 <feature>tags have been renamed to<plugin>tags in your projectsconfig.xml. Adding a<plugin>tag to yourconfig.xmlwill fetch and install it oncordova prepareif it isn't already installed.- Cordova Android@4.0.0 has been released and pinned as the default version for new projects. This includes support for pluggable WebViews! Read about it in the Android 4.0.0 release blog post.
 - Our template app, Cordova App Hello World, has been moved to npm.
 - Added the ability to manage your plugin and platform dependencies in your project's 
config.xml. When adding plugins or platforms, use the--saveflag to add them toconfig.xml. Ex:cordova platform add android --save. Existing projects can usecordova plugin saveandcordova platform savecommands to save all previously installed plugins and platforms into your project'sconfig.xml. Platforms and plugins will be autorestored whencordova prepareis run. This allows developers to easily manage and share their dependenceis among different development enviroments and with their coworkers. 
To update your tools:
- 
    
If you have
cordovainstalled:npm install -g cordova - 
    
If you have
plugmaninstalled:npm install -g plugman 
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
- CB-8865 Fixed 
plugman.help() - Pinned Cordova-Android version 4.0.0
 - Fix 
getPlatformVersionfails for paths with spaces - CB-8799 Save plugin/platform 
srcandversiontospecattribute. - CB-8807 Platform add fails to add plugins with variables.
 - CB-8832 Fix iOS icon copying logic to not use default for every size
 - Updated pinned versions of Windows and wp8.
 - CB-8775 Adding a plugin will copy it to plugins folder, except if the plugin's new or old id is already installed.
 - Fix 
setGlobalPreference()inConfigParser - Removed mostly unused 
relativePathchecking and added missing cases forisAbsolutePath - CB-8791 Recognize 
UAPas a validTargetPlatformIdentifier - CB-8784 Prepare with no platforms should restore all platforms.
 - Fix 
plugman installfailure on iOS containing& - CB-8703 Add support for 
semveranddevice-specifictargeting ofconfig-fileto Windows - CB-8596 Expose APIs to retrieve platforms and plugins saved in 
config.xml. - CB-8741 Make plugin 
--savework more likenpm install - CB-8755 Plugin 
--save: Multipleconfig.xmlentries don't get removed - CB-8754 Auto-restoring a plugin fails when adding a platform.
 - CB-8651 Restoring platforms causes plugin install to be triggered twice
 - CB-8731 Updated 
app-hello-worlddependency to 3.9.0 - CB-8757 iOS: Make paths with 
--linkrelative to the real project path - CB-8286 Fix regression from e70432f2: Never want to link to 
app-hello-world - CB-8737 Available platforms list includes extraneous values
 - Bugfix to 
json.parsebefore usingcfg - Add 
merges/by default, now all tests pass - Move 
cordova-app-hello-worlddependency tocordova-lib - Support the old 4-argument version of 
cordova createagain - CB-8286 Update 
create.jsto always require passing in awww - Show npm failure message when plugin fetch fails
 - CB-8725 Fix plugin add from npm when authenticated to CPR
 - CB-8499 Remove 
project_dirfrom (un)installers signature - Add 
addElement()toConfigParser - CB-8696 Fix fetching of dependencies with semver constraints rather than exact versions
 - CB-7747 Add 
<allow-intent>for App Store on iOS - Export 
PlatformProjectAdapterfromplatforms.js - Allow subdirs for icons on BB10
 - CB-8670 Error when set engine name to 
cordova-windowsinplugin.xml - CB-8521 Adds 
cordova plugin savewhich saves all installed plugins to config.xml - CB-7698 BugFix: For plugins which require variables, 
cordova plugin add FOOshould fail when no variables specified. - Add 
setGlobalPreference()toConfigParser - CB-8499 Merge platforms.js from cordova and plugman
 - Rename references to 
featuretoplugin - Deprecate the old feature syntax from 
config.xml - CB-8634 Adds support for custom branches for 
cordova platform add - CB-8633 BugFix: Support for urls to tarballs was broken
 - CB-8499 
cordova platform save: save installed platforms and their sources (versions/git_urls/folders) Intoconfig.xml - CB-8499 When deleting a platform, remove it from 
platforms.json - CB-8499 When adding a platform, capture version/folder/url being added to allow us to be able to save all installed platforms and their versions later on by doing 
cordova platform save - CB-7747 Add 
<allow-intent>to default template - CB-8616 Support 9-patch images for default Android splashscreen
 - CB-8551 Fixed regex in 
isValidCprName - CB-8551 Merged 
fetchNPMandfetchPlugRegintofetchPlugin - CB-8551 Updated regex in 
isValidCprNameto exclude matching@version - CB-8551 Split up 
changePluginIdinto two functions - CB-8457 Ignore version specifier when running hooks
 - CB-8578 
cordova plugin add <plugin>should be able to restore urls and folders in addition to versions - CB-7827 Add support for 
android-activityNamewithinconfig.xml - Add 
org.apache.cordova.test-frameworkto plugman publish whitelist - CB-8577 Read plugin variables from correct tag
 - CB-8551 Added 
plugin-namesupport for removing plugins. - CB-8551 Skip CPR if 
pluginIDisn't reverse domain name style - CB-8551 Added npm fetching as fallback
 
cordova-cli
- Add information on Firefox OS to the 
README - Update link to hooks 
README - CB-8634 Adds docs about support for custom branches for 
cordova platform add 
cordova-js
- Verify that 
window.cordovadoes not already exist and throw error if it does - Added 
appveyorbadge - CB-8711 Wait for all callbacks before evaluating expectations
 - CB-8223 Adds 
configparsermodule for exposingconfig.xmlin the Browser platform - CB-8667 Windows Handle case where checking for 
NORESULTreturns falsy - Add TravisCI link and banner
 
plugman
- CB-8637 Add Windows platform
 
Pinned Platform Versions for Cordova CLI 5.0.0
- Cordova Amazon-FireOS: 3.6.3
 - Cordova Android: 4.0.0
 - 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.1
 - Cordova WP8: 3.8.0
 
