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

Deprecation messages #430

Merged
merged 3 commits into from
Jul 25, 2023
Merged

Deprecation messages #430

merged 3 commits into from
Jul 25, 2023

Conversation

Jolanrensen
Copy link
Collaborator

@Jolanrensen Jolanrensen commented Jul 24, 2023

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)

…updated the file with regions and hints to when a feature will be removed
@Jolanrensen Jolanrensen added the enhancement New feature or request label Jul 24, 2023
@Jolanrensen Jolanrensen self-assigned this Jul 24, 2023
@Jolanrensen Jolanrensen added this to the 0.12.0 milestone Jul 24, 2023
@Jolanrensen Jolanrensen marked this pull request as ready for review July 25, 2023 11:14
@@ -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`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, love this!

Copy link
Collaborator

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

Copy link
Collaborator

@zaleslaw zaleslaw left a 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

@Jolanrensen Jolanrensen merged commit a97b352 into master Jul 25, 2023
1 of 2 checks passed
@Jolanrensen Jolanrensen deleted the deprecation-messages branch July 25, 2023 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants