rescript-relay 0.0.0-cli-687699fd → 0.0.0-pre-10692c05

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,44 @@
1
1
  # master
2
2
 
3
+ ## Upgrade versions
4
+
5
+ - `react-relay` to `12.0.0`
6
+ - `relay-compiler` to `12.0.0`
7
+ - `relay-config` to `12.0.0`
8
+ - `relay-runtime` to `12.0.0`
9
+
10
+ React to React 18 rc:
11
+
12
+ - `react` to `rc` (`yarn add react@rc`)
13
+ - `react-dom` to `rc`(`yarn add react-dom@rc`)
14
+
15
+ ## Breaking changes
16
+
17
+ - Remove `reason-promise`. We're waiting for the official new Promise bindings, but since they seem to be quite far away, we'll have to revert back to stock `Js.Promise` for now. This is because `reason-promise` clashes with other Promise bindings that people might want to use before the new official ones are actually shipped.
18
+ - `ReactExperimental.unstable_useTransition` is now called `ReactExperimental.useTransition`, and the order of the tuple that's returned has been reversed to align with the underlying API. This means that what was before `let (startTransition, isTransitioning) = ReactExperimental.unstable_useTransition()` is now `let (isTransitioning, startTransition) = ReactExperimental.useTransition()`.
19
+ - `ReactExperimental.unstable_useDeferredValue` is now called `ReactExperimental.useDeferredValue`.
20
+ - `ReactExperimental.renderConcurrentRootAtElementWithId` has moved to `ReactDOMExperimental`: `ReactDOMExperimental.renderConcurrentRootAtElementWithId`.
21
+
22
+ # 0.22.0
23
+
24
+ This release brings a few `rescript-relay-cli` improvements under the hood, as well as the breaking (but very easily fixable) change of uncurrying the `sink` methods received back from `RescriptRelay.Observable.make`.
25
+
26
+ ## Breaking changes
27
+
28
+ - Uncurry `sink` methods. What was previously `sink => sink.error(err)` etc should now instead be `sink => sink.error(. err)`.
29
+
30
+ ## Fixes & misc
31
+
32
+ - Improvements to the `remove-unused-fields` CLI.
33
+
34
+ # 0.21.1
35
+
36
+ - A few bug fixes to the `remove-unused-fields` command in the CLI.
37
+
38
+ # 0.21.0
39
+
40
+ - Adds `rescript-relay-cli`, a CLI for removing unused fields and formatting GraphQL in your project. Read more [here](https://github.com/zth/rescript-relay/blob/master/packages/rescript-relay-cli/README.md) (especially look at `remove-unused-fields`).
41
+
3
42
  # 0.20.1
4
43
 
5
44
  Quick patch release fixing the Linux binaries that broke with the last release.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # rescript-relay
2
2
 
3
- Use Relay with ReScript/ReasonML.
3
+ Use Relay with ReScript.
4
4
 
5
5
  [**Join our Discord**](https://discord.gg/wzj4EN8XDc)
6
6
 
package/bin-darwin CHANGED
Binary file
package/bin-linux CHANGED
Binary file
package/bsconfig.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "module": "commonjs",
15
15
  "in-source": true
16
16
  },
17
- "bs-dependencies": ["@rescript/react", "reason-promise"],
17
+ "bs-dependencies": ["@rescript/react"],
18
18
  "suffix": ".bs.js",
19
19
  "warnings": {
20
20
  "error": "+101"