Tools Released!
10 Oct 2017
We just released a small update to our tools!
- cordova@7.1.0
- cordova-lib@7.1.0
- cordova-plugman@1.5.1
- cordova-fetch@1.2.0
- cordova-common@2.1.1
- cordova-node-xcode@1.0.0
- cordova-js@4.2.2
Release Highlights
- CB-13303 added
--productionflag by default. This means that when the commandscordova platform add androidorcordova plugin add cordova-plugin-deviceare run, under the hood we are runningnpm install cordova-android --production. The--productionflag only installsdependenciesfrompackage.jsonand skipsdevDependencies. This should speed up installs (especially when installing local copies of platforms and plugins). You can turn the flag off by passing the--noprodflag or setting it off globally viacordova config set production false. - CB-13353 added
--save-exactflag. This will allow to save an exact version of a platform or plugin instead of a range.cordova platform add android@6.3.0 --save-exact. You can also set it true by default in your global config viacordova config set save-exact true - This is the first release of
cordova-node-xcodeunder the apache cordova banner. It was originally created and used as a dependency forcordova-lib, but now is being used by many other projects as well. We have decided to give the project a major release to1.0.0. This is to represent stability for the project in terms ofsemver. No breaking change has happened from the previous release. - CB-13308 fixed issues with restoring plugins and platforms while using
npm@5+. - CB-12787 Fix plugin installation with
--linkoption. - CB-13056 added deprecation notice for WebOS
- CB-13057 added deprecation warning for
cordova platform save - CB-12901 Deprecated
.rawfromcordova-libAPI calls. If you consumecordova-libas a node module, please update your API calls! You can see an example of the change at https://github.com/apache/cordova-cli/commit/0a42092971dc8fe2f483bd42c3b9de26fdec677c.
To update your cordova CLI:
npm install -g cordova@latest
Please report any issues you find at issues.cordova.io!
Changes include:
cordova-lib
- CB-13303 added
--save_exact,--productionflags - CB-13288 updated
index.jsand test to fixcordova plugin search - CB-13206 fixed incorrect target being passed in to
plugin addfromrestore-util.js - CB-13145 added
variable-merge.jsto deal withplugin.xmlvariables for uninstall - CB-12870 catch all use cases for
getPlatformApiFunctionand update tests accordingly - CB-12944 Platform's spec is ignored in
config.xmlifpackage.jsondoesn't contain dependency for platform - CB-12361 added new unit tests for plugin tests
- CB-13020 (plugman) install filters out
nohooks - CB-13056 added deprecation notice for WebOS
- CB-13057 added deprecation warning for
cordova platform save - CB-12361 added tests for
save.jsand rebased - CB-12895 switched from
jshinttoeslint - CB-12361 updated
addHelpertests - CB-11980 Update
READMEto reflect new repos - CB-6143 Change
plugman.emit()toevents.emit() - Reorganized unit test directory. Changes include: - consolidate
spec-cordova/andspec-plugman/into a singlespec/dir. - putjasmine configand helper modules in top-level spec dir. - changedpackage.jsonnpm run scripts to reflect purposes of tasks. removenpm run ci. UpdatedREADMEto reflectpackage.jsonnpm run script changes. - CB-12361 added unit tests for
prepare.spec.js - Update cordova-lib api. Deprecate
rawfrom api calls. - CB-11980 moved
fetch,commonandserveinto their own repos - CB-12786 Improve logic for searching plugin id in case of module already exists in
node_modules - CB-12250 CB-12409 iOS: Fix bug with escaping properties from plist file
- CB-12762 point
package.jsonrepo items to github mirrors instead of apache repos site - CB-12777 removed Android, iOS, and Windows projects fixtures
- CB-12787 Fix plugin installation with
--linkoption - CB-12738 Cordova ignores plugin dependency version on Windows platform
- CB-12766 Consistently write JSON with 2 spaces indentation
cordova-cli
- CB-13303 added
--noprodand--productionflags as options,--noprodturns off our auto adding of--productionflag - CB-13353 added
--save-exactflag to cli and unit test - CB-12895 Added
eslintand removedjshint - CB-12862 Added
searchpathas a config option - CB-12762 point
package.jsonrepo items to github mirrors instead of apache repos site - CB-12693 Included examples for
Browserify,fetch, andautosaveand include options with a more detailed description. - CB-12901 removed
.rawfromcordova-libcalls
cordova-plugman
cordova-fetch
- CB-13353 added
saveexactas an option and updated fetch test - CB-13308, CB-13252 fix issue with plugins turning into symlinks on restore
- CB-13303 setting production flag to true by default during npm install
- CB-12895 setting up
eslintand removingjshint - CB-13010 Improve logic for searching packages which being installed from
git url - CB-11980 fixed incorrect
appveyorimage - CB-12786 Improve logic for searching plugin id in case of module already exists in
node_modules - CB-12762 updated
packageJsonto github mirrors - CB-12787 Fix plugin installation with
--linkoption - CB-12738 Cordova ignores plugin dependency version on windows platform
cordova-common
cordova-node-xcode
- Bump version to 1.0.0 to represent stability and follow semver more closely
- Fix null-access errors in
addTo/removeFrom*PbxGroupmethods - Fix possible null-access error in
removeFromFrameworksPbxGroup - add check for
isArrayso that strings don't cause an error when calling.filter - Updated License, Copyright, Contributors and repo url, in prep for contributing this project to Apache Cordova
cordova-js
- CB-12017 updated dependencies for
Browserify - CB-12762 point
package.jsonrepo items to github mirrors instead of apache repos - CB-12895 added
eslintto repo - CB-13232 added test for cordova's unique local style require
- CB-8990 bump nodejs requirement to 4.0.0+
- CB-12847 added
bugsentry topackage.json. - CB-12748 Update CI to test node 4 and 6
