Here you can see the full list of changes between each twilio-python release.
Chat
- Add Binding resource
- Add UserBinding resource
Library
- #394 Update request validator to remove port numbers from https urls. Thanks @Brodan!
- #385 Add request logging and hooking. Thanks @tysonholub!
Api
- Add
address_sidparam to IncomingPhoneNumbers create and update - Add 'fax_enabled' option for Phone Number Search
Api
- Add
smart_encodedparam for Messages - Add
identity_sidparam 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_addressto sim resource
Twiml
- Rename
numbertophone_numberin Voice Number TwiML. (breaking change) - Rename
messagetobodyin Messaging TwiML. (breaking change)
Preview
- Add
acc_security(authy-phone-verification) initial api-definitions
Taskrouter
- [bi] Less verbose naming of cumulative and real time statistics
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
bodyan optional parameter on Message creation. (breaking change)
Notify
data,apn,gcm,fcm,smsparameters inNotificationscreate resource are dicts/objects instead of strings. Passing manually stringified json 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_registrationproperty on SIP Domains - Add new video and market usage category keys
- Added last_response and last_request to http_client
Sync
- Add support for Streams
Wireless
- Added DataSessions sub-resource to Sims.
Library
- Allow creating AccessTokens/Jwts without generating
nbf. PassingNonein the constructor will removenbffrom jwt payload.
Api
- Update
statusenum for Recordings to include 'failed' - Add
error_codeproperty on Recordings
Chat
- Add mutable parameters for channel, members and messages
Video
- New
media_regionparameter when creating a room, which controls which region media will be served out of.
Twiml
- Add support for
speech_timeout,max_speech_time, andprofanity_filterattributes on Gather verb.
Library
- Remove bundled certificates, use
certifipackage viarequests. - Add option to use connection pooling. This is enabled by default and will use one Session for all requests
in Client.
- To disable this, pass
pool_connectionsparameter when creating your Twilio client.
- To disable this, pass
from twilio.rest import Client
from twilio.http.http_client import TwilioHttpClient
client = Client(
username,
password,
http_client=TwilioHttpClient(pool_connections=False)
)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
Fixed PyJWT >= 1.5.1 exception
Api
- Add New wireless usage keys added
- Add
auto_correct_addressparam for Addresses create and update - Add ChatGrant grant and deprecate IpMessagingGrant
Video
- Add
video_codecenum andvideo_codecsparameter, which can be set to eitherVP8orH264during 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_typeproperty on Recordings (breaking change) - Update
statusenum for Messages to include 'accepted'
Messaging
- Fix incorrectly typed capabilities property for PhoneNumbers.
Notify
- Add
ToBindingoptional parameter on Notifications resource creation. Accepted values are json strings.
Preview
- Add
sms_application_sidto HostedNumberOrders.
Taskrouter
- Fully support conference functionality in reservations.
Api
- Update
AnnounceMethodparameter naming for consistency
Notify
- Add
ToBindingoptional parameter on Notifications resource creation. Accepted values are json strings.
Preview
- Add
verification_attemptsto HostedNumberOrders. - Add
status_callback_urlandstatus_callback_methodto HostedNumberOrders.
Video
- Filter recordings by date using the parameters
DateCreatedAfterandDateCreatedBefore. - Override the default time-to-live of a recording's media URL through the
Ttlparameter (in seconds, default value is 3600). - Add query parameters
SourceSid,Status,DateCreatedAfterandDateCreatedBeforeto the convenience method for retrieving Room recordings.
Wireless
- Added national and international data limits to the RatePlans resource.
- Pin PyJWT to below version
1.5.1to fix broken build. - Fix json load error for python 3.3 - 3.5
- Add several missing
<Gather>attributes.partial_result_callbackpartial_result_callback_methodlanguagehintsbarge_inacknowledge_sound_urlinput
- Remove client-side max page size validation.
- Support
announce_urlandannounce_url_methodon Conference Participants. - TwiML docstring corrections.
- Remove support for Python 2.6.
- Add
localityfield toAvailablePhoneNumbers. - Add
originfield toIncomingPhoneNumbers. - Add
in_localityparameter toAvailablePhoneNumbers. - Add
originparameter toIncomingPhoneNumbers. - Add new sync categories to
UsageRecords. - Support unicode in
validation_client. - Add
mutedparameter to<Conference>Twiml.
- Rename RoomList to RoomRecordingsList.
- Add video domain.
- Update usage record categories.
- Add
get_pagemethod for reentrant paging.
- Allow *kwargs in TwiML Gather
- Add Task verb to VoiceResponse
- Add Echo verb to VoiceResponse
- Add Sim verb to VoiceResponse
- Add v2 of chat.twilio.com.
- Add
recording_channelsparameter to Participant create and update. - Add
recording_status_callbackparameter to Participant create and update. - Add
recording_status_callback_methodparameter to Participant create and update. - Add
sip_auth_usernameparameter to Participant create and update. - Add
regionparameter to Participant create and update. - Add
conference_recording_status_callbackparameter to Participant create and update. - Add
conference_recording_status_callback_methodparameter to Participant create and update. - Add
validity_periodparameter to Messages.
New Major Version
The newest version of the twilio-python helper library!
This version brings a host of changes to update and modernize the twilio-python helper library. It is auto-generated to produce a more consistent and correct product.
Released May 19, 2015:
- Add support for the beta field to IncomingPhoneNumbers and AvailablePhoneNumbers
Released May 14, 2015:
- Add support for Call Status Events in TwiML
Released May 7, 2015:
- Add support for the Twilio Monitor APIs: Events and Alerts
Released May 6, 2015:
- Add support for the Twilio Pricing API
Released April 16, 2015:
- Remove the deprecated count function from ListResource
Released March 31, 2015:
- Support for the new Twilio Lookups API
Released March 10, 2015:
- Add missing docstrings and examples for TaskRouter
Released February 24, 2015:
- Restore Tokens resource to TwilioRestClient
Released February 20, 2015:
- Restore Python 2.6 and 3.x support
Released February 18, 2015:
- Add TaskRouterClient and resources to support the new TaskRouter API
- Stop prepending numeric error code to exception error messages
Released January 14, 2015
- Update request construction for Tokens
Released December 22, 2014
- Specify Python 3 dependencies in wheel package
Released November 24, 2014
- Fix compatibility issue for Python 3.4
Released November 21, 2014
- Add support for the new Tokens endpoint
Released November 13, 2014
- Add support for DELETE to Call and Message records
- Add support for redacting Message body fields
Released October 30, 2014
- Add Python 3.4 support
- Add wheel packaging
- Fix compatibility with earlier Python 2 releases
Released October 9, 2014
- Remove unneeded unittest2py3k dependency.
- Restore backwards-compatible exception import paths.
Released August 6, 2014
- Fix Python 2.5 compatibility.
- Add CallFeedback resources.
- Typo fixes and formatting cleanup.
- Refactor exception hierarchy and imports.
- Documentation improvements.
Released on February 27, 2014
- Previously the error message was set based on the
ttyvalue; instead now we detectttywhen you try to print the error message. Themsgproperty of the exception is set to a decent value. twilio-pythonnow uses entirely relative imports, so it may be easier to include it as a part of another package.
- Remove unittest2 dependency.
- Tests no longer run against Python 2.5.
- update(), delete() work on Application, Transcription and UsageTrigger instance classes.
Released November 5, 2013
- Adds support for the 'digits' attribute of Play verbs in TwiML creation.
- Updates documentation for Message TwiML verb
- Bugfix for tty detection in error formatting
Released October 21, 2013
-
Adds support for filtering by type to IncomingPhoneNumbers.
-
Adds support for filtering for mobile numbers to both IncomingPhoneNumbers and AvailablePhoneNumbers.
Released on September 24, 2013
- Adds support for HTTP and SOCKS4/5 proxies to the REST client.
Released on September 18, 2013
- Adds support for the new Message and SIP resources to the REST API client.
- Adds support for the new Message verb to the TwiML generator.
Released on September 6, 2013
- twilio-python now includes an SSL certfication file to ensure that connections to api.twilio.com don't fail with SSLError.
Released on August 26, 2013
- You can now delete transcriptions
Released on May 21, 2013
- Fixes an issue in the 3.5.0 release where null dates would cause the library to raise a TypeError.
Released on May 21, 2013
date_createdanddate_updatedobjects are now returned as Pythondatetime.datetimeobjects instead of as RFC 2822 formatted strings. This is a backwards incompatible change. (via @abrinsmead)- The library will not throw a UnicodeDecodeError when parsing API responses with Python 3.
- You can pass integers to Twiml arguments. (via @jvankoten)
- Ensuring the tests always pass on Python 3. (via @ftobia)
- Add the list of AUTHORS
- Fixes a timing attack vector in signature validation. (via @zacharyvoase)
Released on April 1, 2013
Allow the Account object to access usage records and usage trigger data, in addition to the client. Reporter: Trenton McManus
Adds support for Sip
Adds correct dependencies to the setup.py file.
Released on January 2, 2013
Adds a convenience function to retrieve the members of a queue by running client.members("QU123").
Python3 support!
- Fix a bug where participants could not be kicked from a Conference
- Add support for Queue. Fix a bug where the library wouldn't work in Python 2.5
- Fix an error introduced in 3.3.7 that prevented validation calls from succeeding.
- Use next_page_uri when iterating over a list resource
- Allow arbitrary keyword arguments on resource creation and listing
- Remove doc/tmp directory which was preventing installation on certain Windows machines
- Add Travis CI integration
- Update httplib2 dependency
Released on January 18, 2011
- Fix a bug with the deprecated
TwilioRestClient.requestmethod - Fix a bug in filtering SMS messages by DateSent
Released on December 16, 2011
- Allow both unicode strings and encoded byte strings in request data
- Add support for SMS and Voice application sids to phone number updating
- Fix documentation error relating to phone number purchasing
- Include doc string information for decorated functions
Released on November 3, 2011
- Support unicode characters when validating requests
- Add support for Great Britain language on the Say verb
- Set Sms Application, Voice Application, and/or a Friendly Name when purchasing a number
- Add missing parameters for resource creation and update
Released on September 29, 2011
- TwiML verbs can now be used as context managers
Released on September 27, 2011
- Allow phone numbers to be transferred between accounts and subaccounts
Released on September 21, 2011
- Add support for Twilio Connect. Connect applications and authorized Connect applications are now availble via the REST client.
- Fix a problem where date and datetimes weren't coverted to strings when querying list resources