Skip to content

Commit e5471ae

Browse files
Version Bump v3.0.6: Added troubleshooting section
1 parent c988748 commit e5471ae

File tree

6 files changed

+104
-5
lines changed

6 files changed

+104
-5
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+
## [3.0.6] - 2016-07-26
5+
### Added
6+
- [Troubleshooting](https://github.com/sendgrid/sendgrid-python/blob/master/TROUBLESHOOTING.md) section
7+
48
## [3.0.5] - 2016-07-20
59
### Added
610
- README updates

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

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

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Add the following to your build.gradle file in the root of your project.
3838
...
3939
dependencies {
4040
...
41-
compile 'com.sendgrid:sendgrid-java:3.0.5'
41+
compile 'com.sendgrid:sendgrid-java:3.0.6'
4242
}
4343
4444
repositories {
@@ -63,7 +63,7 @@ mvn install
6363

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

66-
[sendgrid-java.jar](http://repo1.maven.org/maven2/com/sendgrid/sendgrid-java/3.0.5/sendgrid-java-3.0.5-jar.jar)
66+
[sendgrid-java.jar](http://repo1.maven.org/maven2/com/sendgrid/sendgrid-java/3.0.6/sendgrid-java-3.0.6-jar.jar)
6767

6868
```java
6969
import com.sendgrid.*;
@@ -190,6 +190,10 @@ Quick links:
190190
- [Sign the CLA to Create a Pull Request](https://github.com/sendgrid/sendgrid-java/blob/master/CONTRIBUTING.md#cla)
191191
- [Improvements to the Codebase](https://github.com/sendgrid/sendgrid-java/blob/master/CONTRIBUTING.md#improvements_to_the_codebase)
192192

193+
# Troubleshooting
194+
195+
Please see our [troubleshooting guide](https://github.com/sendgrid/sendgrid-java/blob/master/TROUBLESHOOTING.md) for common library issues.
196+
193197
# About
194198

195199
sendgrid-java is guided and supported by the SendGrid [Developer Experience Team](mailto:[email protected]).

TROUBLESHOOTING.md

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
If you have a non-library SendGrid issue, please contact our [support team](https://support.sendgrid.com).
2+
3+
If you can't find a solution below, please open an [issue](https://github.com/sendgrid/sendgrid-java/issues).
4+
5+
6+
## Table of Contents
7+
8+
* [Migrating from v2 to v3](#migrating)
9+
* [Continue Using v2](#v2)
10+
* [Testing v3 /mail/send Calls Directly](#testing)
11+
* [Versions](#versions)
12+
* [Environment Variables and Your SendGrid API Key](#environment)
13+
* [Using the Package Manager](#package-manager)
14+
15+
<a name="migrating"></a>
16+
## Migrating from v2 to v3
17+
18+
Please review [our guide](https://sendgrid.com/docs/Classroom/Send/v3_Mail_Send/how_to_migrate_from_v2_to_v3_mail_send.html) on how to migrate from v2 to v3.
19+
20+
<a name="v2"></a>
21+
## Continue Using v2
22+
23+
[Here](https://github.com/sendgrid/sendgrid-java/tree/b64988f85474e04e9d75e17860d64ffacda1cdff) is the last working version with v2 support.
24+
25+
### via Maven w/ Gradle
26+
27+
Add the following to your build.gradle file in the root of your project.
28+
29+
```groovy
30+
...
31+
dependencies {
32+
...
33+
compile 'com.sendgrid:sendgrid-java:2.2.2'
34+
}
35+
36+
repositories {
37+
mavenCentral()
38+
}
39+
...
40+
```
41+
42+
### via jar file
43+
44+
You can just drop the jar file in. It's a fat jar - it has all the dependencies built in.
45+
46+
[sendgrid-java.jar](http://repo1.maven.org/maven2/com/sendgrid/sendgrid-java/2.2.2/sendgrid-java-2.2.2-jar.jar)
47+
48+
<a name="testing"></a>
49+
## Testing v3 /mail/send Calls Directly
50+
51+
[Here](https://sendgrid.com/docs/Classroom/Send/v3_Mail_Send/curl_examples.html) are some cURL examples for common use cases.
52+
53+
<a name="versions"></a>
54+
## Versions
55+
56+
We follow the MAJOR.MINOR.PATCH versioning scheme as described by [SemVer.org](http://semver.org). Therefore, we recommend that you always pin (or vendor) the particular version you are working with to your code and never auto-update to the latest version. Especially when there is a MAJOR point release, since that is guarenteed to be a breaking change. Changes are documented in the [CHANGELOG](https://github.com/sendgrid/sendgrid-java/blob/master/CHANGELOG.md) and [releases](https://github.com/sendgrid/sendgrid-java/releases) section.
57+
58+
<a name="environment"></a>
59+
## Environment Variables and Your SendGrid API Key
60+
61+
All of our examples assume you are using [environment variables](https://github.com/sendgrid/sendgrid-java#setup-environment-variables) to hold your SendGrid API key.
62+
63+
If you choose to add your SendGrid API key directly (not recommended):
64+
65+
`System.getenv("SENDGRID_API_KEY")`
66+
67+
becomes
68+
69+
`"SENDGRID_API_KEY"`
70+
71+
In the first case SENDGRID_API_KEY is in reference to the name of the environment variable, while the second case references the actual SendGrid API Key.
72+
73+
<a name="package-manager"></a>
74+
## Using the Package Manager
75+
76+
We upload this library to [Maven](http://repo1.maven.org/maven2/com/sendgrid/sendgrid-java/) whenever we make a release. This allows you to use [maven and gradle](https://maven.apache.org/) for easy installation.
77+
78+
In most cases we recommend you download the latest version of the library, but if you need a different version, please use:
79+
80+
```groovy
81+
...
82+
dependencies {
83+
...
84+
compile 'com.sendgrid:sendgrid-java:X.X.X'
85+
}
86+
87+
repositories {
88+
mavenCentral()
89+
}
90+
...
91+
```

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 = '3.0.5'
20+
version = '3.0.6'
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>3.0.5</version>
12+
<version>3.0.6</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>

0 commit comments

Comments
 (0)