Skip to content

v8.0.0

Compare
Choose a tag to compare
@luwes luwes released this 08 Feb 00:17
· 86 commits to master since this release
432a33e

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