Skip to content

Commit dd6595b

Browse files
author
Firefox Sync Engineering
committed
Nightly auto-update (139.0.20250410050406)
1 parent f7526b6 commit dd6595b

File tree

5 files changed

+61
-16
lines changed

5 files changed

+61
-16
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 = "69688cc380bdd1ab398753f3817534812d384abf86200f06033fc5fc0f7c2dfd"
5-
let version = "139.0.20250409050339"
6-
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.139.20250409050339/artifacts/public/build/MozillaRustComponents.xcframework.zip"
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"
77

88
// Focus xcframework
9-
let focusChecksum = "d09a49eb75fe0697f7865dc4a2340847210a140054aca388ffcc5044662a7566"
10-
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.139.20250409050339/artifacts/public/build/FocusRustComponents.xcframework.zip"
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"
1111
let package = Package(
1212
name: "MozillaRustComponentsSwift",
1313
platforms: [.iOS(.v14)],

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

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// -*- mode: Swift -*-
22

3-
// AUTOGENERATED BY glean_parser v16.2.0. DO NOT EDIT. DO NOT COMMIT.
3+
// AUTOGENERATED BY glean_parser v17.1.0. DO NOT EDIT. DO NOT COMMIT.
44

55
#if canImport(Foundation)
66
import Foundation
@@ -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: 9, hour: 5, minute: 21, second: 13))
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))
2727
}
2828

2929
enum NimbusEvents {
@@ -1303,7 +1303,8 @@ extension GleanMetrics {
13031303
enabled: true,
13041304
schedulesPings: [],
13051305
reasonCodes: [],
1306-
followsCollectionEnabled: true
1306+
followsCollectionEnabled: true,
1307+
uploaderCapabilities: []
13071308
)
13081309

13091310
/// A ping sent for every bookmarks sync. It doesn't include the `client_id`
@@ -1317,7 +1318,8 @@ extension GleanMetrics {
13171318
enabled: true,
13181319
schedulesPings: [],
13191320
reasonCodes: [],
1320-
followsCollectionEnabled: true
1321+
followsCollectionEnabled: true,
1322+
uploaderCapabilities: []
13211323
)
13221324

13231325
/// A ping sent for every Credit Cards engine sync. It doesn't include the
@@ -1332,7 +1334,8 @@ extension GleanMetrics {
13321334
enabled: true,
13331335
schedulesPings: [],
13341336
reasonCodes: [],
1335-
followsCollectionEnabled: true
1337+
followsCollectionEnabled: true,
1338+
uploaderCapabilities: []
13361339
)
13371340

13381341
/// A ping sent for every history sync. It doesn't include the `client_id` because
@@ -1346,7 +1349,8 @@ extension GleanMetrics {
13461349
enabled: true,
13471350
schedulesPings: [],
13481351
reasonCodes: [],
1349-
followsCollectionEnabled: true
1352+
followsCollectionEnabled: true,
1353+
uploaderCapabilities: []
13501354
)
13511355

13521356
/// A ping sent for every logins/passwords sync. It doesn't include the `client_id`
@@ -1360,7 +1364,8 @@ extension GleanMetrics {
13601364
enabled: true,
13611365
schedulesPings: [],
13621366
reasonCodes: [],
1363-
followsCollectionEnabled: true
1367+
followsCollectionEnabled: true,
1368+
uploaderCapabilities: []
13641369
)
13651370

13661371
/// A summary ping, sent every time a sync is performed. During each Sync one or
@@ -1383,7 +1388,8 @@ extension GleanMetrics {
13831388
enabled: true,
13841389
schedulesPings: [],
13851390
reasonCodes: [],
1386-
followsCollectionEnabled: true
1391+
followsCollectionEnabled: true,
1392+
uploaderCapabilities: []
13871393
)
13881394

13891395
/// A ping sent for every Tabs engine sync. It doesn't include the `client_id`
@@ -1397,7 +1403,8 @@ extension GleanMetrics {
13971403
enabled: true,
13981404
schedulesPings: [],
13991405
reasonCodes: [],
1400-
followsCollectionEnabled: true
1406+
followsCollectionEnabled: true,
1407+
uploaderCapabilities: []
14011408
)
14021409

14031410
}

