- Added support for specifying a Status Callback URL when POST-ing to the Messages endpoint. (#64)
- Support template-haskell >=2.12, relax upper bound on free (#61)
This release mainly refactors the way SIDs are handled internally. Previously,
adding a SID required copying a bunch of boilerplate. Now we use Template
Haskell to generate that boilerplate automatically, and adding a SID is as easy
as calling createSID
. Each SID is a newtype wrapper around a base data type,
SID
. So, for example, AccountSID
now wraps a SID A C
.
MessageSID
only handled "SM"-prefixed SIDs; however, there are "MM"-prefixed Message SIDs, too. So, now we have two data types,SMSMessageSID
andMMSMessageSID
corresponding to the "SM"- and "MM"-prefixed variants, andMessageSID
becomes a newtype wrapper aroundEither SMSMessageSID MMSMessageSID
.
- Add support for deleting recordings.
- Add Messaging Copilot support via a new
function,
postCopilot
.