Skip to content

Releases: muxinc/mux-node-sdk

v8.1.0

12 Mar 22:14
Compare
Choose a tag to compare

8.1.0 (2024-03-12)

Full Changelog: v8.0.0...v8.1.0

Features

Documentation

v8.0.0

08 Feb 00:17
432a33e
Compare
Choose a tag to compare

Upgrade guide: https://github.com/muxinc/mux-node-sdk/blob/master/UPGRADE_8.x.md
Announcement: #327

tldr;

  • Much better TypeScript support: previously this SDK was built in JS and to satisfy TS users we were maintaining types by hand. This was unsustainable and inevitably led to types being stale. A number of folks opened issues reporting wrong types and we had to keep playing whack-a-mole to patch those. That is no longer the case.
  • Support for new JS runtimes: We love that people want to use this SDK with Deno, Bun, Cloudflare Workers, Vercel Edge, etc. That's awesome! The problem was our JWT signing relied on node:crypto which is not available on those platforms. We've fix that.

Those are the 2 big things, but v8 also brings some other quality-of-life improvements like:

  • Configurable retries and timeouts
  • Auto-pagination with for await... of
  • Nice way to access raw response vs. the parsed response

v8.0.0-canary.5

05 Feb 19:16
25329ef
Compare
Choose a tag to compare
v8.0.0-canary.5 Pre-release
Pre-release

Bug Fixes

  • api: fix live_stream enum value on JWT DataTypeClaim (4da8547)

v8.0.0-canary.4

29 Jan 18:56
797e2d0
Compare
Choose a tag to compare
v8.0.0-canary.4 Pre-release
Pre-release

Bug Fixes

  • allow body type in RequestOptions to be null (57bd3b3)
  • types: accept undefined for optional client options (b02346a)
  • use Accept: */* as a default Header for void endpoints (baf0235)

7.3.5 new patch version on latest

11 Jan 19:39
d8ae305
Compare
Choose a tag to compare
  • You're not going to believe this, but it happened again. 7.3.5, 7.3.4 and 7.3.3 are all the same node SDK, just need to update the @latest channel where a beta from 8.0 got mistakenly published

7.3.4 new patch version on latest

11 Jan 19:28
512435c
Compare
Choose a tag to compare
  • Did a little boo-boo here and mistakenly published 8.0.0-canary.1 on the @latest channel
  • Need to over-ride that by getting a new release on @latest, so that's what is happening here
  • Sorry about that, but the good news is that also means we have a new SDK coming (w/ much better TypeScript support) in 8.0 so if you're interested in trying that it will be on beta channel under 8.0.0-canary-{n}

Updated types for encoding_tier, generated_subtitles and audio tracks

08 Nov 22:22
3b92e6b
Compare
Choose a tag to compare
  • Add TS types for encoding_tier, generated_subtitles and audio tracks

v7.3.2

25 Sep 17:29
8085d84
Compare
Choose a tag to compare
  • Add types for resolution_tier and max_resolution_tier #313

v7.3.1

27 Jul 17:38
b899a36
Compare
Choose a tag to compare

This release improves support for TypeScript 5 and its --moduleResolution bundler setting with a more-explicit typings in package.json

v7.3.0

26 Jan 17:46
eb44b17
Compare
Choose a tag to compare

This release adds support for the Data.Monitoring methods, and deprecates the Data.RealTime methods. See this changelog entry for more details about the change.