Repository navigation
v0.1.0
Pre-release
Pre-release
0.1.0
The 0.1.0 release moves the Models SDK onto Ably Pub/Sub v3. The Models SDK runs on end-user devices, so it now works with a client from @ably/pubsub-device, the Ably Pub/Sub package for browsers, mobile apps and other end-user runtimes. @ably/pubsub-device is a peer dependency, so you install it alongside @ably-labs/models.
Below is an overview of the major changes in this release.
Please refer to the upgrade guide for the full details, including a list of all breaking changes and instructions on how to address them.
Ably Pub/Sub v3
- The Models SDK no longer uses the
ablypackage. Create the Pub/Sub client you pass to the Models SDK withcreateClientfrom@ably/pubsub-deviceinstead ofnew Realtime().
Client API naming
ModelsClientis now an interface. Create clients with thecreateModelsClientfactory function instead ofnew ModelsClient(). The package no longer has a default export.- The
ablyoption is renamedpubsubClient. - The
ModelsClient.ablygetter is renamedpubsubClient.
Supported platforms changes
- Support for Node.js versions lower than 22 has been dropped.