We are happy to announce that Apache Cordova CLI 4.0 has been released!
We have also released Cordova-Browser 3.6.0, Cordova-Android 3.6.4, Cordova-Windows 3.6.4, and Cordova-WP8 3.6.4.
Most notable changes include:
4.0.0 to reflect our changes in release policy.--target flagTo upgrade: (replace android with the platform you want to update):
npm install -g cordova cd my_project cordova platform update android
For non-CLI projects or for pre-3.0 projects, refer to the upgrade guides.
We have recently decided to update our release process to include independent releases for platforms. This means that our platform maintainers can release updates when they need to and not have to wait for other platforms to be ready to release.
Users should expect more frequent releases with bug fixes and new features. Users can always view what versions of platforms they are using in a cordova project with the cordova platform list command. Users workflow is exactly the same and updating existing projects should not be an issue.
Our docs will be released alongside our CLI.
The CLI is released with a set of default platforms pinned. For instance, this release of Cordova-CLI will include Cordova-Android@3.6.4 pinned by default. This means that when you type cordova platform add android, it will fetch and install version 3.6.4 into your project. It is also very simple to install a different version of a platform for a project if you wish by specifying the version of the platform when you are adding. Ex. cordova platform add android@3.5.1. Of course we always recommend using the latest release when possible.
In this release, all of our platforms are still in the 3.6.x range in terms of versions. Expect this to change as we do more releases.
You can read more about our new versioning strategy at https://github.com/apache/cordova-coho/blob/master/docs/versioning-and-release-strategy.md.
We have just released Browser as a platform. Add it to your projects with cordova platform add browser. This feature is intended for development purposes. We are working on adding browser support to our core plugins. Ray Camden has put together detailed blog post outlining which plugins we currently support at http://www.raymondcamden.com/2014/9/24/Browser-as-a-platform-for-your-PhoneGapCordova-apps.
Please file any issues and feature requests in our issue tracker. Make sure to fill in the component field as browser.
3.6.4JAVA_HOME properly on Ubunturun script's ability to use non-arch-specific APKsKitKat where the background colour would override the CSS colours on the applicationCordovaActivity.onCreate()3.6.4--targetnpm published versionsnode_modules up to same level as package.jsonbundledDependenciesnode_modules from package root to bin/ folderXHR callback failure when requested file doesn't exists3.6.4--targetbundledDependencies + fixed some whitespace3.6.0run supportChrome for macOScreate.bat for Windows supportsemVer compliant and bumped to 4.0.04.0.0 to be semVer compliant and to match Cordova CLI versionpackage.jsonplatforms.js for 3.6.4HooksRunner test - should run before_plugin_uninstallgetPluginsHookScripts to work if plugin platform not definedHooksRunner and tests. Avoided issue with parallel tests running. Added checks for handling mocked config.xml and package.json in HooksRunner and scriptsFinder. Addressed jshint issues. Renamed ScriptsFinder to scriptsFindercommonModules from Context. Renamed Hooker and subclasses to HooksRunner and scriptsFinder. Moved scriptsRunner code into HooksRunnerCordovaError throwing with Error per @kamrik review. Extracted prepareOptions Hooker method.cordova/hooks + other minor updates304 when resource not modifiedcomputeCommitId for browserify workflow fixed to handle cli and non cli workflowsprepare-browserify now supports commitId and platformVersion for cordovajsconfig.xml after pre-prepare hooks firepre_package hookwindows merges folder for Windows platform