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

Fix deprecation propagation for new select menus #721

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

lukellmann
Copy link
Member

The deprecations for SelectMenuBuilder.options and SelectMenuComponent.options were propagated to the overrides in StringSelectBuilder and StringSelectComponent when a user of Kord didn't have progressive mode enabled.

To fix this, extensions are provided instead.

The changes in the public API are binary incompatible compared to #707 but not compared to 0.8.0-M17 so only snapshot users can be affected.

see #707, https://youtrack.jetbrains.com/issue/KT-47902 and https://discord.com/channels/556525343595298817/587324906702766226/1042799716745879643

The deprecations for SelectMenuBuilder.options and
SelectMenuComponent.options were propagated to the overrides in
StringSelectBuilder and StringSelectComponent when a user of Kord didn't
have progressive mode enabled.

To fix this, extensions are provided instead.

The changes in the public API are binary incompatible compared to #707
but not compared to 0.8.0-M17 so only snapshot users can be affected.

see #707, https://youtrack.jetbrains.com/issue/KT-47902 and
https://discord.com/channels/556525343595298817/587324906702766226/1042799716745879643
@lukellmann lukellmann merged commit b8ca7bc into 0.8.x Nov 17, 2022
@lukellmann lukellmann deleted the select-menu-deprecation branch November 17, 2022 18:04
lukellmann added a commit that referenced this pull request Nov 23, 2022
@LowPriorityInOverloadResolution is required so that the replacement
for SelectMenuComponent.options works correctly.
This was simply forgotten in #721.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant