-
Notifications
You must be signed in to change notification settings - Fork 63
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
Deprecation messages #430
Deprecation messages #430
Conversation
…updated the file with regions and hints to when a feature will be removed
@@ -29,3 +29,8 @@ | |||
17. Create Release from the release tag on GitHub | |||
18. Update a KDF version in the [Kotlin Jupyter Descriptor](https://github.com/Kotlin/kotlin-jupyter-libraries/blob/master/dataframe.json). Now the Renovate bot doing this | |||
19. Update DataFrame version in gradle.properties file for next release cycle (i.e. 0.10.0 -> 0.11.0) | |||
20. Update deprecated functions in [deprecationMessages.kt](/core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/util/deprecationMessages.kt) | |||
such that | |||
- `Level.WARNING` messages are changed to `Level.ERROR` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, love this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a post-release section with 19 paragraph
...enerated-sources/src/main/kotlin/org/jetbrains/kotlinx/dataframe/util/deprecationMessages.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great refactoring and process improvement
As a tip from @zaleslaw in #372, we currently don't have any central indication as to when deprecated functions will be removed and whatnot. We did already have a
deprecationMessages.kt
file, containing some const messages.I updated the file with instructions and added versions to the remove-messages.
I also went through the rest of the core module as well to get the deprecations in the same central place. The columns selection DSL will also deprecate a lot of functions, so it's good to have this present ahead of that. (I won't include that in this PR as that's too large)