mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-09 22:35:56 +05:45
Two public inits merged to main outside the baseline generated for no_new_public_inits (#8021 and #8009), so the lint job fails on main. Regenerating also drops three stale entries for @_spi(Internal) inits that the final regex in #8076 no longer flags. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
e3ebb0336b
commit
937b71ef08
1 file changed
+1
-1
@@ -1 +1 @@
|
||||
[{"violation":{"location":{"line":48,"character":5,"file":"RevenueCatUI\/CustomerCenter\/Abstractions\/CustomerCenterPreviewProvider.swift"},"ruleIdentifier":"no_new_public_inits","reason":"Public initializers are part of the SDK's binary API and cannot change without breaking consumers. Make the init internal or private, or mark it `@_spi(Internal)` if hybrid SDKs need it.","severity":"error","ruleName":"No new public initializers in consumer-facing APIs","ruleDescription":""},"text":" public init(pathID: String, title: String, productID: String?, visible: Bool, reason: String) {"},{"violation":{"location":{"line":70,"character":5,"file":"RevenueCatUI\/CustomerCenter\/Data\/CustomActionData.swift"},"ruleIdentifier":"no_new_public_inits","reason":"Public initializers are part of the SDK's binary API and cannot change without breaking consumers. Make the init internal or private, or mark it `@_spi(Internal)` if hybrid SDKs need it.","severity":"error","ruleName":"No new public initializers in consumer-facing APIs","ruleDescription":""},"text":" public init(actionIdentifier: String, purchaseIdentifier: String?) {"},{"violation":{"location":{"line":16,"character":1,"file":"RevenueCatUI\/CustomerCenter\/Data\/CustomerCenterAction.swift"},"ruleIdentifier":"no_new_public_enums","reason":"Adding a new `public enum` to the SDK's consumer-facing surface (including `@_spi(Experimental)`) is not allowed. Adding a case to an existing `public enum` is a source-breaking change for any consumer with an exhaustive `switch`. Use a struct with static constants instead.","severity":"error","ruleName":"No new public enums in consumer-facing APIs","ruleDescription":""},"text":"public enum CustomerCenterAction {"},{"violation":{"location":{"line":20,"character":1,"file":"RevenueCatUI\/CustomerCenter\/Data\/CustomerCenterManagementOption.swift"},"ruleIdentifier":"no_new_public_enums","reason":"Adding a new `public enum` to the SDK's consumer-facing surface (including `@_spi(Experimental)`) is not allowed. Adding a case to an existing `public enum` is a source-breaking change for any consumer with an exhaustive `switch`. Use a struct with static constants instead.","severity":"error","ruleName":"No new public enums in consumer-facing APIs","ruleDescription":""},"text":"public enum CustomerCenterManagementOption {"},{"violation":{"location":{"line":51,"character":9,"file":"RevenueCatUI\/CustomerCenter\/Data\/CustomerCenterManagementOption.swift"},"ruleIdentifier":"no_new_public_inits","reason":"Public initializers are part of the SDK's binary API and cannot change without breaking consumers. Make the init internal or private, or mark it `@_spi(Internal)` if hybrid SDKs need it.","severity":"error","ruleName":"No new public initializers in consumer-facing APIs","ruleDescription":""},"text":" public init(actionIdentifier: String, purchaseIdentifier: String?) {"},{"violation":{"location":{"line":65,"character":5,"file":"RevenueCatUI\/CustomerCenter\/Views\/CustomerCenterNavigationLink.swift"},"ruleIdentifier":"no_new_public_inits","reason":"Public initializers are part of the SDK's binary API and cannot change without breaking consumers. Make the init internal or private, or mark it `@_spi(Internal)` if hybrid SDKs need it.","severity":"error","ruleName":"No new public initializers in consumer-facing APIs","ruleDescription":""},"text":" public init("},{"violation":{"location":{"line":97,"character":5,"file":"RevenueCatUI\/CustomerCenter\/Views\/CustomerCenterNavigationLink.swift"},"ruleIdentifier":"no_new_public_inits","reason":"Public initializers are part of the SDK's binary API and cannot change without breaking consumers. Make the init internal or private, or mark it `@_spi(Internal)` if hybrid SDKs need it.","severity":"error","ruleName":"No new public initializers in consumer-facing APIs","ruleDescription":""},"text":" public init(@ViewBuilder label: @escaping () -> Label) {"},{"violation":{"location":{"line":63,"character":5,"file":"RevenueCatUI\/CustomerCenter\/Views\/CustomerCenterNavigationOptions.swift"},"ruleIdentifier":"no_new_public_inits","reason":"Public initializers are part of the SDK's binary API and cannot change without breaking consumers. Make the init internal or private, or mark it `@_spi(Internal)` if hybrid SDKs need it.","severity":"error","ruleName":"No new public initializers in consumer-facing APIs","ruleDescription":""},"text":" public init("},{"violation":{"location":{"line":62,"character":5,"file":"RevenueCatUI\/CustomerCenter\/Views\/CustomerCenterView.swift"},"ruleIdentifier":"no_new_public_inits","reason":"Public initializers are part of the SDK's binary API and cannot change without breaking consumers. Make the init internal or private, or mark it `@_spi(Internal)` if hybrid SDKs need it.","severity":"error","ruleName":"No new public initializers in consumer-facing APIs","ruleDescription":""},"text":" public init("},{"violation":{"location":{"line":75,"character":5,"file":Line truncated
|
||||
[{"violation":{"location":{"file":"AdapterSDKs\/RevenueCatAds\/Sources\/RevenueCatAds\/AdsConfiguration.swift","character":5,"line":23},"ruleIdentifier":"no_new_public_inits","reason":"Public initializers are part of the SDK's binary API and cannot change without breaking consumers. Make the init internal or private, or mark it `@_spi(Internal)` if hybrid SDKs need it.","ruleDescription":"","ruleName":"No new public initializers in consumer-facing APIs","severity":"error"},"text":" public init(apiKey: String? = nil, serverURL: URL? = nil) {"},{"violation":{"location":{"file":"RevenueCatUI\/CustomerCenter\/Abstractions\/CustomerCenterPreviewProvider.swift","character":5,"line":48},"ruleIdentifier":"no_new_public_inits","reason":"Public initializers are part of the SDK's binary API and cannot change without breaking consumers. Make the init internal or private, or mark it `@_spi(Internal)` if hybrid SDKs need it.","ruleDescription":"","ruleName":"No new public initializers in consumer-facing APIs","severity":"error"},"text":" public init(pathID: String, title: String, productID: String?, visible: Bool, reason: String) {"},{"violation":{"location":{"file":"RevenueCatUI\/CustomerCenter\/Data\/CustomActionData.swift","character":5,"line":70},"ruleIdentifier":"no_new_public_inits","reason":"Public initializers are part of the SDK's binary API and cannot change without breaking consumers. Make the init internal or private, or mark it `@_spi(Internal)` if hybrid SDKs need it.","ruleDescription":"","ruleName":"No new public initializers in consumer-facing APIs","severity":"error"},"text":" public init(actionIdentifier: String, purchaseIdentifier: String?) {"},{"violation":{"location":{"file":"RevenueCatUI\/CustomerCenter\/Data\/CustomerCenterAction.swift","character":1,"line":16},"ruleIdentifier":"no_new_public_enums","reason":"Adding a new `public enum` to the SDK's consumer-facing surface (including `@_spi(Experimental)`) is not allowed. Adding a case to an existing `public enum` is a source-breaking change for any consumer with an exhaustive `switch`. Use a struct with static constants instead.","ruleDescription":"","ruleName":"No new public enums in consumer-facing APIs","severity":"error"},"text":"public enum CustomerCenterAction {"},{"violation":{"location":{"file":"RevenueCatUI\/CustomerCenter\/Data\/CustomerCenterManagementOption.swift","character":1,"line":20},"ruleIdentifier":"no_new_public_enums","reason":"Adding a new `public enum` to the SDK's consumer-facing surface (including `@_spi(Experimental)`) is not allowed. Adding a case to an existing `public enum` is a source-breaking change for any consumer with an exhaustive `switch`. Use a struct with static constants instead.","ruleDescription":"","ruleName":"No new public enums in consumer-facing APIs","severity":"error"},"text":"public enum CustomerCenterManagementOption {"},{"violation":{"location":{"file":"RevenueCatUI\/CustomerCenter\/Data\/CustomerCenterManagementOption.swift","character":9,"line":51},"ruleIdentifier":"no_new_public_inits","reason":"Public initializers are part of the SDK's binary API and cannot change without breaking consumers. Make the init internal or private, or mark it `@_spi(Internal)` if hybrid SDKs need it.","ruleDescription":"","ruleName":"No new public initializers in consumer-facing APIs","severity":"error"},"text":" public init(actionIdentifier: String, purchaseIdentifier: String?) {"},{"violation":{"location":{"file":"RevenueCatUI\/CustomerCenter\/Views\/CustomerCenterNavigationLink.swift","character":5,"line":65},"ruleIdentifier":"no_new_public_inits","reason":"Public initializers are part of the SDK's binary API and cannot change without breaking consumers. Make the init internal or private, or mark it `@_spi(Internal)` if hybrid SDKs need it.","ruleDescription":"","ruleName":"No new public initializers in consumer-facing APIs","severity":"error"},"text":" public init("},{"violation":{"location":{"file":"RevenueCatUI\/CustomerCenter\/Views\/CustomerCenterNavigationLink.swift","character":5,"line":97},"ruleIdentifier":"no_new_public_inits","reason":"Public initializers are part of the SDK's binary API and cannot change without breaking consumers. Make the init internal or private, or mark it `@_spi(Internal)` if hybrid SDKs need it.","ruleDescription":"","ruleName":"No new public initializers in consumer-facing APIs","severity":"error"},"text":" public init(@ViewBuilder label: @escaping () -> Label) {"},{"violation":{"location":{"file":"RevenueCatUI\/CustomerCenter\/Views\/CustomerCenterNavigationOptions.swift","character":5,"line":63},"ruleIdentifier":"no_new_public_inits","reason":"Public initializers are part of the SDK's binary API and cannot change without breaking consumers. Make the init internal or private, or mark it `@_spi(Internal)` if hybrid SDKs need it.","ruleDescription":"","ruleName":"No new public initializers in consumer-facing APIs","severity":"error"},"text":" public init(Line truncated
|
||||
Reference in new issue
Block a user