Skip to content

Commit 107ce8e

Browse files
author
Firefox Sync Engineering
committed
Nightly auto-update (133.0.20241019050336)
1 parent df3799d commit 107ce8e

File tree

4 files changed

+27
-13
lines changed

4 files changed

+27
-13
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 = "3e0e916318e9ac8957f27a015db5d504d3ea36da78c2ee26961ed1673871265a"
5-
let version = "133.0.20241018050312"
6-
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.133.20241018050312/artifacts/public/build/MozillaRustComponents.xcframework.zip"
4+
let checksum = "9bb73b7a1faa64d1248c24e039f24874c28391eb4206382506a1919acd1ba75b"
5+
let version = "133.0.20241019050336"
6+
let url = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.133.20241019050336/artifacts/public/build/MozillaRustComponents.xcframework.zip"
77

88
// Focus xcframework
9-
let focusChecksum = "ae8b286f578067339741c59f6ece6572af6377b3e1aab00c695e4795429b5231"
10-
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.133.20241018050312/artifacts/public/build/FocusRustComponents.xcframework.zip"
9+
let focusChecksum = "1ad018bbae334683eb6d21939200c0ea42784371a58ad0871e65a4db91f3a7d1"
10+
let focusUrl = "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.v2.swift.133.20241019050336/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: 2024, month: 10, day: 18, hour: 5, minute: 14, second: 9))
26+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2024, month: 10, day: 19, hour: 5, minute: 15, second: 18))
2727
}
2828

2929
enum NimbusEvents {

swift-source/all/Generated/suggest.swift

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1790,7 +1790,18 @@ extension SuggestApiError: Foundation.LocalizedError {
17901790

17911791
public enum SuggestProviderConfig {
17921792

1793-
case weather(minKeywordLength: Int32
1793+
case weather(
1794+
/**
1795+
* Weather suggestion score.
1796+
*/score: Double,
1797+
/**
1798+
* Threshold for weather keyword prefix matching when a weather keyword
1799+
* is the first term in a query. Zero means prefix matching is disabled
1800+
* and weather keywords must be typed in full when they are first in
1801+
* the query. (Ideally this would be an `Option` and `None` would mean
1802+
* full keywords are required, but it's probably not worth the breaking
1803+
* API change.) This threshold does not apply to city and region names.
1804+
*/minKeywordLength: Int32
17941805
)
17951806
}
17961807

@@ -1805,7 +1816,7 @@ public struct FfiConverterTypeSuggestProviderConfig: FfiConverterRustBuffer {
18051816
let variant: Int32 = try readInt(&buf)
18061817
switch variant {
18071818

1808-
case 1: return .weather(minKeywordLength: try FfiConverterInt32.read(from: &buf)
1819+
case 1: return .weather(score: try FfiConverterDouble.read(from: &buf), minKeywordLength: try FfiConverterInt32.read(from: &buf)
18091820
)
18101821

18111822
default: throw UniffiInternalError.unexpectedEnumCase
@@ -1816,8 +1827,9 @@ public struct FfiConverterTypeSuggestProviderConfig: FfiConverterRustBuffer {
18161827
switch value {
18171828

18181829

1819-
case let .weather(minKeywordLength):
1830+
case let .weather(score,minKeywordLength):
18201831
writeInt(&buf, Int32(1))
1832+
FfiConverterDouble.write(score, into: &buf)
18211833
FfiConverterInt32.write(minKeywordLength, into: &buf)
18221834

18231835
}
@@ -1865,7 +1877,7 @@ public enum Suggestion {
18651877
)
18661878
case mdn(title: String, url: String, description: String, score: Double
18671879
)
1868-
case weather(score: Double
1880+
case weather(city: String?, region: String?, score: Double
18691881
)
18701882
case fakespot(fakespotGrade: String, productId: String, rating: Double, title: String, totalReviews: Int64, url: String, icon: Data?, iconMimetype: String?, score: Double
18711883
)
@@ -1902,7 +1914,7 @@ public struct FfiConverterTypeSuggestion: FfiConverterRustBuffer {
19021914
case 6: return .mdn(title: try FfiConverterString.read(from: &buf), url: try FfiConverterString.read(from: &buf), description: try FfiConverterString.read(from: &buf), score: try FfiConverterDouble.read(from: &buf)
19031915
)
19041916

1905-
case 7: return .weather(score: try FfiConverterDouble.read(from: &buf)
1917+
case 7: return .weather(city: try FfiConverterOptionString.read(from: &buf), region: try FfiConverterOptionString.read(from: &buf), score: try FfiConverterDouble.read(from: &buf)
19061918
)
19071919

19081920
case 8: return .fakespot(fakespotGrade: try FfiConverterString.read(from: &buf), productId: try FfiConverterString.read(from: &buf), rating: try FfiConverterDouble.read(from: &buf), title: try FfiConverterString.read(from: &buf), totalReviews: try FfiConverterInt64.read(from: &buf), url: try FfiConverterString.read(from: &buf), icon: try FfiConverterOptionData.read(from: &buf), iconMimetype: try FfiConverterOptionString.read(from: &buf), score: try FfiConverterDouble.read(from: &buf)
@@ -1985,8 +1997,10 @@ public struct FfiConverterTypeSuggestion: FfiConverterRustBuffer {
19851997
FfiConverterDouble.write(score, into: &buf)
19861998

19871999

1988-
case let .weather(score):
2000+
case let .weather(city,region,score):
19892001
writeInt(&buf, Int32(7))
2002+
FfiConverterOptionString.write(city, into: &buf)
2003+
FfiConverterOptionString.write(region, into: &buf)
19902004
FfiConverterDouble.write(score, into: &buf)
19912005

19922006

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: 2024, month: 10, day: 18, hour: 5, minute: 14, second: 12))
26+
public static let info = BuildInfo(buildDate: DateComponents(calendar: Calendar.current, timeZone: TimeZone(abbreviation: "UTC"), year: 2024, month: 10, day: 19, hour: 5, minute: 15, second: 20))
2727
}
2828

2929
enum NimbusEvents {

0 commit comments

Comments
 (0)