Skip to content

Releases: sendgrid/sendgrid-java

v4.1.2

31 Oct 04:14
Compare
Choose a tag to compare

Added

v4.1.1

10 Oct 20:20
Compare
Choose a tag to compare

Added

v4.1.0

17 Aug 00:54
Compare
Choose a tag to compare

Added

  • PR #211 Return empty collections in place of nulls
  • When calling a getXyz() method on a Mail object, where Xyz is some object implementing Collection, if Xyz is null then an empty collection will be returned (currently returns null)
  • BIG thanks to Antonio Bucciol

v4.0.1

22 May 17:07
Compare
Choose a tag to compare

Fix

v4.0.0

19 May 01:28
Compare
Choose a tag to compare

BREAKING CHANGE

  • PR #162 Update java http client dependency to 4.1.0 from 2.3.4
  • BIG thanks to Diego Camargo for the pull request!
  • The breaking change is that variables that were public are now private and accessable only via getters and setters
  • The Request object attributes are now only accessable through getters/setters
  • request.method is now request.setMethod(string)
  • request.endpoint is now request.setEndpoint(string)
  • request.body is now request.setBody(string)
  • The Response object attributes are now only accessable through getters/setters
  • response.statusCode is now response.getStatusCode()
  • response.body is now response.getBody()
  • response.headers is now response.getHeaders()
  • Adding a query parameter goes from:
Map<String,String> queryParams = new HashMap<String, String>();
request.addQueryParam("limit", "1");
queryParams.put("limit", "1");
request.queryParams = queryParams;

to:

request.addQueryParam("limit", "1");

v3.2.1

13 Apr 23:12
Compare
Choose a tag to compare

Added

v3.2.0

22 Mar 16:39
Compare
Choose a tag to compare

Added

  • PR #160
  • [Enhancement] Adds an attachment builder that supports InputStream content
  • BIG thanks to Dmitry Avershin for the pull request!

v3.1.0

11 Oct 21:43
Compare
Choose a tag to compare

Added

  • PR #158, Solves #138
  • [Enhancement] allow using custom Client, http proxy support
  • BIG thanks to David Maicher for the pull request!

v3.0.9

24 Aug 22:30
Compare
Choose a tag to compare

Added

  • Table of Contents in the README
  • Added a USE_CASES.md section, with the first use case example for transactional templates

v3.0.8

09 Aug 17:40
Compare
Choose a tag to compare

Fixed