@effect-app/infra 4.0.0-beta.27 → 4.0.0-beta.272

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 (478) hide show
  1. package/CHANGELOG.md +2071 -0
  2. package/_check.sh +1 -1
  3. package/dist/CUPS.d.ts +29 -10
  4. package/dist/CUPS.d.ts.map +1 -1
  5. package/dist/CUPS.js +35 -14
  6. package/dist/ClusterCosmos.d.ts +64 -0
  7. package/dist/ClusterCosmos.d.ts.map +1 -0
  8. package/dist/ClusterCosmos.js +547 -0
  9. package/dist/ClusterServiceBus.d.ts +67 -0
  10. package/dist/ClusterServiceBus.d.ts.map +1 -0
  11. package/dist/ClusterServiceBus.js +82 -0
  12. package/dist/ContextProvider.d.ts +34 -0
  13. package/dist/ContextProvider.d.ts.map +1 -0
  14. package/dist/ContextProvider.js +40 -0
  15. package/dist/Emailer/Sendgrid.d.ts +110 -146
  16. package/dist/Emailer/Sendgrid.d.ts.map +1 -1
  17. package/dist/Emailer/Sendgrid.js +24 -19
  18. package/dist/Emailer/fake.d.ts +1 -1
  19. package/dist/Emailer/fake.d.ts.map +1 -1
  20. package/dist/Emailer/fake.js +4 -4
  21. package/dist/MainFiberSet.d.ts +11 -8
  22. package/dist/MainFiberSet.d.ts.map +1 -1
  23. package/dist/MainFiberSet.js +10 -6
  24. package/dist/QueueMaker/SQLQueue.d.ts +7 -8
  25. package/dist/QueueMaker/SQLQueue.d.ts.map +1 -1
  26. package/dist/QueueMaker/SQLQueue.js +138 -120
  27. package/dist/QueueMaker/errors.d.ts +4 -2
  28. package/dist/QueueMaker/errors.d.ts.map +1 -1
  29. package/dist/QueueMaker/errors.js +4 -2
  30. package/dist/QueueMaker/memQueue.d.ts +9 -5
  31. package/dist/QueueMaker/memQueue.d.ts.map +1 -1
  32. package/dist/QueueMaker/memQueue.js +84 -68
  33. package/dist/QueueMaker/sbqueue.d.ts +8 -4
  34. package/dist/QueueMaker/sbqueue.d.ts.map +1 -1
  35. package/dist/QueueMaker/sbqueue.js +60 -58
  36. package/dist/RequestFiberSet.d.ts +9 -6
  37. package/dist/RequestFiberSet.d.ts.map +1 -1
  38. package/dist/RequestFiberSet.js +13 -8
  39. package/dist/{adapters/SQL → SQL}/Model.d.ts +31 -42
  40. package/dist/SQL/Model.d.ts.map +1 -0
  41. package/dist/SQL/Model.js +469 -0
  42. package/dist/SQL.d.ts.map +1 -0
  43. package/dist/{adapters/SQL.js → SQL.js} +1 -1
  44. package/dist/{adapters/ServiceBus.d.ts → ServiceBus.d.ts} +13 -10
  45. package/dist/ServiceBus.d.ts.map +1 -0
  46. package/dist/ServiceBus.js +108 -0
  47. package/dist/Store/Cosmos/query.d.ts +14 -3
  48. package/dist/Store/Cosmos/query.d.ts.map +1 -1
  49. package/dist/Store/Cosmos/query.js +179 -41
  50. package/dist/Store/Cosmos.d.ts +2 -2
  51. package/dist/Store/Cosmos.d.ts.map +1 -1
  52. package/dist/Store/Cosmos.js +385 -254
  53. package/dist/Store/Disk.d.ts +4 -4
  54. package/dist/Store/Disk.d.ts.map +1 -1
  55. package/dist/Store/Disk.js +79 -39
  56. package/dist/Store/Memory.d.ts +5 -9
  57. package/dist/Store/Memory.d.ts.map +1 -1
  58. package/dist/Store/Memory.js +324 -67
  59. package/dist/Store/SQL/Pg.d.ts +4 -0
  60. package/dist/Store/SQL/Pg.d.ts.map +1 -0
  61. package/dist/Store/SQL/Pg.js +232 -0
  62. package/dist/Store/SQL/query.d.ts +49 -0
  63. package/dist/Store/SQL/query.d.ts.map +1 -0
  64. package/dist/Store/SQL/query.js +527 -0
  65. package/dist/Store/SQL.d.ts +21 -0
  66. package/dist/Store/SQL.d.ts.map +1 -0
  67. package/dist/Store/SQL.js +456 -0
  68. package/dist/Store/codeFilter.d.ts +4 -4
  69. package/dist/Store/codeFilter.d.ts.map +1 -1
  70. package/dist/Store/codeFilter.js +6 -4
  71. package/dist/Store/index.d.ts +6 -4
  72. package/dist/Store/index.d.ts.map +1 -1
  73. package/dist/Store/index.js +18 -5
  74. package/dist/Store/utils.d.ts +5 -2
  75. package/dist/Store/utils.d.ts.map +1 -1
  76. package/dist/Store/utils.js +9 -5
  77. package/dist/WorkflowEngineCosmos.d.ts +29 -0
  78. package/dist/WorkflowEngineCosmos.d.ts.map +1 -0
  79. package/dist/WorkflowEngineCosmos.js +542 -0
  80. package/dist/WorkflowEngineSqlite.d.ts +24 -0
  81. package/dist/WorkflowEngineSqlite.d.ts.map +1 -0
  82. package/dist/WorkflowEngineSqlite.js +550 -0
  83. package/dist/arbs.d.ts +1 -1
  84. package/dist/arbs.d.ts.map +1 -1
  85. package/dist/arbs.js +5 -3
  86. package/dist/codec.d.ts.map +1 -0
  87. package/dist/codec.js +5 -0
  88. package/dist/{adapters/cosmos-client.d.ts → cosmos-client.d.ts} +4 -2
  89. package/dist/cosmos-client.d.ts.map +1 -0
  90. package/dist/cosmos-client.js +11 -0
  91. package/dist/errorReporter.d.ts +6 -4
  92. package/dist/errorReporter.d.ts.map +1 -1
  93. package/dist/errorReporter.js +23 -27
  94. package/dist/fileUtil.d.ts +1 -1
  95. package/dist/fileUtil.d.ts.map +1 -1
  96. package/dist/fileUtil.js +2 -2
  97. package/dist/index.d.ts +2 -1
  98. package/dist/index.d.ts.map +1 -1
  99. package/dist/index.js +3 -2
  100. package/dist/internal/RequestContextMiddleware.d.ts +5 -0
  101. package/dist/internal/RequestContextMiddleware.d.ts.map +1 -0
  102. package/dist/internal/RequestContextMiddleware.js +45 -0
  103. package/dist/internal/auth.d.ts +53 -0
  104. package/dist/internal/auth.d.ts.map +1 -0
  105. package/dist/internal/auth.js +180 -0
  106. package/dist/internal/events.d.ts +11 -0
  107. package/dist/internal/events.d.ts.map +1 -0
  108. package/dist/internal/events.js +49 -0
  109. package/dist/internal/health.d.ts.map +1 -0
  110. package/dist/internal/health.js +5 -0
  111. package/dist/{api/layerUtils.d.ts → layerUtils.d.ts} +14 -6
  112. package/dist/layerUtils.d.ts.map +1 -0
  113. package/dist/layerUtils.js +17 -0
  114. package/dist/logger/jsonLogger.d.ts +1 -1
  115. package/dist/logger/jsonLogger.d.ts.map +1 -1
  116. package/dist/logger/jsonLogger.js +5 -3
  117. package/dist/logger/logFmtLogger.d.ts +1 -1
  118. package/dist/logger/logFmtLogger.d.ts.map +1 -1
  119. package/dist/logger/logFmtLogger.js +3 -3
  120. package/dist/logger/shared.d.ts +2 -2
  121. package/dist/logger/shared.d.ts.map +1 -1
  122. package/dist/logger/shared.js +5 -5
  123. package/dist/logger.d.ts.map +1 -1
  124. package/dist/{adapters/memQueue.d.ts → memQueue.d.ts} +4 -2
  125. package/dist/memQueue.d.ts.map +1 -0
  126. package/dist/memQueue.js +21 -0
  127. package/dist/middlewares.d.ts.map +1 -0
  128. package/dist/{api/middlewares.js → middlewares.js} +1 -1
  129. package/dist/{adapters/mongo-client.d.ts → mongo-client.d.ts} +3 -2
  130. package/dist/mongo-client.d.ts.map +1 -0
  131. package/dist/mongo-client.js +15 -0
  132. package/dist/otel.d.ts +75 -0
  133. package/dist/otel.d.ts.map +1 -0
  134. package/dist/otel.js +65 -0
  135. package/dist/rateLimit.d.ts +11 -3
  136. package/dist/rateLimit.d.ts.map +1 -1
  137. package/dist/rateLimit.js +7 -12
  138. package/dist/{adapters/redis-client.d.ts → redis-client.d.ts} +5 -2
  139. package/dist/redis-client.d.ts.map +1 -0
  140. package/dist/redis-client.js +98 -0
  141. package/dist/{api/reportError.d.ts → reportError.d.ts} +1 -1
  142. package/dist/reportError.d.ts.map +1 -0
  143. package/dist/reportError.js +28 -0
  144. package/dist/{api/routing → routing}/middleware/RouterMiddleware.d.ts +4 -3
  145. package/dist/routing/middleware/RouterMiddleware.d.ts.map +1 -0
  146. package/dist/{api/routing → routing}/middleware/RouterMiddleware.js +1 -1
  147. package/dist/routing/middleware/middleware.d.ts +48 -0
  148. package/dist/routing/middleware/middleware.d.ts.map +1 -0
  149. package/dist/routing/middleware/middleware.js +128 -0
  150. package/dist/{api/routing → routing}/middleware.d.ts +0 -1
  151. package/dist/routing/middleware.d.ts.map +1 -0
  152. package/dist/{api/routing → routing}/middleware.js +1 -2
  153. package/dist/routing/schema/jwt.d.ts.map +1 -0
  154. package/dist/routing/schema/jwt.js +13 -0
  155. package/dist/routing/tsort.d.ts.map +1 -0
  156. package/dist/routing/tsort.js +51 -0
  157. package/dist/{api/routing → routing}/utils.d.ts +3 -3
  158. package/dist/routing/utils.d.ts.map +1 -0
  159. package/dist/routing/utils.js +45 -0
  160. package/dist/routing.d.ts +182 -0
  161. package/dist/routing.d.ts.map +1 -0
  162. package/dist/routing.js +235 -0
  163. package/dist/test.d.ts +2 -2
  164. package/dist/test.d.ts.map +1 -1
  165. package/dist/test.js +2 -2
  166. package/dist/util.d.ts.map +1 -0
  167. package/dist/util.js +14 -0
  168. package/docs/cluster-storage.md +26 -0
  169. package/docs/workflow-engine.md +262 -0
  170. package/examples/query.ts +47 -39
  171. package/package.json +32 -346
  172. package/run.sh +7 -0
  173. package/src/CUPS.ts +53 -14
  174. package/src/ClusterCosmos.ts +1118 -0
  175. package/src/ClusterServiceBus.ts +242 -0
  176. package/src/{api/ContextProvider.ts → ContextProvider.ts} +20 -17
  177. package/src/Emailer/Sendgrid.ts +83 -60
  178. package/src/Emailer/fake.ts +4 -4
  179. package/src/MainFiberSet.ts +15 -13
  180. package/src/QueueMaker/SQLQueue.ts +154 -157
  181. package/src/QueueMaker/errors.ts +3 -1
  182. package/src/QueueMaker/memQueue.ts +115 -109
  183. package/src/QueueMaker/sbqueue.ts +80 -92
  184. package/src/RequestFiberSet.ts +14 -9
  185. package/src/{adapters/SQL → SQL}/Model.ts +42 -41
  186. package/src/SQL.ts +1 -0
  187. package/src/ServiceBus.ts +219 -0
  188. package/src/Store/Cosmos/query.ts +218 -54
  189. package/src/Store/Cosmos.ts +529 -365
  190. package/src/Store/Disk.ts +112 -70
  191. package/src/Store/Memory.ts +365 -99
  192. package/src/Store/SQL/Pg.ts +363 -0
  193. package/src/Store/SQL/query.ts +603 -0
  194. package/src/Store/SQL.ts +746 -0
  195. package/src/Store/codeFilter.ts +8 -6
  196. package/src/Store/index.test.ts.bak +2 -2
  197. package/src/Store/index.ts +25 -10
  198. package/src/Store/utils.ts +32 -25
  199. package/src/WorkflowEngineCosmos.ts +749 -0
  200. package/src/WorkflowEngineSqlite.ts +813 -0
  201. package/src/arbs.ts +5 -3
  202. package/src/{adapters/cosmos-client.ts → cosmos-client.ts} +5 -3
  203. package/src/errorReporter.ts +68 -78
  204. package/src/fileUtil.ts +1 -1
  205. package/src/index.ts +2 -1
  206. package/src/{api/internal → internal}/RequestContextMiddleware.ts +23 -6
  207. package/src/internal/auth.ts +272 -0
  208. package/src/{api/internal → internal}/events.ts +22 -13
  209. package/src/{api/layerUtils.ts → layerUtils.ts} +14 -10
  210. package/src/logger/jsonLogger.ts +5 -3
  211. package/src/logger/logFmtLogger.ts +3 -3
  212. package/src/logger/shared.ts +5 -4
  213. package/src/{adapters/memQueue.ts → memQueue.ts} +5 -4
  214. package/src/middlewares.ts +10 -0
  215. package/src/{adapters/mongo-client.ts → mongo-client.ts} +4 -2
  216. package/src/otel.ts +152 -0
  217. package/src/rateLimit.ts +34 -23
  218. package/src/{adapters/redis-client.ts → redis-client.ts} +7 -3
  219. package/src/{api/reportError.ts → reportError.ts} +3 -2
  220. package/src/{api/routing → routing}/middleware/RouterMiddleware.ts +5 -4
  221. package/src/{api/routing → routing}/middleware/middleware.ts +62 -17
  222. package/src/routing/middleware.ts +4 -0
  223. package/src/{api/routing → routing}/schema/jwt.ts +2 -1
  224. package/src/{api/routing → routing}/utils.ts +2 -1
  225. package/src/routing.ts +766 -0
  226. package/src/test.ts +4 -4
  227. package/src/vitest.ts +1 -1
  228. package/test/auth.test.ts +101 -0
  229. package/test/cluster-cosmos.test.ts +612 -0
  230. package/test/cluster-servicebus.test.ts +180 -0
  231. package/test/cluster-sqlite.test.ts +205 -0
  232. package/test/contextProvider.test.ts +15 -12
  233. package/test/controller.test.ts +28 -32
  234. package/test/cosmos-query.test.ts +159 -0
  235. package/test/dist/auth.test.d.ts.map +1 -0
  236. package/test/dist/cluster-cosmos.test.d.ts.map +1 -0
  237. package/test/dist/cluster-servicebus.test.d.ts.map +1 -0
  238. package/test/dist/cluster-sqlite.test.d.ts.map +1 -0
  239. package/test/dist/contextProvider.test.d.ts.map +1 -1
  240. package/test/dist/controller.test.d.ts.map +1 -1
  241. package/test/dist/cosmos-query.test.d.ts.map +1 -0
  242. package/test/dist/fixtures.d.ts +29 -11
  243. package/test/dist/fixtures.d.ts.map +1 -1
  244. package/test/dist/fixtures.js +17 -10
  245. package/test/dist/query.test.d.ts.map +1 -1
  246. package/test/dist/rawQuery.test.d.ts.map +1 -1
  247. package/test/dist/repository-ext.test.d.ts.map +1 -0
  248. package/test/dist/requires.test.d.ts.map +1 -1
  249. package/test/dist/router-generator.test.d.ts.map +1 -0
  250. package/test/dist/routing-interruptibility.test.d.ts.map +1 -0
  251. package/test/dist/rpc-context-map-streaming.test.d.ts.map +1 -0
  252. package/test/dist/rpc-e2e-invalidation.test.d.ts.map +1 -0
  253. package/test/dist/rpc-multi-middleware.test.d.ts.map +1 -1
  254. package/test/dist/rpc-stream-fullstack.test.d.ts.map +1 -0
  255. package/test/dist/sql-store.test.d.ts.map +1 -0
  256. package/test/dist/workflow-engine-cosmos.test.d.ts.map +1 -0
  257. package/test/dist/workflow-engine-sqlite.test.d.ts.map +1 -0
  258. package/test/fixtures.ts +16 -9
  259. package/test/layerUtils.test.ts +2 -2
  260. package/test/query.test.ts +905 -40
  261. package/test/rawQuery.test.ts +340 -22
  262. package/test/repository-ext.test.ts +62 -0
  263. package/test/requires.test.ts +10 -5
  264. package/test/router-generator.test.ts +187 -0
  265. package/test/routing-interruptibility.test.ts +66 -0
  266. package/test/rpc-context-map-streaming.test.ts +262 -0
  267. package/test/rpc-e2e-invalidation.test.ts +256 -0
  268. package/test/rpc-multi-middleware.test.ts +85 -10
  269. package/test/rpc-stream-fullstack.test.ts +304 -0
  270. package/test/sql-store.test.ts +1711 -0
  271. package/test/validateSample.test.ts +26 -14
  272. package/test/workflow-engine-cosmos.test.ts +345 -0
  273. package/test/workflow-engine-sqlite.test.ts +297 -0
  274. package/tsconfig.examples.json +1 -1
  275. package/tsconfig.json +3 -1
  276. package/tsconfig.json.bak +70 -9
  277. package/tsconfig.src.json +35 -35
  278. package/tsconfig.test.json +2 -2
  279. package/dist/Emailer/service.d.ts +0 -55
  280. package/dist/Emailer/service.d.ts.map +0 -1
  281. package/dist/Emailer/service.js +0 -6
  282. package/dist/Emailer.d.ts +0 -2
  283. package/dist/Emailer.d.ts.map +0 -1
  284. package/dist/Emailer.js +0 -2
  285. package/dist/Model/Repository/ext.d.ts +0 -41
  286. package/dist/Model/Repository/ext.d.ts.map +0 -1
  287. package/dist/Model/Repository/ext.js +0 -65
  288. package/dist/Model/Repository/internal/internal.d.ts +0 -59
  289. package/dist/Model/Repository/internal/internal.d.ts.map +0 -1
  290. package/dist/Model/Repository/internal/internal.js +0 -316
  291. package/dist/Model/Repository/legacy.d.ts +0 -19
  292. package/dist/Model/Repository/legacy.d.ts.map +0 -1
  293. package/dist/Model/Repository/legacy.js +0 -2
  294. package/dist/Model/Repository/makeRepo.d.ts +0 -49
  295. package/dist/Model/Repository/makeRepo.d.ts.map +0 -1
  296. package/dist/Model/Repository/makeRepo.js +0 -24
  297. package/dist/Model/Repository/service.d.ts +0 -89
  298. package/dist/Model/Repository/service.d.ts.map +0 -1
  299. package/dist/Model/Repository/service.js +0 -2
  300. package/dist/Model/Repository/validation.d.ts +0 -42
  301. package/dist/Model/Repository/validation.d.ts.map +0 -1
  302. package/dist/Model/Repository/validation.js +0 -32
  303. package/dist/Model/Repository.d.ts +0 -6
  304. package/dist/Model/Repository.d.ts.map +0 -1
  305. package/dist/Model/Repository.js +0 -6
  306. package/dist/Model/dsl.d.ts +0 -32
  307. package/dist/Model/dsl.d.ts.map +0 -1
  308. package/dist/Model/dsl.js +0 -44
  309. package/dist/Model/filter/filterApi.d.ts +0 -30
  310. package/dist/Model/filter/filterApi.d.ts.map +0 -1
  311. package/dist/Model/filter/filterApi.js +0 -2
  312. package/dist/Model/filter/types/errors.d.ts +0 -29
  313. package/dist/Model/filter/types/errors.d.ts.map +0 -1
  314. package/dist/Model/filter/types/errors.js +0 -2
  315. package/dist/Model/filter/types/fields.d.ts +0 -15
  316. package/dist/Model/filter/types/fields.d.ts.map +0 -1
  317. package/dist/Model/filter/types/fields.js +0 -2
  318. package/dist/Model/filter/types/path/common.d.ts +0 -316
  319. package/dist/Model/filter/types/path/common.d.ts.map +0 -1
  320. package/dist/Model/filter/types/path/common.js +0 -2
  321. package/dist/Model/filter/types/path/eager.d.ts +0 -95
  322. package/dist/Model/filter/types/path/eager.d.ts.map +0 -1
  323. package/dist/Model/filter/types/path/eager.js +0 -31
  324. package/dist/Model/filter/types/path/index.d.ts +0 -4
  325. package/dist/Model/filter/types/path/index.d.ts.map +0 -1
  326. package/dist/Model/filter/types/path/index.js +0 -3
  327. package/dist/Model/filter/types/utils.d.ts +0 -79
  328. package/dist/Model/filter/types/utils.d.ts.map +0 -1
  329. package/dist/Model/filter/types/utils.js +0 -2
  330. package/dist/Model/filter/types/validator.d.ts +0 -30
  331. package/dist/Model/filter/types/validator.d.ts.map +0 -1
  332. package/dist/Model/filter/types/validator.js +0 -2
  333. package/dist/Model/filter/types.d.ts +0 -5
  334. package/dist/Model/filter/types.d.ts.map +0 -1
  335. package/dist/Model/filter/types.js +0 -7
  336. package/dist/Model/query/dsl.d.ts +0 -248
  337. package/dist/Model/query/dsl.d.ts.map +0 -1
  338. package/dist/Model/query/dsl.js +0 -104
  339. package/dist/Model/query/new-kid-interpreter.d.ts +0 -28
  340. package/dist/Model/query/new-kid-interpreter.d.ts.map +0 -1
  341. package/dist/Model/query/new-kid-interpreter.js +0 -165
  342. package/dist/Model/query.d.ts +0 -15
  343. package/dist/Model/query.d.ts.map +0 -1
  344. package/dist/Model/query.js +0 -3
  345. package/dist/Model.d.ts +0 -4
  346. package/dist/Model.d.ts.map +0 -1
  347. package/dist/Model.js +0 -4
  348. package/dist/Operations.d.ts +0 -55
  349. package/dist/Operations.d.ts.map +0 -1
  350. package/dist/Operations.js +0 -102
  351. package/dist/OperationsRepo.d.ts +0 -41
  352. package/dist/OperationsRepo.d.ts.map +0 -1
  353. package/dist/OperationsRepo.js +0 -14
  354. package/dist/QueueMaker/service.d.ts +0 -11
  355. package/dist/QueueMaker/service.d.ts.map +0 -1
  356. package/dist/QueueMaker/service.js +0 -4
  357. package/dist/RequestContext.d.ts +0 -63
  358. package/dist/RequestContext.d.ts.map +0 -1
  359. package/dist/RequestContext.js +0 -49
  360. package/dist/Store/ContextMapContainer.d.ts +0 -14
  361. package/dist/Store/ContextMapContainer.d.ts.map +0 -1
  362. package/dist/Store/ContextMapContainer.js +0 -16
  363. package/dist/Store/service.d.ts +0 -108
  364. package/dist/Store/service.d.ts.map +0 -1
  365. package/dist/Store/service.js +0 -71
  366. package/dist/Store.d.ts +0 -2
  367. package/dist/Store.d.ts.map +0 -1
  368. package/dist/Store.js +0 -2
  369. package/dist/adapters/SQL/Model.d.ts.map +0 -1
  370. package/dist/adapters/SQL/Model.js +0 -478
  371. package/dist/adapters/SQL.d.ts.map +0 -1
  372. package/dist/adapters/ServiceBus.d.ts.map +0 -1
  373. package/dist/adapters/ServiceBus.js +0 -99
  374. package/dist/adapters/cosmos-client.d.ts.map +0 -1
  375. package/dist/adapters/cosmos-client.js +0 -9
  376. package/dist/adapters/index.d.ts +0 -2
  377. package/dist/adapters/index.d.ts.map +0 -1
  378. package/dist/adapters/index.js +0 -2
  379. package/dist/adapters/logger.d.ts +0 -9
  380. package/dist/adapters/logger.d.ts.map +0 -1
  381. package/dist/adapters/logger.js +0 -3
  382. package/dist/adapters/memQueue.d.ts.map +0 -1
  383. package/dist/adapters/memQueue.js +0 -20
  384. package/dist/adapters/mongo-client.d.ts.map +0 -1
  385. package/dist/adapters/mongo-client.js +0 -13
  386. package/dist/adapters/redis-client.d.ts.map +0 -1
  387. package/dist/adapters/redis-client.js +0 -94
  388. package/dist/api/ContextProvider.d.ts +0 -31
  389. package/dist/api/ContextProvider.d.ts.map +0 -1
  390. package/dist/api/ContextProvider.js +0 -38
  391. package/dist/api/codec.d.ts.map +0 -1
  392. package/dist/api/codec.js +0 -5
  393. package/dist/api/internal/RequestContextMiddleware.d.ts +0 -5
  394. package/dist/api/internal/RequestContextMiddleware.d.ts.map +0 -1
  395. package/dist/api/internal/RequestContextMiddleware.js +0 -35
  396. package/dist/api/internal/auth.d.ts +0 -15
  397. package/dist/api/internal/auth.d.ts.map +0 -1
  398. package/dist/api/internal/auth.js +0 -47
  399. package/dist/api/internal/events.d.ts +0 -9
  400. package/dist/api/internal/events.d.ts.map +0 -1
  401. package/dist/api/internal/events.js +0 -42
  402. package/dist/api/internal/health.d.ts.map +0 -1
  403. package/dist/api/internal/health.js +0 -5
  404. package/dist/api/layerUtils.d.ts.map +0 -1
  405. package/dist/api/layerUtils.js +0 -16
  406. package/dist/api/middlewares.d.ts.map +0 -1
  407. package/dist/api/reportError.d.ts.map +0 -1
  408. package/dist/api/reportError.js +0 -27
  409. package/dist/api/routing/middleware/RouterMiddleware.d.ts.map +0 -1
  410. package/dist/api/routing/middleware/middleware.d.ts +0 -9
  411. package/dist/api/routing/middleware/middleware.d.ts.map +0 -1
  412. package/dist/api/routing/middleware/middleware.js +0 -92
  413. package/dist/api/routing/middleware.d.ts.map +0 -1
  414. package/dist/api/routing/schema/jwt.d.ts.map +0 -1
  415. package/dist/api/routing/schema/jwt.js +0 -12
  416. package/dist/api/routing/tsort.d.ts.map +0 -1
  417. package/dist/api/routing/tsort.js +0 -51
  418. package/dist/api/routing/utils.d.ts.map +0 -1
  419. package/dist/api/routing/utils.js +0 -44
  420. package/dist/api/routing.d.ts +0 -138
  421. package/dist/api/routing.d.ts.map +0 -1
  422. package/dist/api/routing.js +0 -166
  423. package/dist/api/setupRequest.d.ts +0 -12
  424. package/dist/api/setupRequest.d.ts.map +0 -1
  425. package/dist/api/setupRequest.js +0 -44
  426. package/dist/api/util.d.ts.map +0 -1
  427. package/dist/api/util.js +0 -14
  428. package/eslint.config.mjs +0 -24
  429. package/src/Emailer/service.ts +0 -52
  430. package/src/Emailer.ts +0 -1
  431. package/src/Model/Repository/ext.ts +0 -283
  432. package/src/Model/Repository/internal/internal.ts +0 -577
  433. package/src/Model/Repository/legacy.ts +0 -27
  434. package/src/Model/Repository/makeRepo.ts +0 -139
  435. package/src/Model/Repository/service.ts +0 -627
  436. package/src/Model/Repository/validation.ts +0 -31
  437. package/src/Model/Repository.ts +0 -5
  438. package/src/Model/dsl.ts +0 -128
  439. package/src/Model/filter/filterApi.ts +0 -60
  440. package/src/Model/filter/types/errors.ts +0 -47
  441. package/src/Model/filter/types/fields.ts +0 -50
  442. package/src/Model/filter/types/path/common.ts +0 -404
  443. package/src/Model/filter/types/path/eager.ts +0 -298
  444. package/src/Model/filter/types/path/index.ts +0 -4
  445. package/src/Model/filter/types/utils.ts +0 -128
  446. package/src/Model/filter/types/validator.ts +0 -46
  447. package/src/Model/filter/types.ts +0 -6
  448. package/src/Model/query/dsl.ts +0 -2110
  449. package/src/Model/query/new-kid-interpreter.ts +0 -210
  450. package/src/Model/query.ts +0 -13
  451. package/src/Model.ts +0 -3
  452. package/src/Operations.ts +0 -235
  453. package/src/OperationsRepo.ts +0 -16
  454. package/src/QueueMaker/service.ts +0 -17
  455. package/src/RequestContext.ts +0 -63
  456. package/src/Store/ContextMapContainer.ts +0 -20
  457. package/src/Store/service.ts +0 -184
  458. package/src/Store.ts +0 -1
  459. package/src/adapters/SQL.ts +0 -1
  460. package/src/adapters/ServiceBus.ts +0 -209
  461. package/src/adapters/index.ts +0 -0
  462. package/src/adapters/logger.ts +0 -3
  463. package/src/api/internal/auth.ts +0 -68
  464. package/src/api/middlewares.ts +0 -10
  465. package/src/api/routing/middleware.ts +0 -6
  466. package/src/api/routing.ts +0 -598
  467. package/src/api/setupRequest.ts +0 -84
  468. /package/dist/{adapters/SQL.d.ts → SQL.d.ts} +0 -0
  469. /package/dist/{api/codec.d.ts → codec.d.ts} +0 -0
  470. /package/dist/{api/internal → internal}/health.d.ts +0 -0
  471. /package/dist/{api/middlewares.d.ts → middlewares.d.ts} +0 -0
  472. /package/dist/{api/routing → routing}/schema/jwt.d.ts +0 -0
  473. /package/dist/{api/routing → routing}/tsort.d.ts +0 -0
  474. /package/dist/{api/util.d.ts → util.d.ts} +0 -0
  475. /package/src/{api/codec.ts → codec.ts} +0 -0
  476. /package/src/{api/internal → internal}/health.ts +0 -0
  477. /package/src/{api/routing → routing}/tsort.ts +0 -0
  478. /package/src/{api/util.ts → util.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,2076 @@
1
1
  # @effect-app/infra
2
2
 
3
+ ## 4.0.0-beta.272
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [21ac90a]
8
+ - effect-app@4.0.0-beta.272
9
+
10
+ ## 4.0.0-beta.271
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [939bebc]
15
+ - effect-app@4.0.0-beta.271
16
+
17
+ ## 4.0.0-beta.270
18
+
19
+ ### Patch Changes
20
+
21
+ - 78d076a: Update effect packages to `4.0.0-beta.84` (`effect`, `@effect/platform-node`, `@effect/platform-browser`, `@effect/atom-vue`, `@effect/sql-sqlite-node`, `@effect/vitest`).
22
+ - Updated dependencies [78d076a]
23
+ - effect-app@4.0.0-beta.270
24
+
25
+ ## 4.0.0-beta.269
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies [50b022e]
30
+ - Updated dependencies [50b022e]
31
+ - effect-app@4.0.0-beta.269
32
+
33
+ ## 4.0.0-beta.268
34
+
35
+ ### Patch Changes
36
+
37
+ - 38289e0: Break the circular dependency between the memory store and code filter modules.
38
+ - acfdc9e: Point development package exports at TypeScript sources while keeping published exports on compiled dist files.
39
+ - Updated dependencies [acfdc9e]
40
+ - effect-app@4.0.0-beta.268
41
+
42
+ ## 4.0.0-beta.267
43
+
44
+ ### Minor Changes
45
+
46
+ - 23a7167: Add a typed, serializable `DatabaseError { message, transient, cause }` for store adapter failures.
47
+
48
+ Store adapters wrapped DB calls in bare `Effect.promise` / `.orDie`, so a transient infra failure (request timeout, throttle, 5xx, dropped socket) became a raw-`Error` defect — which `Effect.retry` can't retry and which breaks JSON encoding of a workflow exit cause ("Expected JSON value, got Error"). `DatabaseError` is now exposed on all `Store` and `Repository` method error channels (writes: `OptimisticConcurrencyException | DatabaseError`) and added to `SupportedErrors` so the api/client/FE treat it as a 500-class error. Each adapter wraps its db-call failures into `DatabaseError` with a `transient` flag (timeout/throttle/5xx ⇒ retryable); the `cause` serializes via `Schema.Defect`. Construction/seed/DDL paths stay `orDie`.
49
+
50
+ ### Patch Changes
51
+
52
+ - Updated dependencies [23a7167]
53
+ - effect-app@4.0.0-beta.267
54
+
55
+ ## 4.0.0-beta.266
56
+
57
+ ### Patch Changes
58
+
59
+ - Updated dependencies [bbaa67e]
60
+ - effect-app@4.0.0-beta.266
61
+
62
+ ## 4.0.0-beta.265
63
+
64
+ ### Patch Changes
65
+
66
+ - fce6ee9: Fix machine-id allocation in the Cosmos cluster `RunnerStorage`. It derived the machine id from a 31-multiplier string hash of the runner address, so two distinct runners could hash to the same value mod 1024 — and since the machine id feeds the Snowflake generator mod 1024, those runners would emit colliding Snowflake ids (corrupting request/reply identity across the cluster).
67
+
68
+ Machine ids are now allocated from a single counter document via an atomic server-side `incr`, mirroring SQL's auto-increment `machine_id` primary key: unique across distinct runners and stable per address (a re-registering runner reuses its persisted id). Verified against a live Cosmos account.
69
+
70
+ - be3300d: Fix correctness bugs in the Cosmos `WorkflowEngine`, found by running the adapter against a real Cosmos account. The Cosmos workflow engine now passes the same conformance suite as the in-memory and SQLite engines.
71
+
72
+ - **OCC conflicts were fatal.** `replaceExec` used `Effect.promise` + a `statusCode` check, but single-item Cosmos `replace` _throws_ on 409/412/404 (only `read` and batch ops surface the code), so every conflict became an unrecoverable defect and the `OptimisticConcurrencyException` catch was dead code. It now uses `Effect.tryPromise` and matches the thrown error (mirrors `ClusterCosmos`), so lease claims, completions, and interrupts lose gracefully under contention.
73
+ - **Illegal resource ids.** Activity/deferred/clock doc ids embedded workflow/deferred names containing `/`, which Cosmos rejects. Ids are now URI-encoded via `cosmosId` (mirrors `ClusterCosmos`).
74
+ - **Interrupt could be lost under Cosmos latency.** A concurrent `interrupt` racing a suspending driver's `onComplete` could have its `interrupted` flag swallowed (OCC) or downgraded, leaving the re-drive unable to collapse the suspension. `interrupt`/`interruptUnsafe` now persist the flag with OCC retry (`markInterrupted`), and `onComplete` never downgrades a persisted `interrupted: true`.
75
+ - **`execute` now drives unconditionally** (matching SQLite), letting `drive`'s own guard short-circuit a running/completed fiber and re-drive a suspended one, instead of skipping re-drive when a stale local entry existed.
76
+
77
+ - 3e855bc: Update Effect packages to `4.0.0-beta.83` (from `beta.74`): `effect`, `@effect/platform-node`, `@effect/platform-browser`, `@effect/sql-sqlite-node`, `@effect/atom-vue`, `@effect/vitest`.
78
+
79
+ Adapt the infra workflow engines to beta.83 API changes:
80
+
81
+ - `Schema.Defect` is now a constructor function — use `S.Defect()` when building the deferred-exit codec (the bare constant no longer produces a usable schema and crashed `toType`).
82
+ - `Workflow` exposes its name as `_tag` instead of `name`. `WorkflowEngineSqlite`/`WorkflowEngineCosmos` now key the registry, codec caches, and persisted `workflow_name` off `workflow._tag`, fixing crash-recovery (stale-lease re-drive previously registered under an `undefined` key and never matched).
83
+
84
+ - Updated dependencies [3e855bc]
85
+ - effect-app@4.0.0-beta.265
86
+
87
+ ## 4.0.0-beta.264
88
+
89
+ ### Patch Changes
90
+
91
+ - 1587bfc: Batch more Cosmos cluster storage updates.
92
+ - effect-app@4.0.0-beta.264
93
+
94
+ ## 4.0.0-beta.263
95
+
96
+ ### Patch Changes
97
+
98
+ - abb9c99: Batch Cosmos ack message processing updates.
99
+ - effect-app@4.0.0-beta.263
100
+
101
+ ## 4.0.0-beta.262
102
+
103
+ ### Patch Changes
104
+
105
+ - 55c6572: update packages
106
+ - Updated dependencies [55c6572]
107
+ - effect-app@4.0.0-beta.262
108
+
109
+ ## 4.0.0-beta.261
110
+
111
+ ### Patch Changes
112
+
113
+ - c31c673: Tighten Cosmos cluster OCC handling for concurrent node polling.
114
+ - effect-app@4.0.0-beta.261
115
+
116
+ ## 4.0.0-beta.260
117
+
118
+ ### Patch Changes
119
+
120
+ - bogus
121
+ - Updated dependencies
122
+ - effect-app@4.0.0-beta.260
123
+
124
+ ## 4.0.0-beta.259
125
+
126
+ ### Minor Changes
127
+
128
+ - 6884a32: Add Azure Service Bus topic notifications for persisted cluster storage polling.
129
+
130
+ ### Patch Changes
131
+
132
+ - 6821fc5: Add Cosmos DB backed storage layers for Effect Cluster message and runner state.
133
+ - b6cb25b: Fix Cosmos cluster workflow resume after durable deferred completion.
134
+ - effect-app@4.0.0-beta.259
135
+
136
+ ## 4.0.0-beta.258
137
+
138
+ ### Minor Changes
139
+
140
+ - 0520dd4: Add Cosmos DB backed `WorkflowEngine` adapter (`layerCosmos` in `WorkflowEngineCosmos.ts`). Persists workflow state in a single container partitioned by `executionId` so per-execution writes share a partition key (TransactionalBatch-eligible). Optimistic concurrency via `_etag` + `IfMatch` on Replace; first-writer-wins via create-only batch ops for activity results and durable-deferred completions; a persisted _suspended_ activity is overwritten via upsert on resume. Values crossing the storage boundary round-trip through `Schema` codecs (`S.fromJsonString(S.toCodecJson(...))`) using the workflow's own `payloadSchema` / `successSchema` / `errorSchema` for typed values, and the cluster engine's opaque `AnyOrVoid` codec for activity / deferred payloads. Includes time-bound lease + heartbeat fiber, scope-bound recovery poller for crashed-driver takeover, and cross-partition clock poller for restart-survivable durable timers.
141
+ - 0ddda6f: Add SQLite backed `WorkflowEngine` adapter (`layerSqlite` in `WorkflowEngineSqlite.ts`). Persists workflow state across `workflow_exec` / `workflow_activity` / `workflow_deferred` / `workflow_clock` tables via `SqlClient`. Uses `sql.withTransaction` for atomicity, etag-based optimistic concurrency (`UPDATE ... WHERE etag = ? RETURNING etag`), and `INSERT ... ON CONFLICT DO NOTHING RETURNING` for first-writer-wins on activity / deferred / clock writes. Values crossing the storage boundary round-trip through `Schema` codecs (`S.fromJsonString(S.toCodecJson(...))`) using the workflow's own `payloadSchema` / `successSchema` / `errorSchema` for typed values, and the cluster engine's opaque `AnyOrVoid` codec for activity / deferred payloads. Includes time-bound lease + heartbeat fiber, scope-bound recovery poller for crashed-driver takeover, and cross-partition clock poller for restart-survivable durable timers.
142
+
143
+ ### Patch Changes
144
+
145
+ - effect-app@4.0.0-beta.258
146
+
147
+ ## 4.0.0-beta.257
148
+
149
+ ### Patch Changes
150
+
151
+ - Updated dependencies [e71eb78]
152
+ - effect-app@4.0.0-beta.257
153
+
154
+ ## 4.0.0-beta.256
155
+
156
+ ### Patch Changes
157
+
158
+ - Updated dependencies [347af48]
159
+ - effect-app@4.0.0-beta.256
160
+
161
+ ## 4.0.0-beta.255
162
+
163
+ ### Patch Changes
164
+
165
+ - Updated dependencies [52a31dd]
166
+ - effect-app@4.0.0-beta.255
167
+
168
+ ## 4.0.0-beta.254
169
+
170
+ ### Patch Changes
171
+
172
+ - Updated dependencies [29a1e57]
173
+ - effect-app@4.0.0-beta.254
174
+
175
+ ## 4.0.0-beta.253
176
+
177
+ ### Patch Changes
178
+
179
+ - Updated dependencies [b90fa30]
180
+ - effect-app@4.0.0-beta.253
181
+
182
+ ## 4.0.0-beta.252
183
+
184
+ ### Patch Changes
185
+
186
+ - Updated dependencies [a788432]
187
+ - effect-app@4.0.0-beta.252
188
+
189
+ ## 4.0.0-beta.251
190
+
191
+ ### Patch Changes
192
+
193
+ - 1c858d3: fix request scope problems
194
+ - Updated dependencies [1c858d3]
195
+ - effect-app@4.0.0-beta.251
196
+
197
+ ## 4.0.0-beta.250
198
+
199
+ ### Patch Changes
200
+
201
+ - 3053760: fix: restore context map container behavior
202
+ - Updated dependencies [3053760]
203
+ - effect-app@4.0.0-beta.250
204
+
205
+ ## 4.0.0-beta.249
206
+
207
+ ### Major Changes
208
+
209
+ - 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.
210
+
211
+ `@effect-app/infra` no longer re-exports moved core modules such as `./Model`, `./Emailer/service`, `./QueueMaker/service`, `./Store/service`, `./adapters/*`, or `./api/*` entrypoints.
212
+
213
+ ### Patch Changes
214
+
215
+ - Updated dependencies [ba789a2]
216
+ - effect-app@4.0.0-beta.249
217
+
218
+ ## 4.0.0-beta.248
219
+
220
+ ### Patch Changes
221
+
222
+ - 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`).
223
+
224
+ 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*`).
225
+
226
+ - Updated dependencies [2a86a17]
227
+ - effect-app@4.0.0-beta.248
228
+
229
+ ## 4.0.0-beta.247
230
+
231
+ ### Patch Changes
232
+
233
+ - Updated dependencies [01bab22]
234
+ - effect-app@4.0.0-beta.247
235
+
236
+ ## 4.0.0-beta.246
237
+
238
+ ### Patch Changes
239
+
240
+ - f4b58cd: Add `cachedPerRequest` helper to `ContextMapContainer`. Runs a given Effect at most once per ContextMap (i.e. per request) and stores the result in the ContextMap under a fresh symbol, using the ContextMap's shared semaphore for safe single initialization. Use as a building block for any per-request memoized value (request resolver caches, per-request `Cache.make` instances, etc.).
241
+ - effect-app@4.0.0-beta.246
242
+
243
+ ## 4.0.0-beta.245
244
+
245
+ ### Patch Changes
246
+
247
+ - effect-app@4.0.0-beta.245
248
+
249
+ ## 4.0.0-beta.244
250
+
251
+ ### Patch Changes
252
+
253
+ - b8b9080: update packages
254
+ - Updated dependencies [b8b9080]
255
+ - effect-app@4.0.0-beta.244
256
+
257
+ ## 4.0.0-beta.243
258
+
259
+ ### Patch Changes
260
+
261
+ - 8eb6737: Wrap `CUPS` exec failures in tagged `CUPSError` instead of `UnknownException`.
262
+
263
+ Retains `command`, `message`, exit `code`, `signal`, `killed`, `stdout`,
264
+ `stderr`, and original `cause` from the underlying `child_process.exec`
265
+ rejection so callers can branch on real failure detail.
266
+
267
+ - effect-app@4.0.0-beta.243
268
+
269
+ ## 4.0.0-beta.242
270
+
271
+ ### Patch Changes
272
+
273
+ - Updated dependencies [da83c1f]
274
+ - Updated dependencies [21017d5]
275
+ - Updated dependencies [2495ace]
276
+ - effect-app@4.0.0-beta.242
277
+
278
+ ## 4.0.0-beta.241
279
+
280
+ ### Patch Changes
281
+
282
+ - Updated dependencies [b035b1c]
283
+ - effect-app@4.0.0-beta.241
284
+
285
+ ## 4.0.0-beta.240
286
+
287
+ ### Patch Changes
288
+
289
+ - c5e348f: Fix `provideOnRequestScope` leaking a single `ContextMap` across concurrent requests.
290
+
291
+ `Layer.buildWithScope(layer, requestScope)` resolves its `MemoMap` from the
292
+ ambient fiber context, which lives on the HTTP server fiber and is therefore
293
+ shared by every request that server handles. With the resulting memoization,
294
+ the first request to land on a freshly-started server built
295
+ `ContextMapContainer.layer` once; every subsequent overlapping request received
296
+ the same `ContextMap` instance — etags written by one request were observed
297
+ (or overwritten) by another, and the finalizer was anchored to the first
298
+ request's scope.
299
+
300
+ `provideOnRequestScope` now allocates a fresh `MemoMap` per call via
301
+ `Layer.makeMemoMap` and builds with `Layer.buildWithMemoMap(layer, memoMap,
302
+ requestScope)`. Each request gets its own `ContextMap`, the request-scope
303
+ binding from the earlier SSE fix is preserved, and the finalizer still only
304
+ fires once the response body has fully drained.
305
+
306
+ Adds regression coverage in `rpc-context-map-streaming.test.ts` for three
307
+ properties: mid-stream survival of ContextMap state, a fresh map on each
308
+ succeeding request, and isolation between overlapping concurrent requests.
309
+
310
+ - effect-app@4.0.0-beta.240
311
+
312
+ ## 4.0.0-beta.239
313
+
314
+ ### Patch Changes
315
+
316
+ - bb3f51d: Fix ContextMap finalizer running mid-stream on SSE responses. SSE handler now binds ContextMapContainer to the request scope via a shared `provideOnRequestScope` helper (also used by `RequestContextMiddleware`), so finalizers only run after the response body is fully drained. Adds `setupStreamingRequestContextFromCurrent` for use by streaming HTTP handlers.
317
+ - effect-app@4.0.0-beta.239
318
+
319
+ ## 4.0.0-beta.238
320
+
321
+ ### Patch Changes
322
+
323
+ - b63f10f: fix: nasty request scope bug
324
+ - effect-app@4.0.0-beta.238
325
+
326
+ ## 4.0.0-beta.237
327
+
328
+ ### Patch Changes
329
+
330
+ - 3cf0c42: Fix `ContextMap` memory leak: tie its lifecycle to the request scope.
331
+
332
+ `ContextMapContainer.layer` provides a fresh `ContextMap` per request via `Layer.effect`, but the inner `etags` and `store` maps were never released. Cached `RequestResolver` entries (and anything they closed over) stayed reachable as long as any fiber held a reference to the map, even after the request scope closed.
333
+
334
+ `ContextMap` is now built with `Effect.acquireRelease`, and `makeContextMap` exposes a `clear()` finalizer that empties both maps when the request scope closes. `Layer.effect` strips the `Scope` requirement automatically in Effect v4.
335
+
336
+ - effect-app@4.0.0-beta.237
337
+
338
+ ## 4.0.0-beta.236
339
+
340
+ ### Patch Changes
341
+
342
+ - effect-app@4.0.0-beta.236
343
+
344
+ ## 4.0.0-beta.235
345
+
346
+ ### Patch Changes
347
+
348
+ - 6cfd83d: update effect to latest beta
349
+ - Updated dependencies [ba4bdc3]
350
+ - Updated dependencies [6cfd83d]
351
+ - effect-app@4.0.0-beta.235
352
+
353
+ ## 4.0.0-beta.234
354
+
355
+ ### Patch Changes
356
+
357
+ - effect-app@4.0.0-beta.234
358
+
359
+ ## 4.0.0-beta.233
360
+
361
+ ### Patch Changes
362
+
363
+ - 57a1862: Update to effect 4.0.0-beta.67. Switch deps from `pkg.pr.new` snapshot back to npm beta tag.
364
+ - Updated dependencies [57a1862]
365
+ - effect-app@4.0.0-beta.233
366
+
367
+ ## 4.0.0-beta.232
368
+
369
+ ### Patch Changes
370
+
371
+ - 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).
372
+ - Updated dependencies [0263827]
373
+ - Updated dependencies [0263827]
374
+ - Updated dependencies [0263827]
375
+ - effect-app@4.0.0-beta.232
376
+
377
+ ## 4.0.0-beta.231
378
+
379
+ ### Patch Changes
380
+
381
+ - 7ca66ce: Update to effect 4.0.0-beta.66. Remove `Yieldable` and `asEffect()` (service tags are now `Effect` directly).
382
+ - Updated dependencies [7ca66ce]
383
+ - effect-app@4.0.0-beta.231
384
+
385
+ ## 4.0.0-beta.230
386
+
387
+ ### Minor Changes
388
+
389
+ - 1cee480: Add aggregate query support: `Q.aggregate(schema, aggregateMap)` performs GROUP BY + aggregate functions at the database level (Memory, SQL, Cosmos).
390
+
391
+ - New `agg` DSL namespace: `agg.field(path)` (group-by), `agg.count()`, `agg.countWhen(op)`, `agg.sum(field)`, `agg.min(field)`, `agg.max(field)`
392
+ - New `aggregate(schema, aggregateMap)` query operator replaces in-memory grouping with a single DB-level query
393
+ - Memory store: pure JS group-by + aggregation
394
+ - SQL store: `GROUP BY` + `COUNT(CASE WHEN ...)` / `SUM` / `MIN` / `MAX`
395
+ - Cosmos store: `GROUP BY` + `SUM(IIF(...))` for conditional counts
396
+
397
+ ### Patch Changes
398
+
399
+ - effect-app@4.0.0-beta.230
400
+
401
+ ## 4.0.0-beta.229
402
+
403
+ ### Patch Changes
404
+
405
+ - effect-app@4.0.0-beta.229
406
+
407
+ ## 4.0.0-beta.228
408
+
409
+ ### Patch Changes
410
+
411
+ - effect-app@4.0.0-beta.228
412
+
413
+ ## 4.0.0-beta.227
414
+
415
+ ### Patch Changes
416
+
417
+ - bac9f1a: Fix Cosmos `projectComputed` parameter index shift when `relation(...).every(...)` is present. The shared filter `print` was invoked twice per `relation-every` (once eagerly for the `where` variable, again inside the `NOT EXISTS(... WHERE NOT (...))` branch), bumping the outer `@v` counter beyond the bound parameter array and producing SQL that referenced unbound placeholders — queries returned 0 rows on Cosmos while SQLite/Memory adapters were unaffected.
418
+ - effect-app@4.0.0-beta.227
419
+
420
+ ## 4.0.0-beta.226
421
+
422
+ ### Patch Changes
423
+
424
+ - f7290aa: Add `relation(...).length()` computed projection — emits `ARRAY_LENGTH` on Cosmos / `arrayLength` on SQL / native `.length` on Memory. Cheaper than `relation.count()` for unconditional array sizing (no subquery scan, just metadata read).
425
+
426
+ ```ts
427
+ projectComputed(
428
+ S.Struct({ id: S.String, packageCount: S.NonNegativeInt }),
429
+ computed({ packageCount: relation<OrderEnc>("packages").length() })
430
+ );
431
+ ```
432
+
433
+ - 8062ad3: Unify Emailer `sendMail` spans across implementations. `Fake.sendMail` and `Sendgrid.sendMail` now both emit as `Emailer.sendMail` with OTel-standard `messaging.system` attribute (`"fake"` / `"sendgrid"`).
434
+ - effect-app@4.0.0-beta.226
435
+
436
+ ## 4.0.0-beta.225
437
+
438
+ ### Patch Changes
439
+
440
+ - 39996f7: Unify `parseMany` span variants under a single span name. The four prior spans (`parseMany`, `parseMany2`, `parseManyProject`, `parseManyCollect`) now all emit as `parseMany` with `app.entity` and `app.query.mode` attributes (`"transform" | "project" | "collect"`). Reuses the same attribute key already set on the parent `Repository.query` span for consistency. `parseManyProject`/`parseManyCollect` previously lacked `app.entity` — now included.
441
+ - effect-app@4.0.0-beta.225
442
+
443
+ ## 4.0.0-beta.224
444
+
445
+ ### Patch Changes
446
+
447
+ - effect-app@4.0.0-beta.224
448
+
449
+ ## 4.0.0-beta.223
450
+
451
+ ### Patch Changes
452
+
453
+ - 2871841: RequestContextMiddleware: set request name to `HTTP <method> <path>` (strip query string) for clearer span/trace names.
454
+ - effect-app@4.0.0-beta.223
455
+
456
+ ## 4.0.0-beta.222
457
+
458
+ ### Patch Changes
459
+
460
+ - effect-app@4.0.0-beta.222
461
+
462
+ ## 4.0.0-beta.221
463
+
464
+ ### Patch Changes
465
+
466
+ - 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"`).
467
+ - Updated dependencies [439cbeb]
468
+ - effect-app@4.0.0-beta.221
469
+
470
+ ## 4.0.0-beta.220
471
+
472
+ ### Patch Changes
473
+
474
+ - aa436d3: fix bs span
475
+ - effect-app@4.0.0-beta.220
476
+
477
+ ## 4.0.0-beta.219
478
+
479
+ ### Patch Changes
480
+
481
+ - 13c2fd9: doc span
482
+ - d738811: remove double prefix
483
+ - 724da29: replace useless span
484
+ - Updated dependencies [d738811]
485
+ - effect-app@4.0.0-beta.219
486
+
487
+ ## 4.0.0-beta.218
488
+
489
+ ### Minor Changes
490
+
491
+ - 95995d5: Add `collectFields`/`collectDistinctFields` to `relation()` DSL for collecting values from multiple fields of relation items into a single flattened array.
492
+
493
+ Example: given `T = { a: boolean, items: { x: string, y: string, z: number }[] }[]`, you can now collect all distinct `x` and `y` values into a single `string[]`:
494
+
495
+ ```ts
496
+ relation("items").collectDistinctFields(["x", "y"]);
497
+ ```
498
+
499
+ ### Patch Changes
500
+
501
+ - effect-app@4.0.0-beta.218
502
+
503
+ ## 4.0.0-beta.217
504
+
505
+ ### Patch Changes
506
+
507
+ - e3ceaba: Add computed projection expression sums with grouped and normalized variants for projectComputed relation aggregations.
508
+ - Updated dependencies [0e824ef]
509
+ - effect-app@4.0.0-beta.217
510
+
511
+ ## 4.0.0-beta.216
512
+
513
+ ### Patch Changes
514
+
515
+ - f28fce5: fix sqlite
516
+ - effect-app@4.0.0-beta.216
517
+
518
+ ## 4.0.0-beta.215
519
+
520
+ ### Patch Changes
521
+
522
+ - 24f5dd0: fix memory computation
523
+ - effect-app@4.0.0-beta.215
524
+
525
+ ## 4.0.0-beta.214
526
+
527
+ ### Minor Changes
528
+
529
+ - fb93244: Extend computed projections with additional relation operators:
530
+
531
+ - `relation(path).every(op)` — boolean, all elements match the filter (compiled as `NOT EXISTS(... WHERE NOT (filter))`).
532
+ - `relation(path).distinctCount(field, op?)` — distinct count of values at `field` within the relation.
533
+ - `relation(path).sum(field, op?)` — numeric sum over a relation field.
534
+ - `relation(path).collect(field, op?)` / `collectDistinct(field, op?)` — collect values into an array (with optional dedup).
535
+
536
+ All operators compile to native subqueries on SQL (sqlite/pg) and Cosmos, and to in-memory equivalents on the Memory store.
537
+
538
+ ### Patch Changes
539
+
540
+ - effect-app@4.0.0-beta.214
541
+
542
+ ## 4.0.0-beta.213
543
+
544
+ ### Minor Changes
545
+
546
+ - aac6308: Add computed projections for repository queries with adapter-level compilation for memory, SQL, and Cosmos stores.
547
+
548
+ ### Patch Changes
549
+
550
+ - 6613f3d: Document `Q.project` modes (`transform` / `project` / `collect`): how `select` is derived from the schema AST, the PM reverse-mapping behaviour per mode, and which decode errors surface vs `orDie`.
551
+ - effect-app@4.0.0-beta.213
552
+
553
+ ## 4.0.0-beta.212
554
+
555
+ ### Patch Changes
556
+
557
+ - Updated dependencies [8792221]
558
+ - effect-app@4.0.0-beta.212
559
+
560
+ ## 4.0.0-beta.211
561
+
562
+ ### Patch Changes
563
+
564
+ - ebbb799: Repository owns OTel span topology; store adapters annotate db._ semconv attrs on the current span instead of opening their own child spans. Eliminates 1-1 nested span chains (e.g. `Repository.query` → `Cosmos.filter`). Adds `annotateDb` helper alongside `withDbSpan` in `otel.ts`. Repo public ops (`find`, `all`, `query`, `queryRaw`, `mapped._`) get explicit `Repository.<op>` spans; internal codec steps (`encodeMany`, `parseMany`, `parseMany2`) keep bare names. `validateSample`opens per-iteration sub-spans to prevent attribute clobber. Adds WeakMap decoder cache for`parseMany2` schemas.
565
+ - e33f1eb: Drop OTel spans from ServiceBus client/sender/receiver/subscription lifecycle wrappers; keep `withLogSpan` + info logs only. Removes high-cardinality `sessionId` from log span names; promotes it to `messaging.session.id` log attribute via `Effect.annotateLogs`.
566
+ - effect-app@4.0.0-beta.211
567
+
568
+ ## 4.0.0-beta.210
569
+
570
+ ### Minor Changes
571
+
572
+ - 3a588e4: Standardize span attributes on OpenTelemetry semantic conventions.
573
+
574
+ All Store adapters (Cosmos, PostgreSQL, SQLite, Memory, Disk) and Queue adapters
575
+ (Service Bus, SQL, Memory) now emit OTel-compliant span names and attributes via
576
+ the new `@effect-app/infra/otel` helper module.
577
+
578
+ Span name convention: `<operation> <collection|destination>` (low cardinality).
579
+
580
+ Attribute key migration:
581
+
582
+ | Old | New |
583
+ | --------------------------------------------------- | --------------------------------------------------------------------------------- |
584
+ | `repository.table_name` / `repository.container_id` | `db.collection.name` |
585
+ | `repository.namespace` | `db.namespace` |
586
+ | `repository.model_name` / `itemType` | `app.entity` |
587
+ | `id` / `itemId` (entity span attr) | `app.entity.id` |
588
+ | `itemIds` | `app.entity.ids` |
589
+ | `db.cosmos.request_charge` | `azure.cosmosdb.operation.request_charge` |
590
+ | `db.cosmos.resource_count` | `db.response.returned_rows` |
591
+ | `db.cosmos.response_bytes` | `db.response.body.size` |
592
+ | `disk.file` / `disk.file_size` | `disk.file.path` / `disk.file.size` |
593
+ | `queue.name` | `messaging.destination.name` |
594
+ | `queue.sessionId` | `messaging.message.conversation_id` |
595
+ | `queue.type` | `messaging.system` |
596
+ | `queue.input` (full body) | `messaging.message.body` (+ `messaging.message.id`, `messaging.message.type`) |
597
+ | `message_tags` | `messaging.message.types` + `messaging.batch.message_count` |
598
+ | `request.name` | `code.function.name` (from `spanAttributes`) / `rpc.method` (middleware) |
599
+ | `request.locale` | `app.locale` |
600
+ | `request.namespace` | `app.tenant.id` |
601
+ | `request.source.id` | `client.id` |
602
+ | `request.user.sub` / `.roles` | `user.id` / `user.roles` |
603
+ | `requestInput` | `rpc.request.payload` |
604
+ | `connectionId` | `network.connection.id` |
605
+ | Span `Request.<module>.<method>` | Span `<module>/<method>` + `rpc.system`/`rpc.service`/`rpc.method` (kind: server) |
606
+ | `<spanPrefix>.<op>` (SQL/Model) | OTel db span via `withDbSpan`, with `dbSystem?` option |
607
+
608
+ New attributes added:
609
+
610
+ - `db.system.name` — e.g. `postgresql`, `sqlite`, `cosmosdb`, `memory`, `disk`
611
+ - `db.operation.name` — e.g. `find`, `all`, `filter`, `set`
612
+ - `db.query.text` — sanitized / parameterized SQL or Cosmos query (no bound values)
613
+ - `messaging.operation.name` — `publish`, `process`, `receive`
614
+
615
+ Breaking: dashboards/alerts keying on the previous attribute names must be
616
+ updated. Queue consumer spans no longer log raw message bodies — use
617
+ `messaging.message.id` and `messaging.message.type` instead.
618
+
619
+ ### Patch Changes
620
+
621
+ - effect-app@4.0.0-beta.210
622
+
623
+ ## 4.0.0-beta.209
624
+
625
+ ### Patch Changes
626
+
627
+ - c991be1: update packages
628
+ - Updated dependencies [c991be1]
629
+ - Updated dependencies [3bae238]
630
+ - effect-app@4.0.0-beta.209
631
+
632
+ ## 4.0.0-beta.208
633
+
634
+ ### Patch Changes
635
+
636
+ - effect-app@4.0.0-beta.208
637
+
638
+ ## 4.0.0-beta.207
639
+
640
+ ### Patch Changes
641
+
642
+ - b0db40f: Router handlers are now discriminated by `Resource[K]["stream"]`:
643
+
644
+ - Stream resources (`stream: true`) accept only `(req) => Stream<...>` handlers.
645
+ - Non-stream resources accept only `(req) => Effect<...>` (or generator yielding `Yieldable`).
646
+
647
+ Mixing — e.g. returning `Effect.fail(...)` or `Effect<Stream<...>>` from a stream handler — no longer type-checks.
648
+
649
+ The runtime `Stream.unwrap` branch that lifted `Effect`/`Effect<Stream>` returns into a `Stream` is removed; handlers for stream resources must return a `Stream` directly. Migrate `Effect.gen(...).pipe(Stream.unwrap)` patterns by returning the `Stream` directly, and convert `Effect.fail(err)` in stream handlers to `Stream.fail(err)`.
650
+
651
+ - Updated dependencies [8fffc3c]
652
+ - effect-app@4.0.0-beta.207
653
+
654
+ ## 4.0.0-beta.206
655
+
656
+ ### Patch Changes
657
+
658
+ - 54bfc59: Require middleware to flow through `makeRpcClient` and the live layer through `makeRouter`.
659
+
660
+ ### `makeRpcClient(middleware, generalErrors?)`
661
+
662
+ 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.
663
+
664
+ **Migration**:
665
+
666
+ ```diff
667
+ -makeRpcClient(RequestContextMap, undefined, AppMiddleware)
668
+ +makeRpcClient(AppMiddleware)
669
+ ```
670
+
671
+ For tests/clients without a real middleware, build a minimal stub (`{ requestContextMap, requestContext }`) or pass any value satisfying `ClientMiddleware<RCM>`.
672
+
673
+ ### `makeRouter(middlewareLive)`
674
+
675
+ `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.
676
+
677
+ **Migration**:
678
+
679
+ ```diff
680
+ -export const { Router, matchAll } = makeRouter()
681
+ +export const { Router, matchAll } = makeRouter(AppMiddleware.Default)
682
+ ```
683
+
684
+ - Updated dependencies [54bfc59]
685
+ - effect-app@4.0.0-beta.206
686
+
687
+ ## 4.0.0-beta.205
688
+
689
+ ### Patch Changes
690
+
691
+ - Updated dependencies [f313973]
692
+ - effect-app@4.0.0-beta.205
693
+
694
+ ## 4.0.0-beta.204
695
+
696
+ ### Patch Changes
697
+
698
+ - Updated dependencies [0a0030f]
699
+ - effect-app@4.0.0-beta.204
700
+
701
+ ## 4.0.0-beta.203
702
+
703
+ ### Patch Changes
704
+
705
+ - Updated dependencies [992d9fa]
706
+ - effect-app@4.0.0-beta.203
707
+
708
+ ## 4.0.0-beta.202
709
+
710
+ ### Patch Changes
711
+
712
+ - Updated dependencies [1186b09]
713
+ - effect-app@4.0.0-beta.202
714
+
715
+ ## 4.0.0-beta.201
716
+
717
+ ### Patch Changes
718
+
719
+ - 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.
720
+
721
+ ### Resource error schemas
722
+
723
+ Three sites that used to fold `RequestContextMap[*].error` into a request's own error schema now stop doing so:
724
+
725
+ - `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).
726
+ - `MiddlewareMaker.rpc()` — `error: options.error` only; the previous union with `rcm.config[*].error` is gone.
727
+ - Routing and `apiClientFactory.makeRpcGroupFromRequestsAndModuleName` — `Invalidation.makeCommandRpc` is called with `error: resource.error` (no widening with the composite middleware error union).
728
+
729
+ 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:
730
+
731
+ - **Server**: `makeRouter(middleware)` attaches the live composite tag (existing behavior).
732
+ - **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.
733
+
734
+ **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.
735
+
736
+ ### Invalidation wrap/unwrap
737
+
738
+ - `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.
739
+ - `apiClientFactory.ts` (client) `unwrapCommand` strips both envelopes and forwards keys to `InvalidationKeysFromServer`.
740
+ - `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.
741
+
742
+ 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.
743
+
744
+ - Updated dependencies [d67d17a]
745
+ - effect-app@4.0.0-beta.201
746
+
747
+ ## 4.0.0-beta.200
748
+
749
+ ### Patch Changes
750
+
751
+ - 0cff7c1: workaround middleware error issue
752
+ - Updated dependencies [8f1cf6a]
753
+ - Updated dependencies [0cff7c1]
754
+ - effect-app@4.0.0-beta.200
755
+
756
+ ## 4.0.0-beta.199
757
+
758
+ ### Patch Changes
759
+
760
+ - de9fb83: Annotate Cosmos read spans with response size, resource count, and request charge.
761
+
762
+ `Cosmos.queryRaw`, `Cosmos.all`, `Cosmos.filter`, and `Cosmos.find` now set `db.cosmos.request_charge`, `db.cosmos.response_bytes`, and (where applicable) `db.cosmos.resource_count` on the active span. Bytes are sourced from `diagnostics.clientSideRequestStatistics.totalResponsePayloadLengthInBytes` — no payload stringification.
763
+
764
+ - effect-app@4.0.0-beta.199
765
+
766
+ ## 4.0.0-beta.198
767
+
768
+ ### Patch Changes
769
+
770
+ - 32dbc54: fix stream type when no success specified
771
+ - Updated dependencies [32dbc54]
772
+ - effect-app@4.0.0-beta.198
773
+
774
+ ## 4.0.0-beta.197
775
+
776
+ ### Minor Changes
777
+
778
+ - 3dc0d2a: Add streaming as a `stream: true` config option on `Query` / `Command` instead of a separate request type.
779
+
780
+ `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).
781
+
782
+ ```ts
783
+ // Query that streams results
784
+ Req.Query<T>()("Tag", {}, { stream: true, success: ... })
785
+
786
+ // Command that streams results
787
+ Req.Command<T>()("Tag", {}, { stream: true, success: ... })
788
+ ```
789
+
790
+ Vue client mapping (per-handler properties mirror the non-stream API — `.query`, `.fn`, `.mutate`):
791
+
792
+ - `query` + `stream: true` → exposes `.query` (read-only streaming, tracked Vue Query). Helper map key: `${name}Query`.
793
+ - `command` + `stream: true` → exposes `.fn` and `.mutate` (mutating streaming).
794
+ - Plain `query` / `command` unchanged.
795
+
796
+ Server routing dispatches via the new `stream` flag (`makeStreamRpc` for streaming commands/queries, `makeCommandRpc` / `Rpc.make` otherwise).
797
+
798
+ 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.
799
+
800
+ **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.
801
+
802
+ ### Patch Changes
803
+
804
+ - Updated dependencies [3dc0d2a]
805
+ - effect-app@4.0.0-beta.197
806
+
807
+ ## 4.0.0-beta.196
808
+
809
+ ### Patch Changes
810
+
811
+ - effect-app@4.0.0-beta.196
812
+
813
+ ## 4.0.0-beta.195
814
+
815
+ ### Patch Changes
816
+
817
+ - 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.
818
+
819
+ 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`.
820
+
821
+ `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".
822
+
823
+ 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.
824
+
825
+ - Updated dependencies [774a9b3]
826
+ - effect-app@4.0.0-beta.195
827
+
828
+ ## 4.0.0-beta.194
829
+
830
+ ### Patch Changes
831
+
832
+ - effect-app@4.0.0-beta.194
833
+
834
+ ## 4.0.0-beta.193
835
+
836
+ ### Patch Changes
837
+
838
+ - 9569911: Stream resources accept `Effect.fail(...)` (and `Effect<Stream>`) from controller handlers — previously only `Stream.fail(...)` / a returned `Stream` worked. The router now lifts an Effect result to a Stream via `Stream.unwrap`, so failures from an `Effect` propagate as a failing Stream on the client, matching `Stream.fail(...)` behavior. Also removes the need for manual `.pipe(Stream.unwrap)` on generator handlers that return a `Stream`.
839
+ - effect-app@4.0.0-beta.193
840
+
841
+ ## 4.0.0-beta.192
842
+
843
+ ### Patch Changes
844
+
845
+ - dba5779: namespaces
846
+ - effect-app@4.0.0-beta.192
847
+
848
+ ## 4.0.0-beta.191
849
+
850
+ ### Patch Changes
851
+
852
+ - 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`.
853
+ - Updated dependencies [50ce7e6]
854
+ - effect-app@4.0.0-beta.191
855
+
856
+ ## 4.0.0-beta.190
857
+
858
+ ### Patch Changes
859
+
860
+ - Updated dependencies [985176b]
861
+ - effect-app@4.0.0-beta.190
862
+
863
+ ## 4.0.0-beta.189
864
+
865
+ ### Patch Changes
866
+
867
+ - 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.
868
+ - Updated dependencies [ea32222]
869
+ - effect-app@4.0.0-beta.189
870
+
871
+ ## 4.0.0-beta.188
872
+
873
+ ### Patch Changes
874
+
875
+ - b2e438f: Remove Operations service and repo
876
+ - Updated dependencies [b2e438f]
877
+ - effect-app@4.0.0-beta.188
878
+
879
+ ## 4.0.0-beta.187
880
+
881
+ ### Patch Changes
882
+
883
+ - Updated dependencies [0d4e0b8]
884
+ - effect-app@4.0.0-beta.187
885
+
886
+ ## 4.0.0-beta.186
887
+
888
+ ### Patch Changes
889
+
890
+ - effect-app@4.0.0-beta.186
891
+
892
+ ## 4.0.0-beta.185
893
+
894
+ ### Patch Changes
895
+
896
+ - effect-app@4.0.0-beta.185
897
+
898
+ ## 4.0.0-beta.184
899
+
900
+ ### Patch Changes
901
+
902
+ - effect-app@4.0.0-beta.184
903
+
904
+ ## 4.0.0-beta.183
905
+
906
+ ### Patch Changes
907
+
908
+ - effect-app@4.0.0-beta.183
909
+
910
+ ## 4.0.0-beta.182
911
+
912
+ ### Patch Changes
913
+
914
+ - effect-app@4.0.0-beta.182
915
+
916
+ ## 4.0.0-beta.181
917
+
918
+ ### Patch Changes
919
+
920
+ - Updated dependencies [583393f]
921
+ - effect-app@4.0.0-beta.181
922
+
923
+ ## 4.0.0-beta.180
924
+
925
+ ### Minor Changes
926
+
927
+ - 7fa3045: V1/V2/V3: stream and command requests carry invalidation metadata
928
+
929
+ **V1** – stream final response includes metadata
930
+
931
+ - `Invalidation.StreamResponseChunk` wraps each stream item as `{ _tag: "value", value }` and appends `{ _tag: "done", metadata }` at the end carrying all accumulated invalidation keys.
932
+
933
+ **V2** – invalidation keys included in failures
934
+
935
+ - `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.
936
+ - `InvalidationMiddlewareLive` wraps command failures; `routing.ts` wraps stream failures.
937
+ - `apiClientFactory.ts` unwraps both on the client side, forwarding keys before re-failing with the original error.
938
+
939
+ **V3** – mid-stream metadata chunks
940
+
941
+ - `Invalidation.StreamResponseChunk` now also includes `{ _tag: "metadata", metadata }` for mid-stream invalidation.
942
+ - 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`).
943
+ - `apiClientFactory.ts` processes "metadata" chunks the same as "done" chunks, forwarding keys to `InvalidationKeysFromServer` immediately.
944
+ - `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.
945
+
946
+ ### Patch Changes
947
+
948
+ - Updated dependencies [7fa3045]
949
+ - effect-app@4.0.0-beta.180
950
+
951
+ ## 4.0.0-beta.179
952
+
953
+ ### Patch Changes
954
+
955
+ - Updated dependencies [828d264]
956
+ - effect-app@4.0.0-beta.179
957
+
958
+ ## 4.0.0-beta.178
959
+
960
+ ### Patch Changes
961
+
962
+ - effect-app@4.0.0-beta.178
963
+
964
+ ## 4.0.0-beta.177
965
+
966
+ ### Minor Changes
967
+
968
+ - 89d8b3a: Add Effect RPC `Stream` support to the wrapper.
969
+
970
+ - New `Stream` request constructor on `TaggedRequestFor` parallel to `Query`/`Command`. Emits resources with `type: "stream"`.
971
+ - 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).
972
+ - 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.
973
+ - New `RequestStreamHandler` / `RequestStreamHandlerWithInput` shapes in `clientFor.ts`; `RequestHandlers` dispatches on `type: "stream"`.
974
+
975
+ ### Patch Changes
976
+
977
+ - Updated dependencies [89d8b3a]
978
+ - effect-app@4.0.0-beta.177
979
+
980
+ ## 4.0.0-beta.176
981
+
982
+ ### Patch Changes
983
+
984
+ - pass options
985
+ - Updated dependencies
986
+ - effect-app@4.0.0-beta.176
987
+
988
+ ## 4.0.0-beta.175
989
+
990
+ ### Patch Changes
991
+
992
+ - effect-app@4.0.0-beta.175
993
+
994
+ ## 4.0.0-beta.174
995
+
996
+ ### Minor Changes
997
+
998
+ - 821468d: Add server-driven cache invalidation via RPC response headers.
999
+
1000
+ - `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.
1001
+ - `effect-app/middleware`: new `InvalidationMiddleware` RPC middleware tag; included in `DefaultGenericMiddlewares`.
1002
+ - `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`.
1003
+ - `@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.
1004
+ - `@effect-app/vue`: `invalidateQueries` / `useMutation` now reads server-provided invalidation keys from `InvalidationKeysFromServer` after each mutation and applies them alongside the client-side invalidation.
1005
+
1006
+ ### Patch Changes
1007
+
1008
+ - Updated dependencies [821468d]
1009
+ - effect-app@4.0.0-beta.174
1010
+
1011
+ ## 4.0.0-beta.173
1012
+
1013
+ ### Patch Changes
1014
+
1015
+ - effect-app@4.0.0-beta.173
1016
+
1017
+ ## 4.0.0-beta.172
1018
+
1019
+ ### Patch Changes
1020
+
1021
+ - improve sentry
1022
+ - effect-app@4.0.0-beta.172
1023
+
1024
+ ## 4.0.0-beta.171
1025
+
1026
+ ### Patch Changes
1027
+
1028
+ - Updated dependencies [d71d976]
1029
+ - effect-app@4.0.0-beta.171
1030
+
1031
+ ## 4.0.0-beta.170
1032
+
1033
+ ### Patch Changes
1034
+
1035
+ - Updated dependencies [8f09f77]
1036
+ - effect-app@4.0.0-beta.170
1037
+
1038
+ ## 4.0.0-beta.169
1039
+
1040
+ ### Patch Changes
1041
+
1042
+ - Updated dependencies [8ae8b53]
1043
+ - effect-app@4.0.0-beta.169
1044
+
1045
+ ## 4.0.0-beta.168
1046
+
1047
+ ### Patch Changes
1048
+
1049
+ - Updated dependencies [178480a]
1050
+ - effect-app@4.0.0-beta.168
1051
+
1052
+ ## 4.0.0-beta.167
1053
+
1054
+ ### Patch Changes
1055
+
1056
+ - Updated dependencies [140e192]
1057
+ - effect-app@4.0.0-beta.167
1058
+
1059
+ ## 4.0.0-beta.166
1060
+
1061
+ ### Patch Changes
1062
+
1063
+ - Updated dependencies [dbcc53b]
1064
+ - effect-app@4.0.0-beta.166
1065
+
1066
+ ## 4.0.0-beta.165
1067
+
1068
+ ### Patch Changes
1069
+
1070
+ - Updated dependencies [f88ea34]
1071
+ - effect-app@4.0.0-beta.165
1072
+
1073
+ ## 4.0.0-beta.164
1074
+
1075
+ ### Patch Changes
1076
+
1077
+ - Updated dependencies [8cb3de4]
1078
+ - effect-app@4.0.0-beta.164
1079
+
1080
+ ## 4.0.0-beta.163
1081
+
1082
+ ### Patch Changes
1083
+
1084
+ - Updated dependencies [b952f19]
1085
+ - effect-app@4.0.0-beta.163
1086
+
1087
+ ## 4.0.0-beta.162
1088
+
1089
+ ### Patch Changes
1090
+
1091
+ - Updated dependencies [b52b424]
1092
+ - effect-app@4.0.0-beta.162
1093
+
1094
+ ## 4.0.0-beta.161
1095
+
1096
+ ### Patch Changes
1097
+
1098
+ - effect-app@4.0.0-beta.161
1099
+
1100
+ ## 4.0.0-beta.160
1101
+
1102
+ ### Patch Changes
1103
+
1104
+ - 505bfa9: Add concurrent decode helper APIs and migrate decode callsites to use them.
1105
+
1106
+ - Add `withDefaultParseOptions` and keep `DefaultParseOptions` centralized.
1107
+ - Export `decodeEffectConcurrently` and `decodeUnknownEffectConcurrently` from Schema and SchemaParser modules.
1108
+ - Update repository, queue, client, form, and CLI decode paths to use concurrent decode helpers.
1109
+ - Keep schema constructors free of hardcoded parse concurrency overrides.
1110
+
1111
+ - Updated dependencies [505bfa9]
1112
+ - effect-app@4.0.0-beta.160
1113
+
1114
+ ## 4.0.0-beta.159
1115
+
1116
+ ### Patch Changes
1117
+
1118
+ - c1e73de:
1119
+ - Updated dependencies [c1e73de]
1120
+ - effect-app@4.0.0-beta.159
1121
+
1122
+ ## 4.0.0-beta.158
1123
+
1124
+ ### Patch Changes
1125
+
1126
+ - Updated dependencies [3c1f52d]
1127
+ - Updated dependencies [6ae3050]
1128
+ - effect-app@4.0.0-beta.158
1129
+
1130
+ ## 4.0.0-beta.157
1131
+
1132
+ ### Patch Changes
1133
+
1134
+ - 6fff09c: unify encoded function for when you use encodedKeys
1135
+ - Updated dependencies [6fff09c]
1136
+ - effect-app@4.0.0-beta.157
1137
+
1138
+ ## 4.0.0-beta.156
1139
+
1140
+ ### Patch Changes
1141
+
1142
+ - effect-app@4.0.0-beta.156
1143
+
1144
+ ## 4.0.0-beta.155
1145
+
1146
+ ### Patch Changes
1147
+
1148
+ - Updated dependencies [c215db8]
1149
+ - effect-app@4.0.0-beta.155
1150
+
1151
+ ## 4.0.0-beta.154
1152
+
1153
+ ### Patch Changes
1154
+
1155
+ - effect-app@4.0.0-beta.154
1156
+
1157
+ ## 4.0.0-beta.153
1158
+
1159
+ ### Patch Changes
1160
+
1161
+ - effect-app@4.0.0-beta.153
1162
+
1163
+ ## 4.0.0-beta.152
1164
+
1165
+ ### Patch Changes
1166
+
1167
+ - effect-app@4.0.0-beta.152
1168
+
1169
+ ## 4.0.0-beta.151
1170
+
1171
+ ### Patch Changes
1172
+
1173
+ - 925214b: update packages
1174
+ - effect-app@4.0.0-beta.151
1175
+
1176
+ ## 4.0.0-beta.150
1177
+
1178
+ ### Patch Changes
1179
+
1180
+ - Updated dependencies [85a8275]
1181
+ - effect-app@4.0.0-beta.150
1182
+
1183
+ ## 4.0.0-beta.149
1184
+
1185
+ ### Patch Changes
1186
+
1187
+ - Updated dependencies [f317c5e]
1188
+ - effect-app@4.0.0-beta.149
1189
+
1190
+ ## 4.0.0-beta.148
1191
+
1192
+ ### Patch Changes
1193
+
1194
+ - Updated dependencies [199e9a5]
1195
+ - effect-app@4.0.0-beta.148
1196
+
1197
+ ## 4.0.0-beta.147
1198
+
1199
+ ### Patch Changes
1200
+
1201
+ - Updated dependencies [47e3742]
1202
+ - effect-app@4.0.0-beta.147
1203
+
1204
+ ## 4.0.0-beta.146
1205
+
1206
+ ### Patch Changes
1207
+
1208
+ - Updated dependencies [a4dff57]
1209
+ - effect-app@4.0.0-beta.146
1210
+
1211
+ ## 4.0.0-beta.145
1212
+
1213
+ ### Patch Changes
1214
+
1215
+ - Updated dependencies [12abb55]
1216
+ - effect-app@4.0.0-beta.145
1217
+
1218
+ ## 4.0.0-beta.144
1219
+
1220
+ ### Patch Changes
1221
+
1222
+ - d31253f: Refactor eligible schema classes and tagged classes to Opaque schemas, and migrate constructor call sites to use `.make` for those models.
1223
+ - Updated dependencies [11422f8]
1224
+ - Updated dependencies [d31253f]
1225
+ - effect-app@4.0.0-beta.144
1226
+
1227
+ ## 4.0.0-beta.143
1228
+
1229
+ ### Patch Changes
1230
+
1231
+ - Updated dependencies [79eb019]
1232
+ - effect-app@4.0.0-beta.143
1233
+
1234
+ ## 4.0.0-beta.142
1235
+
1236
+ ### Patch Changes
1237
+
1238
+ - Updated dependencies [3436d44]
1239
+ - Updated dependencies [025de47]
1240
+ - effect-app@4.0.0-beta.142
1241
+
1242
+ ## 4.0.0-beta.141
1243
+
1244
+ ### Patch Changes
1245
+
1246
+ - Updated dependencies [7c25dbb]
1247
+ - effect-app@4.0.0-beta.141
1248
+
1249
+ ## 4.0.0-beta.140
1250
+
1251
+ ### Patch Changes
1252
+
1253
+ - 1576688: Add configurable `fakeMailAddress` to `SendgridConfig`. Supports `{i}` placeholder for unique addresses, e.g. `"test+{i}@example.com"`.
1254
+ - effect-app@4.0.0-beta.140
1255
+
1256
+ ## 4.0.0-beta.139
1257
+
1258
+ ### Patch Changes
1259
+
1260
+ - effect-app@4.0.0-beta.139
1261
+
1262
+ ## 4.0.0-beta.138
1263
+
1264
+ ### Patch Changes
1265
+
1266
+ - effect-app@4.0.0-beta.138
1267
+
1268
+ ## 4.0.0-beta.137
1269
+
1270
+ ### Patch Changes
1271
+
1272
+ - effect-app@4.0.0-beta.137
1273
+
1274
+ ## 4.0.0-beta.136
1275
+
1276
+ ### Patch Changes
1277
+
1278
+ - effect-app@4.0.0-beta.136
1279
+
1280
+ ## 4.0.0-beta.135
1281
+
1282
+ ### Patch Changes
1283
+
1284
+ - Updated dependencies [c7bbc41]
1285
+ - effect-app@4.0.0-beta.135
1286
+
1287
+ ## 4.0.0-beta.134
1288
+
1289
+ ### Patch Changes
1290
+
1291
+ - eed57c6: Fix `R` inference in `OneDSL`, `OneDSLExt.modify` and `OneDSLExt.update`. The callback's effect type was annotated as `Effect<…, E, FixEnv<R, Evt, S1, S2>>`, which deadlocked inference of `R` (TS6 fell back to `never`, tsgo to `unknown`, leaking `unknown` into yielded effects in generator handlers). Now matches the existing `AllDSLExt` pattern: bare `R` in the callback, `FixEnv<R, …>` only in the return type.
1292
+ - Updated dependencies [9d3495e]
1293
+ - Updated dependencies [f353d48]
1294
+ - effect-app@4.0.0-beta.134
1295
+
1296
+ ## 4.0.0-beta.133
1297
+
1298
+ ### Patch Changes
1299
+
1300
+ - 2f862a4: Apply `toCodecJson` in `SQLModel.JsonFromString` so SQL JSON string fields use the proper JSON-safe codec at the encode/decode boundary (aligns with queue, event, and gist call sites).
1301
+ - c3299f7: update packages
1302
+ - Updated dependencies [c3299f7]
1303
+ - effect-app@4.0.0-beta.133
1304
+
1305
+ ## 4.0.0-beta.132
1306
+
1307
+ ### Patch Changes
1308
+
1309
+ - effect-app@4.0.0-beta.132
1310
+
1311
+ ## 4.0.0-beta.131
1312
+
1313
+ ### Patch Changes
1314
+
1315
+ - 4a7d95a: Use request-type RPC annotations to drive interruptibility and retry behavior, apply command uninterruptibility through the router wrapper path, and add an in-memory E2E test covering command vs query interruption behavior.
1316
+ - effect-app@4.0.0-beta.131
1317
+
1318
+ ## 4.0.0-beta.130
1319
+
1320
+ ### Patch Changes
1321
+
1322
+ - Updated dependencies [ea1bd46]
1323
+ - effect-app@4.0.0-beta.130
1324
+
1325
+ ## 4.0.0-beta.129
1326
+
1327
+ ### Patch Changes
1328
+
1329
+ - effect-app@4.0.0-beta.129
1330
+
1331
+ ## 4.0.0-beta.128
1332
+
1333
+ ### Patch Changes
1334
+
1335
+ - Updated dependencies [57db551]
1336
+ - effect-app@4.0.0-beta.128
1337
+
1338
+ ## 4.0.0-beta.127
1339
+
1340
+ ### Patch Changes
1341
+
1342
+ - 71a0719: Merge `batchPar` into `batch`, expose `concurrency` via an optional `BatchOptions` argument, and make `batch` dual (data-first + data-last).
1343
+ - 4bc3d05: Repository `save`, `remove`, and `removeById` now accept plain `ReadonlyArray` instead of `NonEmptyReadonlyArray`. Callers no longer need to narrow or guard for non-emptiness before invoking — empty inputs short-circuit to a no-op, making it ergonomic to pass through query results directly.
1344
+ - effect-app@4.0.0-beta.127
1345
+
1346
+ ## 4.0.0-beta.126
1347
+
1348
+ ### Patch Changes
1349
+
1350
+ - Updated dependencies [458bb1b]
1351
+ - effect-app@4.0.0-beta.126
1352
+
1353
+ ## 4.0.0-beta.125
1354
+
1355
+ ### Patch Changes
1356
+
1357
+ - 7191fc1: `removeById` now takes `id | NonEmptyReadonlyArray<id>` instead of a variadic rest, and the extended repo's `removeById` accepts a `batch` option to chunk large deletes — consistent with `save` and `remove`.
1358
+ - effect-app@4.0.0-beta.125
1359
+
1360
+ ## 4.0.0-beta.124
1361
+
1362
+ ### Patch Changes
1363
+
1364
+ - c9e0c44: cleanup auth
1365
+ - 256ae85: cleanup
1366
+ - Updated dependencies [256ae85]
1367
+ - effect-app@4.0.0-beta.124
1368
+
1369
+ ## 4.0.0-beta.123
1370
+
1371
+ ### Patch Changes
1372
+
1373
+ - Updated dependencies [14aba14]
1374
+ - effect-app@4.0.0-beta.123
1375
+
1376
+ ## 4.0.0-beta.122
1377
+
1378
+ ### Patch Changes
1379
+
1380
+ - 27bf9b6: Fix `Repository.query` environment typing to exclude schema context provided through `makeRepo` options.
1381
+ - e02a258: Add optional batching overloads for repository `save` and `remove` helpers.
1382
+ - f052d38: Replace `(...) => Effect.gen` with `Effect.fnUntraced` and convert select multi-step `pipe` chains to `Effect.gen` across infra.
1383
+ - Updated dependencies [f052d38]
1384
+ - effect-app@4.0.0-beta.122
1385
+
1386
+ ## 4.0.0-beta.121
1387
+
1388
+ ### Patch Changes
1389
+
1390
+ - 1015582: Fix `Q.project` field selection with `Schema.encodeKeys` by deriving selected fields from the encoded schema shape.
1391
+ - Updated dependencies [5ac46cb]
1392
+ - effect-app@4.0.0-beta.121
1393
+
1394
+ ## 4.0.0-beta.120
1395
+
1396
+ ### Patch Changes
1397
+
1398
+ - Updated dependencies [f21190c]
1399
+ - effect-app@4.0.0-beta.120
1400
+
1401
+ ## 4.0.0-beta.119
1402
+
1403
+ ### Patch Changes
1404
+
1405
+ - db7ba34: Filter SSE events stream by storeId namespace
1406
+ - effect-app@4.0.0-beta.119
1407
+
1408
+ ## 4.0.0-beta.118
1409
+
1410
+ ### Patch Changes
1411
+
1412
+ - Update effect packages to 4.0.0-beta.52
1413
+ - Updated dependencies [bd26832]
1414
+ - Updated dependencies [08d2e70]
1415
+ - Updated dependencies
1416
+ - effect-app@4.0.0-beta.118
1417
+
1418
+ ## 4.0.0-beta.117
1419
+
1420
+ ### Patch Changes
1421
+
1422
+ - 1d85785: Wrap store seed effects with `Effect.uninterruptible` to prevent interruption during seeding
1423
+ - effect-app@4.0.0-beta.117
1424
+
1425
+ ## 4.0.0-beta.116
1426
+
1427
+ ### Patch Changes
1428
+
1429
+ - 7d5cefc: SQL and Pg stores now scope seed migration records by namespace and table name in shared databases to avoid cross-namespace seed collisions.
1430
+ - effect-app@4.0.0-beta.116
1431
+
1432
+ ## 4.0.0-beta.115
1433
+
1434
+ ### Patch Changes
1435
+
1436
+ - fe2caba: SQL and Pg stores: use separate `_migrations` table for seed tracking instead of inserting a marker row into the data table, preventing it from appearing in `all`/`filter` queries.
1437
+ - effect-app@4.0.0-beta.115
1438
+
1439
+ ## 4.0.0-beta.114
1440
+
1441
+ ### Patch Changes
1442
+
1443
+ - 1ab3cf7: SQLite per-namespace adapter: use separate `_migrations` table for seed tracking instead of inserting a marker row into the data table, preventing it from appearing in `all`/`filter` queries.
1444
+ - effect-app@4.0.0-beta.114
1445
+
1446
+ ## 4.0.0-beta.113
1447
+
1448
+ ### Minor Changes
1449
+
1450
+ - ddc5492: Add RepositoryRegistry service that tracks all repositories by modelName, with `seedNamespace` to seed all registered repos in parallel and `entries` to inspect the registry.
1451
+
1452
+ Make non-primary namespace seeding explicit: Store and Repository now expose `seedNamespace` instead of auto-seeding on access. Primary namespace is still seeded eagerly on initialization.
1453
+
1454
+ SQL stores: table creation (`CREATE TABLE IF NOT EXISTS`) is now part of `seedNamespace` instead of running eagerly at store construction, ensuring tables for non-primary namespaces are only created when explicitly seeded.
1455
+
1456
+ ### Patch Changes
1457
+
1458
+ - effect-app@4.0.0-beta.113
1459
+
1460
+ ## 4.0.0-beta.112
1461
+
1462
+ ### Patch Changes
1463
+
1464
+ - 8a4a6d2: fup
1465
+ - effect-app@4.0.0-beta.112
1466
+
1467
+ ## 4.0.0-beta.111
1468
+
1469
+ ### Patch Changes
1470
+
1471
+ - ca94edf: fix typo
1472
+ - Updated dependencies [ca94edf]
1473
+ - effect-app@4.0.0-beta.111
1474
+
1475
+ ## 4.0.0-beta.110
1476
+
1477
+ ### Minor Changes
1478
+
1479
+ - c313c07: Add per-namespace in-memory SQLite adapter via LayerMap. When `makeSqlClientLayer` option is provided to `SQLiteStoreLayer`, each namespace gets its own SQLite database instance managed by a `LayerMap`. Introduces `WithNsTransaction` service for namespace-aware SQL transactions, used by `makeSqlTransactionMiddleware`.
1480
+
1481
+ ### Patch Changes
1482
+
1483
+ - effect-app@4.0.0-beta.110
1484
+
1485
+ ## 4.0.0-beta.109
1486
+
1487
+ ### Patch Changes
1488
+
1489
+ - 82f66f1: use uninterruptiple
1490
+ - effect-app@4.0.0-beta.109
1491
+
1492
+ ## 4.0.0-beta.108
1493
+
1494
+ ### Patch Changes
1495
+
1496
+ - Updated dependencies [3e46e7b]
1497
+ - effect-app@4.0.0-beta.108
1498
+
1499
+ ## 4.0.0-beta.107
1500
+
1501
+ ### Patch Changes
1502
+
1503
+ - 902ca1b: fix
1504
+ - effect-app@4.0.0-beta.107
1505
+
1506
+ ## 4.0.0-beta.106
1507
+
1508
+ ### Patch Changes
1509
+
1510
+ - f22a026: Use `Effect.cached` in `getOrCreateStoreEffect` for proper memoization of the resolver effect.
1511
+ - effect-app@4.0.0-beta.106
1512
+
1513
+ ## 4.0.0-beta.105
1514
+
1515
+ ### Minor Changes
1516
+
1517
+ - 3d732b1: Rewrite `withRequestResolverCache` to use official `RequestResolver.withCache`, creating a cached resolver per ContextMap via `getOrCreateStoreEffect` with semaphore-guarded initialization.
1518
+
1519
+ ### Patch Changes
1520
+
1521
+ - 47e53f5: Fix `withRequestResolverCache` causing "RequestResolver did not complete request" errors by using the `preCheck` hook instead of handling cache in `runAll`. Cache hits for in-flight or completed requests are now handled before entries enter the batch, preventing uncompleted entries.
1522
+ - 5773159: Add `itemType` annotation to all repository spans
1523
+ - effect-app@4.0.0-beta.105
1524
+
1525
+ ## 4.0.0-beta.104
1526
+
1527
+ ### Patch Changes
1528
+
1529
+ - Updated dependencies [e944bca]
1530
+ - effect-app@4.0.0-beta.104
1531
+
1532
+ ## 4.0.0-beta.103
1533
+
1534
+ ### Patch Changes
1535
+
1536
+ - Updated dependencies [7119320]
1537
+ - effect-app@4.0.0-beta.103
1538
+
1539
+ ## 4.0.0-beta.102
1540
+
1541
+ ### Patch Changes
1542
+
1543
+ - 62627e9: Fix boolean handling in SQL SELECT and WHERE
1544
+ - effect-app@4.0.0-beta.102
1545
+
1546
+ ## 4.0.0-beta.101
1547
+
1548
+ ### Patch Changes
1549
+
1550
+ - effect-app@4.0.0-beta.101
1551
+
1552
+ ## 4.0.0-beta.100
1553
+
1554
+ ### Patch Changes
1555
+
1556
+ - 43611c7: enable cosmosdb large partition key hashes
1557
+ - effect-app@4.0.0-beta.100
1558
+
1559
+ ## 4.0.0-beta.99
1560
+
1561
+ ### Patch Changes
1562
+
1563
+ - 6a0e008: remove artificial Cosmos bulkSet delays
1564
+ - effect-app@4.0.0-beta.99
1565
+
1566
+ ## 4.0.0-beta.98
1567
+
1568
+ ### Patch Changes
1569
+
1570
+ - 5aed2e3: Add span to Cosmos `batchRemove` and include `namespace` attribute on all Cosmos store spans.
1571
+ - effect-app@4.0.0-beta.98
1572
+
1573
+ ## 4.0.0-beta.97
1574
+
1575
+ ### Patch Changes
1576
+
1577
+ - 3eb66e9: Fix CosmosDB store `filter` to trigger namespace seeding on first access. Previously, if `filter` was the first operation called on a namespace, seed data was never created.
1578
+ - effect-app@4.0.0-beta.97
1579
+
1580
+ ## 4.0.0-beta.96
1581
+
1582
+ ### Patch Changes
1583
+
1584
+ - Updated dependencies [5615e47]
1585
+ - effect-app@4.0.0-beta.96
1586
+
1587
+ ## 4.0.0-beta.95
1588
+
1589
+ ### Patch Changes
1590
+
1591
+ - 88838fb: Remove pick/omit customizations from Class/TaggedClass/Struct/TaggedStruct. Use `Struct.pick(X.fields, [...])` from `effect-app` instead.
1592
+ - Updated dependencies [88838fb]
1593
+ - effect-app@4.0.0-beta.95
1594
+
1595
+ ## 4.0.0-beta.94
1596
+
1597
+ ### Patch Changes
1598
+
1599
+ - effect-app@4.0.0-beta.94
1600
+
1601
+ ## 4.0.0-beta.93
1602
+
1603
+ ### Patch Changes
1604
+
1605
+ - 2d85646: fix SQL includes-any/all double-quoting values for SQLite (JSON.stringify only needed for Postgres jsonb)
1606
+ - effect-app@4.0.0-beta.93
1607
+
1608
+ ## 4.0.0-beta.92
1609
+
1610
+ ### Patch Changes
1611
+
1612
+ - b4ffee0: fix SQL whereEvery double-negation bug causing wrong query when operators like notIn are used (especially with empty arrays)
1613
+ - effect-app@4.0.0-beta.92
1614
+
1615
+ ## 4.0.0-beta.91
1616
+
1617
+ ### Patch Changes
1618
+
1619
+ - Updated dependencies [738b482]
1620
+ - effect-app@4.0.0-beta.91
1621
+
1622
+ ## 4.0.0-beta.90
1623
+
1624
+ ### Patch Changes
1625
+
1626
+ - d786b91: Fix SQL `whereSome`/`whereEvery` array relation queries using `EXISTS` with `json_each` (SQLite) / `jsonb_array_elements` (Pg).
1627
+ - effect-app@4.0.0-beta.90
1628
+
1629
+ ## 4.0.0-beta.89
1630
+
1631
+ ### Patch Changes
1632
+
1633
+ - 9a9e46c: Fix SQL select queries to read `_etag` from column instead of JSON data, preventing INSERT on update.
1634
+ - effect-app@4.0.0-beta.89
1635
+
1636
+ ## 4.0.0-beta.88
1637
+
1638
+ ### Patch Changes
1639
+
1640
+ - dfd5562: Fix SQL `IN`/`NOT IN` with null values to use `IS NULL`/`IS NOT NULL` instead of `IN (NULL, ...)`.
1641
+ - effect-app@4.0.0-beta.88
1642
+
1643
+ ## 4.0.0-beta.87
1644
+
1645
+ ### Patch Changes
1646
+
1647
+ - 5a709d1: Fix SQLite select query type coercion using `json_quote` and apply defaultValues in SQL WHERE clauses via `COALESCE`.
1648
+ - effect-app@4.0.0-beta.87
1649
+
1650
+ ## 4.0.0-beta.86
1651
+
1652
+ ### Patch Changes
1653
+
1654
+ - 70f1f27: Fix store seeding: break circular dependency where bulkSet re-entered seedNamespace, and add explicit seed markers to SQL/Pg stores using a dedicated `__seed__` namespace.
1655
+ - effect-app@4.0.0-beta.86
1656
+
1657
+ ## 4.0.0-beta.85
1658
+
1659
+ ### Patch Changes
1660
+
1661
+ - db285e9: Add per-namespace seeding to SQL (SQLite/PostgreSQL) and CosmosDB store adapters. Previously only the `primary` namespace was seeded at initialization; now each namespace is lazily seeded on first access using `Effect.cached` to guarantee at-most-once execution. Primary namespace continues to seed eagerly on initialization. CosmosDB uses namespace-specific marker documents for backward compatibility.
1662
+ - effect-app@4.0.0-beta.85
1663
+
1664
+ ## 4.0.0-beta.84
1665
+
1666
+ ### Patch Changes
1667
+
1668
+ - c80e781: Fix SQLite store namespace parameter ordering in filter queries. The `_namespace` placeholder was prepended to the WHERE clause but its value was appended to the end of the positional params array, causing it to bind to the wrong placeholder. PostgreSQL was unaffected (uses indexed `$N` placeholders).
1669
+ - effect-app@4.0.0-beta.84
1670
+
1671
+ ## 4.0.0-beta.83
1672
+
1673
+ ### Patch Changes
1674
+
1675
+ - d1fc90a: Strip `_etag` and `id` from the `data` JSON column in SQL store adapters (SQLite + PostgreSQL). These fields are already stored as dedicated columns and were redundantly duplicated inside the JSON blob. On read, `parseRow` now re-injects `id` from the row column. Backward compatible: existing rows with `_etag`/`id` in `data` continue to work as the column values take precedence.
1676
+ - effect-app@4.0.0-beta.83
1677
+
1678
+ ## 4.0.0-beta.82
1679
+
1680
+ ### Minor Changes
1681
+
1682
+ - 48f1457: Add storage namespace support to CosmosDB adapter via partition key prefixing. When `allowNamespace` is configured, the namespace from `storeId` is prepended to partition key values (e.g., `test-ns::primary`), isolating data per namespace within the same container.
1683
+ - 48f1457: Add storage namespace support to SQL adapters (SQLite and Postgres) via a `_namespace` column. When `allowNamespace` is configured, a `_namespace` column with composite primary key `(id, _namespace)` isolates data per namespace within the same table. New tables get the schema automatically; existing tables require manual migration.
1684
+ - 48f1457: Add SQL Store adapter for Effect SQL (SQLite + PostgreSQL). Table-per-repo with id/etag/data JSON columns, query DSL translation to SQL WHERE clauses, optimistic concurrency via etag.
1685
+ - 48f1457: Make `withSqlTransaction` in `setupRequest` configurable via `withTransaction` option (defaults to `false`). Add `requiresTransactionConfig` and `makeSqlTransactionMiddleware` for per-RPC transaction control as a dynamic middleware that requires `SqlClient` directly. Transactions are disabled by default; opt in with `withTransaction: true` or `requiresTransaction: true`.
1686
+
1687
+ ### Patch Changes
1688
+
1689
+ - effect-app@4.0.0-beta.82
1690
+
1691
+ ## 4.0.0-beta.81
1692
+
1693
+ ### Minor Changes
1694
+
1695
+ - fd67f0b: Add `withRequestResolverCache` to scope RequestResolver cache to the ContextMap (request-scoped). Add `getOrCreateStore` to ContextMap for generic scoped storage.
1696
+
1697
+ ### Patch Changes
1698
+
1699
+ - effect-app@4.0.0-beta.81
1700
+
1701
+ ## 4.0.0-beta.80
1702
+
1703
+ ### Patch Changes
1704
+
1705
+ - eaf0115: enforce local
1706
+ - effect-app@4.0.0-beta.80
1707
+
1708
+ ## 4.0.0-beta.79
1709
+
1710
+ ### Patch Changes
1711
+
1712
+ - 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).
1713
+ - Updated dependencies [d16845e]
1714
+ - effect-app@4.0.0-beta.79
1715
+
1716
+ ## 4.0.0-beta.78
1717
+
1718
+ ### Minor Changes
1719
+
1720
+ - 818e047: Router `matchFor` no longer requires `meta` property on resource when requests carry `moduleName` from `TaggedRequestFor`
1721
+
1722
+ ### Patch Changes
1723
+
1724
+ - effect-app@4.0.0-beta.78
1725
+
1726
+ ## 4.0.0-beta.77
1727
+
1728
+ ### Patch Changes
1729
+
1730
+ - Updated dependencies [3613e87]
1731
+ - effect-app@4.0.0-beta.77
1732
+
1733
+ ## 4.0.0-beta.76
1734
+
1735
+ ### Patch Changes
1736
+
1737
+ - fac725d: update effect to latest beta
1738
+ - Updated dependencies [a5248a9]
1739
+ - Updated dependencies [fac725d]
1740
+ - effect-app@4.0.0-beta.76
1741
+
1742
+ ## 4.0.0-beta.75
1743
+
1744
+ ### Patch Changes
1745
+
1746
+ - Updated dependencies [24f0a5a]
1747
+ - effect-app@4.0.0-beta.75
1748
+
1749
+ ## 4.0.0-beta.74
1750
+
1751
+ ### Patch Changes
1752
+
1753
+ - Updated dependencies [54ec1ef]
1754
+ - effect-app@4.0.0-beta.74
1755
+
1756
+ ## 4.0.0-beta.73
1757
+
1758
+ ### Patch Changes
1759
+
1760
+ - b53c59e: fix signature
1761
+ - effect-app@4.0.0-beta.73
1762
+
1763
+ ## 4.0.0-beta.72
1764
+
1765
+ ### Patch Changes
1766
+
1767
+ - Updated dependencies [0541f0d]
1768
+ - effect-app@4.0.0-beta.72
1769
+
1770
+ ## 4.0.0-beta.71
1771
+
1772
+ ### Patch Changes
1773
+
1774
+ - beae3a0: Remove `withDefaultConstructor` wrapper, use `S.withConstructorDefault` directly with `Effect.succeed`/`Effect.sync`.
1775
+ - Updated dependencies [beae3a0]
1776
+ - effect-app@4.0.0-beta.71
1777
+
1778
+ ## 4.0.0-beta.70
1779
+
1780
+ ### Patch Changes
1781
+
1782
+ - fdb9cb3: cleanup
1783
+ - effect-app@4.0.0-beta.70
1784
+
1785
+ ## 4.0.0-beta.69
1786
+
1787
+ ### Patch Changes
1788
+
1789
+ - dc465e3: update to latest effect beta
1790
+ - Updated dependencies [dc465e3]
1791
+ - effect-app@4.0.0-beta.69
1792
+
1793
+ ## 4.0.0-beta.68
1794
+
1795
+ ### Patch Changes
1796
+
1797
+ - Updated dependencies [e6f2341]
1798
+ - effect-app@4.0.0-beta.68
1799
+
1800
+ ## 4.0.0-beta.67
1801
+
1802
+ ### Patch Changes
1803
+
1804
+ - effect-app@4.0.0-beta.67
1805
+
1806
+ ## 4.0.0-beta.66
1807
+
1808
+ ### Patch Changes
1809
+
1810
+ - Updated dependencies [edc52e4]
1811
+ - effect-app@4.0.0-beta.66
1812
+
1813
+ ## 4.0.0-beta.65
1814
+
1815
+ ### Patch Changes
1816
+
1817
+ - Updated dependencies [31739d7]
1818
+ - Updated dependencies [1f103b2]
1819
+ - effect-app@4.0.0-beta.65
1820
+
1821
+ ## 4.0.0-beta.64
1822
+
1823
+ ### Patch Changes
1824
+
1825
+ - Updated dependencies [c1a6fdc]
1826
+ - effect-app@4.0.0-beta.64
1827
+
1828
+ ## 4.0.0-beta.63
1829
+
1830
+ ### Patch Changes
1831
+
1832
+ - 1f9d7da: fix missing toCodecJson usages
1833
+ - effect-app@4.0.0-beta.63
1834
+
1835
+ ## 4.0.0-beta.62
1836
+
1837
+ ### Patch Changes
1838
+
1839
+ - Updated dependencies [0b21a02]
1840
+ - effect-app@4.0.0-beta.62
1841
+
1842
+ ## 4.0.0-beta.61
1843
+
1844
+ ### Patch Changes
1845
+
1846
+ - effect-app@4.0.0-beta.61
1847
+
1848
+ ## 4.0.0-beta.60
1849
+
1850
+ ### Patch Changes
1851
+
1852
+ - 29c39d2: Fix repository `find` with transformed id fields in tagged union schemas
1853
+ - effect-app@4.0.0-beta.60
1854
+
1855
+ ## 4.0.0-beta.59
1856
+
1857
+ ### Patch Changes
1858
+
1859
+ - cec026d: update packages
1860
+ - Updated dependencies [cec026d]
1861
+ - effect-app@4.0.0-beta.59
1862
+
1863
+ ## 4.0.0-beta.58
1864
+
1865
+ ### Patch Changes
1866
+
1867
+ - effect-app@4.0.0-beta.58
1868
+
1869
+ ## 4.0.0-beta.57
1870
+
1871
+ ### Patch Changes
1872
+
1873
+ - fbf47b8: Fix repository `find` with transformed id fields (e.g. composite ids using `decodeTo`)
1874
+ - effect-app@4.0.0-beta.57
1875
+
1876
+ ## 4.0.0-beta.56
1877
+
1878
+ ### Patch Changes
1879
+
1880
+ - effect-app@4.0.0-beta.56
1881
+
1882
+ ## 4.0.0-beta.55
1883
+
1884
+ ### Patch Changes
1885
+
1886
+ - effect-app@4.0.0-beta.55
1887
+
1888
+ ## 4.0.0-beta.54
1889
+
1890
+ ### Patch Changes
1891
+
1892
+ - d867272: the return of `Context`
1893
+ - Updated dependencies [d867272]
1894
+ - effect-app@4.0.0-beta.54
1895
+
1896
+ ## 4.0.0-beta.53
1897
+
1898
+ ### Patch Changes
1899
+
1900
+ - Updated dependencies [ee9694e]
1901
+ - effect-app@4.0.0-beta.53
1902
+
1903
+ ## 4.0.0-beta.52
1904
+
1905
+ ### Patch Changes
1906
+
1907
+ - Updated dependencies [6252808]
1908
+ - effect-app@4.0.0-beta.52
1909
+
1910
+ ## 4.0.0-beta.51
1911
+
1912
+ ### Patch Changes
1913
+
1914
+ - effect-app@4.0.0-beta.51
1915
+
1916
+ ## 4.0.0-beta.50
1917
+
1918
+ ### Patch Changes
1919
+
1920
+ - effect-app@4.0.0-beta.50
1921
+
1922
+ ## 4.0.0-beta.49
1923
+
1924
+ ### Patch Changes
1925
+
1926
+ - Updated dependencies [e585c9c]
1927
+ - effect-app@4.0.0-beta.49
1928
+
1929
+ ## 4.0.0-beta.48
1930
+
1931
+ ### Patch Changes
1932
+
1933
+ - Updated dependencies [0c88f78]
1934
+ - effect-app@4.0.0-beta.48
1935
+
1936
+ ## 4.0.0-beta.47
1937
+
1938
+ ### Patch Changes
1939
+
1940
+ - Updated dependencies [3365758]
1941
+ - effect-app@4.0.0-beta.47
1942
+
1943
+ ## 4.0.0-beta.46
1944
+
1945
+ ### Patch Changes
1946
+
1947
+ - effect-app@4.0.0-beta.46
1948
+
1949
+ ## 4.0.0-beta.45
1950
+
1951
+ ### Patch Changes
1952
+
1953
+ - 10b55ff: update packages
1954
+ - Updated dependencies [10b55ff]
1955
+ - effect-app@4.0.0-beta.45
1956
+
1957
+ ## 4.0.0-beta.44
1958
+
1959
+ ### Patch Changes
1960
+
1961
+ - a37aa38: Update to effect beta 43
1962
+ - Updated dependencies [a37aa38]
1963
+ - effect-app@4.0.0-beta.44
1964
+
1965
+ ## 4.0.0-beta.43
1966
+
1967
+ ### Patch Changes
1968
+
1969
+ - dab6992: no need for .lock.lock
1970
+ - effect-app@4.0.0-beta.43
1971
+
1972
+ ## 4.0.0-beta.42
1973
+
1974
+ ### Patch Changes
1975
+
1976
+ - effect-app@4.0.0-beta.42
1977
+
1978
+ ## 4.0.0-beta.41
1979
+
1980
+ ### Patch Changes
1981
+
1982
+ - effect-app@4.0.0-beta.41
1983
+
1984
+ ## 4.0.0-beta.40
1985
+
1986
+ ### Patch Changes
1987
+
1988
+ - effect-app@4.0.0-beta.40
1989
+
1990
+ ## 4.0.0-beta.39
1991
+
1992
+ ### Patch Changes
1993
+
1994
+ - Updated dependencies [10e90d5]
1995
+ - effect-app@4.0.0-beta.39
1996
+
1997
+ ## 4.0.0-beta.38
1998
+
1999
+ ### Patch Changes
2000
+
2001
+ - Updated dependencies [0b3e00e]
2002
+ - effect-app@4.0.0-beta.38
2003
+
2004
+ ## 4.0.0-beta.37
2005
+
2006
+ ### Patch Changes
2007
+
2008
+ - Updated dependencies [947fe20]
2009
+ - effect-app@4.0.0-beta.37
2010
+
2011
+ ## 4.0.0-beta.36
2012
+
2013
+ ### Patch Changes
2014
+
2015
+ - effect-app@4.0.0-beta.36
2016
+
2017
+ ## 4.0.0-beta.35
2018
+
2019
+ ### Patch Changes
2020
+
2021
+ - effect-app@4.0.0-beta.35
2022
+
2023
+ ## 4.0.0-beta.34
2024
+
2025
+ ### Patch Changes
2026
+
2027
+ - 8c645d5: update to latest effect
2028
+ - Updated dependencies [8c645d5]
2029
+ - effect-app@4.0.0-beta.34
2030
+
2031
+ ## 4.0.0-beta.33
2032
+
2033
+ ### Patch Changes
2034
+
2035
+ - 4b95009: use Finite instead of Number
2036
+ - Updated dependencies [4b95009]
2037
+ - effect-app@4.0.0-beta.33
2038
+
2039
+ ## 4.0.0-beta.32
2040
+
2041
+ ### Patch Changes
2042
+
2043
+ - Updated dependencies [01d862a]
2044
+ - effect-app@4.0.0-beta.32
2045
+
2046
+ ## 4.0.0-beta.31
2047
+
2048
+ ### Patch Changes
2049
+
2050
+ - Updated dependencies [6b6d601]
2051
+ - effect-app@4.0.0-beta.31
2052
+
2053
+ ## 4.0.0-beta.30
2054
+
2055
+ ### Patch Changes
2056
+
2057
+ - Updated dependencies [5ec1f45]
2058
+ - effect-app@4.0.0-beta.30
2059
+
2060
+ ## 4.0.0-beta.29
2061
+
2062
+ ### Patch Changes
2063
+
2064
+ - Updated dependencies [a899d46]
2065
+ - effect-app@4.0.0-beta.29
2066
+
2067
+ ## 4.0.0-beta.28
2068
+
2069
+ ### Patch Changes
2070
+
2071
+ - Updated dependencies [0099208]
2072
+ - effect-app@4.0.0-beta.28
2073
+
3
2074
  ## 4.0.0-beta.27
4
2075
 
5
2076
  ### Patch Changes