@greenlabs/ppx-spice 0.2.7 → 0.2.8

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,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.2.8
4
+
5
+ - Dropped support for curried mode in accordance with compiler v12 changes.
6
+ - Fixed a build error in the polyvariant encoder generation function to ensure compatibility with compiler v12-alpha.12. https://github.com/green-labs/ppx_spice/pull/91
7
+
3
8
  ## 0.2.7
4
9
 
5
10
  - Add type annotation to error pattern: now generates `Error(e: Spice.decodeError)` for record decoding errors.
package/README.md CHANGED
@@ -134,6 +134,8 @@ Read our [Guide with examples](docs/GUIDE.md)
134
134
  | v11 | v0.2.2 >= && > v0.2.0 |
135
135
  | v10 | v0.2.0 >= |
136
136
 
137
+ NOTE: Starting from v0.2.8, support for curried mode is discontinued to align with the changes in compiler v12.
138
+
137
139
  ```sh
138
140
  yarn add -D @greenlabs/ppx-spice
139
141
  ```
@@ -146,12 +148,10 @@ yarn add -D @greenlabs/ppx-spice
146
148
  ],
147
149
  "ppx-flags": [
148
150
  ...,
149
- ["@greenlabs/ppx-spice/ppx", "-uncurried"]
151
+ "@greenlabs/ppx-spice/ppx"
150
152
  ],
151
153
  ```
152
154
 
153
- > If you want to set it to uncurried mode, add `-uncurried`.
154
-
155
155
  ## Development
156
156
 
157
157
  ### With Dune
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@greenlabs/ppx-spice",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
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-linux.exe CHANGED
Binary file
package/ppx-osx.exe CHANGED
Binary file
package/ppx-windows.exe CHANGED
Binary file