From a8edf6ccdd4d3105711e3591ae903f68a0bb4ac5 Mon Sep 17 00:00:00 2001 From: Joshua Li Date: Wed, 15 Dec 2021 08:37:49 -0800 Subject: [PATCH] [1.2] Bump log4j to 2.16 and plugin to 1.2.2 (#337) * [1.2] Bump log4j to 2.16 and plugin to 1.2.2 Signed-off-by: Joshua Li * Add release notes Signed-off-by: Joshua Li --- .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.2.0.md | 6 ++++++ 6 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 release-notes/opensearch-sql.release-notes-1.2.2.0.md diff --git a/.github/workflows/sql-test-and-build-workflow.yml b/.github/workflows/sql-test-and-build-workflow.yml index ffb5a838fb..939110ca21 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.1-SNAPSHOT' + OPENSEARCH_VERSION: '1.2.2-SNAPSHOT' jobs: build: diff --git a/build.gradle b/build.gradle index 3f32d5da52..27d3055de8 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ buildscript { ext { - opensearch_version = System.getProperty("opensearch.version", "1.2.1-SNAPSHOT") + opensearch_version = System.getProperty("opensearch.version", "1.2.2-SNAPSHOT") } repositories { diff --git a/common/build.gradle b/common/build.gradle index 8e1403ae9f..b0cda850d3 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.15.0' + compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.16.0' testCompile group: 'junit', name: 'junit', version: '4.12' } diff --git a/integ-test/build.gradle b/integ-test/build.gradle index a1d6b61903..fa72a6c5b8 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.15.0' + testCompile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.16.0' 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 c7476339a3..d93ff1d9a5 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.15.0' + compile group: 'org.apache.logging.log4j', name: 'log4j-core', version:'2.16.0' compile project(':common') compile project(':core') compile project(':protocol') diff --git a/release-notes/opensearch-sql.release-notes-1.2.2.0.md b/release-notes/opensearch-sql.release-notes-1.2.2.0.md new file mode 100644 index 0000000000..bd8d8a25c6 --- /dev/null +++ b/release-notes/opensearch-sql.release-notes-1.2.2.0.md @@ -0,0 +1,6 @@ +### Version 1.2.2.0 Release Notes +Compatible with OpenSearch and OpenSearch Dashboards Version 1.2.2 + +### Bug fixes + +* Bump log4j to 2.16 and plugin to 1.2.2 ([#338](https://github.com/opensearch-project/sql/pull/338))