rescript-relay 3.0.0-rc.9 → 3.0.1
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 +10 -3
- package/README.md +2 -2
- package/cli/cli.js +8 -8
- package/package.json +4 -4
- package/ppx-linux +0 -0
- package/ppx-macos-arm64 +0 -0
- package/ppx-macos-latest +0 -0
- package/ppx-windows-latest +0 -0
- package/relay-compiler-linux-musl/relay +0 -0
- package/relay-compiler-linux-x64/relay +0 -0
- package/relay-compiler-macos-arm64/relay +0 -0
- package/relay-compiler-macos-x64/relay +0 -0
- package/relay-compiler-win-x64/relay.exe +0 -0
- package/src/RescriptRelay.bs.js +110 -3
- package/src/RescriptRelay.res +121 -0
- package/src/RescriptRelay.resi +16 -0
- package/src/RescriptRelay_Internal.bs.js +13 -0
- package/src/RescriptRelay_Internal.res +14 -0
- package/src/RescriptRelay_Internal.resi +2 -0
- package/src/ReactExperimental.bs.js +0 -23
- package/src/ReactExperimental.res +0 -21
- package/src/ReactExperimental.resi +0 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
# master
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# 3.0.1
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
- Add `Environment.findAllConnectionIds` for finding all IDs of all connection instances for a specific connection, regardless of what configs that connection has been fetched (and cached) with.
|
|
6
|
+
- Add `RecordSourceSelectorProxy.invalidateRecordsByIds` for invalidating multilple records at the same time.
|
|
7
|
+
- Allow configuring input unions via `inputUnions` in `relay.config.js` as an escape hatch for when `@oneOf` support on your server is tricky to set up.
|
|
8
|
+
- Move `@rescript/react` to `>=0.13.0`.
|
|
6
9
|
|
|
7
|
-
#
|
|
10
|
+
# 3.0.0 stable
|
|
11
|
+
|
|
12
|
+
- Support `@alias` fragments.
|
|
13
|
+
- Experimental support for `@codesplit`, a RescriptRelay exclusive directive that's essentially a client side version of [Relay data-driven dependencies (3D)](https://relay.dev/docs/glossary/#3d).
|
|
14
|
+
- Remove `ReactExperimental` module since all APIs now ship in the official bindings.
|
|
8
15
|
|
|
9
16
|
# 3.0.0-rc.9
|
|
10
17
|
|
package/README.md
CHANGED
|
@@ -103,8 +103,8 @@ let make = () => {
|
|
|
103
103
|
There's plenty of work ongoing to bring RescriptRelay to full ReScript v11 support, including uncurried mode. Here's the versioning scheme that'll be followed going forward:
|
|
104
104
|
|
|
105
105
|
- 1.x will receive critical bug fixes etc, but new features won't be added
|
|
106
|
-
- 2.x will
|
|
107
|
-
- 3.x
|
|
106
|
+
- 2.x will focus on compatibility with ReScript v11, and uncurried mode (uncurried mode will be optional). This is intended to make the transition to v11+ smooth
|
|
107
|
+
- 3.x is fully embracing uncurried mode (no curried mode available), and adds a bunch of new stuff + change existing APIs to make them better and more ergonomic
|
|
108
108
|
|
|
109
109
|
## Examples
|
|
110
110
|
|