Blog RSS Feed

Cordova CLI 12.0.0 & Internal Packages Released!
By: Bryan Ellis
22 May 2023

We are happy to announce that we have just released a major update to our Cordova CLI!

In this CLI release, it also includes the latest internal libraries:

Release Highlights

This release drops Nodejs 14 support. The minimum supported version that Cordova requires is greater than or equal to 16.13.0.

In all releases, we have updated all npm packages to the possible latest release that Cordova can support.

BREAKING CHANGES:

We have removed the deprecated platforms OSX and Windows from the platform listing. While you can still install these platforms, you will need to use the full npm package names cordova-osx and cordova-windows. Please note that these platforms are no longer actively maintained, and there is a possibility that they may not function as expected and could break in the future. As a result, they will not receive any further support.

Additionally, we have removed all internal platform pinnings. When running the cordova platform add <PLATFORM> command, it will always fetch the latest available platform from the npm registry. This allows for immediate access to newly released platforms. If you require the command to consistently fetch a specific version, you will need to update your command to include the version pinning, like this: cordova platform add <PLATFORM>@<VERSION>.

Please report any issues you find on our GitHub issue tracker! Please select below the appropriate repo when submitting.

Changes include:

Cordova CLI 12.0.0:

Cordova Lib 12.0.0 & 12.0.1:

  • GH-918 fix: platform add with tarball & directory
  • GH-917 feat!(run): call platform api to list targets
  • GH-894 feat!: remove platform pinning
  • GH-896 feat!: remove OSX & Windows platform

Cordova Create 5.0.0:

Cordova Fetch 4.0.0:

Cordova Serve 4.0.1:

  • GH-49, GH-51, GH-53 chore: rebuilt package-lock.json
  • GH-52 ci: update github action workflow
  • GH-46 fix(main.js): color of 404 status in console logs
  • GH-45 fix(main.js): resolve deprecation warning on Node.js 12
  • GH-44 fix: pass mandatory args to platform API constructor
  • GH-38 ci: add node 14 to workflow

Cordova Common 5.0.0:

See the Cordova Common Release 5.0.0 blog post.