Library
- PR #511: Include composer require command. Thanks to @cjcodes!
- PR #503: Fix invalid generated XML in README. Thanks to @giggsey!
Api
- Add new Balance resource:
- url: '/v1/Accounts/{account sid}/Balance'
- supported methods: GET
- returns the balance of the account
Proxy
- Add chat_instance_sid to Service
Verify
- Add
Locale
optional parameter on Verification creation.
Api
- Add Verb Transactions category to usage records
Twiml
- Add support for
Pay
verb
Api
- Add
coaching
andcall_sid_to_coach
to participant properties, create and update requests.
Authy
- Set public library visibility, and added PII stanza
- Dropped support for
FactorType
param given new Factor prefixes (breaking change) - Supported
DELETE
actions for Authy resources - Move Authy Services resources to
authy
subdomain
Autopilot
- Introduce
autopilot
subdomain with all resources frompreview.understand
Preview
- Renamed Understand intent to task (breaking change)
- Deprecated Authy endpoints from
preview
toauthy
subdomain
Taskrouter
- Allow TaskQueue ReservationActivitySid and AssignmentActivitySid to not be configured for MultiTask Workspaces
Verify
- Add
LookupEnabled
optional parameter on Service resource creation or update. - Add
SendDigits
optional parameter on Verification creation. - Add delete action on Service resourse.
Twiml
- Add custom parameters to TwiML
Client
noun and renamed the optionalname
field toidentity
. This is a breaking change in Ruby, and applications will need to transition fromdial.client ''
anddial.client 'alice'
formats todial.client
anddial.client(identity: alice)
formats. (breaking change)
Preview
- Renamed response headers for Challenge and Factors Signatures
Video
- [Composer] Add Composition Hook resources
Twiml
- Add
debug
toGather
- Add
participantIdentity
toRoom
Api
- Set
call_sid_to_coach
parameter in participant to bepreview
Preview
- Supported
totp
in Authy preview endpoints - Allowed
latest
in Authy Challenges endpoints
Voice
- changed path param name from parent_iso_code to iso_code for highrisk_special_prefixes api (breaking change)
- added geo permissions public api
Preview
- Add
Form
resource to Authy preview given aform_type
- Add Authy initial api-definitions in the 4 main resources: Services, Entities, Factors, Challenges
Pricing
- add voice_numbers resource (v2)
Verify
- Move from preview to beta (breaking change)
Api
- Add
call_sid_to_coach
parameter to participant create request - Add
voice_receive_mode
param to IncomingPhoneNumbers create
Video
- [Recordings] Expose
offset
property in resource
Chat
- Add User Channel instance resource
Api
- Add Proxy Active Sessions category to usage records
Preview
- Add
Actions
endpoints and removeResponseUrl
from assistants on the Understand api
Pricing
- add voice_country resource (v2)
Library
- PR #498: Add deprecation warning to the old Twiml class. Thanks to @ekarson!
- PR #497: Add tests for namespacing and twiml constructors. Thanks to @cjcodes!
Studio
- Studio is now GA
Library
- PR #492: Tag and push Docker latest image when deploying with TravisCI. Thanks to @jonatasbaldin!
Api
- Add support for sip domains to map credential lists for registrations
Chat
- Make message From field updatable
- Add REST API webhooks
Notify
- Removing deprecated
segments
,users
,segment_memberships
,user_bindings
classes from helper libraries. (breaking change)
Preview
- Add new Intent Statistics endpoint
- Remove
ttl
from Assistants
Proxy
- Enable setting a proxy number as reserved
Video
- Add
group-small
room type
Twiml
- Add
Connect
andRoom
for Programmable Video Rooms - Add support for SSML lang tag on Say verb
Library
- PR #489: Add a request body validator. Thanks to @cjcodes!
Twiml
- Add support for SSML on Say verb, the message body is changed to be optional (breaking change)
Api
- Add
cidr_prefix_length
param to SIP IpAddresses API
Studio
- Add new /Execution endpoints to begin Engagement -> Execution migration
Video
- [Rooms] Allow deletion of individual recordings from a room
Library
- PR #483: Add Dockerfile and related changes to build the Docker image. Thanks to @jonatasbaldin!
Api
- Release
Call Recording Controls
feature support in helper libraries - Add Voice Insights sub-category keys to usage records
Library
- PR #484: Fixes for adding child nodes / text. Thanks to @ekarson!
- PR #482: Allow adding TwiML children with generic tag names. Thanks to @yannieyip!
Api
- Add Fraud Lookups category to usage records
Video
- Allow user to set
ContentDisposition
when obtaining media URLs for Room Recordings and Compositions - Add Composition Settings resource
Library
- PR #480: Allow adding mixed content in TwiML nodes. Thanks to @ekarson!
- PR #481: Add method to validate ssl certificate. Thanks to @yannieyip!
- PR #469: Ability to specify custom claims when creating ClientToken. Thanks to @erickskrauch!
Twiml
- Add methods to helper libraries to inject arbitrary text under a TwiML node
Chat
- Add Binding and UserBinding documentation
Lookups
- Add back support for
fraud
lookup type
Studio
- Add endpoint to delete engagements
Api
- Add more programmable video categories to usage records
- Add 'include_subaccounts' parameter to all variation of usage_record fetch
Trunking
- Added cnam_lookup_enabled parameter to Trunk resource.
- Added case-insensitivity for recording parameter to Trunk resource.
Library
- PR #472: Added @throws PHPDoc tags to Sync API Context and Version classes. Thanks to @lamungu!
Chat
- Add Channel Webhooks resource
Monitor
- Update event filtering to support date/time (breaking change)
Wireless
- Updated
maturity
toga
for all wireless apis
Video
- Redesign API by adding custom
VideoLayout
object. (breaking change)
Twiml
- Gather input Enum: remove unnecessary "dtmf speech" value as you can now specify multiple enum values for this parameter and both "dtmf" and "speech" are already available.
Library
- PR #468: Add incoming.allow to AccessToken VoiceGrant. Thanks to @ryan-rowland!
Preview
- Support for Understand V2 APIs - renames various resources and adds new fields
Studio
- Change parameters type from string to object in engagement resource
Video
- [Recordings] Change
size
type tolong
. (breaking change)
Lookups
- Disable support for
fraud
lookups (breaking change)
Preview
- Add
BuildDuration
andErrorCode
to Understand ModelBuild
Studio
- Add new /Context endpoint for step and engagement resources.
Api
- Add
caller_id
param to Outbound Calls API - Release
trim
recording Outbound Calls API functionality in helper libraries - Add
trim
param to Outbound Calls API
Lookups
- Add support for
fraud
lookup type
Numbers
- Initial Release
Video
- [composer] Add
room_sid
to Composition resource. - [composer] Add
SEQUENCE
value to available layouts, andtrim
andreuse
params.
Twiml
- Adds support for passing in multiple input type enums when setting
input
onGather
Api
- Add
AnnounceUrl
andAnnounceMethod
params for conference announce
Chat
- Add support to looking up user channels by identity in v1
Api
- Add
studio-engagements
usage key
Preview
- Remove Studio Engagement Deletion
Studio
- Initial Release
Video
- [omit] Beta: Allow updates to
SubscribedTracks
. - Add
SubscribedTracks
. - Add track name to Video Recording resource
- Add Composition and Composition Media resources
Api
- Add
conference_sid
property on Recordings - Add proxy and sms usage key
Chat
- Make user channels accessible by identity
- Add notifications logs flag parameter
Fax
- Added
ttl
parameterttl
is the number of minutes a fax is considered valid.
Preview
- Add
call_delay
,extension
,verification_code
, andverification_call_sids
. - Add
failure_reason
to HostedNumberOrders. - Add DependentHostedNumberOrders endpoint for AuthorizationDocuments preview API.
Taskrouter
- Less verbose naming of cumulative and real time statistics (breaking change)
Api
- Add
voip
,national
,shared_cost
, andmachine_to_machine
sub-resources to/2010-04-01/Accounts/{AccountSid}/AvailablePhoneNumbers/{IsoCountryCode}/
- Add programmable video keys
Preview
- Add
verification_type
andverification_document_sid
to HostedNumberOrders.
Proxy
- Fixed typo in session status enum value
Twiml
- Fix Dial record property incorrectly typed as accepting TrimEnum values when it actually has its own enum of values. (breaking change)
- Add
priority
andtimeout
properties to Task TwiML. - Add support for
recording_status_callback_event
for Dial verb and for Conference
Api
- Use the correct properties for Dependent Phone Numbers of an Address (breaking change)
- Update Call Recordings with the correct properties
Preview
- Add
status
andemail
query param filters for AuthorizationDocument list endpoint
Proxy
- Added DELETE support to Interaction
- Standardized enum values to dash-case
- Rename Service#friendly_name to Service#unique_name
Video
- Remove beta flag from
media_region
andvideo_codecs
Wireless
- Bug fix: Changed
operator_mcc
andoperator_mnc
inDataSessions
subresource frominteger
tostring
Sync
- Add TTL support for Sync objects (breaking change)
- The required
data
parameter on the following actions is now optional: "Update Document", "Update Map Item", "Update List Item" - New actions available for updating TTL of Sync objects: "Update List", "Update Map", "Update Stream"
- The required
Video
- [bi] Rename
RoomParticipant
toParticipant
- Add Recording Settings resource
- Expose EncryptionKey and MediaExternalLocation properties in Recording resource
Accounts
- Add AWS credential type
Preview
- Removed
iso_country
as required field for creating a HostedNumberOrder.
Proxy
- Added new fields to Service: geo_match_level, number_selection_behavior, intercept_callback_url, out_of_session_callback_url
Library
- Issue 451: Do not set CURLOPT_INFILESIZE by default
- PR #454: Fix the JsonSerializable. Thanks @vinu!
Api
- Add programmable video keys
Video
- Add
Participants
Chat
- Add Binding resource
- Add UserBinding resource
Api
- Add
address_sid
param to IncomingPhoneNumbers create and update - Add 'fax_enabled' option for Phone Number Search
Api
- Add
smart_encoded
param for Messages - Add
identity_sid
param to IncomingPhoneNumbers create and update
Preview
- Make 'address_sid' and 'email' optional fields when creating a HostedNumberOrder
- Add AuthorizationDocuments preview API.
Proxy
- Initial Release
Wireless
- Added
ip_address
to sim resource
Preview
- Add
acc_security
(authy-phone-verification) initial api-definitions
Taskrouter
- [bi] Less verbose naming of cumulative and real time statistics
Library
- Add warnings when trying to import/use objects from legacy versions of the library.
Chat
- Make member accessible through identity
- Make channel subresources accessible by channel unique name
- Set get list 'max_page_size' parameter to 100
- Add service instance webhook retry configuration
- Add media message capability
- Make
body
an optional parameter on Message creation. (breaking change)
Notify
data
,apn
,gcm
,fcm
,sms
parameters inNotifications
create resource now accept objects instead of strings. Passing manually stringified json objects will continue to work.
Taskrouter
- Add new query ability by TaskChannelSid or TaskChannelUniqueName
- Move Events, Worker, Workers endpoint over to CPR
- Add new RealTime and Cumulative Statistics endpoints
Video
- Create should allow an array of video_codecs.
- Add video_codecs as a property of room to make it externally visible.
Api
- Add
sip_registration
property on SIP Domains - Add new video and market usage category keys
TwiML
- Add classes for all TwiML verbs.
Sync
- Add support for Streams
Wireless
- Added DataSessions sub-resource to Sims.
Library
- Add
lastRequest
andlastResponse
properties toCurlClient
to help debugging.
Api
- Update
status
enum for Recordings to include 'failed' - Add
errorCode
property on Recordings
Chat
- Add mutable parameters for channel, members and messages
Video
- New
media_region
parameter when creating a room, which controls which region media will be served out of.
Api
- Add VoiceReceiveMode {'voice', 'fax'} option to IncomingPhoneNumber UPDATE requests
Chat
- Add channel message media information
- Add service instance message media information
Preview
- Removed 'email' from bulk_exports configuration api [bi]. No migration plan needed because api has not been used yet.
- Add DeployedDevices.
Sync
- Add support for Service Instance unique names
Api
- Add New wireless usage keys added
- Add
auto_correct_address
param for Addresses create and update - Add ChatGrant to Grants and deprecate IpMessagingGrant
Video
- Add
video_codec
enum andvideo_codecs
parameter, which can be set to eitherVP8
orH264
during room creation. - Restrict recordings page size to 100
This release adds Beta and Preview products to main artifact.
Previously, Beta and Preview products were only included in the alpha
artifact. They are now being included in the main artifact to ease product
discoverability and the collective operational overhead of maintaining multiple
artifacts per library.
Api
- Remove unused
encryption_type
property on Recordings (breaking change) - Update
status
enum for Messages to include 'accepted'
Messaging
- Fix incorrectly typed capabilities property for PhoneNumbers.
Notify
- Add
ToBinding
optional parameter on Notifications resource creation. Accepted values are json strings.
Preview
- Add
sms_application_sid
to HostedNumberOrders.
Taskrouter
- Fully support conference functionality in reservations.
- This release drops official support for PHP 5.3 and PHP 5.4, which were EOL'd in 2014 and 2015 respectively.
- Reinstate
getPage
functionality.
Api
- Update
AnnounceMethod
parameter naming for consistency
Notify
- Add
ToBinding
optional parameter on Notifications resource creation. Accepted values are json strings.
Preview
- Add
verification_attempts
to HostedNumberOrders. - Add
status_callback_url
andstatus_callback_method
to HostedNumberOrders.
Video
- Filter recordings by date using the parameters
DateCreatedAfter
andDateCreatedBefore
. - Override the default time-to-live of a recording's media URL through the
Ttl
parameter (in seconds, default value is 3600). - Add query parameters
SourceSid
,Status
,DateCreatedAfter
andDateCreatedBefore
to the convenience method for retrieving Room recordings.
Wireless
- Added national and international data limits to the RatePlans resource.
- Add
locality
field toAvailablePhoneNumbers
. - Add
origin
field toIncomingPhoneNumbers
. - Add
in_locality
parameter toAvailablePhoneNumbers
. - Add
origin
parameter toIncomingPhoneNumbers
. - Add
announce_url
parameter toParticipants
. - Add
announce_url_method
parameter toParticipants
. - Add
getPage()
methods to lists to begin paging starting from a given url.
- Rename room
Recordings
resource toRoomRecordings
to avoid class name conflict (backwards incompatible).
- Add support for video.twilio.com.
- Add support for Twilio Chat v2
- Add
recordingChannels
,recordingStatusCallback
,recordingStatusCallbackMethod
,sipAuthUsername
,sipAuthPassword
,region
,conferenceRecordingStatusCallback
,conferenceRecordingStatusCallbackMethod
optional parameters to conference participant resource. - Add support for setting
DEBUG_HTTP_TRAFFIC=true
environment varibale to dump request and response information. Thanks @kevinburke, PR #394. - Add deprecation warning to
ConversationsGrant
, it is being replaced byVideoGrant
.
- Add TaskRouterGrant.
- Update VideoGrant.
- Add
room
as preferred grant granularity. - Deprecate setting
configurationProfileSid
on grant.
- Add
- Add
validityPeriod
parameter to Message creation
-
Add Answering Machine Detection to Call creation
-
Add
WRAPPING
entry to Status for Task -
Twilio Chat
- Add
limits
map to Service - Add
limitsChannelMembers
andlimitsUserChannels
field to ServiceUpdater
- Add
Breaking Changes, refer to Upgrade Guide
- Restore ability to transfer IncomingPhoneNumbers between accounts.
Breaking Changes, refer to Upgrade Guide
- Remove end of life Sandbox resource (backwards incompatible).
- Support new
accounts.twilio.com
subdomain and products.client->accounts
now referencesaccounts.twilio.com
instead of Accounts resource (backwards incompatible).
- Fix resources throwing error on instantiation when response is missing a field.
- Chat:
- Add
order
as filter when listing Messages. - Messages
.read()
,.stream()
,.page()
now accept options array as first parameter (backwards incompatible).
- Add
Breaking Changes, refer to Upgrade Guide
-
Fix broken default page size for all reads, thanks @rtek! Issue [#388] (twilio#388)
- Credential List Mappings, IP ACL Mappings, SIP Domains.
-
Fix incorrect types documentation of
links
/subresourceUri
fields on various resources. Was incorrectly documented as string, actual type was an array. -
Fix some properties incorrectly documented as
string
when actually werearray
types. -
Fix boolean parameters did not accept boolean values, now accept both boolean and strings for backwards compatibility.
-
Add
emergencyEnabled
field to Addresses. -
Add
price
andcallSid
fields to Recordings.- Allow filtering recordings list by call sid.
-
Add
trunkSid
,emergencyStatus
, andemergencyAddressSid
fields to IncomingPhoneNumbers. -
Add
messagingServiceSid
field to Messages. -
Add
url
and/orlinks
fields to various resources which were missing them.- Lookups PhoneNumber, Monitor Events.
-
Add
subresourceUri
fields to resources where missing. -
Accept DateTime inputs for date parameters for various resources, previously expected strings.
-
Remove
uri
field from Pricing Phone Number Countries resource (backwards incompatible). -
Properly deserialize date times for various resources (backwards incompatible).
-
Remove library support for date inquality for resources that don't support them (backwards incompatible).
-
Message
body
parameter now required on update (backwards incompatible). -
Require
friendlyName
on Queue creation (backwards incompatible). -
Taskrouter
- Add
url
and/orlinks
fields to resources where missing.- Activities, Reservations, TaskQueue Statistics, WorkerStatistics, WorkersStatistics, Worker, Workflow, WorkflowStatistics, WorkspaceStatistics, Tasks, TaskQueues, Workspaces.
- Add
addons
,taskQueueFriendlyName
,workflowFriendlyName
fields to Tasks. - Add
taskOrder
field to TaskQueues, allow updatingtaskOrder
. - Add
prioritizeQueueOrder
field to Workspace. - Allow filtering Tasks list by
evaluateTaskAttributes
,ordering
,hasAddons
. - Disallow filtering Tasks list by
taskChannel
, was never supported. - Allow filtering TaskQueues list by
workerSid
andtaskOrder
. - Allow updating
prioritizeQueueOrder
on Workspaces. - Demote
friendlyName
to optional parameter when updating Activities (backwards incompatible). - Demote
available
to optional parameter when creating Activities (backwards incompatible). - Demote
workflowSid
andattributes
to optional parameters when creating a Task (backwards incompatible). - Remove
friendlyName
as optional parameter when fetching Task Queue Statistics (backwards incompatible). - WorkspaceStatistics now take
DateTime
objects when filtering bystartDate
andendDate
(backwards incompatible).
- Add
-
Chat
- Add
Secret
field to Chat credentials and allow setting on create and update. - Add Channel Invite resource.
- Add
lastConsumedMessageIndex
andlastConsumptionTimestamp
fields to Channel Members. Body
parameter no longer required for updating a message.- Add
attributes
andindex
fields to Messages. - Add
membersCount
andmessagesCount
to Channels. - Add UserChannel resource.
- Add
attributes
,friendlyName
,isOnline
,isNotifiable
,links
to Users. - Add
reachabilityEnabled
,preWebhookUrl
,postWebhookUrl
,webhookMethod
,webhookFilters
,notifications
to Services. - Fix webhooks, notifications updating on Service by separating into individual parameters.
- Remove ability to update
type
on Channels, was never supported by api (backwards incompatible). - Demote update Message
body
to optional parameter (backwards incompatible).
- Add
-
Conferences
- Add
status
field to Participants. - Add ability to add/remove Participants via the API.
- Add ability to end Conferences via the API.
- Add
region
andsubresourceUri
fields to Conference.
- Add
-
Marketplace
- Add resources for Recording AddOns.
- AddOnResults.
- AddOnResultPayloads.
- Add
getAddOnResults
helper to Recordings.
- Add resources for Recording AddOns.
- Add
InstanceResource::toArray()
Thanks to @johnpaulmedina for this suggestion.
- Add Video Grant
Breaking Changes, refer to Upgrade Guide
- Remove required parameter
friendlyName
on IP Messaging/Chat Role update. - Alphabetize domain mounts
- Better exceptions when an error is encountered loading a page of records,
the exception class has been corrected from
DeserializeException
toRestException
.
Breaking Changes, refer to Upgrade Guide
- Demote
password
to optional and remove unsupportedusername
on SIP Credential Update - Demote
RoleSid
to optional and add optionalattributes
,friendlyName
parameters on IP Messaging/Chat User creation - Add optional
attributes
parameter on IP Messaging/Chat message creation
Breaking Changes, refer to Upgrade Guide
- New options for Conference Participant management.
- Adds support for
hold
,holdUrl
,holdMethod
- Adds support for
- Mount
ip-messaging
under the newchat
domain - Demote
assignmentCallbackUrl
from a required argument to optional for Taskrouter Workflows to better support client managed reservations.
Changes the way that uri
s are constructed to make sure that they are always
rawurlencode()
d by the twilio-php
library
Updates the output of the unit tests on failure introducing a new method,
assertRequest()
, that will output a friendlier error message when a request is
missing in the Holodeck
network mock.
Optional arguments are handled in the twilio-php
by accepting an associative
array of optional keys and values to pass to the API. This makes it easy to
support all the optional parameters, but lessens developer ergonomics, since it
doesn't provide any inline documentation or autocomplete for optional arguments.
This change introduces new Options builders that support 2 new ways for specifying optional arguments that provide better usability.
<?php
use Twilio\Values;
use Twilio\Rest\Client;
use Twilio\Rest\Api\V2010\Account\CallOptions;
$client = new Client();
// Original Way (5.0.x)
$client->calls->create(
'+14155551234',
'+14155557890',
array(
'applicationSid' => 'AP123',
'method' => 'POST',
)
);
// Options Factory
$client->calls->create(
'+14155551234',
'+14155557890',
CallOptions::create(
Values::NONE,
'AP123',
'POST'
)
);
// Options Builder
$client->calls->create(
'+14155551234',
'+14155557890',
CallOptions::create()->setApplicationSid('AP123')
->setMethod('POST')
);
The Options Factory
provides fully documented optional arguments for every
optional argument supported by the Resource's Action. This is a fast way to
handle endpoints that have a few optional arguments.
The Options Builder
provides fully documented setters for every optional
arguments, this is great for actions that support a large number of optional
arguments, so that you don't need to provided tons of default values.
Both of these options work well with autocompleting IDEs.
- Adds the ability to pass options into
Twilio\Http\CurlClient
. This feature bringsCurlClient
closer to parity withServices_Twilio_TinyHttp
.
- Fixes a bug where reading lists with a
$limit
and no$pageSize
would cause a divide by zero error. - Sanity check in the
Twiml
generator - Better tests for
Twiml
andVersion
Add the VERSIONS.md to explain the versioning strategy, first alpha release.
New Major Version
The newest version of the twilio-php
helper library, supporting PHP 5.3+
This version brings a host of changes to update and modernize the twilio-php
helper library. It is auto-generated to produce a more consistent and correct
product.
Released August 9, 2016
- Add
synchronize
method to InstanceResoure
Released January 28, 2016
- Add support for filter_friendly_name in WorkflowConfig
- Load reservations by default in TaskRouter
Released January 22, 2016
- Fix Address instance reference
Released January 19, 2016
- Add missing create/delete methods on Address
Released December 18, 2015
- Add IP Messaging capability
Released December 8, 2015
- Fix issue with empty grant encoding
Released December 8, 2015
- Update access tokens to support optional NBF
Released December 3, 2015
- Add access tokens
Released November 9, 2015
- Secured Signature header validation from timing attack
Released October 30, 2015
- Add support for Keys
Released September 21, 2015
- Add support for messaging in Twilio Pricing API
- Add support for Elastic SIP Trunking API
Released August 11, 2015
- Add support for new Taskrouter JWT Functionality, JWTs now grant access to
- Workspace
- Worker
- TaskQueue
Released June 9, 2015
- Update install documentation
Released May 19, 2015
- Add support for the beta field in IncomingPhoneNumbers and AvailablePhoneNumbers
Released May 7, 2015
- Add support for Twilio Monitor Events and Alerts
Released May 6, 2015
- Add support for the new Pricing API.
Released on April 29, 2015
- Fix to add rawurlencoding to phone number lookups to support spaces
Released on April 27, 2015
- Fix the autoloading so that Lookups_Services_Twilio and TaskRouter_Services_Twilio are available independently of Services_Twilio
Released on April 22, 2015
- Make Lookups_Services_Twilio and TaskRouter_Services_Twilio available through Composer.
Released on April 16, 2015
- Removes counts from ListResource
- Change Services_Twilio::getRequestUri() from a static method to an instance method.
Released on March 31, 2015
- Add new Lookups API client
Released on February 18, 2015
- Add new TaskRouter API client
- Miscellaneous doc fixes
Released on December 4, 2014
- Add support for the new Addresses endpoints.
Released on November 21, 2014
- Add support for the new Tokens endpoint
Released on November 13, 2014
- Add support for redacting Messages and deleting Messages or Calls
- Remove pinned SSL certificates
Released on July 15, 2014
- Changed the naming of the SIP class to comply with PSR-0
Released on January 30, 2014
- Fix incorrect use of static:: which broke compatibility with PHP 5.2.
Released on January 28, 2014
- Add link from recordings to associated transcriptions.
- Document how to debug requests, improve TwiML generation docs.
Released on January 5, 2014
- Fixes string representation of resources
- Support PHP 5.5
Released on October 21, 2013
- Add support for filtering by type for IncomingPhoneNumbers.
- Add support for searching for mobile numbers for both IncomingPhoneNumbers and AvailablePhoneNumbers.
Released on September 18, 2013
-
Support MMS
-
Support SIP In
-
$params arrays will now turn lists into multiple HTTP keys with the same name,
array("Twilio" => array('foo', 'bar'))
will turn into Twilio=foo&Twilio=bar when sent to the API.
-
Update the documentation to use php-autodoc and Sphinx.
Released on June 13
- Support Streams when curl is not available for PHP installations
Released on February 2, 2013
- Uses the HTTP status code for error reporting, instead of the
status
attribute of the JSON response. (Reporter: Ruud Kamphuis)
Released on December 30, 2012
- Adds a
$last_response
parameter to the$client
object that can be used to retrieve the raw API response. (Reporter: David Jones)
Released on December 20, 2012
- Fixes TwiML generation to handle non-ASCII characters properly. Note that as of version 3.9.0, the library requires PHP version 5.2.3, at least for TwiML generation. (Reporter: Walker Hamilton)
Released on December 15, 2012
- Fixes the ShortCode resource so it is queryable via the PHP library.
Released on November 26, 2012
- Fixes an issue where you could not iterate over the members in a queue. (Reporter: Alex Chan)
Released on November 23, 2012
- Implements the Countable interface on the ListResource, so you can call count() on any resource.
- Adds a convenience method for retrieving a phone number object, so you can retrieve all of a number's properties by its E.164 representation.
Internally:
- Adds unit tests for url encoding of Unicode characters.
- Updates Travis CI configuration to use Composer, shortening build time from 83 seconds to 21 seconds.
Released on October 17, 2012
- Support the new Usage API, with Usage Records and Usage Triggers. Read the PHP documentation for usage records or usage triggers
- The library will now use a standard CA cert whitelist for SSL validation, replacing a file that contained only Twilio's SSL certificate. (Reporter: Andrew Benton)
Released on August 16, 2012
- Fix a bug in the 3.5.0 release where updating an instance resource would cause subsequent updates to request an incorrect URI. (Reporter: Dan Bowen)
Released on August 6, 2012
- Add retry support for idempotent HTTP requests that result in a 500 server error (default is 1 attempt, however this can be configured).
- Throw a Services_Twilio_RestException instead of a DomainException if the response content cannot be parsed as JSON (usually indicates a 500 error)
Released on August 5, 2012
- Add support for Queues and Members. Includes tests and documentation for the new functionality.
Released on July 23, 2012
-
Fix an issue introduced in the 3.5.0 release where updating or muting a participant would throw an exception instead of muting the participant. (Reporter: Alex Chan)
-
Fix an issue introduced in the 3.5.0 release where filtering an iterator with parameters would not work properly on subsequent HTTP requests. (Reporters: Alex Chan, Ivor O'Connor)
Released on July 2, 2012
- Fix an issue introduced in the 3.5.0 release that would cause a second HTTP request for an instance resource to request an incorrect URI.
Released on June 30, 2012
- Support paging through resources using the
next_page_uri
parameter instead of manually constructing parameters using thePage
andPageSize
parameters. Specifically, this allows the library to use theAfterSid
parameter, which leads to improved performance when paging deep into your resource list.
This involved a major refactor of the library. The documented interface to twilio-php will not change. However, some undocumented public methods are no longer supported. Specifically, the following classes are no longer available:
Services/Twilio/ArrayDataProxy.php
Services/Twilio/CachingDataProxy.php
Services/Twilio/DataProxy.php
In addition, the following public methods have been removed:
-
setProxy
, inServices/Twilio/InstanceResource.php
-
getSchema
, inServices/Twilio/ListResource.php
,Services/Twilio/Rest/AvailablePhoneNumbers.php
,Services/Twilio/Rest/SMSMessages.php
-
retrieveData
, inServices/Twilio/Resource.php
-
deleteData
, inServices/Twilio/Resource.php
-
addSubresource
, inServices/Twilio/Resource.php
Please check your own code for compatibility before upgrading.
Released on May 3, 2012
- If you pass booleans in as TwiML (ex transcribe="true"), convert them to the strings "true" and "false" instead of outputting the incorrect values 1 and "".
Released on May 1, 2012
- Use the 'Accept-Charset' header to specify we want to receive UTF-8 encoded data from the Twilio API. Remove unused XML parsing logic, as the library never requests XML data.
Released on March 14, 2012
- If no version is passed to the Services_Twilio constructor, the library will default to the most recent API version.