Skip to content

Releases: mozilla/rust-components-swift

93.1.0

06 May 19:52
ab13793
Compare
Choose a tag to compare

v93.1.0 (2022-05-06)

Full Changelog

Nimbus ⛅️🔬🔭

What's New

  • New API in the FeatureHolder, both iOS and Android to control the output of the value() call:
    • to cache the values given to callers; this can be cleared with FxNimbus.invalidatedCachedValues()
    • to add a custom initializer with with(initializer:_)/withInitializer(_).

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.

93.0.4

29 Apr 00:19
dfd17f5
Compare
Choose a tag to compare

v93.0.4 (2022-04-28)

Full Changelog

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)

93.0.3

27 Apr 21:24
30c9719
Compare
Choose a tag to compare

v93.0.3 (2022-04-27)

Full Changelog

Nimbus ⛅️🔭🔬

What's New

  • Added targeting attributes for language and region, based upon the locale. #4919
    • This also comes with an update in the JEXL evaluator to handle cases where region is not available.

What's Changed

  • Fixed: A crash was detected by the iOS team, which was traced to FeatureHolder.swift. (#4924)
    • Regression tests added, and FeatureHolder made stateless in both Swift and Kotlin.

93.0.2

25 Apr 18:39
be7deba
Compare
Choose a tag to compare

v93.0.2 (2022-04-25)

Full Changelog

Nimbus FML

What's fixed

  • (iOS only) Made the extensions on String and Variables public. The extended functions are used in the generated code and that didn't compile in consumers when internal.

93.0.1

21 Apr 17:26
c53e3cc
Compare
Choose a tag to compare

v93.0.1 (2022-04-20)

Full Changelog

Nimbus FML ⛅️🔬🔭🔧

What's Fixed

  • Handling of optional types which require a mapping to a usable type. (#4915)

91.1.2

21 Apr 17:38
051f4d6
Compare
Choose a tag to compare

v91.1.2 (2022-04-19)

NOTE: This is not the latest release, and was made a patch release on a previous release to fix a bug on android, you most likely would like to pick up the latest release (93.0.1 at the time of this release). See https://github.com/mozilla/rust-components-swift/releases

Full Changelog

IMPORTANT: The following change was cherry-picked to 91.1.2 which was a release not from the main branch. The change then landed in v93.0.1. This means that versions v92.0.0 - v93.0.0 do not have the change.

Places

  • Downgraded places get_registered_sync_engine log:error to log:warn to fix an issue where places was unnecessarily creating sentry noise.

Autofill

What's New

  • Added temp-store, journal-mode, and foreign-keys pragmas to autofill component. (#4882)

93.0.0

14 Apr 19:41
6f813d2
Compare
Choose a tag to compare

v93.0.0 (2022-04-13)

Full Changelog

Nimbus ⛅️🔭🔬 + Nimbus FML ⛅️🔬🔭🔧

What's New

  • Add support for bundled resources in the FML in Swift. This corresponds to the Image and Text types. #4892
    • This must include an update to the megazord, as well re-downloading the nimbus-fml binary.
    • Kotlin support for the same has also changed to match the Swift implementation, which has increased performance.

92.0.1

28 Mar 16:51
603262d
Compare
Choose a tag to compare

v92.0.1 (2022-03-24)

Note: none of the changes released in 92.0.1 on Applications Services impact this repository.

Full Changelog

Nimbus FML ⛅️🔬🔭🔧

What's Fixed

  • Swift: a bug in our understanding of Swift optional chaining rules meant that maps with a mapping and merging produced invalid code. (#4885)

General

What's Changed

  • Added documentation of our sqlite pragma usage. (#4876)

92.0.0

24 Mar 18:23
5432686
Compare
Choose a tag to compare

v92.0.0 (2022-03-17)

Full Changelog

Places

⚠️ Breaking Changes ⚠️

  • Removed some functions related to sync interruption. These were never really completed and don't seem to be in use by iOS/Android code:
    • PlacesApi.new_sync_conn_interrupt_handle()
    • Swift only: PlacesAPI.interrupt()
  • The exception variant InternalPanic was removed. It's only use was replaced by the already existing UnexpectedPlacesException. (#4847)

What's New

  • The Places component will report more error variants to telemetry. (#4847)

Autofill / Logins / Places / Sync Manager, Webext-Storage

What's Changed

  • Updated interruption handling and added support for shutdown-mode which interrupts all operations.

Tabs

⚠️ Breaking Changes ⚠️

  • The tabs component's constructor now requires the path to the database file where remote tabs will be persisted to.
  • Requesting remote tabs before the first sync will now return the tabs in this database, so may be "stale".

Glean

⚠️ Breaking Changes ⚠️

Swift

  • GleanMetrics should now be imported under import Glean instead of importing via MozillaRustComponents

Nimbus FML

What's Changed

  • Papercut fixes for nicer developer experience #4867
    • More helpful validation error reporting
    • Better handling of defaults in objects and enum maps
    • More YAML syntactic checking.
  • Allow experimenter to output to a YAML file, as well as JSON. #4874
    • If the file extension is yaml, then output as YAML, otherwise, output as JSON.

91.1.0

16 Feb 20:42
29772c8
Compare
Choose a tag to compare

v91.1.0 (2022-02-11)

Full Changelog

⛅️🔬🔭 Nimbus SDK

What's fixed

  • Fixes a bug where disabling studies did not disable rollouts. (#4807)

✨ What's New ✨

  • A message helper is now available to apps wanting to build a Messaging System on both Android and iOS. Both of these access the variables
    provided by Nimbus, and can have app-specific variables added. This provides two functions:
    • JEXL evaluation (#4813) which evaluates boolean expressions.
    • String interpolation (#4831) which builds strings with templates at runtime.

Xcode

  • Bumped Xcode version from 13.1.0 -> 13.2.1

Nimbus FML

What's fixed

  • Fixes a bug where each time the fml is run, the ordering of features in the experimenter json is changed. (#4819)