- Added
Uploads.upload()to upload an image. - Added transactional email content endpoints:
Transactional.create(),.get(),.update(),.ensure_draft(), and.publish().Transactional.list()returns a new data shape. - Added audience segment endpoints:
AudienceSegments.list()and.get(). - Added workflow endpoints:
Workflows.list(),.get(), and.get_node(). - Added campaign group endpoints:
CampaignGroups.list(),.create(),.get(), and.update(). - Added transactional group endpoints:
TransactionalGroups.list(),.create(),.get(), and.update(). - Added
EmailMessages.preview()for sending test previews. - Extended
Campaigns.create()and.update()with audience, group, and scheduling fields. - Extended
EmailMessages.update()with CC/BCC, language, format, and fallback fields.
- Added support for campaigns, email messages, themes, components, and dedicated sending IP endpoints.
- THe SDK now treats
201responses as success and raisesAPIErrorfor new401,413, and422responses.
- Added support for contact suppression endpoints with
Contacts.check_suppression()andContacts.remove_suppression().
Added support for using either email or user_id with Contacts.update().
Fixed issue with GET API requests.
- Added a
headersparameter forEvents.send()andTransactional.send(), enabling support for theIdempotency-Keyheader. - Added test suite and a tests for
EventsandTransactionalclasses.
Added support for new List transactionals endpoint with Transactional.list().
- JSON from API errors is now accessible from the
APIErrorclass. - Added support for two new contact property endpoints:
ContactProperties.create()andContactProperties.list(). - Deprecated and removed the
CustomFields.list()method (you can now useContactProperties.list()instead).
Added rate limit handling with RateLimitError.
Support for resetting contact properties with nil.
Added ApiKey.test method for testing API keys.
Initial release.