Skip to content

Commit 46e0c80

Browse files
authored
Release 1.8.0 (#288)
1 parent ab647b2 commit 46e0c80

File tree

3 files changed

+36
-1
lines changed

3 files changed

+36
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
# 1.8.0
4+
5+
- Update log4j dependencies to v 2.16.0 (#287)
6+
- log4j 2.15.0 - fixes security vulnerability CVE-2021-44228 (#285) (#286)
7+
This change removes Java 7 compatibility for `rollbar-log4j2`. See [rollbar-log4j2/README.md](rollbar-log4j2/README.md) for more details.
8+
- Update PR template (#284)
9+
310
# 1.7.10
411

512
- Add option to truncate payloads before sending them to Rollbar.

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION_NAME=1.7.11-SNAPSHOT
1+
VERSION_NAME=1.8.0
22
GROUP=com.rollbar
33

44
POM_DESCRIPTION=For connecting your applications built on the JVM to Rollbar for Error Reporting

rollbar-log4j2/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Rollbar Log4j 2 integration
2+
3+
This directory contains the Log4j 2 integration of the Rollbar Java SDK.
4+
5+
Instructions for building and contributing to the SDK can be found in the main repository [README](../README.md).
6+
7+
## Compatibility
8+
9+
Staring with version `1.8.0`, `rollbar-log4j2` depends on version `2.16.0` of `log4j-core`. This removes compatibility with Java 7, but was a necessary upgrade to fix the CVE-2021-44228 vulnerability in Log4j.
10+
11+
Projects built and / or running with Java 7 can still use `rollbar-log4j2` version `1.8.0`, while forcing the use of a **vulnerable**, Java 7 compatible version of `Log4j`, by updating their build configuration to ignore transitive dependencies from `rollbar-log4j2`.
12+
13+
Gradle configuration:
14+
15+
```gradle
16+
dependencies {
17+
implementation(group: 'com.rollbar', name: 'rollbar-log4j2', version: '1.8.0') {
18+
exclude group: 'org.apache.logging.log4j'
19+
}
20+
21+
implementation group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.12.1'
22+
annotationProcessor group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.12.1'
23+
}
24+
25+
```
26+
27+
Note CVE-2021-44228 is a major RCE vulnerability and this approach should only be used after a thorough security analysis, and with very strong mitigations in place.
28+

0 commit comments

Comments
 (0)