Skip to content

Commit 9cd9b86

Browse files
stainless-app[bot]meorphisjsanford8
authored
release: 11.1.0 (#583)
* chore(ci): add timeout thresholds for CI jobs * chore(ci): run on more branches and use depot runners * feat: add cursor pagination (#330) * chore(ci): only use depot for staging repos * docs: Document max length for srt_passphrase and stream_key (#344) * feat(api): Config update for Dashron/dev * chore: fix docs build by adding Annotations to the tag groups (#345) * chore: fix nesting of annotation_id for docs (#346) * docs(readme): fix typo * fix: add timeframe to annotations (#349) * chore(internal): restore custom code * fix: fix delete annotation example (#350) * chore(docs): add missing deprecation warnings * chore(ci): bump node version for release workflows * docs: add examples to tsdocs * feat(api): expose annotations APIs and additional static_rendition APIs * release: 11.1.0 * update changelog --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: meorphis <[email protected]> Co-authored-by: Justin Sanford <[email protected]>
1 parent b0afeef commit 9cd9b86

36 files changed

+1545
-36
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
name: CI
22
on:
33
push:
4-
branches:
5-
- master
6-
pull_request:
7-
branches:
8-
- master
9-
- next
4+
branches-ignore:
5+
- 'generated'
6+
- 'codegen/**'
7+
- 'integrated/**'
8+
- 'stl-preview-head/**'
9+
- 'stl-preview-base/**'
1010

1111
jobs:
1212
lint:
13+
timeout-minutes: 10
1314
name: lint
14-
runs-on: ubuntu-latest
15+
runs-on: ${{ github.repository == 'stainless-sdks/mux-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
1516
steps:
1617
- uses: actions/checkout@v4
1718

@@ -27,8 +28,9 @@ jobs:
2728
run: ./scripts/lint
2829

2930
build:
31+
timeout-minutes: 5
3032
name: build
31-
runs-on: ubuntu-latest
33+
runs-on: ${{ github.repository == 'stainless-sdks/mux-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
3234
permissions:
3335
contents: read
3436
id-token: write
@@ -61,15 +63,16 @@ jobs:
6163
SHA: ${{ github.sha }}
6264
run: ./scripts/utils/upload-artifact.sh
6365
test:
66+
timeout-minutes: 10
6467
name: test
65-
runs-on: ubuntu-latest
68+
runs-on: ${{ github.repository == 'stainless-sdks/mux-node' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
6669
steps:
6770
- uses: actions/checkout@v4
6871

6972
- name: Set up Node
7073
uses: actions/setup-node@v4
7174
with:
72-
node-version: '18'
75+
node-version: '20'
7376

7477
- name: Bootstrap
7578
run: ./scripts/bootstrap

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Node
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: '18'
22+
node-version: '20'
2323

2424
- name: Install dependencies
2525
run: |

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "11.0.2"
2+
".": "11.1.0"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 88
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-7f3ef26966f06eab76abd513d5654c7059b84e47125b834fa8073d46ff005eb3.yml
3-
openapi_spec_hash: 648e3026f149d4a0291ee04915e26aea
4-
config_hash: f941b9f1f7c0d16e4e150799bd13f5b1
1+
configured_endpoints: 97
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-fe7095c6cd410ecd391f6810083a35d9411a2d9772042eaefed534fd51cd9599.yml
3+
openapi_spec_hash: 104a03331ba4c7f753f583fdb852de11
4+
config_hash: 1ca6806e9f62696760dac4321fce849b

CHANGELOG.md

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

3+
## 11.1.0 (2025-05-09)
4+
5+
Full Changelog: [v11.0.2...v11.1.0](https://github.com/muxinc/mux-node-sdk/compare/v11.0.2...v11.1.0)
6+
7+
### Features
8+
9+
* add cursor pagination for listing assets ([#330](https://github.com/muxinc/mux-node-sdk/issues/330)) ([9602721](https://github.com/muxinc/mux-node-sdk/commit/9602721156971e6491be468c01e95bfaef2961ee))
10+
* **api:** Config update for Dashron/dev ([dd9c399](https://github.com/muxinc/mux-node-sdk/commit/dd9c399153b074a9fe2ecd28324494164869b232))
11+
* **api:** expose annotations APIs and additional static_rendition APIs ([6f82e92](https://github.com/muxinc/mux-node-sdk/commit/6f82e924b5b7d8c26eff7c696d961c7a0622994a))
12+
13+
14+
### Bug Fixes
15+
16+
* add timeframe to annotations ([#349](https://github.com/muxinc/mux-node-sdk/issues/349)) ([6ad1698](https://github.com/muxinc/mux-node-sdk/commit/6ad16987dd017b7193807335da1330793a1c8b82))
17+
* fix delete annotation example ([#350](https://github.com/muxinc/mux-node-sdk/issues/350)) ([8582caf](https://github.com/muxinc/mux-node-sdk/commit/8582cafafea199b240eb7b42ea41f69caa8f1310))
18+
19+
20+
### Chores
21+
22+
* **ci:** add timeout thresholds for CI jobs ([a16f2f5](https://github.com/muxinc/mux-node-sdk/commit/a16f2f583e76462014b18964c8b740a1d5ca0f1f))
23+
* **ci:** bump node version for release workflows ([1c2612a](https://github.com/muxinc/mux-node-sdk/commit/1c2612a62927d850da73a80d6c1af5feb9d66074))
24+
* **ci:** only use depot for staging repos ([036fb4a](https://github.com/muxinc/mux-node-sdk/commit/036fb4a71a13dcc082292a1b9a0c7d63e14da3ad))
25+
* **ci:** run on more branches and use depot runners ([4edb8f1](https://github.com/muxinc/mux-node-sdk/commit/4edb8f15bbab7dfb5ae88cd02619580c8dbb693c))
26+
* **docs:** add missing deprecation warnings ([599d3b9](https://github.com/muxinc/mux-node-sdk/commit/599d3b9db55e8f12b99809f13ffc6603568932c6))
27+
* fix docs build by adding Annotations to the tag groups ([#345](https://github.com/muxinc/mux-node-sdk/issues/345)) ([e3c9cd5](https://github.com/muxinc/mux-node-sdk/commit/e3c9cd51968df3fe30213f11fb6bd347e6aba84a))
28+
* fix nesting of annotation_id for docs ([#346](https://github.com/muxinc/mux-node-sdk/issues/346)) ([d782348](https://github.com/muxinc/mux-node-sdk/commit/d7823486342f2d07cfbc34521b0b234b13e0e107))
29+
* **internal:** restore custom code ([e8e3334](https://github.com/muxinc/mux-node-sdk/commit/e8e3334c5838fb5bc3797ad775c9509ac04b7a64))
30+
31+
32+
### Documentation
33+
34+
* add examples to tsdocs ([034fd66](https://github.com/muxinc/mux-node-sdk/commit/034fd666fabf9e35285777392ab417385a2eba5f))
35+
* Document max length for srt_passphrase and stream_key ([#344](https://github.com/muxinc/mux-node-sdk/issues/344)) ([0c33d5e](https://github.com/muxinc/mux-node-sdk/commit/0c33d5e1ccd8a299e03c0a89c4f7160b52f5f6a7))
36+
* **readme:** fix typo ([78b5b43](https://github.com/muxinc/mux-node-sdk/commit/78b5b43ebd2fefdd6c5f86cf92d27218570dd0f5))
37+
338
## 11.0.2 (2025-04-14)
439

540
Full Changelog: [v11.0.1...v11.0.2](https://github.com/muxinc/mux-node-sdk/compare/v11.0.1...v11.0.2)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ async function main() {
300300
main();
301301
```
302302

303-
Error codes are as followed:
303+
Error codes are as follows:
304304

305305
| Status Code | Error Type |
306306
| ----------- | -------------------------- |

api.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Types:
1616
- <code><a href="./src/resources/video/assets.ts">AssetResponse</a></code>
1717
- <code><a href="./src/resources/video/assets.ts">InputInfo</a></code>
1818
- <code><a href="./src/resources/video/assets.ts">Track</a></code>
19+
- <code><a href="./src/resources/video/assets.ts">AssetCreateStaticRenditionResponse</a></code>
1920
- <code><a href="./src/resources/video/assets.ts">AssetGenerateSubtitlesResponse</a></code>
2021
- <code><a href="./src/resources/video/assets.ts">AssetRetrieveInputInfoResponse</a></code>
2122

@@ -27,8 +28,10 @@ Methods:
2728
- <code title="get /video/v1/assets">client.video.assets.<a href="./src/resources/video/assets.ts">list</a>({ ...params }) -> AssetsBasePage</code>
2829
- <code title="delete /video/v1/assets/{ASSET_ID}">client.video.assets.<a href="./src/resources/video/assets.ts">delete</a>(assetId) -> void</code>
2930
- <code title="post /video/v1/assets/{ASSET_ID}/playback-ids">client.video.assets.<a href="./src/resources/video/assets.ts">createPlaybackId</a>(assetId, { ...params }) -> PlaybackID</code>
31+
- <code title="post /video/v1/assets/{ASSET_ID}/static-renditions">client.video.assets.<a href="./src/resources/video/assets.ts">createStaticRendition</a>(assetId, { ...params }) -> AssetCreateStaticRenditionResponse</code>
3032
- <code title="post /video/v1/assets/{ASSET_ID}/tracks">client.video.assets.<a href="./src/resources/video/assets.ts">createTrack</a>(assetId, { ...params }) -> Track</code>
3133
- <code title="delete /video/v1/assets/{ASSET_ID}/playback-ids/{PLAYBACK_ID}">client.video.assets.<a href="./src/resources/video/assets.ts">deletePlaybackId</a>(assetId, playbackId) -> void</code>
34+
- <code title="delete /video/v1/assets/{ASSET_ID}/static-renditions/{STATIC_RENDITION_ID}">client.video.assets.<a href="./src/resources/video/assets.ts">deleteStaticRendition</a>(assetId, staticRenditionId) -> void</code>
3235
- <code title="delete /video/v1/assets/{ASSET_ID}/tracks/{TRACK_ID}">client.video.assets.<a href="./src/resources/video/assets.ts">deleteTrack</a>(assetId, trackId) -> void</code>
3336
- <code title="post /video/v1/assets/{ASSET_ID}/tracks/{TRACK_ID}/generate-subtitles">client.video.assets.<a href="./src/resources/video/assets.ts">generateSubtitles</a>(assetId, trackId, { ...params }) -> AssetGenerateSubtitlesResponse</code>
3437
- <code title="get /video/v1/assets/{ASSET_ID}/input-info">client.video.assets.<a href="./src/resources/video/assets.ts">retrieveInputInfo</a>(assetId) -> AssetRetrieveInputInfoResponse</code>
@@ -63,6 +66,7 @@ Methods:
6366
- <code title="put /video/v1/live-streams/{LIVE_STREAM_ID}/complete">client.video.liveStreams.<a href="./src/resources/video/live-streams.ts">complete</a>(liveStreamId) -> void</code>
6467
- <code title="post /video/v1/live-streams/{LIVE_STREAM_ID}/playback-ids">client.video.liveStreams.<a href="./src/resources/video/live-streams.ts">createPlaybackId</a>(liveStreamId, { ...params }) -> PlaybackID</code>
6568
- <code title="post /video/v1/live-streams/{LIVE_STREAM_ID}/simulcast-targets">client.video.liveStreams.<a href="./src/resources/video/live-streams.ts">createSimulcastTarget</a>(liveStreamId, { ...params }) -> SimulcastTarget</code>
69+
- <code title="delete /video/v1/live-streams/{LIVE_STREAM_ID}/new-asset-settings/static-renditions">client.video.liveStreams.<a href="./src/resources/video/live-streams.ts">deleteNewAssetSettingsStaticRenditions</a>(liveStreamId) -> void</code>
6670
- <code title="delete /video/v1/live-streams/{LIVE_STREAM_ID}/playback-ids/{PLAYBACK_ID}">client.video.liveStreams.<a href="./src/resources/video/live-streams.ts">deletePlaybackId</a>(liveStreamId, playbackId) -> void</code>
6771
- <code title="delete /video/v1/live-streams/{LIVE_STREAM_ID}/simulcast-targets/{SIMULCAST_TARGET_ID}">client.video.liveStreams.<a href="./src/resources/video/live-streams.ts">deleteSimulcastTarget</a>(liveStreamId, simulcastTargetId) -> void</code>
6872
- <code title="put /video/v1/live-streams/{LIVE_STREAM_ID}/disable">client.video.liveStreams.<a href="./src/resources/video/live-streams.ts">disable</a>(liveStreamId) -> void</code>
@@ -72,6 +76,7 @@ Methods:
7276
- <code title="get /video/v1/live-streams/{LIVE_STREAM_ID}/simulcast-targets/{SIMULCAST_TARGET_ID}">client.video.liveStreams.<a href="./src/resources/video/live-streams.ts">retrieveSimulcastTarget</a>(liveStreamId, simulcastTargetId) -> SimulcastTarget</code>
7377
- <code title="put /video/v1/live-streams/{LIVE_STREAM_ID}/embedded-subtitles">client.video.liveStreams.<a href="./src/resources/video/live-streams.ts">updateEmbeddedSubtitles</a>(liveStreamId, { ...params }) -> LiveStream</code>
7478
- <code title="put /video/v1/live-streams/{LIVE_STREAM_ID}/generated-subtitles">client.video.liveStreams.<a href="./src/resources/video/live-streams.ts">updateGeneratedSubtitles</a>(liveStreamId, { ...params }) -> LiveStream</code>
79+
- <code title="put /video/v1/live-streams/{LIVE_STREAM_ID}/new-asset-settings/static-renditions">client.video.liveStreams.<a href="./src/resources/video/live-streams.ts">updateNewAssetSettingsStaticRenditions</a>(liveStreamId, { ...params }) -> LiveStream</code>
7580

7681
## PlaybackIDs
7782

@@ -297,6 +302,23 @@ Methods:
297302
- <code title="get /data/v1/video-views/{VIDEO_VIEW_ID}">client.data.videoViews.<a href="./src/resources/data/video-views.ts">retrieve</a>(videoViewId) -> VideoViewResponse</code>
298303
- <code title="get /data/v1/video-views">client.data.videoViews.<a href="./src/resources/data/video-views.ts">list</a>({ ...params }) -> AbridgedVideoViewsBasePage</code>
299304

305+
## Annotations
306+
307+
Types:
308+
309+
- <code><a href="./src/resources/data/annotations.ts">Annotation</a></code>
310+
- <code><a href="./src/resources/data/annotations.ts">AnnotationInput</a></code>
311+
- <code><a href="./src/resources/data/annotations.ts">AnnotationResponse</a></code>
312+
- <code><a href="./src/resources/data/annotations.ts">ListAnnotationsResponse</a></code>
313+
314+
Methods:
315+
316+
- <code title="post /data/v1/annotations">client.data.annotations.<a href="./src/resources/data/annotations.ts">create</a>({ ...params }) -> Annotation</code>
317+
- <code title="get /data/v1/annotations/{ANNOTATION_ID}">client.data.annotations.<a href="./src/resources/data/annotations.ts">retrieve</a>(annotationId) -> Annotation</code>
318+
- <code title="patch /data/v1/annotations/{ANNOTATION_ID}">client.data.annotations.<a href="./src/resources/data/annotations.ts">update</a>(annotationId, { ...params }) -> Annotation</code>
319+
- <code title="get /data/v1/annotations">client.data.annotations.<a href="./src/resources/data/annotations.ts">list</a>({ ...params }) -> AnnotationsBasePage</code>
320+
- <code title="delete /data/v1/annotations/{ANNOTATION_ID}">client.data.annotations.<a href="./src/resources/data/annotations.ts">delete</a>(annotationId) -> void</code>
321+
300322
# System
301323

302324
## SigningKeys

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": "11.0.2",
3+
"version": "11.1.0",
44
"description": "The official TypeScript library for the Mux API",
55
"author": "Mux <[email protected]>",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)