Skip to content

3.0.0

Choose a tag to compare

@github-actions github-actions released this 30 Jul 09:08
ac0742b

Caution

BREAKING CHANGES

This release contains many breaking changes, including a complete rewrite of the VOTClient class. The new architecture is based on separate Providers, allowing for easier extension and customization. Additionally, the vot-backend support is being dropped.

Shared across of Core, Node, Ext

  • [!] Drop vot-backend provider support. Now, lib will try to translate .m3u8 files directly
  • [!] Drop incestflix service support
  • [!] Reworked logic of VOTClient class. Now, all logic based in separated Providers and you can easy add your own provider for any service
  • [!] Removed VOTWorkerClient class. Use VOTClient with provider: VOTWorkerProvider instead
  • [!] Removed MinimalClient class
  • [!] Now, only translateVideo, translateStream and getSubtitles available as public methods in VOTClient. All other specific methods moved to Providers and you can use them directly from provider instance, e.g. client.provider.translateVideoCache(...)
  • [!] Drop built-in typebox types
  • Added support for Wistia Embed (https://fast.wistia.net/embed/iframe/XXX)
  • Fixed Vimeo embed with app_id query param
  • Fixed missing extraOpts field in retry request translateVideo after AUDIO_REQUESTED
  • Improved raw .mp3 / .webm link matching (fixed voice-over-translation#1384)

Shared

  • [!] Reworked logic of fetchWithTimeout to use modern AbortSignal API instead of timeouts
  • Bump componentVersion value and sec-ch-ua-full-version-list header

Workspace

  • Bump dev depends

* this version also available as 2.5.0 in npm registry (my mistake)

Full Changelog: 2.4.20...3.0.0