@reventlessdev/reventless-gwt 1.0.0-alpha.192 → 1.0.0-alpha.194

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
@@ -3,6 +3,28 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 1.0.0-alpha.194 (2026-08-22)
7
+
8
+ * feat(core)!: a slice that has given up says so ([f5559ab](https://github.com/ReventlessDev/reventless-core/commit/f5559abede3a9cf2c9a48aadc69a666c46cc75bf))
9
+
10
+ ### BREAKING CHANGES
11
+
12
+ * `onExhausted` is required on the Translation and Automation
13
+ module types. ReScript has no optional module-type fields, so the alternative
14
+ was a PPX-injected default — and defaulting this one to silence is the bug.
15
+ A slice now states what abandonment means for its domain, `None` included.
16
+ GeocodeCustomerAddress answers with MarkAddressUnresolvable; the others say
17
+ nothing, on purpose.
18
+
19
+
20
+
21
+ # 1.0.0-alpha.193 (2026-08-21)
22
+
23
+ ### Bug Fixes
24
+
25
+ * **deps:** update sury to 11.0.0-rc.2 to fix unreachable union constructors ([fa5744f](https://github.com/ReventlessDev/reventless-core/commit/fa5744fed8de975e2f14725c856c6e5ce7d04a74))
26
+
27
+
6
28
  # 1.0.0-alpha.192 (2026-08-20)
7
29
 
8
30
  **Note:** Version bump only for package @reventlessdev/reventless-gwt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reventlessdev/reventless-gwt",
3
- "version": "1.0.0-alpha.192",
3
+ "version": "1.0.0-alpha.194",
4
4
  "description": "Given-When-Then DSLs and test harness for Reventless slice testing",
5
5
  "license": "Apache-2.0",
6
6
  "jest": {
@@ -13,17 +13,17 @@
13
13
  ]
14
14
  },
15
15
  "dependencies": {
16
- "sury": "11.0.0-rc.1",
17
- "@reventlessdev/rescript-effect": "0.1.0-alpha.32",
18
- "@reventlessdev/rescript-node": "2.0.0-alpha.8",
16
+ "sury": "11.0.0-rc.2",
19
17
  "@reventlessdev/rescript-jest": "1.0.0-alpha.10",
20
- "@reventlessdev/reventless-infra": "3.0.0-alpha.148",
21
- "@reventlessdev/reventless-core": "3.0.0-alpha.245",
22
- "@reventlessdev/reventless-spec": "3.0.0-alpha.120"
18
+ "@reventlessdev/rescript-node": "2.0.0-alpha.8",
19
+ "@reventlessdev/reventless-core": "3.0.0-alpha.247",
20
+ "@reventlessdev/rescript-effect": "0.1.0-alpha.32",
21
+ "@reventlessdev/reventless-infra": "3.0.0-alpha.150",
22
+ "@reventlessdev/reventless-spec": "3.0.0-alpha.122"
23
23
  },
24
24
  "devDependencies": {
25
25
  "rescript": "12.3.0",
26
- "sury-ppx": "11.0.0-rc.1",
26
+ "sury-ppx": "11.0.0-rc.2",
27
27
  "@reventlessdev/reventless-ppx": "1.0.0-alpha.72"
28
28
  },
29
29
  "peerDependencies": {
@@ -33,6 +33,7 @@ module ShipOrderSlice = {
33
33
 
34
34
  let process = (_id, item) =>
35
35
  Some((item.orderId, CreateShipment({orderId: item.orderId, address: item.shippingAddress})))
36
+ let onExhausted = (_id, _item) => None
36
37
  }
37
38
 
38
39
  describe("ShipOrder AutomationSlice", () => {
@@ -60,6 +60,10 @@ function process(_id, item) {
60
60
  ];
61
61
  }
62
62
 
63
+ function onExhausted(_id, _item) {
64
+
65
+ }
66
+
63
67
  function commandAuthorization(param) {
64
68
  return "AllowAuthenticated";
65
69
  }
@@ -72,6 +76,7 @@ let ShipOrderSlice = {
72
76
  collect: collect,
73
77
  resolve: resolve,
74
78
  process: process,
79
+ onExhausted: onExhausted,
75
80
  commandAuthorization: commandAuthorization
76
81
  };
77
82
 
@@ -75,6 +75,7 @@ module AutoShipSlice = {
75
75
  }
76
76
 
77
77
  let process = (id, _todo) => Some((id, ShipOrder({orderId: id})))
78
+ let onExhausted = (_id, _todo) => None
78
79
  }
79
80
 
80
81
  module ShipOrderSlice = {
@@ -123,6 +123,10 @@ function process(id, _todo) {
123
123
  ];
124
124
  }
125
125
 
126
+ function onExhausted(_id, _todo) {
127
+
128
+ }
129
+
126
130
  function commandAuthorization$1(param) {
127
131
  return "AllowAuthenticated";
128
132
  }
@@ -135,6 +139,7 @@ let AutoShipSlice = {
135
139
  collect: collect,
136
140
  resolve: resolve,
137
141
  process: process,
142
+ onExhausted: onExhausted,
138
143
  commandAuthorization: commandAuthorization$1
139
144
  };
140
145