Skip to content

Commit

Permalink
Release 4.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-ci committed Jul 22, 2020
1 parent 6623bd9 commit 6773207
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ touch Example.java
Add the example you want to test to Example.java, including the headers at the top of the file.

``` bash
javac -classpath ../repo/com/sendgrid/4.6.1/sendgrid-4.6.1-jar.jar:. Example.java && java -classpath ../repo/com/sendgrid/4.6.1/sendgrid-4.6.1-jar.jar:. Example
javac -classpath ../repo/com/sendgrid/4.6.2/sendgrid-4.6.2-jar.jar:. Example.java && java -classpath ../repo/com/sendgrid/4.6.2/sendgrid-4.6.2-jar.jar:. Example
```

<a name="understanding-the-codebase"></a>
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ We appreciate your continued support, thank you!
## Prerequisites

- Java version Oracle JDK 7, 8 or OpenJDK 7
- The Twilio SendGrid service, starting at the [free level](https://sendgrid.com/free?source=sendgrid-java) to send up to 4.6.1 emails for the first 30 days, then send 100 emails/day free forever or check out [our pricing](https://sendgrid.com/pricing?source=sendgrid-java).
- The Twilio SendGrid service, starting at the [free level](https://sendgrid.com/free?source=sendgrid-java) to send up to 4.6.2 emails for the first 30 days, then send 100 emails/day free forever or check out [our pricing](https://sendgrid.com/pricing?source=sendgrid-java).

## Setup Environment Variables

Expand Down Expand Up @@ -67,7 +67,7 @@ Add the following to your build.gradle file in the root of your project.
...
dependencies {
...
implementation 'com.sendgrid:sendgrid-java:4.6.1'
implementation 'com.sendgrid:sendgrid-java:4.6.2'
}
repositories {
Expand All @@ -86,7 +86,7 @@ mvn install

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

[sendgrid-java.jar](https://github.com/sendgrid/sendgrid-java/releases/download/4.6.1/sendgrid-java.jar)
[sendgrid-java.jar](https://github.com/sendgrid/sendgrid-java/releases/download/4.6.2/sendgrid-java.jar)

## Dependencies

Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<groupId>com.sendgrid</groupId>
<artifactId>sendgrid-java</artifactId>
<name>Twilio SendGrid Java helper library</name>
<version>4.6.1</version>
<version>4.6.2</version>
<description>This Java module allows you to quickly and easily send emails through Twilio SendGrid using Java.</description>
<url>https://github.com/sendgrid/sendgrid-java</url>
<licenses>
Expand All @@ -26,7 +26,7 @@
<url>https://github.com/sendgrid/sendgrid-java</url>
<connection>scm:git:[email protected]:sendgrid/sendgrid-java.git</connection>
<developerConnection>scm:git:[email protected]:sendgrid/sendgrid-java.git</developerConnection>
<tag>4.6.1</tag>
<tag>4.6.2</tag>
</scm>
<profiles>
<profile>
Expand Down Expand Up @@ -306,7 +306,7 @@
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15to18</artifactId>
<version>1.65</version>
<version>1.66</version>
</dependency>
</dependencies>
</project>
</project>
2 changes: 1 addition & 1 deletion src/main/java/com/sendgrid/BaseInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
public abstract class BaseInterface implements SendGridAPI {

private static final String VERSION = "4.6.1";
private static final String VERSION = "4.6.2";

private static final String USER_AGENT = "sendgrid/" + VERSION + ";java";
private static final int RATE_LIMIT_RESPONSE_CODE = 429;
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/sendgrid/SendGridTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void testConstructWithClient() throws IOException {
@Test
public void testLibraryVersion() {
SendGrid sg = new SendGrid(SENDGRID_API_KEY);
Assert.assertEquals(sg.getLibraryVersion(), "4.6.1");
Assert.assertEquals(sg.getLibraryVersion(), "4.6.2");
}

@Test
Expand Down

0 comments on commit 6773207

Please sign in to comment.