IMHO both cordova-plugin-compat and cordova-plugin-console should receive
minor version bumps. Neither breaks backwards compatibility so I don't feel
like a major version bump is warranted.

As well all of our core plugins that depend on cordova-plugin-compat use
the ^1.x in their semver so they would pull in the earlier version of the
compat plugin and in combination with the upcoming cordova-android 6.3.0
pretty much all apps will fail to build.

When it comes to cordova-plugin-console we should also err on the side of
caution when it comes to the version number bump. I spent some time this
morning debugging an internal app that was using cordova-ios 4.5.0 and
cordova-plugin-console. It was failing to build because of duplicate code.
If cordova-plugin-console 1.1.0 (not 2.0.0) has been release before
cordova-ios 4.5.0 the problem would not have existed.

I think we need to be ready to start answering that question as to why apps
using cordova-ios 4.5.0 don't build. Perhaps a quick blog post is in order?

My recommendations is to restart this vote thread with the four plugins but
tag their versions as cordova-plugin-compat@1.2.0,
cordova-plugin-console@1.1.0. The device motion and device orientation
plugins can have any version number we want as they will not run into the
above problems.


Simon Mac Donald
http://simonmacdonald.com

On Wed, Sep 20, 2017 at 1:44 AM, Steven Gill <stevengil...@gmail.com> wrote:

> Plugin vote is going to fail it seems due to the issue simon found.
>
> Simons  message:
> "Failed
> * Added cordova-plugin-camera to a project with cordova-android 6.3.0 which
> depends on cordova-plugin-compat and the build fails.
>
> The reason the build fails is that all of the cordova plugins that depend
> on cordova-plugin-compat do so using a semver of ^1.0.0 or ^1.1.0. Since
> compat was bumped to 2.0.0 when you install cordova-plugin-camera on your
> cordova-android 6.3.0 project it fails the semver and it pulls in the 1.1.0
> version. Now both compat and cordova-android deliver the same classes and
> the build fails."
>
> I actually have 1.2.0 version of the plugin already tagged from when I ran
> the plugin process on Monday. It is identical to the 2.0.0 version that is
> being voted on. We can either stop the current vote thread and start a new
> one with 1.2.0 instead of 2.0.0, or we could continue the current vote
> thread and start a new one just for compat@1.2.0. If we go with option 2,
> we can release both 1.2.0 and 2.0.0.
>
> This is a good point to remember in the future. Deprecation should be minor
> not major bumps.
>
>
> On Tue, Sep 12, 2017 at 11:43 PM, Shazron <shaz...@gmail.com> wrote:
>
> > Created PR for CB-13170 cordova-plugin-console
> > https://github.com/apache/cordova-plugin-console/pull/25
> >
> > On Tue, Sep 12, 2017 at 7:20 AM, Simon MacDonald <
> > simon.macdon...@gmail.com>
> > wrote:
> >
> > > Both of:
> > >
> > > cordova-plugin-device-motion
> > > cordova-plugin-device-orientation
> > >
> > > should get their deprecation PR's merge and also released.
> > >
> > > Simon Mac Donald
> > > http://simonmacdonald.com
> > >
> > >
> > > On Mon, Sep 11, 2017 at 7:03 PM, Shazron <shaz...@gmail.com> wrote:
> > > > +1 on console. No PRs for that yet though so it's not ready.
> > > >
> > > > On Tue, Sep 12, 2017 at 5:46 AM, Steven Gill <stevengil...@gmail.com
> >
> > > wrote:
> > > >
> > > >> Console should be released too since it has been moved back into ios
> > for
> > > >> next release. https://issues.apache.org/jira/browse/CB-13170
> > > >>
> > > >> On Sep 11, 2017 2:04 PM, "Jesse" <purplecabb...@gmail.com> wrote:
> > > >>
> > > >> > Android release is dependent on us releasing an
> > > >> > updated cordova-plugin-compat
> > > >> >
> > > >> > Anyone have any reasons to not do a release? Anything outstanding
> > > >> > anyone wants to get merged in before moving ahead with a plugins
> > > >> > release? Any other comments on the topic?
> > > >> >
> > > >> > Cheers,
> > > >> >   Jesse
> > > >> >
> > > >> >
> > > >> > @purplecabbage
> > > >> > risingj.com
> > > >> >
> > > >>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
> > > For additional commands, e-mail: dev-h...@cordova.apache.org
> > >
> > >
> >
>

Reply via email to