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

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