Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-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 399879C7D for ; Mon, 28 Nov 2011 10:16:02 +0000 (UTC) Received: (qmail 80226 invoked by uid 500); 28 Nov 2011 10:16:01 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 79071 invoked by uid 500); 28 Nov 2011 10:15:54 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 79061 invoked by uid 99); 28 Nov 2011 10:15:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2011 10:15:51 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sebbaz@gmail.com designates 209.85.220.171 as permitted sender) Received: from [209.85.220.171] (HELO mail-vx0-f171.google.com) (209.85.220.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Nov 2011 10:15:44 +0000 Received: by vcbfo1 with SMTP id fo1so5992603vcb.30 for ; Mon, 28 Nov 2011 02:15:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=2DZVyGJxHt4UTEOTtqD+BEgmc8byN0UwjaB/grszvEQ=; b=sGYYJD/EFC92XDbzXApJNpxMMlRgtB7B8wAKf4hqatlEP5hY9fqpM1lFtBba+CENHP iJZI6ub1vG9gzD7CdYKHOxIBFRR79J8RjqUwNQmS93JZ7dzZV5EnKuxyAPf33WeNVi14 q4SCEZU9ejyP0U2t0kPTFDNcf9rZpcJy+3NNw= MIME-Version: 1.0 Received: by 10.52.116.237 with SMTP id jz13mr42757698vdb.90.1322475324080; Mon, 28 Nov 2011 02:15:24 -0800 (PST) Received: by 10.220.180.202 with HTTP; Mon, 28 Nov 2011 02:15:24 -0800 (PST) In-Reply-To: References: Date: Mon, 28 Nov 2011 10:15:24 +0000 Message-ID: Subject: Re: [VOTE] Release JEXL 2.1 based on RC1 From: sebb To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On 28 November 2011 09:40, sebb wrote: > On 28 November 2011 01:40, sebb wrote: >> On 28 November 2011 01:03, Gary Gregory wrote: >>> I see 35 Clirr Errors that point to backwards incompatibility. >> >> Many of these relate to the parser, which is not really part of the publ= ic API. > > Just checked, and the clirr plugin supports an excludes configuration > element which could be used to ignore these. I've fixed the pom so it ignores the parser classes (and tidied up a bit; there were some unnecessary entries). There are possibly one or two other ignorable classes - e.g. the nested cla= ss org.apache.commons.jexl2.UnifiedJEXL$Expression All its existing subclasses are private, so I wonder why it is public? It's OK to break binary compat if the class is not part of the API, so it's worth checking what is public because it is part of the API and what is public merely because the code uses multiple package names (and so needs public rather than package access). What about the following packages: org.apache.commons.jexl2.internal org.apache.commons.jexl2.introspection I assume the former is not part of the API - what about the latter? >> However, there are some which do look like they break binary compatibili= ty >> >>> So... do we have a Commons-wide policy of changing package names and ma= king >>> a major release (3.0 vs. 2.1 here) or not? >> >> I think Jexl should be binary compatible. >> >> If the changes cannot be re-done in a binary compatible way, then I >> think Jexl needs a major release and package change. >> >>> Gary >>> >>> On Sun, Nov 27, 2011 at 1:34 PM, Henri Biestro wrot= e: >>> >>>> >>>> Dear all, >>>> >>>> After a pretty long cycle, JEXL 2.1 is ready for review. >>>> Here is a quick list of new features (from the release notes): >>>> >>>> What's new in 2.1: >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> * A more thorough arithmetic (JexlArithmetic) that allows fine control >>>> over decimals (scale and precision), a >>>> =A0new syntax for numeric literals (OGNL inspired Big and Huge notatio= ns) >>>> and a better type handling keeping the most >>>> =A0appropriate representation in casual operations. >>>> * The introduction of script variables and parameters that reduce cont= ext >>>> dependencies and methods; this allows to >>>> =A0perform checks after script creation (light static checking hints).= Plus >>>> the ability to call script from scripts. >>>> * A sandoxing feature to restrict and rename what JEXL can access from= the >>>> environment allowing tighter control over security. >>>> * Extensions to UnifiedJEXL that allow the creation of templates. >>>> >>>> New features in 2.1: >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> * JEXL-114: =A0 =A0 Allow scripts to create local variables // Add ret= urn >>>> keyword >>>> * JEXL-113: =A0 =A0 Add functions to extract which variables, paramete= rs and >>>> local variables are used to evaluate a script >>>> * JEXL-118: =A0 =A0 Provide an IN operator >>>> * JEXL-115: =A0 =A0 Add support for asynchronous script execution and >>>> cancellation >>>> * JEXL-116: =A0 =A0 Add control over classes, methods, constructors an= d >>>> properties allowed in scripts >>>> * JEXL-120: =A0 =A0 Add simple template features >>>> * JEXL-119: =A0 =A0 Allow indexed properties container resolution in >>>> expressions >>>> >>>> Tested against Java 1.{5,6} / Maven{2,3}, Windows 7/Linux/Mac OS. >>>> >>>> Tag: >>>> >>>> >>>> https://svn.apache.org/repos/asf/commons/proper/jexl/tags/COMMONS_JEXL= _2_1_RC1/ >>>> >>>> Site: >>>> >>>> https://people.apache.org/~henrib/jexl-2.1 >>>> >>>> Binaries: >>>> >>>> =A0https://repository.apache.org/content/repositories/orgapachecommons= -258/ >>>> >>>> This vote will close in 72 hours, 08:00PM GMT, Nov 30th. >>>> >>>> =A0[ ] +1 Release these artifacts >>>> =A0[ ] +0 OK, but... >>>> =A0[ ] -0 OK, but really should fix... >>>> =A0[ ] -1 I oppose this release because... >>>> >>>> Many thanks, >>>> Regards. >>>> Henrib >>>> >>>> >>>> >>> >>> >>> -- >>> E-Mail: garydgregory@gmail.com | ggregory@apache.org >>> JUnit in Action, 2nd Ed: http://bit.ly/ECvg0 >>> Spring Batch in Action: http://bit.ly/bqpbCK >>> Blog: http://garygregory.wordpress.com >>> Home: http://garygregory.com/ >>> Tweet! http://twitter.com/GaryGregory >>> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org