@greenlabs/ppx-spice 0.2.0-next.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 9ce55bf: Compat the untagged variant
8
+
3
9
  ## 0.2.0-next.0
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -74,6 +74,8 @@ type data = {
74
74
 
75
75
  There are many cases to parse and stringify the string data into (polymorphic) variants. Furthermore, the Unicode string needs to be handled with a variant. Currently, pattern matching is not working for the Unicode string in ReScript, the Spice is using `if ... then ... else` to compare the Unicode string in case of adding `@spice.as` attribute.
76
76
 
77
+ 3. Last but not least, Spice supports the latest ReScript compilers: v10's optional field record, v11's untagged variant, and more.
78
+
77
79
  ## Example
78
80
 
79
81
  1. Variant
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@greenlabs/ppx-spice",
3
- "version": "0.2.0-next.0",
3
+ "version": "0.2.0",
4
4
  "description": "ReScript PPX which generate JSON (de)serializer",
5
5
  "license": "MIT",
6
6
  "author": "Greenlabs Dev <developer@greenlabs.co.kr>",
package/ppx-osx.exe CHANGED
Binary file
package/ppx-windows.exe CHANGED
Binary file