Skip to content

Commit

Permalink
Merge pull request #151 from mailjet/release-5.1.1
Browse files Browse the repository at this point in the history
release v5.1.1
  • Loading branch information
sdiakovskyi-gd authored Dec 18, 2020
2 parents b0c05fe + 7f8ab9c commit ae1441b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

This repo features the official Java wrapper for the Mailjet API.

Check out all the resources and all the Java code examples in the [Offical Documentation][doc].
Check out all the resources and all the Java code examples in the [Official Documentation][doc].

## Table of contents

Expand Down Expand Up @@ -48,6 +48,9 @@ Check out all the resources and all the Java code examples in the [Offical Docum


## Release notes
v5.1.1
- fixes adding additional quotes during serialization of string variables adn headers in TransactionalEmailBuilder

v5.1.0
- downgraded OkHttpClient to v3.12 to be compatible with the current version in Spring Boot
- adds [transactional email builder](src/test/java/com/mailjet/client/TransactionalEmailBuilderIT.java) to make possible sending messages easier
Expand All @@ -70,7 +73,7 @@ Add the following in your `pom.xml`
<dependency>
<groupId>com.mailjet</groupId>
<artifactId>mailjet-client</artifactId>
<version>5.1.0</version>
<version>5.1.1</version>
</dependency>
</dependencies>
```
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<!--General configuration -->
<groupId>com.mailjet</groupId>
<artifactId>mailjet-client</artifactId>
<version>5.1.0</version>
<version>5.1.1</version>
<packaging>jar</packaging>
<name>Mailjet Client</name>
<description>A Mailjet API Client</description>
Expand All @@ -27,7 +27,7 @@
<connection>scm:git:https://github.com/mailjet/mailjet-apiv3-java.git</connection>
<developerConnection>scm:git:https://github.com/mailjet/mailjet-apiv3-java.git</developerConnection>
<url>[email protected]:mailjet/mailjet-apiv3-java.git</url>
<tag>mailjet-client-5.1.0</tag>
<tag>mailjet-client-5.1.1</tag>
</scm>
<!--License-->
<licenses>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/mailjet/client/MailjetClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class MailjetClient {
private ClientOptions _options;
private OkHttpClient _client;

private static final String userAgent = "mailjet-apiv3-java/v5.1.0";
private static final String userAgent = "mailjet-apiv3-java/v5.1.1";

/**
* Deprecated - please, use MailjetClient(ClientOptions clientOptions) ctor instead
Expand Down

0 comments on commit ae1441b

Please sign in to comment.