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 +39 -0
- package/README.md +1 -1
- package/bin-darwin +0 -0
- package/bin-linux +0 -0
- package/bsconfig.json +1 -1
- package/cli/cli.js +4 -4
- package/language-plugin/dist/index.js +1 -1
- package/package.json +14 -16
- package/ppx-darwin +0 -0
- package/ppx-linux +0 -0
- package/src/ReactDOMExperimental.bs.js +19 -1
- package/src/ReactDOMExperimental.res +16 -3
- package/src/ReactExperimental.bs.js +1 -16
- package/src/ReactExperimental.res +4 -20
- package/src/RescriptRelay.bs.js +19 -20
- package/src/RescriptRelay.res +28 -26
- package/src/RescriptRelay.resi +22 -34
- package/src/experimental-router/RescriptRelayRouter.bs.js +3 -3
- package/src/experimental-router/RescriptRelayRouter.res +1 -1
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
package/bin-darwin
CHANGED
|
Binary file
|
package/bin-linux
CHANGED
|
Binary file
|