Releases: sendgrid/sendgrid-java
Releases · sendgrid/sendgrid-java
v3.2.2
Security Fix
- Update to latest Jackson recommended dependency, based on this article.
v4.2.0
Added
- PR #275: Add a way to verify that the content doesn't contain sensitive information -- BIG thanks to Diego Camargo
- PR #249: Add optional rate limit support -- BIG thanks to Andy Trimble
- PR #379: Break up the examples in examples/subusers/subusers.java to their own files -- BIG thanks to huytranrjc
- PR #365: Test to check year in license file -- BIG thanks to Alex
- PR #345: Add .codeclimate.yml file -- BIG thanks to Rostyslav Zatserkovnyi
- PR #319: Add .env_sample file -- BIG thanks to Thiago Barbato
- PR #223: The license file is now in the release jar -- BIG thanks to sccalabr
- PR #224: Adding SendGridApi interface -- BIG thanks to sccalabr
Fix
- PR #410: Update Jackson dependencies to the latest version -- BIG thanks to Dmitry Avershin
- PR #380: Fix "similar-code" issue in examples/whitelabel/ips.java -- BIG thanks to huytranrjc
- PR #255: Fix Mail deserialization issue -- BIG thanks to sccalabr
- PR #359: Fix code issue in examples/suppression/suppression.java -- BIG thanks to Alex
- PR #228: Changes serialization type from default to non-empty -- BIG thanks to Dmitry Avershin
- PR #373: Fix file_lines issue in examples/mailsettings/mailsettings.java -- BIG thanks to Mithun Sasidharan
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!