effect-app 4.0.0-beta.26 → 4.0.0-beta.261

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.
Files changed (368) hide show
  1. package/CHANGELOG.md +1194 -0
  2. package/dist/Array.d.ts +3 -2
  3. package/dist/Array.d.ts.map +1 -1
  4. package/dist/Array.js +4 -4
  5. package/dist/Chunk.d.ts +1 -1
  6. package/dist/Chunk.d.ts.map +1 -1
  7. package/dist/Config/SecretURL.d.ts +4 -2
  8. package/dist/Config/SecretURL.d.ts.map +1 -1
  9. package/dist/Config/SecretURL.js +3 -6
  10. package/dist/Config/internal/configSecretURL.d.ts +1 -1
  11. package/dist/Config/internal/configSecretURL.d.ts.map +1 -1
  12. package/dist/Config/internal/configSecretURL.js +2 -2
  13. package/dist/Config.d.ts +7 -0
  14. package/dist/Config.d.ts.map +1 -0
  15. package/dist/Config.js +6 -0
  16. package/dist/ConfigProvider.d.ts +39 -0
  17. package/dist/ConfigProvider.d.ts.map +1 -0
  18. package/dist/ConfigProvider.js +42 -0
  19. package/dist/Context.d.ts +42 -0
  20. package/dist/Context.d.ts.map +1 -0
  21. package/dist/Context.js +67 -0
  22. package/dist/DataDependencies.d.ts +158 -0
  23. package/dist/DataDependencies.d.ts.map +1 -0
  24. package/dist/DataDependencies.js +39 -0
  25. package/dist/Effect.d.ts +13 -12
  26. package/dist/Effect.d.ts.map +1 -1
  27. package/dist/Effect.js +5 -8
  28. package/dist/Emailer.d.ts +51 -0
  29. package/dist/Emailer.d.ts.map +1 -0
  30. package/dist/Emailer.js +7 -0
  31. package/dist/Function.d.ts +1 -1
  32. package/dist/Function.d.ts.map +1 -1
  33. package/dist/Inputify.type.d.ts +1 -1
  34. package/dist/Layer.d.ts +11 -7
  35. package/dist/Layer.d.ts.map +1 -1
  36. package/dist/Layer.js +3 -2
  37. package/dist/Model/Repository/Registry.d.ts +21 -0
  38. package/dist/Model/Repository/Registry.d.ts.map +1 -0
  39. package/dist/Model/Repository/Registry.js +18 -0
  40. package/dist/Model/Repository/ext.d.ts +60 -0
  41. package/dist/Model/Repository/ext.d.ts.map +1 -0
  42. package/dist/Model/Repository/ext.js +122 -0
  43. package/dist/Model/Repository/internal/internal.d.ts +63 -0
  44. package/dist/Model/Repository/internal/internal.d.ts.map +1 -0
  45. package/dist/Model/Repository/internal/internal.js +430 -0
  46. package/dist/Model/Repository/legacy.d.ts +21 -0
  47. package/dist/Model/Repository/legacy.d.ts.map +1 -0
  48. package/dist/Model/Repository/legacy.js +2 -0
  49. package/dist/Model/Repository/makeRepo.d.ts +54 -0
  50. package/dist/Model/Repository/makeRepo.d.ts.map +1 -0
  51. package/dist/Model/Repository/makeRepo.js +27 -0
  52. package/dist/Model/Repository/service.d.ts +121 -0
  53. package/dist/Model/Repository/service.d.ts.map +1 -0
  54. package/dist/Model/Repository/service.js +2 -0
  55. package/dist/Model/Repository/validation.d.ts +58 -0
  56. package/dist/Model/Repository/validation.d.ts.map +1 -0
  57. package/dist/Model/Repository/validation.js +32 -0
  58. package/dist/Model/Repository.d.ts +7 -0
  59. package/dist/Model/Repository.d.ts.map +1 -0
  60. package/dist/Model/Repository.js +7 -0
  61. package/dist/Model/dsl.d.ts +33 -0
  62. package/dist/Model/dsl.d.ts.map +1 -0
  63. package/dist/Model/dsl.js +43 -0
  64. package/dist/Model/filter/filterApi.d.ts +30 -0
  65. package/dist/Model/filter/filterApi.d.ts.map +1 -0
  66. package/dist/Model/filter/filterApi.js +2 -0
  67. package/dist/Model/filter/types/errors.d.ts +29 -0
  68. package/dist/Model/filter/types/errors.d.ts.map +1 -0
  69. package/dist/Model/filter/types/errors.js +2 -0
  70. package/dist/Model/filter/types/fields.d.ts +15 -0
  71. package/dist/Model/filter/types/fields.d.ts.map +1 -0
  72. package/dist/Model/filter/types/fields.js +2 -0
  73. package/dist/Model/filter/types/path/common.d.ts +316 -0
  74. package/dist/Model/filter/types/path/common.d.ts.map +1 -0
  75. package/dist/Model/filter/types/path/common.js +2 -0
  76. package/dist/Model/filter/types/path/eager.d.ts +95 -0
  77. package/dist/Model/filter/types/path/eager.d.ts.map +1 -0
  78. package/dist/Model/filter/types/path/eager.js +31 -0
  79. package/dist/Model/filter/types/path/index.d.ts +4 -0
  80. package/dist/Model/filter/types/path/index.d.ts.map +1 -0
  81. package/dist/Model/filter/types/path/index.js +3 -0
  82. package/dist/Model/filter/types/utils.d.ts +79 -0
  83. package/dist/Model/filter/types/utils.d.ts.map +1 -0
  84. package/dist/Model/filter/types/utils.js +2 -0
  85. package/dist/Model/filter/types/validator.d.ts +30 -0
  86. package/dist/Model/filter/types/validator.d.ts.map +1 -0
  87. package/dist/Model/filter/types/validator.js +2 -0
  88. package/dist/Model/filter/types.d.ts +5 -0
  89. package/dist/Model/filter/types.d.ts.map +1 -0
  90. package/dist/Model/filter/types.js +7 -0
  91. package/dist/Model/query/dsl.d.ts +493 -0
  92. package/dist/Model/query/dsl.d.ts.map +1 -0
  93. package/dist/Model/query/dsl.js +376 -0
  94. package/dist/Model/query/new-kid-interpreter.d.ts +136 -0
  95. package/dist/Model/query/new-kid-interpreter.d.ts.map +1 -0
  96. package/dist/Model/query/new-kid-interpreter.js +336 -0
  97. package/dist/Model/query.d.ts +15 -0
  98. package/dist/Model/query.d.ts.map +1 -0
  99. package/dist/Model/query.js +3 -0
  100. package/dist/Model.d.ts +5 -0
  101. package/dist/Model.d.ts.map +1 -0
  102. package/dist/Model.js +5 -0
  103. package/dist/NonEmptySet.d.ts +4 -2
  104. package/dist/NonEmptySet.d.ts.map +1 -1
  105. package/dist/NonEmptySet.js +2 -2
  106. package/dist/Option.d.ts +2 -1
  107. package/dist/Option.d.ts.map +1 -1
  108. package/dist/Option.js +3 -1
  109. package/dist/Pure.d.ts +8 -6
  110. package/dist/Pure.d.ts.map +1 -1
  111. package/dist/Pure.js +17 -14
  112. package/dist/QueueMaker.d.ts +13 -0
  113. package/dist/QueueMaker.d.ts.map +1 -0
  114. package/dist/QueueMaker.js +4 -0
  115. package/dist/RequestContext.d.ts +91 -0
  116. package/dist/RequestContext.d.ts.map +1 -0
  117. package/dist/RequestContext.js +49 -0
  118. package/dist/Schema/Class.d.ts +66 -20
  119. package/dist/Schema/Class.d.ts.map +1 -1
  120. package/dist/Schema/Class.js +192 -27
  121. package/dist/Schema/FastCheck.d.ts +1 -1
  122. package/dist/Schema/FastCheck.d.ts.map +1 -1
  123. package/dist/Schema/Methods.d.ts +1 -1
  124. package/dist/Schema/SchemaParser.d.ts +5 -0
  125. package/dist/Schema/SchemaParser.d.ts.map +1 -0
  126. package/dist/Schema/SchemaParser.js +6 -0
  127. package/dist/Schema/SpecialJsonSchema.d.ts +34 -0
  128. package/dist/Schema/SpecialJsonSchema.d.ts.map +1 -0
  129. package/dist/Schema/SpecialJsonSchema.js +118 -0
  130. package/dist/Schema/SpecialOpenApi.d.ts +32 -0
  131. package/dist/Schema/SpecialOpenApi.d.ts.map +1 -0
  132. package/dist/Schema/SpecialOpenApi.js +123 -0
  133. package/dist/Schema/brand.d.ts +5 -3
  134. package/dist/Schema/brand.d.ts.map +1 -1
  135. package/dist/Schema/brand.js +3 -1
  136. package/dist/Schema/email.d.ts +1 -1
  137. package/dist/Schema/email.d.ts.map +1 -1
  138. package/dist/Schema/email.js +7 -4
  139. package/dist/Schema/ext.d.ts +339 -56
  140. package/dist/Schema/ext.d.ts.map +1 -1
  141. package/dist/Schema/ext.js +358 -53
  142. package/dist/Schema/moreStrings.d.ts +83 -37
  143. package/dist/Schema/moreStrings.d.ts.map +1 -1
  144. package/dist/Schema/moreStrings.js +49 -42
  145. package/dist/Schema/numbers.d.ts +35 -22
  146. package/dist/Schema/numbers.d.ts.map +1 -1
  147. package/dist/Schema/numbers.js +55 -12
  148. package/dist/Schema/phoneNumber.d.ts +1 -1
  149. package/dist/Schema/phoneNumber.d.ts.map +1 -1
  150. package/dist/Schema/phoneNumber.js +6 -3
  151. package/dist/Schema/schema.d.ts +1 -1
  152. package/dist/Schema/strings.d.ts +19 -5
  153. package/dist/Schema/strings.d.ts.map +1 -1
  154. package/dist/Schema/strings.js +1 -5
  155. package/dist/Schema.d.ts +214 -8
  156. package/dist/Schema.d.ts.map +1 -1
  157. package/dist/Schema.js +190 -11
  158. package/dist/Set.d.ts +5 -2
  159. package/dist/Set.d.ts.map +1 -1
  160. package/dist/Set.js +3 -2
  161. package/dist/Store.d.ts +170 -0
  162. package/dist/Store.d.ts.map +1 -0
  163. package/dist/Store.js +121 -0
  164. package/dist/TypeTest.d.ts +1 -1
  165. package/dist/Types.d.ts +1 -1
  166. package/dist/Widen.type.d.ts +1 -1
  167. package/dist/_ext/Array.d.ts +2 -2
  168. package/dist/_ext/Array.d.ts.map +1 -1
  169. package/dist/_ext/Array.js +4 -2
  170. package/dist/_ext/date.d.ts +1 -1
  171. package/dist/_ext/misc.d.ts +5 -2
  172. package/dist/_ext/misc.d.ts.map +1 -1
  173. package/dist/_ext/misc.js +4 -2
  174. package/dist/_ext/ord.ext.d.ts +3 -2
  175. package/dist/_ext/ord.ext.d.ts.map +1 -1
  176. package/dist/_ext/ord.ext.js +2 -2
  177. package/dist/builtin.d.ts +1 -1
  178. package/dist/builtin.d.ts.map +1 -1
  179. package/dist/client/InvalidationKeys.d.ts +29 -0
  180. package/dist/client/InvalidationKeys.d.ts.map +1 -0
  181. package/dist/client/InvalidationKeys.js +33 -0
  182. package/dist/client/apiClientFactory.d.ts +20 -32
  183. package/dist/client/apiClientFactory.d.ts.map +1 -1
  184. package/dist/client/apiClientFactory.js +104 -34
  185. package/dist/client/clientFor.d.ts +53 -19
  186. package/dist/client/clientFor.d.ts.map +1 -1
  187. package/dist/client/clientFor.js +9 -1
  188. package/dist/client/errors.d.ts +49 -25
  189. package/dist/client/errors.d.ts.map +1 -1
  190. package/dist/client/errors.js +43 -17
  191. package/dist/client/makeClient.d.ts +495 -33
  192. package/dist/client/makeClient.d.ts.map +1 -1
  193. package/dist/client/makeClient.js +66 -24
  194. package/dist/client.d.ts +6 -5
  195. package/dist/client.d.ts.map +1 -1
  196. package/dist/client.js +2 -1
  197. package/dist/faker.d.ts +1 -1
  198. package/dist/faker.d.ts.map +1 -1
  199. package/dist/http/Request.d.ts +2 -2
  200. package/dist/http/Request.d.ts.map +1 -1
  201. package/dist/http/Request.js +2 -2
  202. package/dist/http/internal/lib.d.ts +1 -1
  203. package/dist/http.d.ts +1 -1
  204. package/dist/ids.d.ts +43 -15
  205. package/dist/ids.d.ts.map +1 -1
  206. package/dist/ids.js +30 -5
  207. package/dist/index.d.ts +7 -8
  208. package/dist/index.d.ts.map +1 -1
  209. package/dist/index.js +8 -8
  210. package/dist/logger.d.ts +1 -1
  211. package/dist/middleware.d.ts +14 -8
  212. package/dist/middleware.d.ts.map +1 -1
  213. package/dist/middleware.js +14 -8
  214. package/dist/rpc/Invalidation.d.ts +420 -0
  215. package/dist/rpc/Invalidation.d.ts.map +1 -0
  216. package/dist/rpc/Invalidation.js +168 -0
  217. package/dist/rpc/MiddlewareMaker.d.ts +12 -8
  218. package/dist/rpc/MiddlewareMaker.d.ts.map +1 -1
  219. package/dist/rpc/MiddlewareMaker.js +59 -38
  220. package/dist/rpc/RpcContextMap.d.ts +4 -4
  221. package/dist/rpc/RpcContextMap.d.ts.map +1 -1
  222. package/dist/rpc/RpcContextMap.js +4 -4
  223. package/dist/rpc/RpcMiddleware.d.ts +15 -11
  224. package/dist/rpc/RpcMiddleware.d.ts.map +1 -1
  225. package/dist/rpc/RpcMiddleware.js +1 -1
  226. package/dist/rpc.d.ts +2 -2
  227. package/dist/rpc.d.ts.map +1 -1
  228. package/dist/rpc.js +2 -2
  229. package/dist/runtime.d.ts +19 -0
  230. package/dist/runtime.d.ts.map +1 -0
  231. package/dist/runtime.js +40 -0
  232. package/dist/setupRequest.d.ts +19 -0
  233. package/dist/setupRequest.d.ts.map +1 -0
  234. package/dist/setupRequest.js +69 -0
  235. package/dist/toast.d.ts +51 -0
  236. package/dist/toast.d.ts.map +1 -0
  237. package/dist/toast.js +34 -0
  238. package/dist/transform.d.ts +2 -2
  239. package/dist/transform.d.ts.map +1 -1
  240. package/dist/transform.js +4 -5
  241. package/dist/utils/effectify.d.ts +2 -2
  242. package/dist/utils/effectify.d.ts.map +1 -1
  243. package/dist/utils/effectify.js +2 -2
  244. package/dist/utils/extend.d.ts +1 -1
  245. package/dist/utils/extend.d.ts.map +1 -1
  246. package/dist/utils/gen.d.ts +5 -5
  247. package/dist/utils/gen.d.ts.map +1 -1
  248. package/dist/utils/logLevel.d.ts +3 -3
  249. package/dist/utils/logLevel.d.ts.map +1 -1
  250. package/dist/utils/logger.d.ts +5 -4
  251. package/dist/utils/logger.d.ts.map +1 -1
  252. package/dist/utils/logger.js +4 -4
  253. package/dist/utils.d.ts +40 -45
  254. package/dist/utils.d.ts.map +1 -1
  255. package/dist/utils.js +19 -27
  256. package/dist/validation/validators.d.ts +1 -1
  257. package/dist/validation/validators.d.ts.map +1 -1
  258. package/dist/validation.d.ts +1 -1
  259. package/dist/validation.d.ts.map +1 -1
  260. package/dist/withToast.d.ts +30 -0
  261. package/dist/withToast.d.ts.map +1 -0
  262. package/dist/withToast.js +64 -0
  263. package/package.json +20 -245
  264. package/src/Array.ts +3 -3
  265. package/src/Config/SecretURL.ts +5 -2
  266. package/src/Config/internal/configSecretURL.ts +1 -1
  267. package/src/Config.ts +14 -0
  268. package/src/ConfigProvider.ts +48 -0
  269. package/src/{ServiceMap.ts → Context.ts} +56 -63
  270. package/src/Effect.ts +12 -14
  271. package/src/Emailer.ts +51 -0
  272. package/src/Layer.ts +10 -6
  273. package/src/Model/Repository/Registry.ts +34 -0
  274. package/src/Model/Repository/ext.ts +375 -0
  275. package/src/Model/Repository/internal/internal.ts +741 -0
  276. package/src/Model/Repository/legacy.ts +29 -0
  277. package/src/Model/Repository/makeRepo.ts +145 -0
  278. package/src/Model/Repository/service.ts +666 -0
  279. package/src/Model/Repository/validation.ts +31 -0
  280. package/src/Model/Repository.ts +6 -0
  281. package/src/Model/dsl.ts +129 -0
  282. package/src/Model/filter/filterApi.ts +60 -0
  283. package/src/Model/filter/types/errors.ts +47 -0
  284. package/src/Model/filter/types/fields.ts +50 -0
  285. package/src/Model/filter/types/path/common.ts +404 -0
  286. package/src/Model/filter/types/path/eager.ts +297 -0
  287. package/src/Model/filter/types/path/index.ts +4 -0
  288. package/src/Model/filter/types/utils.ts +128 -0
  289. package/src/Model/filter/types/validator.ts +46 -0
  290. package/src/Model/filter/types.ts +6 -0
  291. package/src/Model/query/dsl.ts +2694 -0
  292. package/src/Model/query/new-kid-interpreter.ts +484 -0
  293. package/src/Model/query.ts +13 -0
  294. package/src/Model.ts +4 -0
  295. package/src/NonEmptySet.ts +3 -1
  296. package/src/Option.ts +2 -0
  297. package/src/Pure.ts +21 -19
  298. package/src/QueueMaker.ts +19 -0
  299. package/src/RequestContext.ts +62 -0
  300. package/src/Schema/Class.ts +274 -68
  301. package/src/Schema/SchemaParser.ts +12 -0
  302. package/src/Schema/SpecialJsonSchema.ts +139 -0
  303. package/src/Schema/SpecialOpenApi.ts +130 -0
  304. package/src/Schema/brand.ts +22 -2
  305. package/src/Schema/email.ts +7 -2
  306. package/src/Schema/ext.ts +443 -88
  307. package/src/Schema/moreStrings.ts +146 -67
  308. package/src/Schema/numbers.ts +96 -27
  309. package/src/Schema/phoneNumber.ts +5 -1
  310. package/src/Schema/strings.ts +22 -13
  311. package/src/Schema.ts +374 -10
  312. package/src/Set.ts +5 -1
  313. package/src/Store.ts +277 -0
  314. package/src/_ext/Array.ts +3 -1
  315. package/src/_ext/misc.ts +4 -1
  316. package/src/_ext/ord.ext.ts +2 -1
  317. package/src/client/InvalidationKeys.ts +50 -0
  318. package/src/client/apiClientFactory.ts +230 -131
  319. package/src/client/clientFor.ts +102 -31
  320. package/src/client/errors.ts +52 -26
  321. package/src/client/makeClient.ts +592 -71
  322. package/src/client.ts +5 -4
  323. package/src/http/Request.ts +1 -1
  324. package/src/ids.ts +32 -5
  325. package/src/index.ts +7 -10
  326. package/src/middleware.ts +13 -9
  327. package/src/rpc/Invalidation.ts +261 -0
  328. package/src/rpc/MiddlewareMaker.ts +83 -75
  329. package/src/rpc/README.md +2 -2
  330. package/src/rpc/RpcContextMap.ts +6 -5
  331. package/src/rpc/RpcMiddleware.ts +18 -12
  332. package/src/rpc.ts +1 -1
  333. package/src/runtime.ts +56 -0
  334. package/src/setupRequest.ts +134 -0
  335. package/src/toast.ts +54 -0
  336. package/src/transform.ts +3 -3
  337. package/src/utils/effectify.ts +1 -1
  338. package/src/utils/gen.ts +8 -8
  339. package/src/utils/logLevel.ts +1 -1
  340. package/src/utils/logger.ts +4 -3
  341. package/src/utils.ts +62 -139
  342. package/src/withToast.ts +133 -0
  343. package/test/dist/rpc-dynamic-middleware.test.d.ts.map +1 -0
  344. package/test/dist/rpc.test.d.ts.map +1 -1
  345. package/test/dist/secretURL.test.d.ts.map +1 -0
  346. package/test/dist/special.test.d.ts.map +1 -0
  347. package/test/dist/stream-error.types.d.ts +2 -0
  348. package/test/dist/stream-error.types.d.ts.map +1 -0
  349. package/test/dist/stream-error.types.js +27 -0
  350. package/test/moreStrings.test.ts +1 -1
  351. package/test/rpc.test.ts +46 -6
  352. package/test/schema.test.ts +459 -30
  353. package/test/secretURL.test.ts +160 -0
  354. package/test/special.test.ts +1026 -0
  355. package/test/utils.test.ts +7 -7
  356. package/tsconfig.base.json +6 -5
  357. package/tsconfig.json +2 -1
  358. package/tsconfig.json.bak +2 -2
  359. package/tsconfig.src.json +29 -29
  360. package/tsconfig.test.json +2 -2
  361. package/dist/Operations.d.ts +0 -123
  362. package/dist/Operations.d.ts.map +0 -1
  363. package/dist/Operations.js +0 -29
  364. package/dist/ServiceMap.d.ts +0 -44
  365. package/dist/ServiceMap.d.ts.map +0 -1
  366. package/dist/ServiceMap.js +0 -91
  367. package/eslint.config.mjs +0 -26
  368. package/src/Operations.ts +0 -55
