This guide lists the changes needed to upgrade from one version of Ably to a newer one when there are breaking changes.
- Updated SDK constraint to
>=2.14.0 <3.0.0
- Updated Flutter constraint to
>=2.5.0
TokenDetails
,TokenParams
andTokenRequest
classes are now immutable, parameters have to be passed through constructor
Changes made at v1.2.9:
ably.Push.pushEvents
is renamed toably.Push.activationEvents
, to be more meaningful. It provides access to events related to setting up push notification, such as activation, deactivation and notification permission. This was done to help future users clearly distinguish betweenactivationEvents
andnotificationEvents
.- When instantiating
Rest
orRealtime
with an API key, replaceably.Rest(key: yourApiKey)
withably.Rest.fromKey(yourApiKey)
. This was done because usingably.Rest(key: yourApiKey, options: clientOptions)
was misleading (yourApiKey
was ignored).