swift-source/all/Generated/logins.swift

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -889,6 +889,16 @@ public protocol LoginStoreProtocol: AnyObject {
889889

890890
func delete(id: String) throws -> Bool
891891

892+
/**
893+
* The `delete_undecryptable_records_for_remote_replacement` function locally deletes stored logins
894+
* that cannot be decrypted and sets the last sync time to 0 so any existing server records can be downloaded
895+
* and overwrite the locally deleted records.
896+
*
897+
* NB: This function was created to unblock iOS logins users who are unable to sync logins and should not be used
898+
* outside of this use case.
899+
*/
900+
func deleteUndecryptableRecordsForRemoteReplacement() throws
901+
892902
func findLoginToUpdate(look: LoginEntry) throws -> Login?
893903

894904
func get(id: String) throws -> Login?
@@ -992,6 +1002,20 @@ open func delete(id: String)throws -> Bool {
9921002
FfiConverterString.lower(id),$0
9931003
)
9941004
})
1005+
}
1006+
1007+
/**
1008+
* The `delete_undecryptable_records_for_remote_replacement` function locally deletes stored logins
1009+
* that cannot be decrypted and sets the last sync time to 0 so any existing server records can be downloaded
1010+
* and overwrite the locally deleted records.
1011+
*
1012+
* NB: This function was created to unblock iOS logins users who are unable to sync logins and should not be used
1013+
* outside of this use case.
1014+
*/
1015+
open func deleteUndecryptableRecordsForRemoteReplacement()throws {try rustCallWithError(FfiConverterTypeLoginsApiError_lift) {
1016+
uniffi_logins_fn_method_loginstore_delete_undecryptable_records_for_remote_replacement(self.uniffiClonePointer(),$0
1017+
)
1018+
}
9951019
}
9961020

9971021
open func findLoginToUpdate(look: LoginEntry)throws -> Login? {
@@ -2032,6 +2056,9 @@ private let initializationResult: InitializationResult = {
20322056
if (uniffi_logins_checksum_method_loginstore_delete() != 44678) {
20332057
return InitializationResult.apiChecksumMismatch
20342058
}
2059+
if (uniffi_logins_checksum_method_loginstore_delete_undecryptable_records_for_remote_replacement() != 23503) {
2060+
return InitializationResult.apiChecksumMismatch
2061+
}
20352062
if (uniffi_logins_checksum_method_loginstore_find_login_to_update() != 62416) {
20362063
return InitializationResult.apiChecksumMismatch
20372064
}

swift-source/all/Generated/loginsFFI.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,11 @@ RustBuffer uniffi_logins_fn_method_loginstore_add_or_update(void*_Nonnull ptr, R
364364
int8_t uniffi_logins_fn_method_loginstore_delete(void*_Nonnull ptr, RustBuffer id, RustCallStatus *_Nonnull out_status
365365
);
366366
#endif
367+
#ifndef UNIFFI_FFIDEF_UNIFFI_LOGINS_FN_METHOD_LOGINSTORE_DELETE_UNDECRYPTABLE_RECORDS_FOR_REMOTE_REPLACEMENT
368+
#define UNIFFI_FFIDEF_UNIFFI_LOGINS_FN_METHOD_LOGINSTORE_DELETE_UNDECRYPTABLE_RECORDS_FOR_REMOTE_REPLACEMENT
369+
void uniffi_logins_fn_method_loginstore_delete_undecryptable_records_for_remote_replacement(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
370+
);
371+
#endif
367372
#ifndef UNIFFI_FFIDEF_UNIFFI_LOGINS_FN_METHOD_LOGINSTORE_FIND_LOGIN_TO_UPDATE
368373
#define UNIFFI_FFIDEF_UNIFFI_LOGINS_FN_METHOD_LOGINSTORE_FIND_LOGIN_TO_UPDATE
369374
RustBuffer uniffi_logins_fn_method_loginstore_find_login_to_update(void*_Nonnull ptr, RustBuffer look, RustCallStatus *_Nonnull out_status
@@ -819,6 +824,12 @@ uint16_t uniffi_logins_checksum_method_loginstore_add_or_update(void
819824
#define UNIFFI_FFIDEF_UNIFFI_LOGINS_CHECKSUM_METHOD_LOGINSTORE_DELETE
820825
uint16_t uniffi_logins_checksum_method_loginstore_delete(void
821826

827+
);
828+
#endif
829+
#ifndef UNIFFI_FFIDEF_UNIFFI_LOGINS_CHECKSUM_METHOD_LOGINSTORE_DELETE_UNDECRYPTABLE_RECORDS_FOR_REMOTE_REPLACEMENT
830+
#define UNIFFI_FFIDEF_UNIFFI_LOGINS_CHECKSUM_METHOD_LOGINSTORE_DELETE_UNDECRYPTABLE_RECORDS_FOR_REMOTE_REPLACEMENT
831+
uint16_t uniffi_logins_checksum_method_loginstore_delete_undecryptable_records_for_remote_replacement(void
832+
822833
);
823834
#endif
824835
#ifndef UNIFFI_FFIDEF_UNIFFI_LOGINS_CHECKSUM_METHOD_LOGINSTORE_FIND_LOGIN_TO_UPDATE

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// -*- mode: Swift -*-
22

3-
// AUTOGENERATED BY glean_parser v16.2.0. DO NOT EDIT. DO NOT COMMIT.
3+
// AUTOGENERATED BY glean_parser v17.1.0. DO NOT EDIT. DO NOT COMMIT.
44

55
#if canImport(Foundation)
66
import Foundation
@@ -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: 9, hour: 5, minute: 21, second: 16))
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))
2727
}
2828

2929
enum NimbusEvents {

0 commit comments

Comments
 (0)