8000 Update changelog and upgrade guide for 6.7.0 · BioComputing/twilio-python@0b1d9b0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0b1d9b0

Browse files
committed
Update changelog and upgrade guide for 6.7.0
1 parent d1c7804 commit 0b1d9b0

File tree

2 files changed

+26
-4
lines changed

2 files changed

+26
-4
lines changed

CHANGES.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,16 @@ Here you can see the full list of changes between each twilio-python release.
55

66
[2017-09-28] Version 6.7.0
77
---------------------------
8-
**Api**
9-
- [omit] Added hidden fields for SMS experimentation
10-
118
**Chat**
129
- Make member accessible through identity
1310
- Make channel subresources accessible by channel unique name
1411
- Set get list 'max_page_size' parameter to 100
1512
- Add service instance webhook retry configuration
1613
- Add media message capability
14+
- Make `body` an optional parameter on Message creation. *(breaking change)*
1715

1816
**Notify**
19-
- `data`, `apn`, `gcm`, `fcm`, `sms` parameters in `Notifications` create resource are objects instead of strings. *(breaking change)*
17+
- `data`, `apn`, `gcm`, `fcm`, `sms` parameters in `Notifications` create resource are dicts/objects instead of strings. Passing manually stringified json will continue to work.
2018

2119
**Taskrouter**
2220
- Add new query ability by TaskChannelSid or TaskChannelUniqueName

UPGRADE.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,27 @@
22

33
_After `6.0.0` all `MINOR` and `MAJOR` version bumps will have upgrade notes
44
posted here._
5+
6+
[2017-09-28] 6.6.x to 6.7.x
7+
---------------------------
8+
9+
### CHANGED - `Body` parameter on Chat `Message` creation is no longer required.
10+
11+
#### Rationale
12+
This was changed to add support for sending media in Chat messages, users can now either provide a `body` or a `media_sid`.
13+
14+
#### 6.6.x
15+
```python
16+
from twilio.rest import Client
17+
18+
client = Client('AC123', 'auth')
19+
client.chat.v2.services('IS123').channels('CH123').messages.create("this is the body")
20+
```
21+
22+
#### 6.7.x
23+
```python
24+
from twilio.rest import Client
25+
26+
client = Client('AC123', 'auth')
27+
client.chat.v2.services('IS123').channels('CH123').messages.create(body="this is the body")
28+
```

0 commit comments

Comments
 (0)
0