Skip to content

Commit 02f1562

Browse files
Version Bump v3.2.2: Update to latest Jackson recommended dependency
1 parent 719a66f commit 02f1562

File tree

8 files changed

+42
-13
lines changed

8 files changed

+42
-13
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ repo
99
gradle.properties
1010
target
1111
*.class
12-
examples/Example.java
12+
examples/Example.java
13+
.classpath
14+
settings.json

.project

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>sendgrid-java</name>
4+
<comment>Project sendgrid-java created by Buildship.</comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.jdt.core.javabuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
21+
<nature>org.eclipse.jdt.core.javanature</nature>
22+
</natures>
23+
</projectDescription>

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+
## [3.2.2] - 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
## [3.2.1] - 2017-04-13
59
### Added
610
- PR #175

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/3.2.1/sendgrid-3.2.1-jar.jar:. Example.java && java -classpath ../repo/com/sendgrid/3.2.1/sendgrid-3.2.1-jar.jar:. Example
105+
javac -classpath ../repo/com/sendgrid/3.2.2/sendgrid-3.2.2-jar.jar:. Example.java && java -classpath ../repo/com/sendgrid/3.2.2/sendgrid-3.2.2-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
@@ -53,7 +53,7 @@ Add the following to your build.gradle file in the root of your project.
5353
...
5454
dependencies {
5555
...
56-
compile 'com.sendgrid:sendgrid-java:3.2.1'
56+
compile 'com.sendgrid:sendgrid-java:3.2.2'
5757
}
5858
5959
repositories {
@@ -78,7 +78,7 @@ mvn install
7878

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

81-
[sendgrid-java.jar](http://repo1.maven.org/maven2/com/sendgrid/sendgrid-java/3.2.1/sendgrid-java-3.2.1-jar.jar)
81+
[sendgrid-java.jar](https://github.com/sendgrid/sendgrid-java/releases/download/v3.2.2/sendgrid-java.jar)
8282

8383
```java
8484
import com.sendgrid.*;

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 = '3.2.1'
20+
version = '3.2.2'
2121
ext.packaging = 'jar'
2222

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

4747
dependencies {
4848
compile 'com.sendgrid:java-http-client:2.3.4'
49-
compile 'com.fasterxml.jackson.core:jackson-core:2.5.3'
50-
compile 'com.fasterxml.jackson.core:jackson-annotations:2.5.3'
51-
compile 'com.fasterxml.jackson.core:jackson-databind:2.5.3'
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: 4 additions & 4 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>3.2.1</version>
12+
<version>3.2.2</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>
@@ -94,17 +94,17 @@
9494
<dependency>
9595
<groupId>com.fasterxml.jackson.core</groupId>
9696
<artifactId>jackson-core</artifactId>
97-
<version>2.5.3</version>
97+
<version>2.9.5</version>
9898
</dependency>
9999
<dependency>
100100
<groupId>com.fasterxml.jackson.core</groupId>
101101
<artifactId>jackson-annotations</artifactId>
102-
<version>2.5.3</version>
102+
<version>2.9.5</version>
103103
</dependency>
104104
<dependency>
105105
<groupId>com.fasterxml.jackson.core</groupId>
106106
<artifactId>jackson-databind</artifactId>
107-
<version>2.5.3</version>
107+
<version>2.9.5</version>
108108
</dependency>
109109
<dependency>
110110
<groupId>junit</groupId>

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-3.2.2-jar.jar:. Example.java && java -classpath ../examples/jackson-core-2.9.5.jar:../../build/libs/sendgrid-3.2.2-jar.jar:. Example
1414
```
1515

1616
## Usage

0 commit comments

Comments
 (0)