v83.0.0 (2021-09-08)
Android
⚠️ Breaking Changes ⚠️
- Many error classes have been renamed from
FooError
orFooErrorException
to justFooException
,
to be more in keeping with Java/Kotlin idioms.- This is due to UniFFi now replacing trailing 'Error' named classes to 'Exception'
Autofill
⚠️ Breaking Changes ⚠️
- The
Error
enum is now calledAutofillError
(AutofillException
in Kotlin) to avoid conflicts with builtin names.
Push
⚠️ Breaking Changes ⚠️
- The
unsubscribeAll
API will now return nothing as opposed to a boolean. The boolean was misleading as it only ever returned true.
errors can be caught using exceptions. (#4418)
What's Changed
- The push
unsubscribe
API will no longer accept a nullchannel_id
value, a validchannel_id
must be presented, otherwise rust will panic and an error will be thrown to android.
note that this is not a breaking change, since our hand-written Kotlin code already ensures that the function can only be called with a valid, non-empty, non-nullable string. (#4402)