cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-10679) Update plugin add behavior to allow plugins to list engine constraints
Date Sat, 19 Mar 2016 00:14:33 GMT


ASF GitHub Bot commented on CB-10679:

Github user riknoll commented on a diff in the pull request:
    --- Diff: www/_posts/ ---
    @@ -0,0 +1,46 @@
    +layout: post
    +    name: Richard Knoll
    +    url:
    +title:  "Upcoming Changes to Plugin Fetching"
    +categories: announcements
    +tags: news
    +The Cordova 6.0.0 release introduced the pinning of core plugin
    +versions in cordova-lib.
    +We are happy to announce that one of the new features in the upcoming
    +Cordova 6.1.0 release is a general API that allows any plugin to guide
    +the CLI in choosing a compatible plugin release to fetch for a given project.
    +This moves the plugin dependency information out of cordova-lib so that it
    +can update independently of the Cordova tools and support third-party plugins
    +outside of core. Our hope is that this feature will improve Cordova's plugin
    +ecosystem and reduce some of the frustration that Cordova developers face when
    +adding a new plugin to a project.
    +The new API allows for plugin developers to give a mapping of plugin
    +releases to project requirements in their `package.json`. When an app developer
    +adds a plugin to their Cordova project, cordova-lib will examine their
    +installed plugins, platforms, and cordova-lib version and decide which
    +version of the plugin to fetch based on the provided mapping.
    +If the project does not fulfill the requirements for the latest release of the
    +plugin, the CLI will print warnings indicating the problems and fetch the
    +latest release of the plugin that is compatible.
    +This API may eventually replace the [engines element](
in `plugin.xml`.
    --- End diff --

> Update plugin add behavior to allow plugins to list engine constraints
> ----------------------------------------------------------------------
>                 Key: CB-10679
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CordovaLib
>            Reporter: Richard B Knoll
>            Assignee: Richard B Knoll
>              Labels: triaged
> Let plugins specify their Cordova related dependencies in their package.json so that
the CLI can choose a compatible version for the current project.
> Full specification is here:

This message was sent by Atlassian JIRA

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

View raw message