Releases: mozilla/rust-components-swift
Releases · mozilla/rust-components-swift
94.0.0
v94.0.0 (2022-08-02)
Logins
⚠️ Breaking Changes ⚠️
93.7.1
v93.7.1 (2022-07-26)
Places
What's changed
- The
delete_visits_between
API now also deletes history metadata (#5046) - (NOTE: this is not yet available for Swift consumers)
93.7.0
v93.7.0 (2022-07-18)
Nimbus FML ⛅️🔬🔭🔧
What's Changed
- Added
MOZ_APPSERVICES_MODULE
environment variable to specify the megazord module for iOS (#5042). If it is missing, no module is imported.
✨ What's New ✨
- Enabled remote loading and using configuring of branches. (#5041)
- Add a
fetch
command tonimbus-fml
to demo and test remote loading and paths. (#5047)
Logins
What's Changed
- Updated the
LoginsStorageError
implementation and introduce error reporting for unexpected errors.
Note that some errors were removed, which is technically a breaking change, but none of our
consumers use those errors so it's not a breaking change in practice.
93.5.0
v93.5.0 (2022-06-16)
Nimbus FML ⛅️🔬🔭🔧
What's Changed
- Added
includes
list property to enable splitting up largenimbus.fml.yaml
files (#4976).
93.3.0
v93.3.0 (2022-06-06)
Error-support
What's New
- Added a new error reporting system that is intended to eventually replace using
log::error
to report errors - Added code using the new system to track down application-services#4856
- Added UniFFI API for this crate. Consumers should use this to register for error reports and breadcrumbs.
93.2.2
v93.2.2 (2022-05-27)
Tabs
What's Changed
- Fixed the iOS breaking change in the
SyncUnlockInfo
constructor by makingtabsLocalId
an optional parameter (#4975).
93.2.1
v93.2.1 (2022-05-24)
General
What's new
- Uniffi was upgraded to 0.18.0. For our consumers, this means there now exported types that used to be internal to
uniffi
. (#4949).- The types are:
Url
alias forstring
PlacesTimestamp
alias fori64
VisitTransitionSet
alias fori32
Guid
alias forstring
JsonObject
alias forstring
- Non of the exposed types conflict with a type in iOS so this is not a breaking change.
- The types are:
Nimbus ⛅️🔬🔭
What's new
- Make generation of Experimenter compatible YAML repeatable: fields, variables, features and enum variants are listed alphabetically. (#4964).
Tabs
What's Changed
- The component has been updated for integration into Firefox iOS (#4905).
- The
DeviceType
naming conflict which preventedrust-components-swift
from generating Tabs code has been resolved. - Errors and the
reset
function have been exposed. - Parameters for the
sync
function have been updated to match theSyncUnlockInfo
parameters. - The
tabs-sync
example has been updated with the above changes.
- The
93.2.0
v93.2.0 (2022-05-11)
General
What's new
- Application services now releases a separate xcframework with only the components needed by focus-ios (namely Nimbus, Viaduct and Rustlog). This change is only relevant for focus, it does not affect the already existing xcframework for firefox ios. (#4953)
93.1.0
v93.1.0 (2022-05-06)
Nimbus ⛅️🔬🔭
What's New
- New API in the
FeatureHolder
, both iOS and Android to control the output of thevalue()
call:- to cache the values given to callers; this can be cleared with
FxNimbus.invalidatedCachedValues()
- to add a custom initializer with
with(initializer:_)
/withInitializer(_)
.
- to cache the values given to callers; this can be cleared with
Places
What's Fixed:
- Fixed a bug in Android where non-fatal errors were crashing. (#4941)
- Fixed a bug where querying history metadata would return a sql error instead of the result (4940)
What's new:
- Exposed the
deleteVisitsFor
function in iOS, the function can be used to delete history metadata. (#4946)- Note: The API is meant to delete all history, however, iOS does not use the
places
Rust component for regular history yet.
- Note: The API is meant to delete all history, however, iOS does not use the
93.0.4
v93.0.4 (2022-04-28)
Places
What's New
- The
delete_visits_for()
function now deletes all history metadata even when the item is
bookmarked.
Nimbus
What's fixed
- Fixed a bug where the visibility of
GetSdk
was internal and it was used in generated FML code. (#4927)