diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml
index b8d847f2..0a31274e 100644
--- a/.github/workflows/test-and-deploy.yml
+++ b/.github/workflows/test-and-deploy.yml
@@ -31,6 +31,11 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_AUTH_TOKEN }}
+ - name: Install Docker Compose
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y docker-compose
+
- name: Run Unit Tests
run: make test-docker version=${{ matrix.java }}
@@ -48,7 +53,7 @@ jobs:
with:
java-version: 8
distribution: temurin
- server-id: ossrh
+ server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a7293f35..0419d039 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,25 @@
# Change Log
All notable changes to this project will be documented in this file.
+[2024-09-18] Version 4.10.3
+---------------------------
+**Library - Chore**
+- [PR #767](https://github.com/sendgrid/sendgrid-java/pull/767): move Bouncy Castle dependency to test scope. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
+
+
+[2024-02-14] Version 4.10.2
+---------------------------
+**Library - Chore**
+- [PR #745](https://github.com/sendgrid/sendgrid-java/pull/745): update jackson version and licence year. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
+
+
+[2023-11-17] Version 4.10.1
+---------------------------
+**Library - Chore**
+- [PR #744](https://github.com/sendgrid/sendgrid-java/pull/744): updates bouncy castle to 1.76 (latest 1.7x). Thanks to [@mrdziuban](https://github.com/mrdziuban)!
+- [PR #741](https://github.com/sendgrid/sendgrid-java/pull/741): updates bouncy castle to 1.75 (latest 1.7x). Thanks to [@kebeda](https://github.com/kebeda)!
+
+
[2023-11-06] Version 4.10.0
---------------------------
**Library - Feature**
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 77fc2389..c97a921f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -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/4.10.0/sendgrid-4.10.0-jar.jar:. Example.java && java -classpath ../repo/com/sendgrid/4.10.0/sendgrid-4.10.0-jar.jar:. Example
+javac -classpath ../repo/com/sendgrid/4.10.3/sendgrid-4.10.3-jar.jar:. Example.java && java -classpath ../repo/com/sendgrid/4.10.3/sendgrid-4.10.3-jar.jar:. Example
```
diff --git a/LICENSE b/LICENSE
index 3154774a..126ceb1a 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (C) 2023, Twilio SendGrid, Inc.
+Copyright (C) 2025, Twilio SendGrid, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
diff --git a/README.md b/README.md
index 64a8aee5..090a0536 100644
--- a/README.md
+++ b/README.md
@@ -62,7 +62,7 @@ Add the following to your build.gradle file in the root of your project.
...
dependencies {
...
- implementation 'com.sendgrid:sendgrid-java:4.10.0'
+ implementation 'com.sendgrid:sendgrid-java:4.10.3'
}
repositories {
@@ -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/4.10.0/sendgrid-java.jar)
+[sendgrid-java.jar](https://github.com/sendgrid/sendgrid-java/releases/download/4.10.3/sendgrid-java.jar)
## Dependencies
diff --git a/pom.xml b/pom.xml
index bb404261..0d8ec8ef 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,15 +1,10 @@
4.0.0
-
- org.sonatype.oss
- oss-parent
- 7
-
com.sendgrid
sendgrid-java
Twilio SendGrid Java helper library
- 4.10.0
+ 4.10.3
This Java module allows you to quickly and easily send emails through Twilio SendGrid using Java.
https://github.com/sendgrid/sendgrid-java
@@ -20,13 +15,13 @@
- 2.13.3
+ 2.14.0
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.10.0
+ 4.10.3
@@ -39,14 +34,13 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.8
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.8.0
true
- ossrh
- https://oss.sonatype.org/
- true
+ central
+ true
@@ -293,8 +287,9 @@
org.bouncycastle
- bcprov-jdk15on
- 1.70
+ bcprov-jdk18on
+ 1.78.1
+ test
diff --git a/src/main/java/com/sendgrid/BaseInterface.java b/src/main/java/com/sendgrid/BaseInterface.java
index 163490a9..7a45cda4 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.10.0";
+ private static final String VERSION = "4.10.3";
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 6e137eb8..8737cbb2 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.10.0");
+ Assert.assertEquals(sg.getLibraryVersion(), "4.10.3");
}
@Test