package/CHANGELOG.md CHANGED
@@ -1,5 +1,1199 @@
1
1
  # @effect-app/prelude
2
2
 
3
+ ## 4.0.0-beta.261
4
+
5
+ ## 4.0.0-beta.260
6
+
7
+ ### Patch Changes
8
+
9
+ - bogus
10
+
11
+ ## 4.0.0-beta.259
12
+
13
+ ## 4.0.0-beta.258
14
+
15
+ ## 4.0.0-beta.257
16
+
17
+ ### Minor Changes
18
+
19
+ - e71eb78: Tighten typing of query DSL builders so field/path parameters are constrained to actual field paths instead of bare `string`:
20
+
21
+ - `relation(path)` now infers the relation's element type and constrains `distinctCount`/`sum`/`collect`/`collectDistinct`/`collectFields`/`collectDistinctFields` and the `unit` of `sumExprBy`/`sumExprNormalized` to `FieldPath<Element>`.
22
+ - `relation(path).expr` exposes a scope-bound math-expression builder so `expr.field(...)` inside `sumExpr`/`sumExprBy`/`sumExprNormalized` is typed against the relation element.
23
+ - Top-level `expr.field` accepts an optional generic for opt-in tightening (`expr.field<E>("x")`).
24
+ - `aggregate(schema, build)` accepts a builder callback whose `agg` argument is bound to the source row inferred from the pipe — paths are checked without any explicit generic: `make<Row>().pipe(aggregate(schema, ($) => ({ city: $.field("address.city") })))`. Plain `AggregateMap` form still accepted.
25
+ - `projectComputed(schema, build, mode?)` accepts a builder callback whose `{ relation }` argument is bound to the source row inferred from the pipe: `make<Row>().pipe(projectComputed(out, ({ relation }) => ({ total: relation("items").sum("qty") })))`. Plain `ComputedProjectionMap` form still accepted.
26
+ - `agg<Row>()` factory remains as an escape hatch when the builder is built outside a pipe.
27
+
28
+ ## 4.0.0-beta.256
29
+
30
+ ### Patch Changes
31
+
32
+ - 347af48: Fix schema interface widening regression introduced in 4.0.0-beta.255 (changeset `olive-onions-lose`).
33
+
34
+ The original refactor annotated branded schema constants with interfaces extending `S.Codec<A, primitive> & WithDefaults<...>`. That widened the underlying `BrandedSchema<...>` chain and dropped phantom slots (`Iso`, `~type.make.in`, `~type.parameters`, `Rebuild`, etc.) that downstream combinators read. In consumer projects this surfaced as `DecodingServices` / `EncodingServices` leaking as `unknown` — for example `Q.project(schema, "project")` failing with `Type 'unknown' is not assignable to type 'never'`, and RPC handler / generator-return shape mismatches against `Effect<any, ..., CurrentSettings | ...>`.
35
+
36
+ Each `*Schema` interface now extends the concrete underlying chain (e.g. `BrandedSchema<S.NonEmptyString, NonEmptyString64>`) and adds a call signature for `withDefaultMake` (and an explicit `withConstructorDefault` field for the numeric and `StringId` schemas). The runtime values are unchanged and the type-display improvement is preserved.
37
+
38
+ Affected: `NonEmptyString*`, `Min3String255`, `StringId`, `Url`, `PositiveInt`, `NonNegativeInt`, `Int`, `PositiveNumber`, `NonNegativeNumber`, and `brandedStringId`.
39
+
40
+ ## 4.0.0-beta.255
41
+
42
+ ### Patch Changes
43
+
44
+ - 52a31dd: Reduce schema type complexity by exposing explicit interfaces for branded string and number schemas.
45
+
46
+ Each branded constant in `Schema/strings.ts`, `Schema/moreStrings.ts`, and `Schema/numbers.ts` now has a named interface (e.g. `NonEmptyStringSchema`, `StringIdSchema`, `PositiveIntSchema`, `UrlSchema`) annotating its `export const`. Mirrors the pattern used in `effect/Schema` itself — TypeScript reports the interface name instead of expanding the full pipe/brand/extension chain, which shrinks inferred types in consumer code and speeds up type display.
47
+
48
+ No runtime or API surface changes; `brandedStringId` now returns `BrandedStringIdSchema<Id>` (same shape as before, just named).
49
+
50
+ ## 4.0.0-beta.254
51
+
52
+ ### Patch Changes
53
+
54
+ - 29a1e57: Repository `changeFeed` is now namespace-aware. Events carry the `storeId` namespace as a third tuple element (`ChangeFeedEvent<T> = [items, op, namespace]`). `subscribe` accepts `options.namespace` to register a per-namespace handler; omitting it registers a wildcard handler that receives events from every namespace. Per-namespace handler buckets eliminate cross-namespace fan-out and avoid waking handlers for irrelevant tenants.
55
+
56
+ ## 4.0.0-beta.253
57
+
58
+ ### Patch Changes
59
+
60
+ - b90fa30: Repository `changeFeed` now broadcasts synchronously: `publish` awaits every subscribed handler before resolving. Replaces `PubSub.PubSub` with a `ChangeFeed<T>` interface (`publish` + scoped `subscribe`). Handlers are auto-removed when the subscriber's scope closes, and the full handler set is cleared when the repository's scope closes. Repository construction now requires `Scope` — wire `makeRepo` through `Layer.scoped` / `Effect.scoped`.
61
+
62
+ ## 4.0.0-beta.252
63
+
64
+ ### Patch Changes
65
+
66
+ - a788432: fix circular
67
+
68
+ ## 4.0.0-beta.251
69
+
70
+ ### Patch Changes
71
+
72
+ - 1c858d3: fix request scope problems
73
+
74
+ ## 4.0.0-beta.250
75
+
76
+ ### Patch Changes
77
+
78
+ - 3053760: fix: restore context map container behavior
79
+
80
+ ## 4.0.0-beta.249
81
+
82
+ ### Minor Changes
83
+
84
+ - ba789a2: Move core service contracts and runtime-agnostic modules into `effect-app`, keep `infra` and `vue` focused on adapters, and drop the temporary `infra` compatibility re-export paths in favor of the new canonical imports.
85
+
86
+ `@effect-app/infra` no longer re-exports moved core modules such as `./Model`, `./Emailer/service`, `./QueueMaker/service`, `./Store/service`, `./adapters/*`, or `./api/*` entrypoints.
87
+
88
+ ## 4.0.0-beta.248
89
+
90
+ ### Patch Changes
91
+
92
+ - 2a86a17: improve tsgo compat: avoid deferred `Schema.Type`/`Codec.Encoded`/`Codec.DecodingServices`/`Codec.EncodingServices` conditional helpers in generic positions where the type parameter is already constrained to `Schema.Top`. Index the property directly (`X["Type"]`, `X["Encoded"]`, `X["DecodingServices"]`, …) so tsgo doesn't leak `unknown` into `Effect` channels (notably `R`).
93
+
94
+ Sites: `client/clientFor.ts` (`RequestHandlerFor`, `FinalTypeOf`, `ExtractResponse`, `ExtractEResponse`), `client/makeClient.ts` (`InputFromPayload`, `OutputFromSuccess`, `InvalidationConfigForCommand`, `TaggedRequestWithMeta` overloads), `rpc/MiddlewareMaker.ts` (`Errors`), `rpc/RpcMiddleware.ts` (`Failure`, `FailureContext`), `Schema/ext.ts` (`ReadonlySetFromArray`, `ReadonlyMapFromArray`), `infra/routing.ts` (`GetSuccessShape`, handlers, route matcher), `vue/makeClient.ts` (`MutationExt.project`, `MutationWithExtensions`, `QueryProjection`), `vue/routeParams.ts` (`parseRouteParams*`).
95
+
96
+ ## 4.0.0-beta.247
97
+
98
+ ### Patch Changes
99
+
100
+ - 01bab22: Work around tsgo failing to reduce `S.Codec.DecodingServices<X>` (`X extends Top ? X["DecodingServices"] : never`) in generic positions, which left `unknown` and polluted the `R` channel of client handlers and RPC middleware failure context. Since the schemas involved are already constrained to `S.Top`, read `["DecodingServices"]` directly in `RequestHandlerFor`, `TagClass.FailureContext`, and the Vue `MutationExt` / `QueryProjection` types.
101
+
102
+ ## 4.0.0-beta.246
103
+
104
+ ## 4.0.0-beta.245
105
+
106
+ ## 4.0.0-beta.244
107
+
108
+ ### Patch Changes
109
+
110
+ - b8b9080: update packages
111
+
112
+ ## 4.0.0-beta.243
113
+
114
+ ## 4.0.0-beta.242
115
+
116
+ ### Patch Changes
117
+
118
+ - da83c1f: Align `InvalidationEntry` (vue) with `InvalidateQueryInstruction` (effect-app).
119
+
120
+ `InvalidateQueryInstruction` is now parametrized over `Filters` / `Options`
121
+ (defaulting to `Record<string, unknown>` so the core stays framework-agnostic).
122
+ `@effect-app/vue` exposes `InvalidationEntry` as a narrowed alias substituting
123
+ `@tanstack/vue-query`'s `InvalidateQueryFilters` and `InvalidateOptions`. Single
124
+ source of truth for the union shape across both packages.
125
+
126
+ - 21017d5: `InvalidationSet.add` accepts arrays and is exposed as a static shortcut.
127
+
128
+ - Single item: `yield* InvalidationSet.add(UserRsc.GetMe)`
129
+ - Batch: `yield* InvalidationSet.add([UserRsc.GetMe, ["custom", "key"]])`
130
+ - Skips the `.use(_ => _.add(...))` boilerplate.
131
+
132
+ Existing `InvalidationSet.use(_ => _.add(...))` form still works; the service
133
+ identity is preserved via `Object.assign` so `Effect.provideService` and
134
+ `.use` / `.useSync` continue to operate on the same `Context.Reference`.
135
+
136
+ - 2495ace: `InvalidationSet.add` accepts RPC handler shorthand.
137
+
138
+ Server-side handlers may now pass an RPC handler object directly to
139
+ `InvalidationSet.add`; its query key is derived via `makeQueryKey`. Raw
140
+ `InvalidationKey` arrays continue to work.
141
+
142
+ ```ts
143
+ // before
144
+ yield *
145
+ Invalidation.InvalidationSet.use((_) => _.add(makeQueryKey(UserRsc.GetMe)));
146
+
147
+ // after
148
+ yield * Invalidation.InvalidationSet.use((_) => _.add(UserRsc.GetMe));
149
+ ```
150
+
151
+ ## 4.0.0-beta.241
152
+
153
+ ### Patch Changes
154
+
155
+ - b035b1c: Isolate per-call `Effect.provide(layers)` / `Stream.provide(layers)` in the
156
+ RPC api client factory via `{ local: true }`.
157
+
158
+ `layers` here is built per RPC invocation from a caller-supplied
159
+ `requestLevelLayers` plus a fresh `RequestName` layer. Today both pieces are
160
+ stateless, so no observable bug — but `Effect.provide(layer)` without
161
+ `local: true` resolves its `MemoMap` from the ambient fiber context, and on a
162
+ long-lived runtime (browser app, server fiber) any stateful layer slipped into
163
+ `requestLevelLayers` by a caller would be memoized and shared across every
164
+ subsequent RPC call. `{ local: true }` builds the layer fresh per call and
165
+ skips the ambient MemoMap entirely.
166
+
167
+ Also documents the rule in `AGENTS.md` ("Per-request `Effect.provide(layer)`
168
+ must isolate its MemoMap") so the pattern is enforceable in code review and
169
+ caught early. Companion to the `provideOnRequestScope` MemoMap fix in
170
+ `@effect-app/infra`.
171
+
172
+ ## 4.0.0-beta.240
173
+
174
+ ## 4.0.0-beta.239
175
+
176
+ ## 4.0.0-beta.238
177
+
178
+ ## 4.0.0-beta.237
179
+
180
+ ## 4.0.0-beta.236
181
+
182
+ ## 4.0.0-beta.235
183
+
184
+ ### Patch Changes
185
+
186
+ - ba4bdc3: improve: support .ts extension
187
+ - 6cfd83d: update effect to latest beta
188
+
189
+ ## 4.0.0-beta.234
190
+
191
+ ## 4.0.0-beta.233
192
+
193
+ ### Patch Changes
194
+
195
+ - 57a1862: Update to effect 4.0.0-beta.67. Switch deps from `pkg.pr.new` snapshot back to npm beta tag.
196
+
197
+ ## 4.0.0-beta.232
198
+
199
+ ### Patch Changes
200
+
201
+ - 0263827: Fix `Date` / `DateValid` default helpers to pipe from their own schema.
202
+
203
+ `withConstructorDefault` and `withDecodingDefaultType` on `DateValid` previously piped from `DateFromString`, dropping the `isDateValid()` check (and, after the recent identifier split, the `DateValid` annotations) from the resulting defaulted schema. Both `Date` and `DateValid` now use `extendM` so the helpers attach to the underlying schema (`DateFromString` / `DateValidFromString`).
204
+
205
+ - 0263827: Distinguish `Date` and `DateValid` in JSON Schema output.
206
+
207
+ - `Date` now emits identifier `DateOrInvalid` with description noting the value may be invalid.
208
+ - `DateValid` now emits its own annotated string (identifier `Date`) with description stating a valid ISO 8601 date is required.
209
+
210
+ - 0263827: Update to effect `pkg.pr.new` snapshot at `a42ef66` (4.0.0-beta.66). Remove `Yieldable` and `asEffect()` (service tags are now `Effect` directly).
211
+
212
+ ## 4.0.0-beta.231
213
+
214
+ ### Patch Changes
215
+
216
+ - 7ca66ce: Update to effect 4.0.0-beta.66. Remove `Yieldable` and `asEffect()` (service tags are now `Effect` directly).
217
+
218
+ ## 4.0.0-beta.230
219
+
220
+ ## 4.0.0-beta.229
221
+
222
+ ## 4.0.0-beta.228
223
+
224
+ ## 4.0.0-beta.227
225
+
226
+ ## 4.0.0-beta.226
227
+
228
+ ## 4.0.0-beta.225
229
+
230
+ ## 4.0.0-beta.224
231
+
232
+ ## 4.0.0-beta.223
233
+
234
+ ## 4.0.0-beta.222
235
+
236
+ ## 4.0.0-beta.221
237
+
238
+ ### Patch Changes
239
+
240
+ - 439cbeb: Adopt module system from effect-smol: replace barrel imports with specific submodule imports (`import * as X from "effect-app/X"` / `import * as X from "effect/X"`).
241
+
242
+ ## 4.0.0-beta.220
243
+
244
+ ## 4.0.0-beta.219
245
+
246
+ ### Patch Changes
247
+
248
+ - d738811: remove double prefix
249
+
250
+ ## 4.0.0-beta.218
251
+
252
+ ## 4.0.0-beta.217
253
+
254
+ ### Patch Changes
255
+
256
+ - 0e824ef: add missing Brand
257
+
258
+ ## 4.0.0-beta.216
259
+
260
+ ## 4.0.0-beta.215
261
+
262
+ ## 4.0.0-beta.214
263
+
264
+ ## 4.0.0-beta.213
265
+
266
+ ## 4.0.0-beta.212
267
+
268
+ ### Patch Changes
269
+
270
+ - 8792221: Rename `withDefault` schema extensions to `withConstructorDefault` for clarity.
271
+
272
+ Document that `.withConstructorDefault` is **construction-only** (applied during `.make(...)` when a field is omitted) and is **not** applied during decode — it cannot be used to JIT-migrate database fields. Per-property JSDoc on every `.withConstructorDefault` / `.withDecodingDefaultType` exposed by `Schema/ext.ts`, `Schema/numbers.ts`, `Schema/moreStrings.ts`, and `ids.ts` so the caveat is visible on hover.
273
+
274
+ Re-export `withConstructorDefault`, `withDecodingDefault`, `withDecodingDefaultKey`, `withDecodingDefaultType`, and `withDecodingDefaultTypeKey` from `effect-app/Schema` with explicit JSDoc. `withDecodingDefault*` is discouraged for persisted data: a missing field may be data corruption rather than an old-shape document, and silently substituting a default hides the problem. Prefer an explicit, preferably versioned migration of database data over decode-time fallbacks.
275
+
276
+ ## 4.0.0-beta.211
277
+
278
+ ## 4.0.0-beta.210
279
+
280
+ ## 4.0.0-beta.209
281
+
282
+ ### Patch Changes
283
+
284
+ - c991be1: update packages
285
+ - 3bae238: Remove lodash type imports from utils.ts, replacing with native TypeScript equivalents.
286
+
287
+ ## 4.0.0-beta.208
288
+
289
+ ## 4.0.0-beta.207
290
+
291
+ ### Patch Changes
292
+
293
+ - 8fffc3c: cleanup
294
+
295
+ ## 4.0.0-beta.206
296
+
297
+ ### Patch Changes
298
+
299
+ - 54bfc59: Require middleware to flow through `makeRpcClient` and the live layer through `makeRouter`.
300
+
301
+ ### `makeRpcClient(middleware, generalErrors?)`
302
+
303
+ Signature drops the `rcs` (request-context map wrapper) parameter. `rcs` was only load-bearing on the type side for `RequestConfig` inference; that information is now derived from `middleware.requestContextMap`. `middleware` is required — the previous "rcs + optional middleware" overload is gone.
304
+
305
+ **Migration**:
306
+
307
+ ```diff
308
+ -makeRpcClient(RequestContextMap, undefined, AppMiddleware)
309
+ +makeRpcClient(AppMiddleware)
310
+ ```
311
+
312
+ For tests/clients without a real middleware, build a minimal stub (`{ requestContextMap, requestContext }`) or pass any value satisfying `ClientMiddleware<RCM>`.
313
+
314
+ ### `makeRouter(middlewareLive)`
315
+
316
+ `makeRouter()` no longer infers the live middleware layer from `meta.middleware.Default`. The Live layer is now passed explicitly to `makeRouter`, and the request classes only carry the middleware tag (schema-only). This decouples the router from any assumption that the middleware tag exposes a `Default` static.
317
+
318
+ **Migration**:
319
+
320
+ ```diff
321
+ -export const { Router, matchAll } = makeRouter()
322
+ +export const { Router, matchAll } = makeRouter(AppMiddleware.Default)
323
+ ```
324
+
325
+ ## 4.0.0-beta.205
326
+
327
+ ### Patch Changes
328
+
329
+ - f313973: fix type make interface
330
+
331
+ ## 4.0.0-beta.204
332
+
333
+ ### Patch Changes
334
+
335
+ - 0a0030f: fix missing overloads
336
+
337
+ ## 4.0.0-beta.203
338
+
339
+ ### Patch Changes
340
+
341
+ - 992d9fa: fix more branded types
342
+
343
+ ## 4.0.0-beta.202
344
+
345
+ ### Patch Changes
346
+
347
+ - 1186b09: improve branded types, keep types through Rebuild
348
+
349
+ ## 4.0.0-beta.201
350
+
351
+ ### Patch Changes
352
+
353
+ - d67d17a: Source middleware errors exclusively from the rpc middleware tag, and move command/stream invalidation wrap/unwrap entirely into the routing layer (server) and `apiClientFactory` (client). `InvalidationMiddleware` and `InvalidationMiddlewareLive` are removed.
354
+
355
+ ### Resource error schemas
356
+
357
+ Three sites that used to fold `RequestContextMap[*].error` into a request's own error schema now stop doing so:
358
+
359
+ - `makeRpcClient` / `makeRequestClass` — `failureSchema` is just `config.error` (still merged with the optional `generalErrors` parameter, which is the only remaining error mix on both type and runtime levels).
360
+ - `MiddlewareMaker.rpc()` — `error: options.error` only; the previous union with `rcm.config[*].error` is gone.
361
+ - Routing and `apiClientFactory.makeRpcGroupFromRequestsAndModuleName` — `Invalidation.makeCommandRpc` is called with `error: resource.error` (no widening with the composite middleware error union).
362
+
363
+ Middleware errors reach the client through the rpc's `middlewares[*].error` failure-union channel of `Rpc.exitSchema`, exposed by attaching the middleware tag to the rpc on both sides:
364
+
365
+ - **Server**: `makeRouter(middleware)` attaches the live composite tag (existing behavior).
366
+ - **Client**: new `middleware` option on `ClientForOptions` / `ApiClientFactory.makeFor(layer, { middleware })` attaches the same tag schema-only (no Live invoked). Threaded through `makeRpcGroupFromRequestsAndModuleName` to `RpcGroup.middleware(tag)`. Without it, stream rpcs (whose top-level `errorSchema` is forced to `Never` by effect-rpc) hit `SchemaError: Expected never | { _tag: "error", ... }` decoding middleware-thrown errors that bypass the in-stream `Stream.catch` wrap.
367
+
368
+ **Migration**: handlers that yield errors previously sourced from rcm (e.g. `yield* new UnauthorizedError()`) now require those errors to be declared explicitly on the resource — `Req.Query<T>()("...", fields, { success, error: UnauthorizedError })`. The handler error type no longer auto-includes the rcm union.
369
+
370
+ ### Invalidation wrap/unwrap
371
+
372
+ - `routing.ts` (server) provides a per-request `InvalidationSet` for commands, wraps the success value as `CommandResponseWithMetaData`, and converts handler-thrown failures into `CommandFailureWithMetaData` so accumulated invalidation keys reach the client on either path. Stream wrap (per-chunk envelope + final `done` chunk) was already in routing and is unchanged.
373
+ - `apiClientFactory.ts` (client) `unwrapCommand` strips both envelopes and forwards keys to `InvalidationKeysFromServer`.
374
+ - `InvalidationMiddleware` (the tag) and `InvalidationMiddlewareLive` (the layer) are **removed**. The middleware was the previous home of the wrap; with the wrap moved to routing/apiClientFactory, the middleware became a thin pass-through and is no longer needed. `DefaultGenericMiddlewares` and `DefaultGenericMiddlewaresLive` shrink accordingly — no migration needed for callers that used the defaults; callers that referenced `InvalidationMiddleware` / `InvalidationMiddlewareLive` directly should drop those imports.
375
+
376
+ Middleware-thrown errors are never wrapped: by definition the handler never ran, so there is nothing to invalidate. They flow raw on the Cause and the client decodes them via the middleware-tag failure-union channel described above.
377
+
378
+ ## 4.0.0-beta.200
379
+
380
+ ### Patch Changes
381
+
382
+ - 8f1cf6a: able to configure schema concurrency
383
+ - 0cff7c1: workaround middleware error issue
384
+
385
+ ## 4.0.0-beta.199
386
+
387
+ ## 4.0.0-beta.198
388
+
389
+ ### Patch Changes
390
+
391
+ - 32dbc54: fix stream type when no success specified
392
+
393
+ ## 4.0.0-beta.197
394
+
395
+ ### Minor Changes
396
+
397
+ - 3dc0d2a: Add streaming as a `stream: true` config option on `Query` / `Command` instead of a separate request type.
398
+
399
+ `TaggedRequestFor` now exposes only `Query` and `Command` factories — the standalone `Stream` factory is removed. To produce a Stream of `success` values, pass `stream: true` in the request config. The request `type` field stays `"command" | "query"`; a new `stream: boolean` field carries the streaming flag (stripped from the stored handler config).
400
+
401
+ ```ts
402
+ // Query that streams results
403
+ Req.Query<T>()("Tag", {}, { stream: true, success: ... })
404
+
405
+ // Command that streams results
406
+ Req.Command<T>()("Tag", {}, { stream: true, success: ... })
407
+ ```
408
+
409
+ Vue client mapping (per-handler properties mirror the non-stream API — `.query`, `.fn`, `.mutate`):
410
+
411
+ - `query` + `stream: true` → exposes `.query` (read-only streaming, tracked Vue Query). Helper map key: `${name}Query`.
412
+ - `command` + `stream: true` → exposes `.fn` and `.mutate` (mutating streaming).
413
+ - Plain `query` / `command` unchanged.
414
+
415
+ Server routing dispatches via the new `stream` flag (`makeStreamRpc` for streaming commands/queries, `makeCommandRpc` / `Rpc.make` otherwise).
416
+
417
+ Also lifts the `Struct` / `TaggedStruct` and `Opaque` definitions in `effect-app/Schema` to use `S.Bottom` / `S.Opaque` directly, exposing `fields`, `mapFields`, and a `MakeIn` that allows `void` when all fields are optional. `TaggedRequestFor` request classes now use `Opaque(TaggedStruct(...))` instead of `TaggedClass`, and decoding/encoding services are derived from `success` / `error` rather than stored on the request.
418
+
419
+ **Migration**: replace `Req.Stream` with `Req.Query` or `Req.Command` and add `stream: true` to the config — `Query` for read-only streams, `Command` for mutating streams.
420
+
421
+ ## 4.0.0-beta.196
422
+
423
+ ## 4.0.0-beta.195
424
+
425
+ ### Patch Changes
426
+
427
+ - 774a9b3: `MiddlewareMaker.makeMiddlewareBasic` now derives each middleware's effective error from both the static `error` field on the tag AND the `rcm` config entry referenced by `dynamic.key`, rather than relying on the static field alone.
428
+
429
+ Middlewares declared with `dynamic: RequestContextMap.get("foo")` (instead of an explicit static `error: ...`) end up with `tag.error = Schema.Never` at runtime — `RpcMiddleware.Tag` defaults the static error to `Never` when not provided. The composite `MiddlewareMaker.Tag(...).middleware(...)` walked `make[*].error` to build its own error union, collapsing to `Union<Never, ...> ≡ Never`.
430
+
431
+ `Rpc.exitSchema` walks `rpc.middlewares[*].error` when building the wire-level failure union for every rpc kind. Empty-union meant middleware-thrown errors (`NotLoggedInError`, `UnauthorizedError`, etc.) never reached the wire schema. Query/command happened to work because their wire `errorSchema = resource.error` already covered the merge from `makeRpcClient`. Stream rpcs have `errorSchema` force-set to `Schema.Never` by effect-rpc, so the resource-level merge never reached the wire — middleware errors decoded as "Expected never, got X".
432
+
433
+ Per middleware, the new logic pushes both the static `_.error` (if non-`Never`) and `rcm[_.dynamic.key].error` (if non-`Never`) into the composite's failure union.
434
+
435
+ ## 4.0.0-beta.194
436
+
437
+ ## 4.0.0-beta.193
438
+
439
+ ## 4.0.0-beta.192
440
+
441
+ ## 4.0.0-beta.191
442
+
443
+ ### Patch Changes
444
+
445
+ - 50ce7e6: Replace typescript-eslint with oxlint-tsgolint for type-aware lint. Drop ESLint entirely from non-vue packages (cli, effect-app, infra) — they now use only `oxlint --type-aware`. Vue packages keep ESLint to run `@effect-app/no-await-effect` (no tsgolint equivalent) via `@typescript-eslint/parser` + `vue-eslint-parser`.
446
+
447
+ ## 4.0.0-beta.190
448
+
449
+ ### Patch Changes
450
+
451
+ - 985176b: Align request handler input typing with the request's `make` signature. Handlers are now classified as no-input only when the request schema declares no payload fields; any payload (even fully-optional) yields a function handler whose input matches `make`'s first parameter. Adds `HandlerInput<I>` and threads it through `CommandFromRequest`.
452
+
453
+ ## 4.0.0-beta.189
454
+
455
+ ### Patch Changes
456
+
457
+ - ea32222: Update to effect 4.0.0-beta.60 and use native `Rpc.custom` constructors (`makeCommandRpc`, `makeStreamRpc`) for metadata-wrapped RPC schemas instead of manually wrapping/unwrapping schemas inline.
458
+
459
+ ## 4.0.0-beta.188
460
+
461
+ ### Patch Changes
462
+
463
+ - b2e438f: Remove Operations service and repo
464
+
465
+ ## 4.0.0-beta.187
466
+
467
+ ### Patch Changes
468
+
469
+ - 0d4e0b8: Fix `isGeneratorFunction` using `isObject` instead of `isFunction`: generator functions have `typeof === "function"`, not `"object"`, so the check always returned `false`. This caused `Command.streamFn` generator-form handlers to silently pass a raw `Generator` object rather than an `Effect<Stream>`, meaning the mutation was never executed.
470
+
471
+ ## 4.0.0-beta.186
472
+
473
+ ## 4.0.0-beta.185
474
+
475
+ ## 4.0.0-beta.184
476
+
477
+ ## 4.0.0-beta.183
478
+
479
+ ## 4.0.0-beta.182
480
+
481
+ ## 4.0.0-beta.181
482
+
483
+ ### Patch Changes
484
+
485
+ - 583393f: Default the stream `mutateStream` execute resolved value to the request's success type when no `final` schema is declared.
486
+
487
+ Previously the type defaulted to `void`, but the runtime already resolves with the last emitted value. Types now match runtime behaviour: `execute` returns `Final` if a `final` schema is set, otherwise the success type.
488
+
489
+ ## 4.0.0-beta.180
490
+
491
+ ### Minor Changes
492
+
493
+ - 7fa3045: V1/V2/V3: stream and command requests carry invalidation metadata
494
+
495
+ **V1** – stream final response includes metadata
496
+
497
+ - `Invalidation.StreamResponseChunk` wraps each stream item as `{ _tag: "value", value }` and appends `{ _tag: "done", metadata }` at the end carrying all accumulated invalidation keys.
498
+
499
+ **V2** – invalidation keys included in failures
500
+
501
+ - `Invalidation.CommandFailureWithMetaData` and `Invalidation.StreamFailureChunk` carry keys accumulated up to the point of failure, so clients can invalidate queries even when a command or stream errors.
502
+ - `InvalidationMiddlewareLive` wraps command failures; `routing.ts` wraps stream failures.
503
+ - `apiClientFactory.ts` unwraps both on the client side, forwarding keys before re-failing with the original error.
504
+
505
+ **V3** – mid-stream metadata chunks
506
+
507
+ - `Invalidation.StreamResponseChunk` now also includes `{ _tag: "metadata", metadata }` for mid-stream invalidation.
508
+ - After each emitted value, the server drains accumulated keys and emits a "metadata" chunk if any keys were collected since the last drain (bucket reset via `InvalidationSet.drain`).
509
+ - `apiClientFactory.ts` processes "metadata" chunks the same as "done" chunks, forwarding keys to `InvalidationKeysFromServer` immediately.
510
+ - `makeInvalidationKeysService` accepts an optional `onAdded` callback that fires after each key addition, enabling `mutate.ts` to trigger query invalidation mid-stream without waiting for the stream to complete.
511
+
512
+ ## 4.0.0-beta.179
513
+
514
+ ### Minor Changes
515
+
516
+ - 828d264: Stream requests now support an optional `final` schema that models the final success type of the stream. When declared, `mutateStream`'s execute effect resolves with the last emitted value typed as `Final` instead of `void`.
517
+
518
+ ```ts
519
+ class MyStream extends SomethingStream<MyStream>()(
520
+ "MyStream",
521
+ { id: S.String },
522
+ {
523
+ success: S.Union([OperationProgress, ExportComplete]),
524
+ final: ExportComplete, // execute now resolves with ExportComplete
525
+ }
526
+ ) {}
527
+ ```
528
+
529
+ ## 4.0.0-beta.178
530
+
531
+ ## 4.0.0-beta.177
532
+
533
+ ### Minor Changes
534
+
535
+ - 89d8b3a: Add Effect RPC `Stream` support to the wrapper.
536
+
537
+ - New `Stream` request constructor on `TaggedRequestFor` parallel to `Query`/`Command`. Emits resources with `type: "stream"`.
538
+ - Server router (`@effect-app/infra` `routing.ts`) accepts stream resources whose handlers return a `Stream.Stream<A, E, R>` (or a function from input to one). Forwards `stream: true` to `Rpc.make` so `RpcSchema.Stream` wrapping is applied. Streams bypass `applyRequestTypeInterruptibility` and the `Effect.withSpan` wrapping (the RPC server adds its own span).
539
+ - Client (`apiClientFactory.ts`) detects stream resources, forwards `stream: true` when constructing `RpcGroup`, and exposes the per-request `handler` as a `Stream.Stream` (via `Stream.unwrap` over the `ManagedRuntime` context) instead of an `Effect`. `Invalidation.CommandResponseWithMetaData` continues to apply only to commands.
540
+ - New `RequestStreamHandler` / `RequestStreamHandlerWithInput` shapes in `clientFor.ts`; `RequestHandlers` dispatches on `type: "stream"`.
541
+
542
+ ## 4.0.0-beta.176
543
+
544
+ ### Patch Changes
545
+
546
+ - pass options
547
+
548
+ ## 4.0.0-beta.175
549
+
550
+ ## 4.0.0-beta.174
551
+
552
+ ### Minor Changes
553
+
554
+ - 821468d: Add server-driven cache invalidation via RPC response headers.
555
+
556
+ - `effect-app/rpc`: new `Invalidation` module with `InvalidationKey` / `InvalidationKeys` schemas, `Invalidates` annotation (for declaring static invalidation on Rpc definitions), `InvalidationSet` reference (request-scoped accumulator), and `makeInvalidationSet` helper.
557
+ - `effect-app/middleware`: new `InvalidationMiddleware` RPC middleware tag; included in `DefaultGenericMiddlewares`.
558
+ - `effect-app/client`: new `InvalidationKeys` module with `InvalidationKeysFromServer` reference and `makeInvalidationKeysService` helper; `apiClientFactory` now taps HTTP responses to read the `x-invalidate` header and forward keys to `InvalidationKeysFromServer`.
559
+ - `@effect-app/infra`: new `InvalidationMiddlewareLive` RPC middleware implementation that owns the full lifecycle — creates a request-scoped `InvalidationSet` (backed by a `Ref`), pre-populates it from the `Invalidates` annotation, provides it to the handler, and after the handler completes registers an HTTP pre-response handler (via `appendPreResponseHandlerUnsafe`) to write the accumulated keys as an `x-invalidate` response header. No separate HTTP middleware is needed.
560
+ - `@effect-app/vue`: `invalidateQueries` / `useMutation` now reads server-provided invalidation keys from `InvalidationKeysFromServer` after each mutation and applies them alongside the client-side invalidation.
561
+
562
+ ## 4.0.0-beta.173
563
+
564
+ ## 4.0.0-beta.172
565
+
566
+ ## 4.0.0-beta.171
567
+
568
+ ### Patch Changes
569
+
570
+ - d71d976: fix
571
+
572
+ ## 4.0.0-beta.170
573
+
574
+ ### Patch Changes
575
+
576
+ - 8f09f77: fix
577
+
578
+ ## 4.0.0-beta.169
579
+
580
+ ### Patch Changes
581
+
582
+ - 8ae8b53: input mess
583
+
584
+ ## 4.0.0-beta.168
585
+
586
+ ### Patch Changes
587
+
588
+ - 178480a: Fix request handler input classification to use request schema fields instead of `make` parameters, preventing defaulted/nullable input fields from being treated as no-input handlers.
589
+
590
+ ## 4.0.0-beta.167
591
+
592
+ ### Patch Changes
593
+
594
+ - 140e192: Relax invalidation resource value constraints to allow arbitrary values while preserving query-only filtering in invalidation handling.
595
+
596
+ ## 4.0.0-beta.166
597
+
598
+ ### Patch Changes
599
+
600
+ - dbcc53b: Refactor command invalidation typing: declare resources via `Command<Self, Resources>()`, pass `invalidatesQueries` as the optional 4th argument, and enforce exact `clientFor` invalidation resources when required.
601
+
602
+ ## 4.0.0-beta.165
603
+
604
+ ### Minor Changes
605
+
606
+ - f88ea34: Move `makeQueryKey` into `effect-app/client` and update Vue source and tests to import it from the shared client module. Vue still re-exports `makeQueryKey` from `src/lib` for compatibility.
607
+
608
+ ## 4.0.0-beta.164
609
+
610
+ ### Minor Changes
611
+
612
+ - 8cb3de4: Add command invalidation helpers that preserve query-only resource types and pass mutation input and `Exit` results into invalidation callbacks. Update Vue `clientFor` to merge request-level invalidation config with call-site invalidation and require matching invalidation resources.
613
+
614
+ ## 4.0.0-beta.163
615
+
616
+ ### Patch Changes
617
+
618
+ - b952f19: bye cruft
619
+
620
+ ## 4.0.0-beta.162
621
+
622
+ ### Patch Changes
623
+
624
+ - b52b424: restore annotations for now
625
+
626
+ ## 4.0.0-beta.161
627
+
628
+ ## 4.0.0-beta.160
629
+
630
+ ### Patch Changes
631
+
632
+ - 505bfa9: Add concurrent decode helper APIs and migrate decode callsites to use them.
633
+
634
+ - Add `withDefaultParseOptions` and keep `DefaultParseOptions` centralized.
635
+ - Export `decodeEffectConcurrently` and `decodeUnknownEffectConcurrently` from Schema and SchemaParser modules.
636
+ - Update repository, queue, client, form, and CLI decode paths to use concurrent decode helpers.
637
+ - Keep schema constructors free of hardcoded parse concurrency overrides.
638
+
639
+ ## 4.0.0-beta.159
640
+
641
+ ### Patch Changes
642
+
643
+ - c1e73de:
644
+
645
+ ## 4.0.0-beta.158
646
+
647
+ ### Patch Changes
648
+
649
+ - 3c1f52d: improve: class strictness enabled by default again, allow `strict: false` as opt out for now.
650
+ - 6ae3050: Preserve class annotation parseOptions in relaxed declaration struct decoding so custom parse options (including concurrency defaults) are applied consistently.
651
+
652
+ ## 4.0.0-beta.157
653
+
654
+ ### Patch Changes
655
+
656
+ - 6fff09c: unify encoded function for when you use encodedKeys
657
+
658
+ ## 4.0.0-beta.156
659
+
660
+ ## 4.0.0-beta.155
661
+
662
+ ### Patch Changes
663
+
664
+ - c215db8: align TaggedUnion with array arg
665
+
666
+ ## 4.0.0-beta.154
667
+
668
+ ## 4.0.0-beta.153
669
+
670
+ ## 4.0.0-beta.152
671
+
672
+ ## 4.0.0-beta.151
673
+
674
+ ## 4.0.0-beta.150
675
+
676
+ ### Patch Changes
677
+
678
+ - 85a8275: Expose `make`, `makeOption`, and `makeEffect` static helpers on request classes created via `Query`/`Command`.
679
+
680
+ ## 4.0.0-beta.149
681
+
682
+ ### Patch Changes
683
+
684
+ - f317c5e: Preserve omitted-input make helpers through Schema.Opaque when the wrapped schema allows optional or default-only constructor input.
685
+
686
+ ## 4.0.0-beta.148
687
+
688
+ ### Patch Changes
689
+
690
+ - 199e9a5: Allow Struct and TaggedStruct make helpers to omit input when every constructor field is optional or defaulted, and preserve widening copy typings through a lighter named public type to improve TypeScript editor responsiveness.
691
+
692
+ ## 4.0.0-beta.147
693
+
694
+ ### Patch Changes
695
+
696
+ - 47e3742: Preserve Struct.copy through `annotate`, `annotateKey`, and `mapFields` chains, and add tests covering chained copy behavior on Struct schemas.
697
+
698
+ ## 4.0.0-beta.146
699
+
700
+ ### Patch Changes
701
+
702
+ - a4dff57: Adjust Struct and TaggedStruct copy typing to follow class-style widening constraints while keeping structural copy runtime behavior.
703
+
704
+ ## 4.0.0-beta.145
705
+
706
+ ### Patch Changes
707
+
708
+ - 12abb55: Refine schema copy behavior by keeping class copy constructor-based while using structural copy for Struct and TaggedStruct helpers.
709
+
710
+ ## 4.0.0-beta.144
711
+
712
+ ### Patch Changes
713
+
714
+ - 11422f8: Update request helper typing and runtime invocation to rely on schema `.make` instead of class constructors, avoiding `new`-based assumptions for request schemas.
715
+ - d31253f: Refactor eligible schema classes and tagged classes to Opaque schemas, and migrate constructor call sites to use `.make` for those models.
716
+
717
+ ## 4.0.0-beta.143
718
+
719
+ ### Patch Changes
720
+
721
+ - 79eb019: Remove redundant schema `title` annotations when they duplicate the schema `identifier`.
722
+
723
+ ## 4.0.0-beta.142
724
+
725
+ ### Minor Changes
726
+
727
+ - 025de47: Fold the encoded-override support from `ExtendedClass` and `ExtendedTaggedClass` into `Class`, `TaggedClass`, `ErrorClass`, and `TaggedErrorClass`, and update model codegen to detect the new second-generic form.
728
+
729
+ ### Patch Changes
730
+
731
+ - 3436d44: Extend `Schema.Opaque` in `effect-app/Schema` to support an optional encoded-type generic while preserving the original single-generic behavior.
732
+
733
+ ## 4.0.0-beta.141
734
+
735
+ ### Patch Changes
736
+
737
+ - 7c25dbb: Add relaxed wrapper support for `ErrorClass` and `TaggedErrorClass` in `effect-app/Schema`, matching the existing class wrapper behavior (`copy`, cached `ast`, and unbounded parse concurrency).
738
+
739
+ ## 4.0.0-beta.140
740
+
741
+ ## 4.0.0-beta.139
742
+
743
+ ## 4.0.0-beta.138
744
+
745
+ ## 4.0.0-beta.137
746
+
747
+ ## 4.0.0-beta.136
748
+
749
+ ## 4.0.0-beta.135
750
+
751
+ ### Patch Changes
752
+
753
+ - c7bbc41: fix - class should check type side
754
+
755
+ ## 4.0.0-beta.134
756
+
757
+ ### Patch Changes
758
+
759
+ - 9d3495e: Preserve field-level schema decode errors for relaxed Class and TaggedClass declarations so decode failures report nested constraints (for example min-length violations) instead of only a generic class-type mismatch.
760
+ - f353d48: Rename the Class/TaggedClass relaxed declaration option to `strict` (default `false`) and apply it to `Class`, `TaggedClass`, `ExtendedClass`, and `ExtendedTaggedClass`.
761
+
762
+ When `strict: true`, class decoding keeps strict class-level declaration behavior; by default, decoding remains relaxed and preserves field-level schema errors.
763
+
764
+ ## 4.0.0-beta.133
765
+
766
+ ### Patch Changes
767
+
768
+ - c3299f7: update packages
769
+
770
+ ## 4.0.0-beta.132
771
+
772
+ ## 4.0.0-beta.131
773
+
774
+ ## 4.0.0-beta.130
775
+
776
+ ### Patch Changes
777
+
778
+ - ea1bd46: fix: prevent expansion of nominal brands
779
+
780
+ ## 4.0.0-beta.129
781
+
782
+ ## 4.0.0-beta.128
783
+
784
+ ### Patch Changes
785
+
786
+ - 57db551: Split `TaggedRequestFor` into `Query` and `Command` factories, and mark generated request classes with `type: "query" | "command"`.
787
+
788
+ Vue client helpers now expose query-only helpers (`query`, `suspense`, `fetch`) for query requests and mutation-only helpers (`mutate`, `fetch`) for command requests.
789
+
790
+ ## 4.0.0-beta.127
791
+
792
+ ## 4.0.0-beta.126
793
+
794
+ ### Patch Changes
795
+
796
+ - 458bb1b: fix type
797
+
798
+ ## 4.0.0-beta.125
799
+
800
+ ## 4.0.0-beta.124
801
+
802
+ ### Patch Changes
803
+
804
+ - 256ae85: cleanup
805
+
806
+ ## 4.0.0-beta.123
807
+
808
+ ### Patch Changes
809
+
810
+ - 14aba14: fix: clientFor
811
+
812
+ ## 4.0.0-beta.122
813
+
814
+ ### Patch Changes
815
+
816
+ - f052d38: Replace `(...) => Effect.gen` with `Effect.fnUntraced` in `apiClientFactory`.
817
+
818
+ ## 4.0.0-beta.121
819
+
820
+ ### Patch Changes
821
+
822
+ - 5ac46cb: Make `Schema.provide` dual (pipeable)
823
+
824
+ ## 4.0.0-beta.120
825
+
826
+ ### Minor Changes
827
+
828
+ - f21190c: Add `copy` property to `Class` and `TaggedClass` for creating modified instances with updated fields. The `copy` method is cached per-class and supports both object and function-based updates, with pipeline support.
829
+
830
+ ## 4.0.0-beta.119
831
+
832
+ ## 4.0.0-beta.118
833
+
834
+ ### Minor Changes
835
+
836
+ - 08d2e70: Add `concurrency: "unbounded"` parseOptions annotation to Schema constructors (Struct, Array, NonEmptyArray, Record, TaggedStruct, ReadonlySet, ReadonlyMap, Class, TaggedClass) so all encode/decode operations automatically run with unbounded concurrency. Also override `mapFields` on Struct and Class/TaggedClass to preserve the annotation.
837
+
838
+ ### Patch Changes
839
+
840
+ - bd26832: Add nested anyOf flattening to JSON Schema post-processing
841
+ - Update effect packages to 4.0.0-beta.52
842
+
843
+ ## 4.0.0-beta.117
844
+
845
+ ## 4.0.0-beta.116
846
+
847
+ ## 4.0.0-beta.115
848
+
849
+ ## 4.0.0-beta.114
850
+
851
+ ## 4.0.0-beta.113
852
+
853
+ ## 4.0.0-beta.112
854
+
855
+ ## 4.0.0-beta.111
856
+
857
+ ### Patch Changes
858
+
859
+ - ca94edf: fix typo
860
+
861
+ ## 4.0.0-beta.110
862
+
863
+ ## 4.0.0-beta.109
864
+
865
+ ## 4.0.0-beta.108
866
+
867
+ ### Patch Changes
868
+
869
+ - 3e46e7b: allow excess props in openapi schemas
870
+
871
+ ## 4.0.0-beta.107
872
+
873
+ ## 4.0.0-beta.106
874
+
875
+ ## 4.0.0-beta.105
876
+
877
+ ## 4.0.0-beta.104
878
+
879
+ ### Minor Changes
880
+
881
+ - e944bca: Add `generateGuards` and `generateGuardsFor` to `TaggedUnion` / `ExtendTaggedUnion` for property-scoped type guards.
882
+
883
+ - `generateGuards("key")` — generic per-guard, no need to specify the container type
884
+ - `generateGuardsFor<A>()("key")` — curried, fixes `A` for concrete guard signatures
885
+
886
+ Both return `{ is{Tag}, isAnyOf }` guards that narrow the container type by its tagged union property.
887
+
888
+ ## 4.0.0-beta.103
889
+
890
+ ### Minor Changes
891
+
892
+ - 7119320: Add `generateGuards` to `TaggedUnion` / `ExtendTaggedUnion` for generating property-scoped type guards.
893
+
894
+ Usage: `MyUnion.generateGuards<MyType>()("propertyKey")` returns `{ is{Tag}, isAnyOf }` guards that narrow the container type by its tagged union property.
895
+
896
+ ## 4.0.0-beta.102
897
+
898
+ ## 4.0.0-beta.101
899
+
900
+ ## 4.0.0-beta.100
901
+
902
+ ## 4.0.0-beta.99
903
+
904
+ ## 4.0.0-beta.98
905
+
906
+ ## 4.0.0-beta.97
907
+
908
+ ## 4.0.0-beta.96
909
+
910
+ ### Patch Changes
911
+
912
+ - 5615e47: bs
913
+
914
+ ## 4.0.0-beta.95
915
+
916
+ ### Patch Changes
917
+
918
+ - 88838fb: Remove pick/omit customizations from Class/TaggedClass/Struct/TaggedStruct. Use `Struct.pick(X.fields, [...])` from `effect-app` instead.
919
+
920
+ ## 4.0.0-beta.94
921
+
922
+ ## 4.0.0-beta.93
923
+
924
+ ## 4.0.0-beta.92
925
+
926
+ ## 4.0.0-beta.91
927
+
928
+ ### Minor Changes
929
+
930
+ - 738b482: Add pick/omit to Struct and TaggedStruct
931
+
932
+ ## 4.0.0-beta.90
933
+
934
+ ## 4.0.0-beta.89
935
+
936
+ ## 4.0.0-beta.88
937
+
938
+ ## 4.0.0-beta.87
939
+
940
+ ## 4.0.0-beta.86
941
+
942
+ ## 4.0.0-beta.85
943
+
944
+ ## 4.0.0-beta.84
945
+
946
+ ## 4.0.0-beta.83
947
+
948
+ ## 4.0.0-beta.82
949
+
950
+ ## 4.0.0-beta.81
951
+
952
+ ## 4.0.0-beta.80
953
+
954
+ ## 4.0.0-beta.79
955
+
956
+ ### Minor Changes
957
+
958
+ - d16845e: Remove `TaggedRequest` from `makeRpcClient`, now only `TaggedRequestFor` is returned. Remove all legacy `meta.moduleName` support — `id` and `moduleName` are now required on `Req` type. Remove `makeRpcGroup` (use `makeRpcGroupFromRequestsAndModuleName` instead).
959
+
960
+ ## 4.0.0-beta.78
961
+
962
+ ## 4.0.0-beta.77
963
+
964
+ ### Minor Changes
965
+
966
+ - 3613e87: Add `TaggedRequestFor` helper to `makeRpcClient` that curries a `moduleName`, producing request classes with static `id` and `moduleName` properties. This enables passing request classes directly to `makeQueryKey` without going through `clientFor` first. The `clientFor` function no longer requires a `meta` property on the module when requests carry `moduleName`. The meta codegen preset now generates `Req = TaggedRequestFor(moduleName)`. Original `TaggedRequest` remains for backwards compatibility.
967
+
968
+ ## 4.0.0-beta.76
969
+
970
+ ### Patch Changes
971
+
972
+ - a5248a9: use new schema features
973
+ - fac725d: update effect to latest beta
974
+
975
+ ## 4.0.0-beta.75
976
+
977
+ ### Patch Changes
978
+
979
+ - 24f0a5a: rename Literal to Literals, no longer hiding Schema's singular Literal.
980
+
981
+ ## 4.0.0-beta.74
982
+
983
+ ### Patch Changes
984
+
985
+ - 54ec1ef: fix bs
986
+
987
+ ## 4.0.0-beta.73
988
+
989
+ ## 4.0.0-beta.72
990
+
991
+ ### Patch Changes
992
+
993
+ - 0541f0d: fix withDefault types
994
+
995
+ ## 4.0.0-beta.71
996
+
997
+ ### Minor Changes
998
+
999
+ - beae3a0: Remove `withDefaultConstructor` wrapper, use `S.withConstructorDefault` directly with `Effect.succeed`/`Effect.sync`.
1000
+
1001
+ ## 4.0.0-beta.70
1002
+
1003
+ ## 4.0.0-beta.69
1004
+
1005
+ ### Patch Changes
1006
+
1007
+ - dc465e3: update to latest effect beta
1008
+
1009
+ ## 4.0.0-beta.68
1010
+
1011
+ ### Patch Changes
1012
+
1013
+ - e6f2341: Add SecretURL tests and switch secretURL config to use Config.nonEmptyString
1014
+
1015
+ ## 4.0.0-beta.67
1016
+
1017
+ ## 4.0.0-beta.66
1018
+
1019
+ ### Patch Changes
1020
+
1021
+ - edc52e4: update
1022
+
1023
+ ## 4.0.0-beta.65
1024
+
1025
+ ### Minor Changes
1026
+
1027
+ - 1f103b2: Replace `proxify` with explicit service accessor helpers: `accessFn`, `accessEffectFn`, `accessCn`, `accessEffectCn`.
1028
+
1029
+ ### Patch Changes
1030
+
1031
+ - 31739d7: Fix JSON schema output for Email, Date, PhoneNumber, and Url schemas. The `jsonSchema` annotation key is not recognized by Effect v4's JSON schema generator — use proper v4 annotations (`format`, `description`) and built-in checks (`isMinLength`, `isMaxLength`) instead.
1032
+
1033
+ ## 4.0.0-beta.64
1034
+
1035
+ ### Patch Changes
1036
+
1037
+ - c1a6fdc: fix proxify
1038
+
1039
+ ## 4.0.0-beta.63
1040
+
1041
+ ## 4.0.0-beta.62
1042
+
1043
+ ### Patch Changes
1044
+
1045
+ - 0b21a02: fix: flatten simple allOf constraints in JSON Schema output for better codegen compatibility
1046
+
1047
+ ## 4.0.0-beta.61
1048
+
1049
+ ## 4.0.0-beta.60
1050
+
1051
+ ## 4.0.0-beta.59
1052
+
1053
+ ### Patch Changes
1054
+
1055
+ - cec026d: update packages
1056
+
1057
+ ## 4.0.0-beta.58
1058
+
1059
+ ## 4.0.0-beta.57
1060
+
1061
+ ## 4.0.0-beta.56
1062
+
1063
+ ## 4.0.0-beta.55
1064
+
1065
+ ## 4.0.0-beta.54
1066
+
1067
+ ### Patch Changes
1068
+
1069
+ - d867272: the return of `Context`
1070
+
1071
+ ## 4.0.0-beta.53
1072
+
1073
+ ### Patch Changes
1074
+
1075
+ - ee9694e: fix type issue?
1076
+
1077
+ ## 4.0.0-beta.52
1078
+
1079
+ ### Minor Changes
1080
+
1081
+ - 6252808: Add `ReadonlySetFromArray` and `ReadonlyMapFromArray` schema transformations that decode from annotated arrays to Set/Map. Update `ReadonlySet` and `ReadonlyMap` to use these internally.
1082
+
1083
+ ## 4.0.0-beta.51
1084
+
1085
+ ## 4.0.0-beta.50
1086
+
1087
+ ## 4.0.0-beta.49
1088
+
1089
+ ### Patch Changes
1090
+
1091
+ - e585c9c: fix config nested
1092
+
1093
+ ## 4.0.0-beta.48
1094
+
1095
+ ### Patch Changes
1096
+
1097
+ - 0c88f78: Remove `TaggedError` compatibility re-export, use `TaggedErrorClass` directly
1098
+
1099
+ ## 4.0.0-beta.47
1100
+
1101
+ ### Patch Changes
1102
+
1103
+ - 3365758: workaround effect error messages
1104
+
1105
+ ## 4.0.0-beta.46
1106
+
1107
+ ## 4.0.0-beta.45
1108
+
1109
+ ### Patch Changes
1110
+
1111
+ - 10b55ff: update packages
1112
+
1113
+ ## 4.0.0-beta.44
1114
+
1115
+ ### Patch Changes
1116
+
1117
+ - a37aa38: Update to effect beta 43
1118
+
1119
+ ## 4.0.0-beta.43
1120
+
1121
+ ## 4.0.0-beta.42
1122
+
1123
+ ## 4.0.0-beta.41
1124
+
1125
+ ## 4.0.0-beta.40
1126
+
1127
+ ## 4.0.0-beta.39
1128
+
1129
+ ### Patch Changes
1130
+
1131
+ - 10e90d5: fix: TaggedRequest should be an Opaque Schema Class
1132
+
1133
+ ## 4.0.0-beta.38
1134
+
1135
+ ### Patch Changes
1136
+
1137
+ - 0b3e00e: fix bug
1138
+
1139
+ ## 4.0.0-beta.37
1140
+
1141
+ ### Patch Changes
1142
+
1143
+ - 947fe20: fix input date
1144
+
1145
+ ## 4.0.0-beta.36
1146
+
1147
+ ## 4.0.0-beta.35
1148
+
1149
+ ## 4.0.0-beta.34
1150
+
1151
+ ### Patch Changes
1152
+
1153
+ - 8c645d5: update to latest effect
1154
+
1155
+ ## 4.0.0-beta.33
1156
+
1157
+ ### Patch Changes
1158
+
1159
+ - 4b95009: use Finite instead of Number
1160
+
1161
+ ## 4.0.0-beta.32
1162
+
1163
+ ### Patch Changes
1164
+
1165
+ - 01d862a: again
1166
+
1167
+ ## 4.0.0-beta.31
1168
+
1169
+ ### Patch Changes
1170
+
1171
+ - 6b6d601: fix ForceVOid
1172
+
1173
+ ## 4.0.0-beta.30
1174
+
1175
+ ### Patch Changes
1176
+
1177
+ - 5ec1f45: fix ForceVoid for real
1178
+
1179
+ ## 4.0.0-beta.29
1180
+
1181
+ ### Patch Changes
1182
+
1183
+ - a899d46: Replace `ForceVoid` in `makeClient` with a typed codec transformation instead of an unsafe cast.
1184
+
1185
+ ## 4.0.0-beta.28
1186
+
1187
+ ### Patch Changes
1188
+
1189
+ - 0099208: Refactor `Pure` helpers to use typed `useSync` calls instead of unsafe casts.
1190
+
1191
+ ## 4.0.0-beta.27
1192
+
1193
+ ### Patch Changes
1194
+
1195
+ - 601a1ff: update effect to 4.0.0-beta.37 and drop the Schema Class disableValidation workaround now that the patched effect schema covers it
1196
+
3
1197
  ## 4.0.0-beta.26
4
1198
 
5
1199
  ### Patch Changes