Skip to content

Commit 816451f

Browse files
Version Bump v4.2.1: Update to latest Jackson recommended dependency
1 parent 258f80b commit 816451f

File tree

7 files changed

+15
-11
lines changed

7 files changed

+15
-11
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## [4.2.1] - 2018-05-08
5+
### Security Fix
6+
- Update to latest Jackson recommended dependency, based on [this article](https://medium.com/@cowtowncoder/on-jackson-cves-dont-panic-here-is-what-you-need-to-know-54cd0d6e8062).
7+
48
## [4.2.0] - 2018-05-04
59
### Added
610
- [PR #275](https://github.com/sendgrid/sendgrid-java/pull/275/files): Add a way to verify that the content doesn't contain sensitive information -- BIG thanks to [Diego Camargo](https://github.com/belfazt)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ touch Example.java
102102
Add the example you want to test to Example.java, including the headers at the top of the file.
103103

104104
``` bash
105-
javac -classpath ../repo/com/sendgrid/4.2.0/sendgrid-4.2.0-jar.jar:. Example.java && java -classpath ../repo/com/sendgrid/4.2.0/sendgrid-4.2.0-jar.jar:. Example
105+
javac -classpath ../repo/com/sendgrid/4.2.1/sendgrid-4.2.1-jar.jar:. Example.java && java -classpath ../repo/com/sendgrid/4.2.1/sendgrid-4.2.1-jar.jar:. Example
106106
```
107107

108108
<a name="understanding-the-codebase"></a>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Add the following to your build.gradle file in the root of your project.
6666
...
6767
dependencies {
6868
...
69-
compile 'com.sendgrid:sendgrid-java:4.2.0'
69+
compile 'com.sendgrid:sendgrid-java:4.2.1'
7070
}
7171
7272
repositories {
@@ -85,7 +85,7 @@ mvn install
8585

8686
You can just drop the jar file in. It's a fat jar - it has all the dependencies built in.
8787

88-
[sendgrid-java.jar](https://github.com/sendgrid/sendgrid-java/releases/download/v4.2.0/sendgrid-java.jar)
88+
[sendgrid-java.jar](https://github.com/sendgrid/sendgrid-java/releases/download/v4.2.1/sendgrid-java.jar)
8989

9090
## Dependencies
9191

bin/com/sendgrid/helpers/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Run the [example](https://github.com/sendgrid/sendgrid-java/tree/master/examples
1010

1111
```bash
1212
cd examples/mail
13-
javac -classpath ../../build/libs/sendgrid-4.2.0-jar.jar:. Example.java && java -classpath ../examples/jackson-core-2.9.2.jar:../../build/libs/sendgrid-4.2.0-jar.jar:. Example
13+
javac -classpath ../../build/libs/sendgrid-4.2.1-jar.jar:. Example.java && java -classpath ../examples/jackson-core-2.9.5.jar:../../build/libs/sendgrid-4.1.0-jar.jar:. Example
1414
```
1515

1616
## Usage

build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ apply plugin: 'maven'
1717
apply plugin: 'signing'
1818

1919
group = 'com.sendgrid'
20-
version = '4.2.0'
20+
version = '4.2.1'
2121
ext.packaging = 'jar'
2222

2323
allprojects {
@@ -46,9 +46,9 @@ buildscript {
4646

4747
dependencies {
4848
compile 'com.sendgrid:java-http-client:4.1.0'
49-
compile 'com.fasterxml.jackson.core:jackson-core:2.9.2'
50-
compile 'com.fasterxml.jackson.core:jackson-annotations:2.9.2'
51-
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.2'
49+
compile 'com.fasterxml.jackson.core:jackson-core:2.9.5'
50+
compile 'com.fasterxml.jackson.core:jackson-annotations:2.9.5'
51+
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.5'
5252
testCompile group: 'junit', name: 'junit', version: '4.12'
5353
}
5454

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<groupId>com.sendgrid</groupId>
1010
<artifactId>sendgrid-java</artifactId>
1111
<name>SendGrid Java helper library</name>
12-
<version>4.2.0</version>
12+
<version>4.2.1</version>
1313
<description>This Java module allows you to quickly and easily send emails through SendGrid using Java.</description>
1414
<url>https://github.com/sendgrid/sendgrid-java</url>
1515
<licenses>
@@ -20,7 +20,7 @@
2020
</license>
2121
</licenses>
2222
<properties>
23-
<jackson.version>2.9.2</jackson.version>
23+
<jackson.version>2.9.5</jackson.version>
2424
</properties>
2525
<scm>
2626
<url>https://github.com/sendgrid/sendgrid-java</url>

src/main/java/com/sendgrid/helpers/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Run the [example](https://github.com/sendgrid/sendgrid-java/tree/master/examples
1010

1111
```bash
1212
cd examples/mail
13-
javac -classpath ../../build/libs/sendgrid-3.2.0-jar.jar:. Example.java && java -classpath ../examples/jackson-core-2.7.3.jar:../../build/libs/sendgrid-3.2.0-jar.jar:. Example
13+
javac -classpath ../../build/libs/sendgrid-4.2.1-jar.jar:. Example.java && java -classpath ../examples/jackson-core-2.9.5.jar:../../build/libs/sendgrid-4.1.0-jar.jar:. Example
1414
```
1515

1616
## Usage

0 commit comments

Comments
 (0)