Skip to content

Releases: ElasticEmail/elasticemail-java

4.2.0

Choose a tag to compare

@eeppodolak eeppodolak released this 28 Sep 09:40

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 with webhookPost, webhookGet, webhookByPublicidGet, webhookByPublicidPut and webhookByPublicidDelete. New models: Webhook, WebhookCreatePayload, WebhookUpdatePayload.
  • Automations (CampaignsApi): new campaignsAutomationByNameTriggerPost(name, contactEmail) triggers an automation for a contact.
  • Sub-accounts (SubAccountsApi): new subaccountsByEmailApikeyGet(email) loads a sub-account's API key. The default API key created for a sub-account expires after 48 hours.
  • Domains: DomainData and DomainDetail gain CertificateExpiryDate, WasEverVerified and a DKIMRecord (new DKIMRecord model).
  • Campaigns: CampaignOptions gains SendAtLocalTime.
  • Enums: EventType adds ERROR, TRANSACTIONAL_UNSUBSCRIBE and SUPPRESS. CertificateValidationStatus adds IN_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

Choose a tag to compare

@radzawee radzawee released this 11 Mar 21:45

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

4.1.0

Choose a tag to compare

@radzawee radzawee released this 08 Jul 09:37
update to the latest API