Skip to content

Commit 0e5a6c8

Browse files
author
Firefox Sync Engineering
committed
Nightly auto-update (139.0.20250411050343)
1 parent dd6595b commit 0e5a6c8

File tree

6 files changed

+47
-17
lines changed

6 files changed

+47
-17
lines changed

Package.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// swift-tools-version:5.4
22
import PackageDescription
33

4-
let checksum = "418bdae3845e81efbdfe1d47e067385d9a9f44713e9988b0c2292514eb5b4309"
5-
let version = "139.0.20250410050406"
6-
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.139.20250410050406/artifacts/public/build/MozillaRustComponents.xcframework.zip"
4+
let checksum = "616e00124656d8b8be88190436719f9cc8c74810218298e9bc01170e5b28ab50"
5+
let version = "139.0.20250411050343"
6+
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.139.20250411050343/artifacts/public/build/MozillaRustComponents.xcframework.zip"
77

88
// Focus xcframework
9-
let focusChecksum = "54409ed43c743d9de4e12d6c132cb3df921471e3e0771b713095235426d04a59"
10-
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.139.20250410050406/artifacts/public/build/FocusRustComponents.xcframework.zip"
9+
let focusChecksum = "dfa9f1363fde6facae89bce767c73ea437ce58b5095c9ce451112c028a149673"
10+
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.139.20250411050343/artifacts/public/build/FocusRustComponents.xcframework.zip"
1111
let package = Package(
1212
name: "MozillaRustComponentsSwift",
1313
platforms: [.iOS(.v14)],

swift-source/all/Generated/Metrics/Metrics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extension GleanMetrics {
2323
// Intentionally left private, no external user can instantiate a new global object.
2424
}
2525

26-
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 4, day: 10, hour: 5, minute: 31, second: 41))
26+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 4, day: 11, hour: 5, minute: 19, second: 54))
2727
}
2828

