Releases: sendgrid/sendgrid-java
Releases · sendgrid/sendgrid-java
v4.1.2
Added
- PR #220 Alway serialize click-tracking parameters, fixes #181
- BIG thanks to Mattia Barbon
v4.1.1
Added
- PR #247 Added Javadocs.
- BIG thanks to Andy Trimble
v4.1.0
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
Fix
- PR #199 Return correct Email in getFrom
- BIG thanks to Jared Dellitt
v4.0.0
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 nowrequest.setMethod(string)
request.endpoint
is nowrequest.setEndpoint(string)
request.body
is nowrequest.setBody(string)
- The
Response
object attributes are now only accessable through getters/setters response.statusCode
is nowresponse.getStatusCode()
response.body
is nowresponse.getBody()
response.headers
is nowresponse.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
Added
- PR #175
- Simplified
makeCall()
method. - BIG thanks to Rafał Wrzeszcz for the pull request!
v3.2.0
Added
- PR #160
- [Enhancement] Adds an attachment builder that supports InputStream content
- BIG thanks to Dmitry Avershin for the pull request!
v3.1.0
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
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
Fixed
- Updated dependency for java-http-client
- Pull #7: Fix Response Charset to UTF-8
- Fixes issue #6: Multi-byte character got garbled on received mail
- BIG thanks to Yoichi Kikuta for the pull request!