Skip to content

Commit

Permalink
Release 5.0.0-rc.3
Browse files Browse the repository at this point in the history
  • Loading branch information
twilio-dx committed Oct 7, 2024
1 parent 629cead commit d202de6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,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/5.0.0-rc.1/sendgrid-5.0.0-rc.1-jar.jar:. Example.java && java -classpath ../repo/com/sendgrid/5.0.0-rc.1/sendgrid-5.0.0-rc.1-jar.jar:. Example
javac -classpath ../repo/com/sendgrid/5.0.0-rc.3/sendgrid-5.0.0-rc.3-jar.jar:. Example.java && java -classpath ../repo/com/sendgrid/5.0.0-rc.3/sendgrid-5.0.0-rc.3-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 @@ -62,7 +62,7 @@ Add the following to your build.gradle file in the root of your project.
...
dependencies {
...
implementation 'com.sendgrid:sendgrid-java:5.0.0-rc.1'
implementation 'com.sendgrid:sendgrid-java:5.0.0-rc.3'
}
repositories {
Expand All @@ -81,7 +81,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/5.0.0-rc.1/sendgrid-java.jar)
[sendgrid-java.jar](https://github.com/sendgrid/sendgrid-java/releases/download/5.0.0-rc.3/sendgrid-java.jar)

## Dependencies

Expand Down Expand Up @@ -173,7 +173,7 @@ public class Example {
System.out.println(deleteAlertResponse.getStatusCode());
System.out.println(deleteAlertResponse.getBody());
System.out.println(deleteAlertResponse.getHeaders());

} catch (ApiErrorResponse apiErrorResponse) {
System.out.println(apiErrorResponse.getMessage());
}
Expand Down
6 changes: 2 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>5.0.0-rc.1</version>
<version>5.0.0-rc.3</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>5.0.0-rc.1</tag>
<tag>5.0.0-rc.3</tag>
</scm>
<profiles>
<profile>
Expand Down Expand Up @@ -256,12 +256,10 @@
<artifactId>spotbugs</artifactId>
<version>4.0.4</version>
</dependency>

</dependencies>
</plugin>
</plugins>
</build>

<developers>
<developer>
<id>thinkingserious</id>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/sendgrid/constant/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@UtilityClass
public class Config {
public static final String VERSION = "5.0.0-rc.1";
public static final String VERSION = "5.0.0-rc.3";
public static final String JAVA_VERSION = System.getProperty("java.version");
public static final String OS_NAME = System.getProperty("os.name");
public static final String OS_ARCH = System.getProperty("os.arch");
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(), "5.0.0-rc.1");
Assert.assertEquals(sg.getLibraryVersion(), "5.0.0-rc.3");
}

@Test
Expand Down

0 comments on commit d202de6

Please sign in to comment.