Full Changelog: v1.59.0...v2.0.0
SDK v2 release notes
This is a major version of the elevenlabs-js SDK that contains breaking changes. Please carefully read these release notes and contact support or create an issue if you run into problems.
A full upgrade guide is available in the wiki.
Added
- Request stitching has been made much easier by including the
withRawResponsechained method. Now you can easily retrieve data such as the request ID and character cost of a generation. - Webhook verification helper
Changed
- [breaking] Many method names have been changed to be more consistent. See the wiki linked above for the full list of changed methods.
- [breaking] All parameters and methods in the TypeScript SDK are now camel case instead of snake case.
- The package name has changed from
elevenlabsto@elevenlabs/elevenlabs-js. The old packageelevenlabshas been deprecated in npm.
Removed
- [breaking] The
generatemethod has been deprecated and removed in favor of the API counterparts. Please useelevenlabs.textToSpeech.convertinstead.