cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stevengill <>
Subject [GitHub] cordova-docs pull request #699: cordova7_post : cordova7 release post
Date Fri, 05 May 2017 10:29:47 GMT
Github user stevengill commented on a diff in the pull request:
    --- Diff: www/_posts/ ---
    @@ -0,0 +1,146 @@
    +layout: post
    +    name: Audrey So
    +    url:
    +title:  "Apache Cordova 7.0.0"
    +categories: news
    +tags: news releases
    +We are happy to announce that `Apache Cordova 7.0.0` has been released!
    +Most notable changes include:
    +* [cordova@7.0.0](
    +* [cordova-lib@7.0.0](
    +* [plugman@1.5.0](
    +* [cordova-app-hello-world@3.12.0](
    +* [cordova-common@2.0.3](
    +* [cordova-create@1.1.0](
    +* [cordova-fetch@1.1.0](
    +* If a `package.json` does not exist in your project, it will be auto-created for you
when `cordova prepare` is called.
    +* When adding a platform or plugin, the previous default behavior of not-saving has changed
to saving. Now it will automatically save that platform or plugin to your `config.xml` and
`package.json`. Details about platform and plugin versions are also automatically saved in
`config.xml` and `package.json`. The `--save` flag is no longer required to save. Use `--nosave`
to prevent saving to `config.xml` or `package.json`.
    +* Fetch is now the default method for fetching platforms. Fetch uses your system `npm`
to `npm install` modules into your project. The `--fetch` flag is no longer required. Use
the `--nofetch` flag to revert to pre-`Cordova@7.0` behavior (`npm install` is not used to
fetch modules).
    --- End diff --
    previously, we did a `npm cache add` to a global directory and then copied over the contents.
Now we shell out to npm, so we get npm's ability to save to package.json & npm's dependency
fetching/resolution out of the box. 
    `npm cache add` didn't `npm install`. So we had to bundle node_modules directory for all
of our platforms. Now we don't have to bundle that directory anymore either. 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message