Tools Release: June 10, 2015
10 Jun 2015
New versions of cordova tools are now live!
Release highlights:
- CB-8898 Introduced a new
cordova requirementscommand - CB-8441
cordova prepare --browserifynow supports 3rd party plugins to build yourcordova.jsat run time! Try it out! - CB-9075 pinned platforms will include platform patch updates without requiring a new tools release.
To update your tools:
-
If you have
cordovainstalled:npm install -g cordova -
If you have
plugmaninstalled:npm install -g plugman <!--more-->
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-9087 Updated pinned version of cordova-windows to
4.0.0 - CB-9108 Handle version ranges when add platform with
--usegit. - CB-8898 Makes error message descriptive when
requirementsis called outside of cordova project. - CB-8007 Two cordova plugins modifying
*-Info.plist CFBundleURLTypes - CB-9065 Allow removing plugins by short name.
- CB-9001 Set
WMAppManifest.xmlAuthor, Description and Publisher attributes based onconfig.xml - CB-9073 Allow to add platform if project path contains
&symbol - CB-8783 - Revert
allas a global preference value for Orientation (specific to iOS for now) - CB-8783 -
defaultvalue for Orientation does not support both landscape and portrait orientations. (newallvalue) - CB-9075 pinned platforms will include patch updates without new tools release
- CB-9051 Plugins don't get re-added if platforms folder deleted.
- CB-9025 Call Windows
preparelogic on as part of cordova-libprepare. This closes #217 - CB-8965 copy platform specific js into
platform_wwwwhen adding new platforms for browserify workflow - Add support to specify a build config file. If none is specified
build.jsonin the project root is used as a default This closes #215 - CB-9030: Modifies superspawn to support a
chmodoption. When truthy, attempts to set the target file mode to 755 before executing. Specifies this argument as truthy for common CLI operations (compile, run, and steps in plugman). Didn't add it for hooks runner since that particular mode is in legacy support. - CB-6462 CB-6026 - Orientation preference now updates
UISupportedInterfaceOrientations~ipadtoo. - CB-8898 Introduces
requirementscordova module - Update elementtree dependency to 0.1.6. Note it has a breaking API change. https://github.com/racker/node-elementtree/issues/24 (closes #209)
- CB-8757 Resolve symlinks in order to avoid relative path issues (close #212)
- CB-8956 Remove hardcoded reference to
registry.npmjs.org - CB-8934 fixed regression with projects config.json not being used in cordova create
- CB-8908 Make fetching via git faster via
--depth=1 - CB-8897 Make default icon/splash on Android map to mdpi
cordova-cli
- CB-8898 Adds missing section about
requirementsto general cordova help - CB-8898 Introduces
cordova requirementscommand - Updated
cordova-libdependency to5.1.1
cordova-js
- CB-9057: Updated
cordova.js for Windows to refer tobase.jsinstead of the full-blownWinJS.js. - CB-6865 added browserify support for plugins with any id
- CB-8441 added missing requires and updated npm run scripts
- CB-8441
platformVersionflag not required anymore. Grab version from dependecy platform versions - CB-8441 updated workflow to use
cordova-js-srcwhen available - CB-8441 grunt compile now uses platform dependencies
cordova-js-srcdirectory for platform specific exec files - CB-8441 added platforms as dev dependencies
- Added template-packaged
WinJSreference for Windows 10 support. This closes #111 - CB-8996 Windows Fixed invalid null comparison. This closes #110.
- updated browserify dependency to 10.1.3
- android: Delete
PRIVATE_APIbridge mode enum, since it was removed in4.0.0 - CB-8838 - Disabled
commandQueueforWK_WEBVIEW_BINDING. (closes #107)
plugman
- Updated
cordova-libdependency to5.1.1
Pinned Platform Versions for Cordova CLI 5.1.1
- Cordova Amazon-FireOS: 3.6.3
- Cordova Android: 4.0.2
- 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: 4.0.0
- Cordova WP8: 3.8.1
