Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 20171 invoked from network); 25 Jun 2010 17:14:22 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Jun 2010 17:14:22 -0000 Received: (qmail 46067 invoked by uid 500); 25 Jun 2010 17:14:20 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 46014 invoked by uid 500); 25 Jun 2010 17:14:20 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 46007 invoked by uid 99); 25 Jun 2010 17:14:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jun 2010 17:14:20 +0000 X-ASF-Spam-Status: No, hits=-1545.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Jun 2010 17:14:20 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5PHDxnp020622 for ; Fri, 25 Jun 2010 17:14:00 GMT Message-ID: <5448703.61581277486039751.JavaMail.jira@thor> Date: Fri, 25 Jun 2010 13:13:59 -0400 (EDT) From: "Shai Erera (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-1698) Change backwards-compatibility policy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-1698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882641#action_12882641 ] Shai Erera commented on LUCENE-1698: ------------------------------------ Is that issue still relevant? In light of the current policy? > Change backwards-compatibility policy > ------------------------------------- > > Key: LUCENE-1698 > URL: https://issues.apache.org/jira/browse/LUCENE-1698 > Project: Lucene - Java > Issue Type: Task > Components: Other > Reporter: Michael Busch > Priority: Minor > Fix For: 4.0 > > > These proposed changes might still change slightly: > I'll call X.Y -> X+1.0 a 'major release', X.Y -> X.Y+1 a > 'minor release' and X.Y.Z -> X.Y.Z+1 a 'bugfix release'. (we can later > use different names; just for convenience here...) > 1. The file format backwards-compatiblity policy will remain unchanged; > i.e. Lucene X.Y supports reading all indexes written with Lucene > X-1.Y. That means Lucene 4.0 will not have to be able to read 2.x > indexes. > 2. Deprecated public and protected APIs can be removed if they have > been released in at least one major or minor release. E.g. an 3.1 > API can be released as deprecated in 3.2 and removed in 3.3 or 4.0 > (if 4.0 comes after 3.2). > 3. No public or protected APIs are changed in a bugfix release; except > if a severe bug can't be changed otherwise. > 4. Each release will have release notes with a new section > "Incompatible changes", which lists, as the names says, all changes that > break backwards compatibility. The list should also have information > about how to convert to the new API. I think the eclipse releases > have such a release notes section. Furthermore, the Deprecation tag > comment will state the minimum version when this API is to be removed, e.g. > @deprecated See #fooBar(). Will be removed in 3.3 > or > @deprecated See #fooBar(). Will be removed in 3.3 or later. > I'd suggest to treat a runtime change like an API change (unless it's fixing a bug of course), > i.e. giving a warning, providing a switch, switching the default behavior only after a major > or minor release was around that had the warning/switch. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org