From f14b53433885838202842543269c2f8674335d60 Mon Sep 17 00:00:00 2001 From: "Daniel Doubrovkine (dB.)" Date: Mon, 3 Jan 2022 20:48:01 +0000 Subject: [PATCH] Upgrade to log4j 2.17.1. (#354) (#356) Increment version to 1.2.4. Signed-off-by: dblock --- .github/workflows/sql-test-and-build-workflow.yml | 2 +- build.gradle | 2 +- common/build.gradle | 2 +- integ-test/build.gradle | 2 +- ppl/build.gradle | 2 +- release-notes/opensearch-sql.release-notes-1.2.4.0.md | 7 +++++++ 6 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 release-notes/opensearch-sql.release-notes-1.2.4.0.md diff --git a/.github/workflows/sql-test-and-build-workflow.yml b/.github/workflows/sql-test-and-build-workflow.yml index e7fc22bd93..6b99119182 100644 --- a/.github/workflows/sql-test-and-build-workflow.yml +++ b/.github/workflows/sql-test-and-build-workflow.yml @@ -3,7 +3,7 @@ name: SQL Java CI on: [push, pull_request] env: - OPENSEARCH_VERSION: '1.2.3-SNAPSHOT' + OPENSEARCH_VERSION: '1.2.4-SNAPSHOT' jobs: build: diff --git a/build.gradle b/build.gradle index 1da9ce581a..aaefc14243 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ buildscript { ext { - opensearch_version = System.getProperty("opensearch.version", "1.2.3-SNAPSHOT") + opensearch_version = System.getProperty("opensearch.version", "1.2.4-SNAPSHOT") } repositories { diff --git a/common/build.gradle b/common/build.gradle index 5cb4d55be6..2af781a459 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -41,7 +41,7 @@ dependencies { compile "org.antlr:antlr4-runtime:4.7.1" // https://github.com/google/guava/wiki/CVE-2018-10237 compile group: 'com.google.guava', name: 'guava', version: '29.0-jre' - compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.17.0' + compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.17.1' testCompile group: 'junit', name: 'junit', version: '4.12' } diff --git a/integ-test/build.gradle b/integ-test/build.gradle index e6fea70051..e9e41a1733 100644 --- a/integ-test/build.gradle +++ b/integ-test/build.gradle @@ -63,7 +63,7 @@ dependencies { testCompile group: 'org.opensearch.client', name: 'opensearch-rest-high-level-client', version: "${opensearch_version}" testCompile group: 'org.opensearch.client', name: 'opensearch-rest-client', version: "${opensearch_version}" testCompile group: 'org.hamcrest', name: 'hamcrest', version: '2.1' - testCompile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.17.0' + testCompile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.17.1' testCompile project(':plugin') testCompile project(':legacy') testImplementation('org.junit.jupiter:junit-jupiter-api:5.6.2') diff --git a/ppl/build.gradle b/ppl/build.gradle index e17b07be32..3a95015032 100644 --- a/ppl/build.gradle +++ b/ppl/build.gradle @@ -57,7 +57,7 @@ dependencies { compile group: 'org.json', name: 'json', version: '20180813' compile group: 'org.springframework', name: 'spring-context', version: '5.2.5.RELEASE' compile group: 'org.springframework', name: 'spring-beans', version: '5.2.5.RELEASE' - compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.17.0' + compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.17.1' compile project(':common') compile project(':core') compile project(':protocol') diff --git a/release-notes/opensearch-sql.release-notes-1.2.4.0.md b/release-notes/opensearch-sql.release-notes-1.2.4.0.md new file mode 100644 index 0000000000..3493a50083 --- /dev/null +++ b/release-notes/opensearch-sql.release-notes-1.2.4.0.md @@ -0,0 +1,7 @@ +### Version 1.2.4.0 Release Notes + +Compatible with OpenSearch Version 1.2.4 and OpenSearch Dashboards Version 1.2.x + +### Bug fixes + +* Bump log4j to 2.17.1 and plugin to 1.2.4 ([#356](https://github.com/opensearch-project/sql/pull/356))