Blog RSS Feed

Apache Cordova Windows 5.0.0
13 Feb 2017

We are happy to announce that Cordova Windows 5.0.0 has been released!

This release introduces a major change in resource-file behavior (see the docs on how to get the previous behavior back for referenced files) and adds WinMD + C++ based DLL combination support for plugins.
Another highlight is a new feature of buildFlag similar to --gradleArg on Android and --buildFlag on iOS allowing to pass custom flags to MSBuild.
The release also fixes some issues with SplashScreen and VS project generation.
See release notes below for more detals and the rest of the changes.

To upgrade:

npm install -g cordova
cd my_project
cordova platform update windows@5.0.0

To add it explicitly:

cordova platform add windows@5.0.0

What's new in Windows platform

  • CB-12163 Add resource-file reference functionality through a flag
  • CB-12163 Make resource-file copy files again
  • Upgrade cordova-common to 2.0.0
  • CB-12298 [Windows] bundle.appxupload not generated for Windows 10 target
  • CB-12189 Add support for WinMD and DLL combination
  • CB-12238 [Windows] Colorize titlebar to match splash bg color
  • CB-11177 SplashScreen gets shifted on Windows devices with soft navbar
  • CB-12239 Add buildFlag option similar to iOS
  • CB-12193 cordova.js crashes windows app if there is no CoreWindow Also made confighelper to load after WinJS as it depends on it
  • CB-11751 'extendedSplashScreen' is undefined
  • CB-12192 No SplashScreen on Windows when content.src is subpage
  • CB-9287 Not enough Icons and Splashscreens for Windows 8.1 and Windows Phone 8.1
  • CB-11933 Do not ignore already prefixed capabilities at plugin add/rm
  • CB-11933 Fix pattern for extracting capabilities names
  • CB-12142 Move windows-specific logic from cordova-common
  • CB-12147 (windows) Fix typo in verbose output
  • CB-12124 Make available device capabilities in package.windows10.appxmanifest
  • CB-12071 Fix for CB-11825 breaks usage of InProcessServer in Cordova Windows
  • CB-12036 Fix setSplashBgColor exception when no splashscreen is found