Releases: ElasticEmail/elasticemail-java
Releases · ElasticEmail/elasticemail-java
Release list
4.2.0
Elastic Email Java SDK 4.2.0
This release adds the Webhooks API and aligns the Java SDK's version number with the other Elastic Email SDKs (4.2.0 everywhere).
📦 JitPack
Maven (add the https://jitpack.io repository first):
<dependency>
<groupId>com.github.ElasticEmail</groupId>
<artifactId>elasticemail-java</artifactId>
<version>4.2.0</version>
</dependency>Gradle (with maven { url 'https://jitpack.io' } in repositories):
implementation 'com.github.ElasticEmail:elasticemail-java:4.2.0'What's in this release
- Webhooks (
WebhookApi): new. Create, list, load, update and delete webhooks withwebhookPost,webhookGet,webhookByPublicidGet,webhookByPublicidPutandwebhookByPublicidDelete. New models:Webhook,WebhookCreatePayload,WebhookUpdatePayload. - Automations (
CampaignsApi): newcampaignsAutomationByNameTriggerPost(name, contactEmail)triggers an automation for a contact. - Sub-accounts (
SubAccountsApi): newsubaccountsByEmailApikeyGet(email)loads a sub-account's API key. The default API key created for a sub-account expires after 48 hours. - Domains:
DomainDataandDomainDetailgainCertificateExpiryDate,WasEverVerifiedand aDKIMRecord(newDKIMRecordmodel). - Campaigns:
CampaignOptionsgainsSendAtLocalTime. - Enums:
EventTypeaddsERROR,TRANSACTIONAL_UNSUBSCRIBEandSUPPRESS.CertificateValidationStatusaddsIN_PROGRESS.
No classes, methods or enum values were removed. Upgrading from 4.1.1 needs no code changes.
Compatibility
- Java 8+ (OkHttp 4.12.0, Gson 2.10.1)
- Elastic Email REST API v4
Full changelog: 4.1.1...4.2.0
4.1.1
update access levels, generated using OpenApiGenerator 7.11
Full Changelog: 4.1.0...4.1.1
dependencies:
gson-2.10.1
gson-fire-1.9.0
kotlin-stdlib-1.8.21
kotlin-stdlib-common-1.9.10
okhttp-4.12.0
okio-3.6.0
okio-jvm-3.6.0