File tree Expand file tree Collapse file tree 8 files changed +42
-13
lines changed
src/main/java/com/sendgrid/helpers Expand file tree Collapse file tree 8 files changed +42
-13
lines changed Original file line number Diff line number Diff line change 9
9
gradle.properties
10
10
target
11
11
* .class
12
- examples /Example.java
12
+ examples /Example.java
13
+ .classpath
14
+ settings.json
Original file line number Diff line number Diff line change
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 >
Original file line number Diff line number Diff line change 1
1
# Change Log
2
2
All notable changes to this project will be documented in this file.
3
3
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
+
4
8
## [ 3.2.1] - 2017-04-13
5
9
### Added
6
10
- PR #175
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ touch Example.java
102
102
Add the example you want to test to Example.java, including the headers at the top of the file.
103
103
104
104
``` 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
106
106
```
107
107
108
108
<a name =" understanding_the_codebase " ></a >
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ Add the following to your build.gradle file in the root of your project.
53
53
...
54
54
dependencies {
55
55
...
56
- compile 'com.sendgrid:sendgrid-java:3.2.1 '
56
+ compile 'com.sendgrid:sendgrid-java:3.2.2 '
57
57
}
58
58
59
59
repositories {
@@ -78,7 +78,7 @@ mvn install
78
78
79
79
You can just drop the jar file in. It's a fat jar - it has all the dependencies built in.
80
80
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)
82
82
83
83
``` java
84
84
import com.sendgrid.* ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ apply plugin: 'maven'
17
17
apply plugin : ' signing'
18
18
19
19
group = ' com.sendgrid'
20
- version = ' 3.2.1 '
20
+ version = ' 3.2.2 '
21
21
ext. packaging = ' jar'
22
22
23
23
allprojects {
@@ -46,9 +46,9 @@ buildscript {
46
46
47
47
dependencies {
48
48
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 '
52
52
testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
53
53
}
54
54
Original file line number Diff line number Diff line change 9
9
<groupId >com.sendgrid</groupId >
10
10
<artifactId >sendgrid-java</artifactId >
11
11
<name >SendGrid Java helper library</name >
12
- <version >3.2.1 </version >
12
+ <version >3.2.2 </version >
13
13
<description >This Java module allows you to quickly and easily send emails through SendGrid using Java.</description >
14
14
<url >https://github.com/sendgrid/sendgrid-java</url >
15
15
<licenses >
94
94
<dependency >
95
95
<groupId >com.fasterxml.jackson.core</groupId >
96
96
<artifactId >jackson-core</artifactId >
97
- <version >2.5.3 </version >
97
+ <version >2.9.5 </version >
98
98
</dependency >
99
99
<dependency >
100
100
<groupId >com.fasterxml.jackson.core</groupId >
101
101
<artifactId >jackson-annotations</artifactId >
102
- <version >2.5.3 </version >
102
+ <version >2.9.5 </version >
103
103
</dependency >
104
104
<dependency >
105
105
<groupId >com.fasterxml.jackson.core</groupId >
106
106
<artifactId >jackson-databind</artifactId >
107
- <version >2.5.3 </version >
107
+ <version >2.9.5 </version >
108
108
</dependency >
109
109
<dependency >
110
110
<groupId >junit</groupId >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Run the [example](https://github.com/sendgrid/sendgrid-java/tree/master/examples
10
10
11
11
``` bash
12
12
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
14
14
```
15
15
16
16
## Usage
You can’t perform that action at this time.
0 commit comments