Skip to content

Commit

Permalink
bumped deprecation message numbers since 0.11.0 is already released
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolanrensen committed Aug 23, 2023
1 parent c7d0d01 commit 6bb6cf7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,35 @@ package org.jetbrains.kotlinx.dataframe.util
* Level.ERROR -> Remove
*/

// region WARNING in 0.10.0, ERROR in 0.11.0
// region WARNING in 0.11.0, ERROR in 0.12.0

private const val message_0_11_0 = "Was removed in 0.11.0."
private const val message_0_12_0 = "Was removed in 0.12.0."

internal const val DF_READ_DEPRECATION_MESSAGE = "Replaced with `unfold` operation. $message_0_11_0"
internal const val DF_READ_DEPRECATION_MESSAGE = "Replaced with `unfold` operation. $message_0_12_0"
internal const val DF_READ_REPLACE_MESSAGE = "this.unfold(*columns)"

internal const val ITERABLE_COLUMNS_DEPRECATION_MESSAGE = "Replaced with `toColumnSet()` operation. $message_0_11_0"
internal const val ITERABLE_COLUMNS_DEPRECATION_MESSAGE = "Replaced with `toColumnSet()` operation. $message_0_12_0"

// endregion

// region WARNING in 0.11.0, ERROR in 0.12.0
// region WARNING in 0.12.0, ERROR in 0.13.0

private const val message_0_12_0 = "Will be removed in 0.12.0."
private const val message_0_13_0 = "Will be removed in 0.13.0."

internal const val DIFF_DEPRECATION_MESSAGE = "Replaced to explicitly indicate nullable return value; added a new non-null overload. $message_0_12_0"
internal const val DIFF_DEPRECATION_MESSAGE = "Replaced to explicitly indicate nullable return value; added a new non-null overload. $message_0_13_0"
internal const val DIFF_REPLACE_MESSAGE = "this.diffOrNull(expression)"
internal const val DIFF_OR_NULL_IMPORT = "org.jetbrains.kotlinx.dataframe.api.diffOrNull"

internal const val UPDATE_AS_NULLABLE_MESSAGE = "This function is useless unless in combination with `withValue(null)`, but then you can just use `with { null }`. $message_0_12_0"
internal const val UPDATE_AS_NULLABLE_MESSAGE = "This function is useless unless in combination with `withValue(null)`, but then you can just use `with { null }`. $message_0_13_0"
internal const val UPDATE_AS_NULLABLE_REPLACE = "this as Update<T, C?>"

internal const val UPDATE_WITH_VALUE = "Replaced in favor of `with { value }`. $message_0_12_0"
internal const val UPDATE_WITH_VALUE = "Replaced in favor of `with { value }`. $message_0_13_0"
internal const val UPDATE_WITH_VALUE_REPLACE = "this.with { value }"

// endregion

// region WARNING in 0.12.0, ERROR in 0.13.0
// region WARNING in 0.13.0, ERROR in 0.14.0

private const val message_0_13_0 = "Will be removed in 0.13.0."
private const val message_0_14_0 = "Will be removed in 0.14.0."

// endregion
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,35 @@ package org.jetbrains.kotlinx.dataframe.util
* Level.ERROR -> Remove
*/

// region WARNING in 0.10.0, ERROR in 0.11.0
// region WARNING in 0.11.0, ERROR in 0.12.0

private const val message_0_11_0 = "Was removed in 0.11.0."
private const val message_0_12_0 = "Was removed in 0.12.0."

internal const val DF_READ_DEPRECATION_MESSAGE = "Replaced with `unfold` operation. $message_0_11_0"
internal const val DF_READ_DEPRECATION_MESSAGE = "Replaced with `unfold` operation. $message_0_12_0"
internal const val DF_READ_REPLACE_MESSAGE = "this.unfold(*columns)"

internal const val ITERABLE_COLUMNS_DEPRECATION_MESSAGE = "Replaced with `toColumnSet()` operation. $message_0_11_0"
internal const val ITERABLE_COLUMNS_DEPRECATION_MESSAGE = "Replaced with `toColumnSet()` operation. $message_0_12_0"

// endregion

// region WARNING in 0.11.0, ERROR in 0.12.0
// region WARNING in 0.12.0, ERROR in 0.13.0

private const val message_0_12_0 = "Will be removed in 0.12.0."
private const val message_0_13_0 = "Will be removed in 0.13.0."

internal const val DIFF_DEPRECATION_MESSAGE = "Replaced to explicitly indicate nullable return value; added a new non-null overload. $message_0_12_0"
internal const val DIFF_DEPRECATION_MESSAGE = "Replaced to explicitly indicate nullable return value; added a new non-null overload. $message_0_13_0"
internal const val DIFF_REPLACE_MESSAGE = "this.diffOrNull(expression)"
internal const val DIFF_OR_NULL_IMPORT = "org.jetbrains.kotlinx.dataframe.api.diffOrNull"

internal const val UPDATE_AS_NULLABLE_MESSAGE = "This function is useless unless in combination with `withValue(null)`, but then you can just use `with { null }`. $message_0_12_0"
internal const val UPDATE_AS_NULLABLE_MESSAGE = "This function is useless unless in combination with `withValue(null)`, but then you can just use `with { null }`. $message_0_13_0"
internal const val UPDATE_AS_NULLABLE_REPLACE = "this as Update<T, C?>"

internal const val UPDATE_WITH_VALUE = "Replaced in favor of `with { value }`. $message_0_12_0"
internal const val UPDATE_WITH_VALUE = "Replaced in favor of `with { value }`. $message_0_13_0"
internal const val UPDATE_WITH_VALUE_REPLACE = "this.with { value }"

// endregion

// region WARNING in 0.12.0, ERROR in 0.13.0
// region WARNING in 0.13.0, ERROR in 0.14.0

private const val message_0_13_0 = "Will be removed in 0.13.0."
private const val message_0_14_0 = "Will be removed in 0.14.0."

// endregion

0 comments on commit 6bb6cf7

Please sign in to comment.