Skip to content

Commit 8e478a1

Browse files
Merge pull request #1780 from Kotlin/migraton_add_insert_under
Updated Migration Guide and add deprecation instructions
2 parents 35a7767 + f4a7caf commit 8e478a1

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

core/src/main/kotlin/org/jetbrains/kotlinx/dataframe/util/deprecationMessages.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ package org.jetbrains.kotlinx.dataframe.util
55
* After each release, all messages should be reviewed and updated.
66
* Level.WARNING -> Level.ERROR
77
* Level.ERROR -> Remove
8+
*
9+
* Please add info about all deprecations / removals to the Migration Guide
10+
* (./docs/StardustDocs/topics/MigrationTo_1_0.md)
11+
* in the same PR!
812
*/
913

1014
// region WARNING in 0.15, ERROR in 1.0

docs/StardustDocs/topics/MigrationTo_1_0.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ The next functions and classes raise `ERROR` in 1.0 and will be removed in 1.1.
156156
| `df.filterBy(column)` | `df.filter { column }` | Replaced with another function. |
157157
| `FormattingDSL` | `FormattingDsl` | Renamed to the correct CamelCase. |
158158
| `RGBColor` | `RgbColor` | Renamed to the correct CamelCase. |
159-
| `df.insert(column).after(columnPath)` | `df.insert(column).after { columnPath }` | Replaced with another function. |
159+
| `df.insert(column).after(columnPath)` | `df.insert(column).after { columnPath }` | Replaced with another overload. |
160+
| `df.insert(column).under(columnPath)` | `df.insert(column).under { columnPath }` | Replaced with another overload. |
160161
| `CompareResult.Equals` / `CompareResult.isEqual()` | `CompareResult.Matches` / `CompareResult.matches()` | Renamed to better reflect its purpose. |
161162
| `CompareResult.isSuperOrEqual()` | `CompareResult.isSuperOrMatches()` | Renamed to better reflect its purpose. |
162163

0 commit comments

Comments
 (0)