You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2021/11/02 12:23:57 UTC

[lucene] branch branch_9x updated (cc2a31f -> 5fa093b)

This is an automated email from the ASF dual-hosted git repository.

jpountz pushed a change to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/lucene.git.


    from cc2a31f  LUCENE-10103: Move CHANGES entry to correct version.
     new 7133850  Add next minor version 9.1.0
     new 5fa093b  Format javadocs of new versions in a way that Spotless is happy with.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 build.gradle                                       |  2 +-
 dev-tools/scripts/addVersion.py                    |  4 +---
 lucene/CHANGES.txt                                 | 26 ++++++++++++++++++++++
 .../src/java/org/apache/lucene/util/Version.java   |  9 +++++---
 4 files changed, 34 insertions(+), 7 deletions(-)

[lucene] 01/02: Add next minor version 9.1.0

Posted by jp...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jpountz pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit 713385004f2cf6510977845a1011f90e8eefe12e
Author: Adrien Grand <jp...@gmail.com>
AuthorDate: Tue Nov 2 13:17:43 2021 +0100

    Add next minor version 9.1.0
---
 build.gradle                                       |  2 +-
 lucene/CHANGES.txt                                 | 26 ++++++++++++++++++++++
 .../src/java/org/apache/lucene/util/Version.java   |  9 +++++---
 3 files changed, 33 insertions(+), 4 deletions(-)

diff --git a/build.gradle b/build.gradle
index c2f6351..e747b7d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -35,7 +35,7 @@ apply from: file('gradle/globals.gradle')
 // Calculate project version:
 version = {
   // Release manager: update base version here after release:
-  String baseVersion = '9.0.0'
+  String baseVersion = '9.1.0'
 
   // On a release explicitly set release version in one go:
   //  -Dversion.release=x.y.z
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index 4bbc354..740ffce 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -3,6 +3,32 @@ Lucene Change Log
 For more information on past and future Lucene versions, please see:
 http://s.apache.org/luceneversions
 
+======================= Lucene 9.1.0 =======================
+
+API Changes
+---------------------
+(No changes)
+
+New Features
+---------------------
+(No changes)
+
+Improvements
+---------------------
+(No changes)
+
+Optimizations
+---------------------
+(No changes)
+
+Bug Fixes
+---------------------
+(No changes)
+
+Other
+---------------------
+(No changes)
+
 ======================= Lucene 9.0.0 =======================
 
 New Features
diff --git a/lucene/core/src/java/org/apache/lucene/util/Version.java b/lucene/core/src/java/org/apache/lucene/util/Version.java
index f5e1bad..0f63a5d 100644
--- a/lucene/core/src/java/org/apache/lucene/util/Version.java
+++ b/lucene/core/src/java/org/apache/lucene/util/Version.java
@@ -189,12 +189,15 @@ public final class Version {
    */
   @Deprecated public static final Version LUCENE_8_11_0 = new Version(8, 11, 0);
 
+  /** @deprecated (9.1.0) Use latest */
+  @Deprecated public static final Version LUCENE_9_0_0 = new Version(9, 0, 0);
+
   /**
-   * Match settings and bugs in Lucene's 9.0.0 release.
+   * Match settings and bugs in Lucene's 9.1.0 release.
    *
    * <p>Use this to get the latest &amp; greatest settings, bug fixes, etc, for Lucene.
    */
-  public static final Version LUCENE_9_0_0 = new Version(9, 0, 0);
+  public static final Version LUCENE_9_1_0 = new Version(9, 1, 0);
 
   // To add a new version:
   //  * Only add above this comment
@@ -210,7 +213,7 @@ public final class Version {
    * <b>re-test your entire application</b> to ensure it behaves as expected, as some defaults may
    * have changed and may break functionality in your application.
    */
-  public static final Version LATEST = LUCENE_9_0_0;
+  public static final Version LATEST = LUCENE_9_1_0;
 
   /**
    * Constant for backwards compatibility.

Re: [lucene] 02/02: Format javadocs of new versions in a way that Spotless is happy with.

Posted by Dawid Weiss <da...@gmail.com>.
>     Format javadocs of new versions in a way that Spotless is happy with.


It should be the other way around: let spotless format the code (gradlew
tidy) and don't let me be bothered with it. :)

D.

[lucene] 02/02: Format javadocs of new versions in a way that Spotless is happy with.

Posted by jp...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jpountz pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit 5fa093bdba7d1309b2d207172f84a4813eff9967
Author: Adrien Grand <jp...@gmail.com>
AuthorDate: Tue Nov 2 13:07:24 2021 +0100

    Format javadocs of new versions in a way that Spotless is happy with.
---
 dev-tools/scripts/addVersion.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dev-tools/scripts/addVersion.py b/dev-tools/scripts/addVersion.py
index 7f20ef4..95c8c3c 100755
--- a/dev-tools/scripts/addVersion.py
+++ b/dev-tools/scripts/addVersion.py
@@ -69,9 +69,7 @@ def add_constant(new_version, deprecate):
     if deprecate:
       buffer.append('%s * @deprecated Use latest\n' % spaces)
     else:
-      buffer.append(( '{0} * <p>\n'
-                    + '{0} * Use this to get the latest &amp; greatest settings, bug\n'
-                    + '{0} * fixes, etc, for Lucene.\n').format(spaces))
+      buffer.append(( '{0} * <p>Use this to get the latest &amp; greatest settings, bug fixes, etc, for Lucene.\n').format(spaces))
     buffer.append('%s */\n' % spaces)
     if deprecate:
       buffer.append('%s@Deprecated\n' % spaces)