v95.0.0 (2022-10-28)
General
What's fixed
- Fixed a bug released in 94.3.1. The bug broke firefox-ios builds due to a name conflict. (#5181)
What's Changed
- Updated UniFFI to 0.21.0. This improves the string display of the fielded errors on Kotlin. Currently only logins is using these errors, but we plan to start using them for all components.
Autofill
⚠️ Breaking Changes ⚠️
- The autofill API now uses
AutofillApiError
instead ofAutofillError
.AutofillApiError
exposes a smaller number of variants, which
will hopefully make it easier to use for the consumer.
Logins
⚠️ Breaking Changes ⚠️
- Renamed
LoginsStorageError
toLoginsApiError
, which better reflects how it's used and makes it consistent with
the places error name. - Removed the
LoginsApiError::RequestFailed
variant. This was only thrown when calling the sync-related methods
manually, rather than going through the SyncManager which is the preferred way to sync. Those errors will now be
grouped underLoginsApiError::UnexpectedLoginsApiError
.
What's Changed
- Added fields to errors in
logins.udl
. Most variants will now have amessage
field.
Nimbus ⛅️🔬🔭
What's Changed
- Disabled Glean events recorded when the SDK is not ready for a feature (#5185)
- Add struct for IntervalData (behavioral targeting) (#5205)
- Calls to
log::error
have been replaced witherror_support::report_error
(#5204)
Places
⚠️ Breaking Changes ⚠️
- Renamed
PlacesError
toPlacesApiError
, which better reflects that it's used in the public API rather than for
internal errors. - Removed the
JsonError
,InternalError
, andBookmarksCorruption
variants from places error. Errors that
resulted inInternalError
will now result inUnexpectedPlacesError
.BookmarksCorruption
will also result in
anUnexpectedPlacesError
and an error report will be automatically generated.JsonError
didn't seem to be
actually used.
Tabs
⚠️ Breaking Changes ⚠️
- The tabs API now uses
TabsError
withTabsApiError
.TabsApiError
exposes a smaller number of variants, which
will hopefully make it easier to use for the consumer.