From ad48e143c827e981402a3d14ac4449eb84575402 Mon Sep 17 00:00:00 2001 From: Twilio Date: Wed, 16 Sep 2020 20:09:04 +0000 Subject: [PATCH] Release 4.6.5 --- CONTRIBUTING.md | 2 +- README.md | 8 ++++---- pom.xml | 6 +++--- src/main/java/com/sendgrid/BaseInterface.java | 2 +- src/test/java/com/sendgrid/SendGridTest.java | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dbfb552d..12132145 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -98,7 +98,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.4/sendgrid-4.6.4-jar.jar:. Example.java && java -classpath ../repo/com/sendgrid/4.6.4/sendgrid-4.6.4-jar.jar:. Example +javac -classpath ../repo/com/sendgrid/4.6.5/sendgrid-4.6.5-jar.jar:. Example.java && java -classpath ../repo/com/sendgrid/4.6.5/sendgrid-4.6.5-jar.jar:. Example ``` diff --git a/README.md b/README.md index e71eb696..c0189b90 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ **NEW:** Subscribe to email [notifications](https://dx.sendgrid.com/newsletter/java) for releases and breaking changes. -**The default branch name for this repository has been changed to `main` as of 4.6.4.** +**The default branch name for this repository has been changed to `main` as of 4.6.5.** **This library allows you to quickly and easily use the Twilio SendGrid Web API v3 via Java.** @@ -40,7 +40,7 @@ We appreciate your continued support, thank you! ## Prerequisites - Java 8 or 11 -- The Twilio SendGrid service, starting at the [free level](https://sendgrid.com/free?source=sendgrid-java) to send up to 4.6.4 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.5 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 @@ -68,7 +68,7 @@ Add the following to your build.gradle file in the root of your project. ... dependencies { ... - implementation 'com.sendgrid:sendgrid-java:4.6.4' + implementation 'com.sendgrid:sendgrid-java:4.6.5' } repositories { @@ -87,7 +87,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.4/sendgrid-java.jar) +[sendgrid-java.jar](https://github.com/sendgrid/sendgrid-java/releases/download/4.6.5/sendgrid-java.jar) ## Dependencies diff --git a/pom.xml b/pom.xml index a5498ec4..5b750743 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ com.sendgrid sendgrid-java Twilio SendGrid Java helper library - 4.6.4 + 4.6.5 This Java module allows you to quickly and easily send emails through Twilio SendGrid using Java. https://github.com/sendgrid/sendgrid-java @@ -26,7 +26,7 @@ https://github.com/sendgrid/sendgrid-java scm:git:git@github.com:sendgrid/sendgrid-java.git scm:git:git@github.com:sendgrid/sendgrid-java.git - 4.6.4 + 4.6.5 @@ -286,7 +286,7 @@ com.sendgrid java-http-client - 4.3.5 + 4.3.6 com.fasterxml.jackson.core diff --git a/src/main/java/com/sendgrid/BaseInterface.java b/src/main/java/com/sendgrid/BaseInterface.java index 9758f5d8..f122f3e3 100644 --- a/src/main/java/com/sendgrid/BaseInterface.java +++ b/src/main/java/com/sendgrid/BaseInterface.java @@ -11,7 +11,7 @@ */ public abstract class BaseInterface implements SendGridAPI { - private static final String VERSION = "4.6.4"; + private static final String VERSION = "4.6.5"; private static final String USER_AGENT = "sendgrid/" + VERSION + ";java"; private static final int RATE_LIMIT_RESPONSE_CODE = 429; diff --git a/src/test/java/com/sendgrid/SendGridTest.java b/src/test/java/com/sendgrid/SendGridTest.java index 1092fd07..d19796fd 100644 --- a/src/test/java/com/sendgrid/SendGridTest.java +++ b/src/test/java/com/sendgrid/SendGridTest.java @@ -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.4"); + Assert.assertEquals(sg.getLibraryVersion(), "4.6.5"); } @Test