|
| 1 | +twilio-php Changelog |
| 2 | +==================== |
| 3 | + |
| 4 | +Version 3.12.4 |
| 5 | +-------------- |
| 6 | + |
| 7 | +Released on January 30, 2014 |
| 8 | + |
| 9 | +- Fix incorrect use of static:: which broke compatibility with PHP 5.2. |
| 10 | + |
| 11 | +Version 3.12.3 |
| 12 | +-------------- |
| 13 | + |
| 14 | +Released on January 28, 2014 |
| 15 | + |
| 16 | +- Add link from recordings to associated transcriptions. |
| 17 | +- Document how to debug requests, improve TwiML generation docs. |
| 18 | + |
| 19 | +Version 3.12.2 |
| 20 | +-------------- |
| 21 | + |
| 22 | +Released on January 5, 2014 |
| 23 | + |
| 24 | +- Fixes string representation of resources |
| 25 | +- Support PHP 5.5 |
| 26 | + |
| 27 | +Version 3.12.1 |
| 28 | +-------------- |
| 29 | + |
| 30 | +Released on October 21, 2013 |
| 31 | + |
| 32 | +- Add support for filtering by type for IncomingPhoneNumbers. |
| 33 | +- Add support for searching for mobile numbers for both |
| 34 | +IncomingPhoneNumbers and AvailablePhoneNumbers. |
| 35 | + |
| 36 | +Version 3.12.0 |
| 37 | +-------------- |
| 38 | + |
| 39 | +Released on September 18, 2013 |
| 40 | + |
| 41 | +- Support MMS |
| 42 | +- Support SIP In |
| 43 | +- $params arrays will now turn lists into multiple HTTP keys with the same name, |
| 44 | + |
| 45 | + array("Twilio" => array('foo', 'bar')) |
| 46 | + |
| 47 | + will turn into Twilio=foo&Twilio=bar when sent to the API. |
| 48 | + |
| 49 | +- Update the documentation to use php-autodoc and Sphinx. |
| 50 | + |
| 51 | +Version 3.11.0 |
| 52 | +-------------- |
| 53 | + |
| 54 | +Released on June 13 |
| 55 | + |
| 56 | +- Support Streams when curl is not available for PHP installations |
| 57 | + |
| 58 | +Version 3.10.0 |
| 59 | +-------------- |
| 60 | + |
| 61 | +Released on February 2, 2013 |
| 62 | + |
| 63 | +- Uses the [HTTP status code for error reporting][http], instead of the |
| 64 | +`status` attribute of the JSON response. (Reporter: [Ruud Kamphuis](/ruudk)) |
| 65 | + |
| 66 | +[http]: https://github.com/twilio/twilio-php/pull/116 |
| 67 | + |
| 68 | +Version 3.9.1 |
| 69 | +------------- |
| 70 | + |
| 71 | +Released on December 30, 2012 |
| 72 | + |
| 73 | +- Adds a `$last_response` parameter to the `$client` object that can be |
| 74 | +used to [retrieve the raw API response][last-response]. (Reporter: [David |
| 75 | +Jones](/dxjones)) |
| 76 | + |
| 77 | +[last-response]: https://github.com/twilio/twilio-php/pull/112/files |
| 78 | + |
| 79 | +Version 3.9.0 |
| 80 | +------------- |
| 81 | + |
| 82 | +Released on December 20, 2012 |
| 83 | + |
| 84 | +- [Fixes TwiML generation to handle non-ASCII characters properly][utf-8]. Note |
| 85 | + that as of version 3.9.0, **the library requires PHP version 5.2.3, at least |
| 86 | + for TwiML generation**. (Reporter: [Walker Hamilton](/walker)) |
| 87 | + |
| 88 | +[utf-8]: https://github.com/twilio/twilio-php/pull/111 |
| 89 | + |
| 90 | +Version 3.8.3 |
| 91 | +------------- |
| 92 | + |
| 93 | +Released on December 15, 2012 |
| 94 | + |
| 95 | +- [Fixes the ShortCode resource][shortcode] so it is queryable via the PHP library. |
| 96 | + |
| 97 | + [shortcode]: https://github.com/twilio/twilio-php/pull/108 |
| 98 | + |
| 99 | +Version 3.8.2 |
| 100 | +------------- |
| 101 | + |
| 102 | +Released on November 26, 2012 |
| 103 | + |
| 104 | +- Fixes an issue where you [could not iterate over the members in a |
| 105 | +queue][queue-members]. (Reporter: [Alex Chan](/alexcchan)) |
| 106 | + |
| 107 | +[queue-members]: https://github.com/twilio/twilio-php/pull/107 |
| 108 | + |
| 109 | +Version 3.8.1 |
| 110 | +------------- |
| 111 | + |
| 112 | +Released on November 23, 2012 |
| 113 | + |
| 114 | +- [Implements the Countable interface on the ListResource][countable], so you |
| 115 | + can call count() on any resource. |
| 116 | +- [Adds a convenience method for retrieving a phone number object][get-number], |
| 117 | + so you can retrieve all of a number's properties by its E.164 representation. |
| 118 | + |
| 119 | +Internally: |
| 120 | + |
| 121 | +- Adds [unit tests for url encoding of Unicode characters][unicode-tests]. |
| 122 | +- Updates [Travis CI configuration to use Composer][travis-composer], |
| 123 | +shortening build time from 83 seconds to 21 seconds. |
| 124 | + |
| 125 | +[countable]: https://twilio-php.readthedocs.org/en/latest/usage/rest.html#retrieving-the-total-number-of-resources |
| 126 | +[get-number]: https://twilio-php.readthedocs.org/en/latest/usage/rest/phonenumbers.html#retrieving-all-of-a-number-s-properties |
| 127 | +[unicode-tests]: https://github.com/twilio/twilio-php/commit/6f8aa57885796691858e460c8cea748e241c47e3 |
| 128 | +[travis-composer]: https://github.com/twilio/twilio-php/commit/a732358e90e1ae9a5a3348ad77dda8cc8b5ec6bc |
| 129 | + |
| 130 | +Version 3.8.0 |
| 131 | +------------- |
| 132 | + |
| 133 | +Released on October 17, 2012 |
| 134 | + |
| 135 | +- Support the new Usage API, with Usage Records and Usage Triggers. Read the |
| 136 | + PHP documentation for [usage records][records] or [usage triggers][triggers] |
| 137 | + |
| 138 | + [records]: https://twilio-php.readthedocs.org/en/latest/usage/rest/usage-records.html |
| 139 | + [triggers]: https://twilio-php.readthedocs.org/en/latest/usage/rest/usage-triggers.html |
| 140 | + |
| 141 | +Version 3.7.2 |
| 142 | +------------- |
| 143 | + |
| 144 | +- The library will now [use a standard CA cert whitelist][whitelist] for SSL |
| 145 | + validation, replacing a file that contained only Twilio's SSL certificate. |
| 146 | + (Reporter: [Andrew Benton](/andrewmbenton)) |
| 147 | + |
| 148 | + [whitelist]: https://github.com/twilio/twilio-php/issues/88 |
| 149 | + |
| 150 | +Version 3.7.1 |
| 151 | +------------- |
| 152 | + |
| 153 | +Released on August 16, 2012 |
| 154 | + |
| 155 | +- Fix a bug in the 3.5.0 release where [updating an instance |
| 156 | + resource would cause subsequent updates to request an incorrect |
| 157 | + URI](/twilio/twilio-php/pull/82). |
| 158 | + (Reporter: [Dan Bowen](/crucialwebstudio)) |
| 159 | + |
| 160 | +Version 3.7.0 |
| 161 | +------------- |
| 162 | + |
| 163 | +Released on August 6, 2012 |
| 164 | + |
| 165 | +- Add retry support for idempotent HTTP requests that result in a 500 server |
| 166 | + error (default is 1 attempt, however this can be configured). |
| 167 | +- Throw a Services_Twilio_RestException instead of a DomainException if the |
| 168 | + response content cannot be parsed as JSON (usually indicates a 500 error) |
| 169 | + |
| 170 | +Version 3.6.0 |
| 171 | +------------- |
| 172 | + |
| 173 | +Released on August 5, 2012 |
| 174 | + |
| 175 | +- Add support for Queues and Members. Includes tests and documentation for the |
| 176 | + new functionality. |
| 177 | + |
| 178 | +Version 3.5.2 |
| 179 | +------------- |
| 180 | + |
| 181 | +Released on July 23, 2012 |
| 182 | + |
| 183 | +- Fix an issue introduced in the 3.5.0 release where updating or muting |
| 184 | + a participant would [throw an exception instead of muting the |
| 185 | + participant][mute-request]. |
| 186 | + (Reporter: [Alex Chan](/alexcchan)) |
| 187 | + |
| 188 | +- Fix an issue introduced in the 3.5.0 release where [filtering an iterator |
| 189 | +with parameters would not work properly][paging-request] on subsequent HTTP |
| 190 | +requests. (Reporters: [Alex Chan](/alexcchan), Ivor O'Connor) |
| 191 | + |
| 192 | +[mute-request]: /twilio/twilio-php/pull/74 |
| 193 | +[paging-request]: /twilio/twilio-php/pull/75 |
| 194 | + |
| 195 | +Version 3.5.1 |
| 196 | +------------- |
| 197 | + |
| 198 | +Released on July 2, 2012 |
| 199 | + |
| 200 | +- Fix an issue introduced in the 3.5.0 release that would cause a second HTTP |
| 201 | +request for an instance resource [to request an incorrect URI][issue-71]. |
| 202 | + |
| 203 | +[issue-71]: https://github.com/twilio/twilio-php/pull/71 |
| 204 | + |
| 205 | +Version 3.5.0 |
| 206 | +------------- |
| 207 | + |
| 208 | +Released on June 30, 2012 |
| 209 | + |
| 210 | +- Support paging through resources using the `next_page_uri` parameter instead |
| 211 | +of manually constructing parameters using the `Page` and `PageSize` parameters. |
| 212 | +Specifically, this allows the library to use the `AfterSid` parameter, which |
| 213 | +leads to improved performance when paging deep into your resource list. |
| 214 | + |
| 215 | +This involved a major refactor of the library. The documented interface to |
| 216 | +twilio-php will not change. However, some undocumented public methods are no |
| 217 | +longer supported. Specifically, the following classes are no longer available: |
| 218 | + |
| 219 | +- `Services/Twilio/ArrayDataProxy.php` |
| 220 | +- `Services/Twilio/CachingDataProxy.php` |
| 221 | +- `Services/Twilio/DataProxy.php` |
| 222 | + |
| 223 | +In addition, the following public methods have been removed: |
| 224 | + |
| 225 | +- `setProxy`, in `Services/Twilio/InstanceResource.php` |
| 226 | +- `getSchema`, in `Services/Twilio/ListResource.php`, |
| 227 | + `Services/Twilio/Rest/AvailablePhoneNumbers.php`, |
| 228 | + `Services/Twilio/Rest/SMSMessages.php` |
| 229 | + |
| 230 | +- `retrieveData`, in `Services/Twilio/Resource.php` |
| 231 | +- `deleteData`, in `Services/Twilio/Resource.php` |
| 232 | +- `addSubresource`, in `Services/Twilio/Resource.php` |
| 233 | + |
| 234 | +Please check your own code for compatibility before upgrading. |
| 235 | + |
| 236 | +Version 3.3.2 |
| 237 | +------------- |
| 238 | + |
| 239 | +Released on May 3, 2012 |
| 240 | + |
| 241 | +- If you pass booleans in as TwiML (ex transcribe="true"), convert them to |
| 242 | + the strings "true" and "false" instead of outputting the incorrect values |
| 243 | + 1 and "". |
| 244 | + |
| 245 | +Version 3.3.1 |
| 246 | +------------- |
| 247 | + |
| 248 | +Released on May 1, 2012 |
| 249 | + |
| 250 | +- Use the 'Accept-Charset' header to specify we want to receive UTF-8 encoded |
| 251 | +data from the Twilio API. Remove unused XML parsing logic, as the library never |
| 252 | +requests XML data. |
| 253 | + |
| 254 | +Version 3.2.4 |
| 255 | +------------- |
| 256 | + |
| 257 | +Released on March 14, 2012 |
| 258 | + |
| 259 | +- If no version is passed to the Services_Twilio constructor, the library will |
| 260 | + default to the most recent API version. |
| 261 | + |
0 commit comments