diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b886b25a50..7e39ddcb90 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -38,7 +38,7 @@ jobs: Build-k-NN-Linux: strategy: matrix: - java: [21, 23] + java: [21, 24] env: CC: gcc10-gcc @@ -106,7 +106,7 @@ jobs: Build-k-NN-MacOS: strategy: matrix: - java: [21, 23] + java: [21, 24] name: Build and Test k-NN Plugin on MacOS needs: Get-CI-Image-Tag @@ -149,7 +149,7 @@ jobs: Build-k-NN-Windows: strategy: matrix: - java: [21, 23] + java: [21, 24] name: Build and Test k-NN Plugin on Windows needs: Get-CI-Image-Tag diff --git a/.github/workflows/test_security.yml b/.github/workflows/test_security.yml index 0845c792a3..f30b949122 100644 --- a/.github/workflows/test_security.yml +++ b/.github/workflows/test_security.yml @@ -38,7 +38,7 @@ jobs: integ-test-with-security-linux: strategy: matrix: - java: [21] + java: [21, 24] env: CC: gcc10-gcc CXX: gcc10-g++ diff --git a/CHANGELOG.md b/CHANGELOG.md index 63acdd4efa..99e52e3398 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,10 @@ All notable changes to this project are documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). See the [CONTRIBUTING guide](./CONTRIBUTING.md#Changelog) for instructions on how to add changelog entries. ## [Unreleased 3.2](https://github.com/opensearch-project/k-NN/compare/main...HEAD) +### Infrastructure +* Bump JDK version to 24, gradle to 8.14 [#2792](https://github.com/opensearch-project/k-NN/pull/2792) + ### Enhancements * Add random rotation feature to binary encoder for improving recall on certain datasets [#2718](https://github.com/opensearch-project/k-NN/pull/2718) * Asymmetric Distance Computation for binary quantized faiss indices [#2733](https://github.com/opensearch-project/k-NN/pull/2733) -* [BUGFIX] [Remote Vector Index Build] Don't fall back to CPU on terminal failures [#2773](https://github.com/opensearch-project/k-NN/pull/2773) \ No newline at end of file +* [BUGFIX] [Remote Vector Index Build] Don't fall back to CPU on terminal failures [#2773](https://github.com/opensearch-project/k-NN/pull/2773) diff --git a/build-tools/knnplugin-coverage.gradle b/build-tools/knnplugin-coverage.gradle index b589ddf3ae..da85d6e472 100644 --- a/build-tools/knnplugin-coverage.gradle +++ b/build-tools/knnplugin-coverage.gradle @@ -6,7 +6,7 @@ apply plugin: 'jacoco' jacoco { - toolVersion = "0.8.12" + toolVersion = "0.8.13" } /** diff --git a/build.gradle b/build.gradle index 1e000cdf4b..04f84a525e 100644 --- a/build.gradle +++ b/build.gradle @@ -89,7 +89,7 @@ plugins { id 'java-test-fixtures' id 'idea' id "com.diffplug.spotless" version "6.25.0" apply false - id 'io.freefair.lombok' version '8.4' + id 'io.freefair.lombok' version '8.14' id "de.undercouch.download" version "5.3.0" } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 724237f439..fded3aeb7b 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -5,8 +5,8 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionSha256Sum=fba8464465835e74f7270bbf43d6d8a8d7709ab0a43ce1aa3323f73e9aa0c612 -distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-all.zip +distributionSha256Sum=efe9a3d147d948d7528a9887fa35abcf24ca1a43ad06439996490f77569b02d1 +distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-all.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/remote-index-build-client/build.gradle b/remote-index-build-client/build.gradle index 643fbe7fdb..443daac2e2 100644 --- a/remote-index-build-client/build.gradle +++ b/remote-index-build-client/build.gradle @@ -7,7 +7,7 @@ plugins { id 'java' id 'java-library' id 'jacoco' - id "io.freefair.lombok" + id "io.freefair.lombok" version "8.14" id 'com.diffplug.spotless' version '6.25.0' id 'opensearch.build' id 'opensearch.java-agent' diff --git a/src/main/plugin-metadata/plugin-security.policy b/src/main/plugin-metadata/plugin-security.policy index 7ebf8f1371..a5c26c1f5f 100644 --- a/src/main/plugin-metadata/plugin-security.policy +++ b/src/main/plugin-metadata/plugin-security.policy @@ -6,6 +6,7 @@ grant { permission java.lang.RuntimePermission "loadLibrary.opensearchknn_faiss_avx512"; permission java.lang.RuntimePermission "loadLibrary.opensearchknn_faiss_avx512_spr"; permission java.net.SocketPermission "*", "connect,resolve"; + permission java.net.NetPermission "accessUnixDomainSocket"; permission java.lang.RuntimePermission "accessDeclaredMembers"; permission java.io.FilePermission "/proc/cpuinfo", "read"; };