Skip to content

Commit 946e996

Browse files
authored
docs: Add upgrade guide for 8.0.0-rc (#675)
* Adding 8.0.0-rc upgrade guide * Make headings bold
1 parent eb16f43 commit 946e996

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

UPGRADE.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,51 @@
33
_`MAJOR` version bumps will have upgrade notes
44
posted here._
55

6+
[2023-03-22] 7.x.x to 8.x.x
7+
---------------------------
8+
9+
- **Supported Python versions updated**
10+
- Dropped support for Python 3.6 (https://github.com/twilio/twilio-python/pull/632)
11+
- Python 3.7 is the new required minimum version to use twilio-python helper library
12+
- **Deletion of TwiML Voice Deprecated Methods (https://github.com/twilio/twilio-python/pull/643)**
13+
- `Refer.refer_sip()` replaced by `Refer.sip()`
14+
- `ssml_break()` replaced by `break_()`
15+
- `ssml_emphasis()` replaced by `emphasis()`
16+
- `ssml_lang()` replaced by `lang()`
17+
- `ssml_p()` replaced by `p()`
18+
- `ssml_phoneme()` replaced by `phoneme()`
19+
- `ssml_prosody()` replaced by `prosody()`
20+
- `ssml_s()` replaced by `s()`
21+
- `ssml_say_as()` replaced by `say_as()`
22+
- `ssml_sub()` replaced by `sub()`
23+
- `ssml_w()` replaced by `w()`
24+
- **Old:**
25+
```python
26+
from twilio.twiml.voice_response import VoiceResponse
27+
resp = VoiceResponse()
28+
say = resp.say("Hello")
29+
say.ssml_emphasis("you")
30+
```
31+
- **New:**
32+
```python
33+
from twilio.twiml.voice_response import VoiceResponse
34+
resp = VoiceResponse()
35+
say = resp.say("Hello")
36+
say.emphasis("you")
37+
```
38+
- **JWT token building deprecations (https://github.com/twilio/twilio-python/pull/644)**
39+
- `ConversationsGrant` has been deprecated in favor of `VoiceGrant`
40+
- `IpMessagingGrant` has been removed
41+
- `twilio.rest.api.v2010.account.available_phone_number` has been renamed to `twilio.rest.api.v2010.account.available_phone_number_country`
42+
- **[TaskRouter Workers Statistics](https://www.twilio.com/docs/taskrouter/api/worker/statistics) operations updated (https://github.com/twilio/twilio-python/pull/653)**
43+
- Cumulative and Real-Time Workers Statistics no longer accept a WorkerSid
44+
- `GET /v1/Workspaces/{WorkspaceSid}/Workers/CumulativeStatistics`
45+
- Old: `client.taskrouter.v1.workspaces('WS...').workers('WK...).cumulativeStatistics()`
46+
- New: `client.taskrouter.v1.workspaces('WS...').workers.cumulativeStatistics()`
47+
- `GET /v1/Workspaces/{WorkspaceSid}/Workers/RealTimeStatistics`
48+
- Old: `client.taskrouter.v1.workspaces('WS...').workers('WK...).realTimeStatistics()`
49+
- New: `client.taskrouter.v1.workspaces('WS...').workers.realTimeStatistics()`
50+
651
[2021-09-22] 6.x.x to 7.x.x
752
---------------------------
853
### Overview

0 commit comments

Comments
 (0)