Skip to content

Commit 36aeaa0

Browse files
authored
Update v0.8-to-v0.9-upgrade.md (#1209)
Updates the v0.8-to-v0.9-upgrade.md to include the information about dropping annotations in v0.9,
1 parent 79e7ad7 commit 36aeaa0

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

docs/wiki/upgrades/v0.8-to-v0.9-upgrade.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,30 @@
3030

3131
### Breaking behavioral changes
3232

33-
N/A
33+
In version v.9.0, as a result of deprecating `ionValue` property in `ExprValue` and introduction of the substitute method `ExprValue.toIonValue(ion: IonSystem)` in Kotlin, and `ExprValueKt.toIonValue(value: ExprValue, ion: IonSystem)` in Java.
34+
Ion annotation will get elided from the provided Ion values in identity evaluations:
35+
36+
#### Example
37+
```Kotlin
38+
val query = `annotation::1`
39+
40+
/* Prior to v0.9
41+
42+
ExprValue: IonExprValue
43+
ionValue: annotation::1
44+
45+
*/
46+
47+
/* After v0.9
48+
49+
ExprValue: IntExprValue
50+
toIonValue: 1
51+
52+
*/
53+
```
54+
55+
_**Note: Support for Ion annotations will get added back once the work related to finalizing the specification as an RFC is completed. See [partiql-spec/issues/63](
56+
https://github.com/partiql/partiql-spec/issues/63) for more details.**_
3457

3558
### Breaking API changes
3659
* Removes the deprecated V0 AST in the codebase.

0 commit comments

Comments
 (0)