GW2ToolBelt / GW2ChatLinks

A Kotlin Multiplatform library for parsing and generating Guild Wars 2 chat links.
https://gw2toolbelt.github.io/GW2ChatLinks
MIT License
2 stars 0 forks source link

Migrate to stable unsigned arrays #1

Open TheMrMilchmann opened 2 years ago

TheMrMilchmann commented 2 years ago

Currently, this project uses UByteArrays extensively even though they are still marked experimental in the current Kotlin version. This is a blocker for a stable (1.0.0) release of this library. Once they are stabilized in Kotlin, this library should be updated.

TheMrMilchmann commented 2 years ago

No change in Kotlin 1.7 and I doubt there will be any movement until https://openjdk.org/jeps/401 is ready for preview.

TheMrMilchmann commented 1 year ago

Still no change in Kotlin 1.8

TheMrMilchmann commented 1 year ago

Still no change in Kotlin 1.9 (which is in the process of being released right now)

TheMrMilchmann commented 4 months ago

After further consideration, I decided to drop this as a requirement for 1.0.0. The API of this library is effectively stable and UByteArray is only used internally and in extremely niche chat links that are disabled anyway. Hence, the types are already marked as experimental and require explicit opt-in anyway.