TelemetryDeck / SwiftSDK

Swift SDK for TelemetryDeck, a privacy-conscious analytics service for apps and websites.
https://telemetrydeck.com/
Other
149 stars 31 forks source link

Rename SDK to TelemetryDeck SDK #45

Open winsmith opened 2 years ago

Sherlouk commented 1 year ago

Is this still needed Daniel? I assume this means renaming away from "TelemetryClient"?

winsmith commented 1 year ago

I keep waffling on this. All the other SDKs are called "TelemetryDeckSDK" but the Swift one isn't. But I'm afraid it's gonna break a bunch of apps if they update, and it's also kinda not worth it.

Sherlouk commented 1 year ago

Would certainly be a breaking change, and so would be best to wait until there are other technical reasons for wanting to release a v2.0.0.

Perhaps worth setting up a milestone to keep track of that release? (though given the current issues and feature requests, this could be a while off and if you're not frantic on getting it sorted could be something to put on the backburner!)

winsmith commented 1 year ago

I've put it on the internal roadmap (which, come to think of it, I wanted to make public at some point – I'll see to that)

Jeehut commented 7 months ago

What you could do is rename this to TelemetryDeckSDK and create a new target TelemetryDeck with the old name which only contains an Exports.swift file doing a @_exported import TelemetryDeckSDK. Then, people using the old name should be able to continue doing import TelemetryDeck, but new users would import the renamed TelemetryDeckSDK module directly. While @_exported is not officially a Swift feature yet, it's used in such core places within the Swift ecosystem that one can assume it will become an official feature at some point. Just an idea, in case you still care.