Skip to content

Commit a1f9c5b

Browse files
Version Bump: v4.1.0: PR #211 Return empty collections in place of nulls
1 parent 87e50af commit a1f9c5b

File tree

9 files changed

+40
-16
lines changed

9 files changed

+40
-16
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ gradle.properties
1010
target
1111
*.class
1212
examples/Example.java
13-
.settings
13+
.settings
14+
.classpath
15+
.project

.travis.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
language: java
22
sudo: false
3-
jdk:
4-
- oraclejdk8
5-
- oraclejdk7
6-
- openjdk7
3+
matrix:
4+
include:
5+
- os: linux
6+
jdk: openjdk7
7+
- os: linux
8+
dist: precise
9+
jdk: oraclejdk7
10+
- os: linux
11+
jdk: oraclejdk8
712
after_script:
813
- "./gradlew build"
914
- "./scripts/upload.sh"

CHANGELOG.md

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

4+
## [4.1.0] - 2017-08-16
5+
### Added
6+
- PR #211 Return empty collections in place of nulls
7+
- BIG thanks to [Antonio Bucciol](https://github.com/TBuc)
8+
49
## [4.0.1] - 2017-05-22
510
### Fix
611
- PR #199 Return correct Email in getFrom

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.0.1/sendgrid-4.0.1-jar.jar:. Example.java && java -classpath ../repo/com/sendgrid/4.0.1/sendgrid-4.0.1-jar.jar:. Example
105+
javac -classpath ../repo/com/sendgrid/4.1.0/sendgrid-4.1.0-jar.jar:. Example.java && java -classpath ../repo/com/sendgrid/4.1.0/sendgrid-4.1.0-jar.jar:. Example
106106
```
107107

108108
<a name="understanding_the_codebase"></a>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Add the following to your build.gradle file in the root of your project.
5454
...
5555
dependencies {
5656
...
57-
compile 'com.sendgrid:sendgrid-java:4.0.1'
57+
compile 'com.sendgrid:sendgrid-java:4.1.0'
5858
}
5959
6060
repositories {

bin/com/sendgrid/helpers/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
**This helper allows you to quickly and easily build a Mail object for sending email through SendGrid.**
2+
3+
## Dependencies
4+
5+
- [Jackson](https://github.com/FasterXML/jackson)
6+
7+
# Quick Start
8+
9+
Run the [example](https://github.com/sendgrid/sendgrid-java/tree/master/examples/mail) (make sure you have set your environment variable to include your SENDGRID_API_KEY).
10+
11+
```bash
12+
cd examples/mail
13+
javac -classpath ../../build/libs/sendgrid-4.1.0-jar.jar:. Example.java && java -classpath ../examples/jackson-core-2.7.3.jar:../../build/libs/sendgrid-4.1.0-jar.jar:. Example
14+
```
15+
16+
## Usage
17+
18+
- See the [example](https://github.com/sendgrid/sendgrid-java/tree/master/examples/mail) for a complete working example.
19+
- [Documentation](https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/overview.html)

build.gradle

Lines changed: 1 addition & 1 deletion
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.0.1'
20+
version = '4.1.0'
2121
ext.packaging = 'jar'
2222

2323
allprojects {

pom.xml

Lines changed: 1 addition & 1 deletion
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.0.1</version>
12+
<version>4.1.0</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>

scripts/upload.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
#!/bin/bash
22

3-
VERSION="4.0.1"
4-
5-
curl \
6-
-F "sdk=@./repo/com/sendgrid/sendgrid-java-$VERSION.jar" \
7-
-H "X-Key: $UPLOAD_SECRET" \
8-
https://dx.sendgrid.com/upload
9-
103
curl \
114
-F "sdk=@./repo/com/sendgrid/sendgrid-java-latest.jar" \
125
-H "X-Key: $UPLOAD_SECRET" \

0 commit comments

Comments
 (0)