Skip to content

Commit 3f5b452

Browse files
committed
update changelog, update package.json version for a beta.0 release
1 parent 0110138 commit 3f5b452

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Changelog
22

3+
## 3.0.0
4+
5+
- Drop Node 8 support (this is no longer LTS and it is not recommended to use Node 8 in production)
6+
- Added types for Typescript support
7+
- Remove previously deprecated remove method ([use del instead](https://github.com/muxinc/mux-node-sdk/blob/master/CHANGELOG.md#soft-deprecations))
8+
- Remove erroneous requirement to pass in `viewer_id` param when getting a list of views
9+
- Change API response format for all `Mux.Data` responses (return the full response)
10+
11+
### Breaking Changes
12+
13+
- Drop Node 8 support
14+
15+
- Resuts for the `Data` class will no longer return the nested `data` key. They will return the full response
16+
17+
```javascript
18+
const Mux = require('@mux/mux-node');
19+
const { Data } = new Mux(accessToken, secret);
20+
21+
// version 2.x
22+
const dimensions = await Data.RealTime.dimensions()
23+
24+
25+
// version 3.x
26+
const { data: dimensions, timeframe, total_row_count } = await Data.RealTime.dimensions()
27+
```
28+
29+
**Note** this change only affects `Data`. If you are using `Video` the response format is unchanged.
30+
31+
If you are already using Node 10+, and you are not using `Data` then there are no breaking changes.
32+
33+
334
## 2.8.0
435

536
- Add asset mp4-support endpoint (view [docs](https://docs.mux.com/reference#update-mp4-support) for usage)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mux/mux-node",
3-
"version": "2.8.0",
3+
"version": "3.0.0-beta.0",
44
"description": "Mux API wrapper",
55
"keywords": [
66
"mux",

0 commit comments

Comments
 (0)