Releases: ElasticEmail/elasticemail-perl
Releases · ElasticEmail/elasticemail-perl
Release list
Elastic Email Perl SDK 4.2.0
Elastic Email Perl SDK 4.2.0
This is the first GitHub Release of the Perl SDK. It brings the version in line with the other Elastic Email client libraries. The API surface is the same as 4.0.29.
📦 Install from this repository:
git clone --branch 4.2.0 https://github.com/ElasticEmail/elasticemail-perl.git
cd elasticemail-perl
cpanm --installdeps .What's in this release
- SDK version set to 4.2.0 (previously 4.0.29). The only code change is the version constant in
ElasticEmail::Configuration, which also updates the default user agent toOpenAPI-Generator/4.2.0/perl. Upgrading from 4.0.29 needs no code changes.
Highlights since 4.0.27
If you're upgrading from 4.0.27 or earlier, you also get these changes from 4.0.28 and 4.0.29:
Webhooks (new ElasticEmail::WebhookApi)
webhook_get:GET /webhooklists webhookswebhook_post:POST /webhookadds a webhookwebhook_by_publicid_get:GET /webhook/{publicid}loads a webhookwebhook_by_publicid_put:PUT /webhook/{publicid}updates a webhookwebhook_by_publicid_delete:DELETE /webhook/{publicid}deletes a webhook- New models:
Webhook,WebhookCreatePayload,WebhookUpdatePayload
New endpoints
CampaignsApi->campaigns_automation_by_name_trigger_post(name => …, contact_email => …):POST /campaigns/automation/{name}/triggertriggers an automation for a contactSubAccountsApi->subaccounts_by_email_apikey_get(email => …):GET /subaccounts/{email}/apikeyreturns a subaccount's API key
New and updated models
- New
DKIMRecordmodel DomainData/DomainDetail: newcertificate_expiry_date,was_ever_verifiedanddkim_recordfields
Docs
SecurityApi: the docs now say that a subaccount's default API key expires after 48 hours
Compatibility
- Perl 5.10 or later (CI runs 5.28), dependencies listed in
cpanfile - Elastic Email REST API v4
Full changelog: 4.0.27...4.2.0