Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to stable unsigned arrays #1

Open
TheMrMilchmann opened this issue Dec 13, 2021 · 4 comments
Open

Migrate to stable unsigned arrays #1

TheMrMilchmann opened this issue Dec 13, 2021 · 4 comments
Assignees
Labels

Comments

@TheMrMilchmann
Copy link
Member

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 TheMrMilchmann added this to the 1.0.0 milestone Dec 13, 2021
@TheMrMilchmann TheMrMilchmann self-assigned this Dec 13, 2021
@TheMrMilchmann
Copy link
Member Author

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
Copy link
Member Author

Still no change in Kotlin 1.8

@TheMrMilchmann
Copy link
Member Author

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

@TheMrMilchmann TheMrMilchmann removed this from the 1.0.0 milestone Mar 17, 2024
@TheMrMilchmann
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant