Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A807518D40 for ; Fri, 15 May 2015 23:03:51 +0000 (UTC) Received: (qmail 68256 invoked by uid 500); 15 May 2015 23:03:50 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 68216 invoked by uid 500); 15 May 2015 23:03:50 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 68204 invoked by uid 99); 15 May 2015 23:03:49 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 May 2015 23:03:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7804B18283E for ; Fri, 15 May 2015 23:03:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.002 X-Spam-Level: X-Spam-Status: No, score=-0.002 tagged_above=-999 required=6.31 tests=[RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id OxE3332fryy3 for ; Fri, 15 May 2015 23:03:40 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0140.outbound.protection.outlook.com [157.56.111.140]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 0176D24B39 for ; Fri, 15 May 2015 23:03:39 +0000 (UTC) Received: from BLUPR03MB134.namprd03.prod.outlook.com (10.255.212.14) by BLUPR03MB134.namprd03.prod.outlook.com (10.255.212.14) with Microsoft SMTP Server (TLS) id 15.1.154.19; Fri, 15 May 2015 23:03:13 +0000 Received: from BLUPR03MB134.namprd03.prod.outlook.com ([169.254.16.62]) by BLUPR03MB134.namprd03.prod.outlook.com ([169.254.16.62]) with mapi id 15.01.0154.018; Fri, 15 May 2015 23:03:13 +0000 From: Nikhil Khandelwal To: "dev@cordova.apache.org" Subject: RE: Breaking changes in cordova-windows@>3.8.2 Thread-Topic: Breaking changes in cordova-windows@>3.8.2 Thread-Index: AdCPEtjJwLi0dmaFT4K1UCSiwjiSJQALFBeAAAj34fA= Date: Fri, 15 May 2015 23:03:12 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: cordova.apache.org; dkim=none (message not signed) header.d=none; x-originating-ip: [2001:4898:80e8:ed31::2] x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB134; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401001)(5005006)(3002001);SRVR:BLUPR03MB134;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB134; x-forefront-prvs: 0577AD41D6 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(377454003)(164054003)(24454002)(51704005)(13464003)(2900100001)(86362001)(86612001)(99286002)(87936001)(46102003)(74316001)(2656002)(2351001)(33656002)(40100003)(107886002)(5001960100002)(110136002)(189998001)(19580405001)(2950100001)(122556002)(15975445007)(102836002)(19580395003)(450100001)(54356999)(92566002)(76576001)(77156002)(62966003)(2501003)(76176999)(50986999)(3826002);DIR:OUT;SFP:1102;SCL:1;SRVR:BLUPR03MB134;H:BLUPR03MB134.namprd03.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 15 May 2015 23:03:13.0191 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB134 The next version of cordova-windows will be 4.0.0 as it has Win10 support (= which is a significant update) and this breaking change. Agreed, if there i= s an engine tag that can make this more explicit - it would be perfect. Thanks, Nikhil -----Original Message----- From: Steven Gill [mailto:stevengill97@gmail.com]=20 Sent: Friday, May 15, 2015 11:44 AM To: dev@cordova.apache.org Subject: Re: Breaking changes in cordova-windows@>3.8.2 Can we set the engine tag so windows >3.8.2 (should be major jump to 4.0.0)= requires cordova-lib/cli >=3D5.1.0 (next version of tools should be a mino= r jump) On Fri, May 15, 2015 at 9:59 AM, Vladimir Kotikov (Akvelon) < v-vlkoti@micr= osoft.com> wrote: > Hi List, > > I just want to let you know that we have pending PRs that will=20 > introduce braking changes in cordova-windows. > > These changes will move project update logic call from project build=20 > step to cordova-lib prepare step. The reason why we need this is that=20 > currently project update is triggered directly by build script (after 'af= ter_prepare' > hook being fired) and this makes plugin hooks and other tools working=20 > incorrectly (changes, made by hooks is being overwritten by this=20 > prepare logic). > > To be more precise, the following cases could be broken: > 1. CLI > 5.0 (next version), Windows <=3D 3.8.2 (current or older) - the= =20 > 'prepare' will be called twice (from lib and from platform's build) -=20 > unwanted, since changes that could be made by 'after_prepare' &=20 > 'before_compile' hooks will be overwritten by second 'prepare' call -=20 > but this is how it works now. > 2. CLI <=3D 5.0 (current or older), Windows > 3.8.2 (next version) -=20 > 'prepare' will never be called, the platform code will never be=20 > updated - the worst case, the build probably will be broken. > > Some links: > JIRA issue: https://issues.apache.org/jira/browse/CB-9025 > cordova-lib: https://github.com/apache/cordova-lib/pull/217 > cordova-windows: https://github.com/apache/cordova-windows/pull/77 > > We're going to merge this soon, so if anyone has a strong opinion=20 > against these changes, please let us know. > > --------------- > Best regards, Vladimir > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org For additional commands, e-mail: dev-help@cordova.apache.org