2929
enum NimbusEvents {

swift-source/all/Generated/remote_settings.swift

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -922,6 +922,8 @@ public protocol RemoteSettingsServiceProtocol: AnyObject {
922922

923923
/**
924924
* Create a new Remote Settings client
925+
*
926+
* This method performs no IO or network requests and is safe to run in a main thread that can't be blocked.
925927
*/
926928
func makeClient(collectionName: String) throws -> RemoteSettingsClient
927929

@@ -987,11 +989,18 @@ open class RemoteSettingsService: RemoteSettingsServiceProtocol, @unchecked Send
987989
/**
988990
* Construct a [RemoteSettingsService]
989991
*
990-
* This is typically done early in the application-startup process
992+
* This is typically done early in the application-startup process.
993+
*
994+
* This method performs no IO or network requests and is safe to run in a main thread that
995+
* can't be blocked.
996+
*
997+
* `storage_dir` is a directory to store SQLite files in -- one per collection. If the
998+
* directory does not exist, it will be created when the storage is first used. Only the
999+
* directory and the SQLite files will be created, any parent directories must already exist.
9911000
*/
992-
public convenience init(storageDir: String, config: RemoteSettingsConfig2)throws {
1001+
public convenience init(storageDir: String, config: RemoteSettingsConfig2) {
9931002
let pointer =
994-
try rustCallWithError(FfiConverterTypeRemoteSettingsError_lift) {
1003+
try! rustCall() {
9951004
uniffi_remote_settings_fn_constructor_remotesettingsservice_new(
9961005
FfiConverterString.lower(storageDir),
9971006
FfiConverterTypeRemoteSettingsConfig2_lower(config),$0
@@ -1013,6 +1022,8 @@ public convenience init(storageDir: String, config: RemoteSettingsConfig2)throws
10131022

10141023
/**
10151024
* Create a new Remote Settings client
1025+
*
1026+
* This method performs no IO or network requests and is safe to run in a main thread that can't be blocked.
10161027
*/
10171028
open func makeClient(collectionName: String)throws -> RemoteSettingsClient {
10181029
return try FfiConverterTypeRemoteSettingsClient_lift(try rustCallWithError(FfiConverterTypeRemoteSettingsError_lift) {
@@ -2326,7 +2337,7 @@ private let initializationResult: InitializationResult = {
23262337
if (uniffi_remote_settings_checksum_method_remotesettingsclient_sync() != 29749) {
23272338
return InitializationResult.apiChecksumMismatch
23282339
}
2329-
if (uniffi_remote_settings_checksum_method_remotesettingsservice_make_client() != 50814) {
2340+
if (uniffi_remote_settings_checksum_method_remotesettingsservice_make_client() != 34042) {
23302341
return InitializationResult.apiChecksumMismatch
23312342
}
23322343
if (uniffi_remote_settings_checksum_method_remotesettingsservice_sync() != 61379) {
@@ -2338,7 +2349,7 @@ private let initializationResult: InitializationResult = {
23382349
if (uniffi_remote_settings_checksum_constructor_remotesettings_new() != 52961) {
23392350
return InitializationResult.apiChecksumMismatch
23402351
}
2341-
if (uniffi_remote_settings_checksum_constructor_remotesettingsservice_new() != 32864) {
2352+
if (uniffi_remote_settings_checksum_constructor_remotesettingsservice_new() != 25399) {
23422353
return InitializationResult.apiChecksumMismatch
23432354
}
23442355

swift-source/all/Logins/LoginsStorage.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ open class LoginsStorage {
3434
}
3535
}
3636

37+
/// Locally delete records from the store that cannot be decrypted. For exclusive
38+
/// use in the iOS logins verification process.
39+
open func deleteUndecryptableRecordsForRemoteReplacement() throws {
40+
return try queue.sync {
41+
try self.store.deleteUndecryptableRecordsForRemoteReplacement()
42+
}
43+
}
44+
3745
/// Bump the usage count for the record with the given id.
3846
///
3947
/// Throws `LoginStoreError.NoSuchRecord` if there was no such record.

swift-source/focus/Generated/Metrics/Metrics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extension GleanMetrics {
2323
// Intentionally left private, no external user can instantiate a new global object.
2424
}
2525

26-
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 4, day: 10, hour: 5, minute: 31, second: 44))
26+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2025, month: 4, day: 11, hour: 5, minute: 19, second: 57))
2727
}
2828

2929
enum NimbusEvents {

swift-source/focus/Generated/remote_settings.swift

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -922,6 +922,8 @@ public protocol RemoteSettingsServiceProtocol: AnyObject {
922922

923923
/**
924924
* Create a new Remote Settings client
925+
*
926+
* This method performs no IO or network requests and is safe to run in a main thread that can't be blocked.
925927
*/
926928
func makeClient(collectionName: String) throws -> RemoteSettingsClient
927929

@@ -987,11 +989,18 @@ open class RemoteSettingsService: RemoteSettingsServiceProtocol, @unchecked Send
987989
/**
988990
* Construct a [RemoteSettingsService]
989991
*
990-
* This is typically done early in the application-startup process
992+
* This is typically done early in the application-startup process.
993+
*
994+
* This method performs no IO or network requests and is safe to run in a main thread that
995+
* can't be blocked.
996+
*
997+
* `storage_dir` is a directory to store SQLite files in -- one per collection. If the
998+
* directory does not exist, it will be created when the storage is first used. Only the
999+
* directory and the SQLite files will be created, any parent directories must already exist.
9911000
*/
992-
public convenience init(storageDir: String, config: RemoteSettingsConfig2)throws {
1001+
public convenience init(storageDir: String, config: RemoteSettingsConfig2) {
9931002
let pointer =
994-
try rustCallWithError(FfiConverterTypeRemoteSettingsError_lift) {
1003+
try! rustCall() {
9951004
uniffi_remote_settings_fn_constructor_remotesettingsservice_new(
9961005
FfiConverterString.lower(storageDir),
9971006
FfiConverterTypeRemoteSettingsConfig2_lower(config),$0
@@ -1013,6 +1022,8 @@ public convenience init(storageDir: String, config: RemoteSettingsConfig2)throws
10131022

10141023
/**
10151024
* Create a new Remote Settings client
1025+
*
1026+
* This method performs no IO or network requests and is safe to run in a main thread that can't be blocked.
10161027
*/
10171028
open func makeClient(collectionName: String)throws -> RemoteSettingsClient {
10181029
return try FfiConverterTypeRemoteSettingsClient_lift(try rustCallWithError(FfiConverterTypeRemoteSettingsError_lift) {
@@ -2326,7 +2337,7 @@ private let initializationResult: InitializationResult = {
23262337
if (uniffi_remote_settings_checksum_method_remotesettingsclient_sync() != 29749) {
23272338
return InitializationResult.apiChecksumMismatch
23282339
}
2329-
if (uniffi_remote_settings_checksum_method_remotesettingsservice_make_client() != 50814) {
2340+
if (uniffi_remote_settings_checksum_method_remotesettingsservice_make_client() != 34042) {
23302341
return InitializationResult.apiChecksumMismatch
23312342
}
23322343
if (uniffi_remote_settings_checksum_method_remotesettingsservice_sync() != 61379) {
@@ -2338,7 +2349,7 @@ private let initializationResult: InitializationResult = {
23382349
if (uniffi_remote_settings_checksum_constructor_remotesettings_new() != 52961) {
23392350
return InitializationResult.apiChecksumMismatch
23402351
}
2341-
if (uniffi_remote_settings_checksum_constructor_remotesettingsservice_new() != 32864) {
2352+
if (uniffi_remote_settings_checksum_constructor_remotesettingsservice_new() != 25399) {
23422353
return InitializationResult.apiChecksumMismatch
23432354
}
23442355

0 commit comments

Comments
 (0)