@effect-app/infra 4.0.0-beta.28 → 4.0.0-beta.281

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