@effect-app/infra 4.0.0-beta.33 → 4.0.0-beta.331

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 (490) hide show
  1. package/CHANGELOG.md +2562 -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 +36 -15
  6. package/dist/ClusterCosmos.d.ts +64 -0
  7. package/dist/ClusterCosmos.d.ts.map +1 -0
  8. package/dist/ClusterCosmos.js +576 -0
  9. package/dist/ClusterServiceBus.d.ts +67 -0
  10. package/dist/ClusterServiceBus.d.ts.map +1 -0
  11. package/dist/ClusterServiceBus.js +84 -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 +12 -8
  22. package/dist/MainFiberSet.d.ts.map +1 -1
  23. package/dist/MainFiberSet.js +23 -7
  24. package/dist/QueueMaker/errors.d.ts +4 -2
  25. package/dist/QueueMaker/errors.d.ts.map +1 -1
  26. package/dist/QueueMaker/errors.js +4 -2
  27. package/dist/{adapters/SQL → SQL}/Model.d.ts +31 -42
  28. package/dist/SQL/Model.d.ts.map +1 -0
  29. package/dist/SQL/Model.js +469 -0
  30. package/dist/SQL.d.ts.map +1 -0
  31. package/dist/{adapters/SQL.js → SQL.js} +1 -1
  32. package/dist/Store/Cosmos/query.d.ts +16 -4
  33. package/dist/Store/Cosmos/query.d.ts.map +1 -1
  34. package/dist/Store/Cosmos/query.js +238 -42
  35. package/dist/Store/Cosmos.d.ts +2 -2
  36. package/dist/Store/Cosmos.d.ts.map +1 -1
  37. package/dist/Store/Cosmos.js +395 -256
  38. package/dist/Store/Disk.d.ts +4 -4
  39. package/dist/Store/Disk.d.ts.map +1 -1
  40. package/dist/Store/Disk.js +93 -42
  41. package/dist/Store/Memory.d.ts +7 -10
  42. package/dist/Store/Memory.d.ts.map +1 -1
  43. package/dist/Store/Memory.js +349 -79
  44. package/dist/Store/SQL/Pg.d.ts +4 -0
  45. package/dist/Store/SQL/Pg.d.ts.map +1 -0
  46. package/dist/Store/SQL/Pg.js +261 -0
  47. package/dist/Store/SQL/query.d.ts +53 -0
  48. package/dist/Store/SQL/query.d.ts.map +1 -0
  49. package/dist/Store/SQL/query.js +656 -0
  50. package/dist/Store/SQL.d.ts +28 -0
  51. package/dist/Store/SQL.d.ts.map +1 -0
  52. package/dist/Store/SQL.js +483 -0
  53. package/dist/Store/codeFilter.d.ts +4 -4
  54. package/dist/Store/codeFilter.d.ts.map +1 -1
  55. package/dist/Store/codeFilter.js +71 -22
  56. package/dist/Store/index.d.ts +6 -4
  57. package/dist/Store/index.d.ts.map +1 -1
  58. package/dist/Store/index.js +18 -5
  59. package/dist/Store/jsonDocument.d.ts +67 -0
  60. package/dist/Store/jsonDocument.d.ts.map +1 -0
  61. package/dist/Store/jsonDocument.js +107 -0
  62. package/dist/Store/utils.d.ts +21 -2
  63. package/dist/Store/utils.d.ts.map +1 -1
  64. package/dist/Store/utils.js +253 -10
  65. package/dist/WorkflowEngineCosmos.d.ts +30 -0
  66. package/dist/WorkflowEngineCosmos.d.ts.map +1 -0
  67. package/dist/WorkflowEngineCosmos.js +542 -0
  68. package/dist/WorkflowEngineSqlite.d.ts +24 -0
  69. package/dist/WorkflowEngineSqlite.d.ts.map +1 -0
  70. package/dist/WorkflowEngineSqlite.js +550 -0
  71. package/dist/arbs.d.ts +6 -3
  72. package/dist/arbs.d.ts.map +1 -1
  73. package/dist/arbs.js +20 -4
  74. package/dist/codec.d.ts.map +1 -0
  75. package/dist/codec.js +5 -0
  76. package/dist/cosmos-client.d.ts +40 -0
  77. package/dist/cosmos-client.d.ts.map +1 -0
  78. package/dist/cosmos-client.js +41 -0
  79. package/dist/errorReporter.d.ts +6 -4
  80. package/dist/errorReporter.d.ts.map +1 -1
  81. package/dist/errorReporter.js +23 -27
  82. package/dist/fileUtil.d.ts +1 -1
  83. package/dist/fileUtil.d.ts.map +1 -1
  84. package/dist/fileUtil.js +2 -2
  85. package/dist/index.d.ts +2 -1
  86. package/dist/index.d.ts.map +1 -1
  87. package/dist/index.js +3 -2
  88. package/dist/internal/RequestContextMiddleware.d.ts +5 -0
  89. package/dist/internal/RequestContextMiddleware.d.ts.map +1 -0
  90. package/dist/internal/RequestContextMiddleware.js +45 -0
  91. package/dist/internal/auth.d.ts +53 -0
  92. package/dist/internal/auth.d.ts.map +1 -0
  93. package/dist/internal/auth.js +180 -0
  94. package/dist/internal/events.d.ts +11 -0
  95. package/dist/internal/events.d.ts.map +1 -0
  96. package/dist/internal/events.js +49 -0
  97. package/dist/internal/health.d.ts.map +1 -0
  98. package/dist/internal/health.js +5 -0
  99. package/dist/{api/layerUtils.d.ts → layerUtils.d.ts} +14 -6
  100. package/dist/layerUtils.d.ts.map +1 -0
  101. package/dist/layerUtils.js +17 -0
  102. package/dist/logger/jsonLogger.d.ts +1 -1
  103. package/dist/logger/jsonLogger.d.ts.map +1 -1
  104. package/dist/logger/jsonLogger.js +5 -3
  105. package/dist/logger/logFmtLogger.d.ts +1 -1
  106. package/dist/logger/logFmtLogger.d.ts.map +1 -1
  107. package/dist/logger/logFmtLogger.js +3 -3
  108. package/dist/logger/shared.d.ts +2 -2
  109. package/dist/logger/shared.d.ts.map +1 -1
  110. package/dist/logger/shared.js +6 -6
  111. package/dist/logger.d.ts +4 -4
  112. package/dist/logger.d.ts.map +1 -1
  113. package/dist/middlewares.d.ts.map +1 -0
  114. package/dist/{api/middlewares.js → middlewares.js} +1 -1
  115. package/dist/{adapters/mongo-client.d.ts → mongo-client.d.ts} +3 -2
  116. package/dist/mongo-client.d.ts.map +1 -0
  117. package/dist/mongo-client.js +15 -0
  118. package/dist/otel.d.ts +75 -0
  119. package/dist/otel.d.ts.map +1 -0
  120. package/dist/otel.js +84 -0
  121. package/dist/rateLimit.d.ts +11 -3
  122. package/dist/rateLimit.d.ts.map +1 -1
  123. package/dist/rateLimit.js +7 -12
  124. package/dist/{adapters/redis-client.d.ts → redis-client.d.ts} +5 -2
  125. package/dist/redis-client.d.ts.map +1 -0
  126. package/dist/redis-client.js +98 -0
  127. package/dist/{api/reportError.d.ts → reportError.d.ts} +1 -1
  128. package/dist/reportError.d.ts.map +1 -0
  129. package/dist/reportError.js +28 -0
  130. package/dist/{api/routing → routing}/middleware/RouterMiddleware.d.ts +4 -3
  131. package/dist/routing/middleware/RouterMiddleware.d.ts.map +1 -0
  132. package/dist/{api/routing → routing}/middleware/RouterMiddleware.js +1 -1
  133. package/dist/routing/middleware/middleware.d.ts +48 -0
  134. package/dist/routing/middleware/middleware.d.ts.map +1 -0
  135. package/dist/routing/middleware/middleware.js +152 -0
  136. package/dist/{api/routing → routing}/middleware.d.ts +0 -1
  137. package/dist/routing/middleware.d.ts.map +1 -0
  138. package/dist/{api/routing → routing}/middleware.js +1 -2
  139. package/dist/routing/schema/jwt.d.ts.map +1 -0
  140. package/dist/routing/schema/jwt.js +12 -0
  141. package/dist/routing/tsort.d.ts.map +1 -0
  142. package/dist/routing/tsort.js +51 -0
  143. package/dist/{api/routing → routing}/utils.d.ts +3 -3
  144. package/dist/routing/utils.d.ts.map +1 -0
  145. package/dist/routing/utils.js +45 -0
  146. package/dist/routing.d.ts +182 -0
  147. package/dist/routing.d.ts.map +1 -0
  148. package/dist/routing.js +256 -0
  149. package/dist/test.d.ts +2 -2
  150. package/dist/test.d.ts.map +1 -1
  151. package/dist/test.js +5 -5
  152. package/dist/util.d.ts.map +1 -0
  153. package/dist/util.js +14 -0
  154. package/docs/cluster-storage.md +26 -0
  155. package/docs/workflow-engine.md +262 -0
  156. package/examples/query.ts +25 -21
  157. package/package.json +38 -352
  158. package/src/CUPS.ts +54 -15
  159. package/src/ClusterCosmos.ts +1150 -0
  160. package/src/ClusterServiceBus.ts +244 -0
  161. package/src/{api/ContextProvider.ts → ContextProvider.ts} +20 -17
  162. package/src/Emailer/Sendgrid.ts +83 -60
  163. package/src/Emailer/fake.ts +4 -4
  164. package/src/MainFiberSet.ts +32 -13
  165. package/src/QueueMaker/errors.ts +3 -1
  166. package/src/{adapters/SQL → SQL}/Model.ts +42 -41
  167. package/src/SQL.ts +1 -0
  168. package/src/Store/Cosmos/query.ts +275 -55
  169. package/src/Store/Cosmos.ts +547 -366
  170. package/src/Store/Disk.ts +146 -73
  171. package/src/Store/Memory.ts +420 -115
  172. package/src/Store/SQL/Pg.ts +412 -0
  173. package/src/Store/SQL/query.ts +748 -0
  174. package/src/Store/SQL.ts +806 -0
  175. package/src/Store/codeFilter.ts +78 -28
  176. package/src/Store/index.ts +25 -10
  177. package/src/Store/jsonDocument.ts +143 -0
  178. package/src/Store/utils.ts +307 -30
  179. package/src/WorkflowEngineCosmos.ts +749 -0
  180. package/src/WorkflowEngineSqlite.ts +813 -0
  181. package/src/arbs.ts +25 -5
  182. package/src/cosmos-client.ts +72 -0
  183. package/src/errorReporter.ts +68 -78
  184. package/src/fileUtil.ts +1 -1
  185. package/src/index.ts +2 -1
  186. package/src/{api/internal → internal}/RequestContextMiddleware.ts +23 -6
  187. package/src/internal/auth.ts +272 -0
  188. package/src/{api/internal → internal}/events.ts +22 -13
  189. package/src/{api/layerUtils.ts → layerUtils.ts} +14 -10
  190. package/src/logger/jsonLogger.ts +5 -3
  191. package/src/logger/logFmtLogger.ts +3 -3
  192. package/src/logger/shared.ts +6 -5
  193. package/src/middlewares.ts +10 -0
  194. package/src/{adapters/mongo-client.ts → mongo-client.ts} +4 -2
  195. package/src/otel.ts +177 -0
  196. package/src/rateLimit.ts +35 -24
  197. package/src/{adapters/redis-client.ts → redis-client.ts} +7 -3
  198. package/src/{api/reportError.ts → reportError.ts} +3 -2
  199. package/src/{api/routing → routing}/middleware/RouterMiddleware.ts +5 -4
  200. package/src/routing/middleware/middleware.ts +196 -0
  201. package/src/routing/middleware.ts +4 -0
  202. package/src/{api/routing → routing}/schema/jwt.ts +2 -2
  203. package/src/{api/routing → routing}/utils.ts +2 -1
  204. package/src/routing.ts +823 -0
  205. package/src/test.ts +6 -6
  206. package/src/vitest.ts +1 -1
  207. package/test/arbs-magnitude.test.ts +33 -0
  208. package/test/arbs.test.ts +41 -0
  209. package/test/auth.test.ts +101 -0
  210. package/test/cluster-cosmos.test.ts +612 -0
  211. package/test/cluster-servicebus.test.ts +180 -0
  212. package/test/cluster-sqlite.test.ts +207 -0
  213. package/test/contextProvider.test.ts +15 -12
  214. package/test/controller.test.ts +27 -31
  215. package/test/cosmos-container-throughput.test.ts +80 -0
  216. package/test/cosmos-query.test.ts +368 -0
  217. package/test/dist/arbs-magnitude.test.d.ts.map +1 -0
  218. package/test/dist/arbs.test.d.ts.map +1 -0
  219. package/test/dist/auth.test.d.ts.map +1 -0
  220. package/test/dist/cluster-cosmos.test.d.ts.map +1 -0
  221. package/test/dist/cluster-servicebus.test.d.ts.map +1 -0
  222. package/test/dist/cluster-sqlite.test.d.ts.map +1 -0
  223. package/test/dist/contextProvider.test.d.ts.map +1 -1
  224. package/test/dist/controller.test.d.ts.map +1 -1
  225. package/test/dist/cosmos-container-throughput.test.d.ts.map +1 -0
  226. package/test/dist/cosmos-query.test.d.ts.map +1 -0
  227. package/test/dist/fixtures.d.ts +29 -11
  228. package/test/dist/fixtures.d.ts.map +1 -1
  229. package/test/dist/fixtures.js +17 -10
  230. package/test/dist/json-lower.test.d.ts.map +1 -0
  231. package/test/dist/query.test.d.ts.map +1 -1
  232. package/test/dist/rawQuery.test.d.ts.map +1 -1
  233. package/test/dist/repository-ext.test.d.ts.map +1 -0
  234. package/test/dist/repository-legacy-document.test.d.ts.map +1 -0
  235. package/test/dist/requires.test.d.ts.map +1 -1
  236. package/test/dist/router-generator.test.d.ts.map +1 -0
  237. package/test/dist/routing-interruptibility.test.d.ts.map +1 -0
  238. package/test/dist/rpc-context-map-streaming.test.d.ts.map +1 -0
  239. package/test/dist/rpc-e2e-invalidation.test.d.ts.map +1 -0
  240. package/test/dist/rpc-multi-middleware.test.d.ts.map +1 -1
  241. package/test/dist/rpc-stream-fullstack.test.d.ts.map +1 -0
  242. package/test/dist/sql-store.test.d.ts.map +1 -0
  243. package/test/dist/workflow-engine-cosmos.test.d.ts.map +1 -0
  244. package/test/dist/workflow-engine-sqlite.test.d.ts.map +1 -0
  245. package/test/fixtures.ts +16 -9
  246. package/test/json-lower.test.ts +129 -0
  247. package/test/layerUtils.test.ts +2 -2
  248. package/test/query.test.ts +1382 -44
  249. package/test/rawQuery.test.ts +433 -8
  250. package/test/repository-ext.test.ts +456 -0
  251. package/test/repository-legacy-document.test.ts +394 -0
  252. package/test/requires.test.ts +10 -5
  253. package/test/router-generator.test.ts +187 -0
  254. package/test/routing-interruptibility.test.ts +66 -0
  255. package/test/rpc-context-map-streaming.test.ts +265 -0
  256. package/test/rpc-e2e-invalidation.test.ts +421 -0
  257. package/test/rpc-multi-middleware.test.ts +85 -10
  258. package/test/rpc-stream-fullstack.test.ts +307 -0
  259. package/test/sql-store.test.ts +1931 -0
  260. package/test/validateSample.test.ts +71 -43
  261. package/test/workflow-engine-cosmos.test.ts +345 -0
  262. package/test/workflow-engine-sqlite.test.ts +297 -0
  263. package/tsconfig.examples.json +1 -1
  264. package/tsconfig.json +9 -2
  265. package/tsconfig.src.json +35 -35
  266. package/tsconfig.test.json +2 -2
  267. package/dist/Emailer/service.d.ts +0 -55
  268. package/dist/Emailer/service.d.ts.map +0 -1
  269. package/dist/Emailer/service.js +0 -6
  270. package/dist/Emailer.d.ts +0 -2
  271. package/dist/Emailer.d.ts.map +0 -1
  272. package/dist/Emailer.js +0 -2
  273. package/dist/Model/Repository/ext.d.ts +0 -41
  274. package/dist/Model/Repository/ext.d.ts.map +0 -1
  275. package/dist/Model/Repository/ext.js +0 -65
  276. package/dist/Model/Repository/internal/internal.d.ts +0 -59
  277. package/dist/Model/Repository/internal/internal.d.ts.map +0 -1
  278. package/dist/Model/Repository/internal/internal.js +0 -316
  279. package/dist/Model/Repository/legacy.d.ts +0 -19
  280. package/dist/Model/Repository/legacy.d.ts.map +0 -1
  281. package/dist/Model/Repository/legacy.js +0 -2
  282. package/dist/Model/Repository/makeRepo.d.ts +0 -49
  283. package/dist/Model/Repository/makeRepo.d.ts.map +0 -1
  284. package/dist/Model/Repository/makeRepo.js +0 -24
  285. package/dist/Model/Repository/service.d.ts +0 -89
  286. package/dist/Model/Repository/service.d.ts.map +0 -1
  287. package/dist/Model/Repository/service.js +0 -2
  288. package/dist/Model/Repository/validation.d.ts +0 -42
  289. package/dist/Model/Repository/validation.d.ts.map +0 -1
  290. package/dist/Model/Repository/validation.js +0 -32
  291. package/dist/Model/Repository.d.ts +0 -6
  292. package/dist/Model/Repository.d.ts.map +0 -1
  293. package/dist/Model/Repository.js +0 -6
  294. package/dist/Model/dsl.d.ts +0 -32
  295. package/dist/Model/dsl.d.ts.map +0 -1
  296. package/dist/Model/dsl.js +0 -44
  297. package/dist/Model/filter/filterApi.d.ts +0 -30
  298. package/dist/Model/filter/filterApi.d.ts.map +0 -1
  299. package/dist/Model/filter/filterApi.js +0 -2
  300. package/dist/Model/filter/types/errors.d.ts +0 -29
  301. package/dist/Model/filter/types/errors.d.ts.map +0 -1
  302. package/dist/Model/filter/types/errors.js +0 -2
  303. package/dist/Model/filter/types/fields.d.ts +0 -15
  304. package/dist/Model/filter/types/fields.d.ts.map +0 -1
  305. package/dist/Model/filter/types/fields.js +0 -2
  306. package/dist/Model/filter/types/path/common.d.ts +0 -316
  307. package/dist/Model/filter/types/path/common.d.ts.map +0 -1
  308. package/dist/Model/filter/types/path/common.js +0 -2
  309. package/dist/Model/filter/types/path/eager.d.ts +0 -95
  310. package/dist/Model/filter/types/path/eager.d.ts.map +0 -1
  311. package/dist/Model/filter/types/path/eager.js +0 -31
  312. package/dist/Model/filter/types/path/index.d.ts +0 -4
  313. package/dist/Model/filter/types/path/index.d.ts.map +0 -1
  314. package/dist/Model/filter/types/path/index.js +0 -3
  315. package/dist/Model/filter/types/utils.d.ts +0 -79
  316. package/dist/Model/filter/types/utils.d.ts.map +0 -1
  317. package/dist/Model/filter/types/utils.js +0 -2
  318. package/dist/Model/filter/types/validator.d.ts +0 -30
  319. package/dist/Model/filter/types/validator.d.ts.map +0 -1
  320. package/dist/Model/filter/types/validator.js +0 -2
  321. package/dist/Model/filter/types.d.ts +0 -5
  322. package/dist/Model/filter/types.d.ts.map +0 -1
  323. package/dist/Model/filter/types.js +0 -7
  324. package/dist/Model/query/dsl.d.ts +0 -248
  325. package/dist/Model/query/dsl.d.ts.map +0 -1
  326. package/dist/Model/query/dsl.js +0 -104
  327. package/dist/Model/query/new-kid-interpreter.d.ts +0 -28
  328. package/dist/Model/query/new-kid-interpreter.d.ts.map +0 -1
  329. package/dist/Model/query/new-kid-interpreter.js +0 -165
  330. package/dist/Model/query.d.ts +0 -15
  331. package/dist/Model/query.d.ts.map +0 -1
  332. package/dist/Model/query.js +0 -3
  333. package/dist/Model.d.ts +0 -4
  334. package/dist/Model.d.ts.map +0 -1
  335. package/dist/Model.js +0 -4
  336. package/dist/Operations.d.ts +0 -55
  337. package/dist/Operations.d.ts.map +0 -1
  338. package/dist/Operations.js +0 -102
  339. package/dist/OperationsRepo.d.ts +0 -41
  340. package/dist/OperationsRepo.d.ts.map +0 -1
  341. package/dist/OperationsRepo.js +0 -14
  342. package/dist/QueueMaker/SQLQueue.d.ts +0 -16
  343. package/dist/QueueMaker/SQLQueue.d.ts.map +0 -1
  344. package/dist/QueueMaker/SQLQueue.js +0 -130
  345. package/dist/QueueMaker/memQueue.d.ts +0 -11
  346. package/dist/QueueMaker/memQueue.d.ts.map +0 -1
  347. package/dist/QueueMaker/memQueue.js +0 -76
  348. package/dist/QueueMaker/sbqueue.d.ts +0 -12
  349. package/dist/QueueMaker/sbqueue.d.ts.map +0 -1
  350. package/dist/QueueMaker/sbqueue.js +0 -91
  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/RequestFiberSet.d.ts +0 -36
  358. package/dist/RequestFiberSet.d.ts.map +0 -1
  359. package/dist/RequestFiberSet.js +0 -78
  360. package/dist/Store/ContextMapContainer.d.ts +0 -14
  361. package/dist/Store/ContextMapContainer.d.ts.map +0 -1
  362. package/dist/Store/ContextMapContainer.js +0 -16
  363. package/dist/Store/service.d.ts +0 -108
  364. package/dist/Store/service.d.ts.map +0 -1
  365. package/dist/Store/service.js +0 -71
  366. package/dist/Store.d.ts +0 -2
  367. package/dist/Store.d.ts.map +0 -1
  368. package/dist/Store.js +0 -2
  369. package/dist/adapters/SQL/Model.d.ts.map +0 -1
  370. package/dist/adapters/SQL/Model.js +0 -478
  371. package/dist/adapters/SQL.d.ts.map +0 -1
  372. package/dist/adapters/ServiceBus.d.ts +0 -58
  373. package/dist/adapters/ServiceBus.d.ts.map +0 -1
  374. package/dist/adapters/ServiceBus.js +0 -99
  375. package/dist/adapters/cosmos-client.d.ts +0 -14
  376. package/dist/adapters/cosmos-client.d.ts.map +0 -1
  377. package/dist/adapters/cosmos-client.js +0 -9
  378. package/dist/adapters/index.d.ts +0 -2
  379. package/dist/adapters/index.d.ts.map +0 -1
  380. package/dist/adapters/index.js +0 -2
  381. package/dist/adapters/logger.d.ts +0 -9
  382. package/dist/adapters/logger.d.ts.map +0 -1
  383. package/dist/adapters/logger.js +0 -3
  384. package/dist/adapters/memQueue.d.ts +0 -13
  385. package/dist/adapters/memQueue.d.ts.map +0 -1
  386. package/dist/adapters/memQueue.js +0 -20
  387. package/dist/adapters/mongo-client.d.ts.map +0 -1
  388. package/dist/adapters/mongo-client.js +0 -13
  389. package/dist/adapters/redis-client.d.ts.map +0 -1
  390. package/dist/adapters/redis-client.js +0 -94
  391. package/dist/api/ContextProvider.d.ts +0 -31
  392. package/dist/api/ContextProvider.d.ts.map +0 -1
  393. package/dist/api/ContextProvider.js +0 -38
  394. package/dist/api/codec.d.ts.map +0 -1
  395. package/dist/api/codec.js +0 -5
  396. package/dist/api/internal/RequestContextMiddleware.d.ts +0 -5
  397. package/dist/api/internal/RequestContextMiddleware.d.ts.map +0 -1
  398. package/dist/api/internal/RequestContextMiddleware.js +0 -35
  399. package/dist/api/internal/auth.d.ts +0 -15
  400. package/dist/api/internal/auth.d.ts.map +0 -1
  401. package/dist/api/internal/auth.js +0 -47
  402. package/dist/api/internal/events.d.ts +0 -9
  403. package/dist/api/internal/events.d.ts.map +0 -1
  404. package/dist/api/internal/events.js +0 -42
  405. package/dist/api/internal/health.d.ts.map +0 -1
  406. package/dist/api/internal/health.js +0 -5
  407. package/dist/api/layerUtils.d.ts.map +0 -1
  408. package/dist/api/layerUtils.js +0 -16
  409. package/dist/api/middlewares.d.ts.map +0 -1
  410. package/dist/api/reportError.d.ts.map +0 -1
  411. package/dist/api/reportError.js +0 -27
  412. package/dist/api/routing/middleware/RouterMiddleware.d.ts.map +0 -1
  413. package/dist/api/routing/middleware/middleware.d.ts +0 -9
  414. package/dist/api/routing/middleware/middleware.d.ts.map +0 -1
  415. package/dist/api/routing/middleware/middleware.js +0 -92
  416. package/dist/api/routing/middleware.d.ts.map +0 -1
  417. package/dist/api/routing/schema/jwt.d.ts.map +0 -1
  418. package/dist/api/routing/schema/jwt.js +0 -12
  419. package/dist/api/routing/tsort.d.ts.map +0 -1
  420. package/dist/api/routing/tsort.js +0 -51
  421. package/dist/api/routing/utils.d.ts.map +0 -1
  422. package/dist/api/routing/utils.js +0 -44
  423. package/dist/api/routing.d.ts +0 -138
  424. package/dist/api/routing.d.ts.map +0 -1
  425. package/dist/api/routing.js +0 -166
  426. package/dist/api/setupRequest.d.ts +0 -12
  427. package/dist/api/setupRequest.d.ts.map +0 -1
  428. package/dist/api/setupRequest.js +0 -44
  429. package/dist/api/util.d.ts.map +0 -1
  430. package/dist/api/util.js +0 -14
  431. package/eslint.config.mjs +0 -24
  432. package/src/Emailer/service.ts +0 -52
  433. package/src/Emailer.ts +0 -1
  434. package/src/Model/Repository/ext.ts +0 -283
  435. package/src/Model/Repository/internal/internal.ts +0 -577
  436. package/src/Model/Repository/legacy.ts +0 -27
  437. package/src/Model/Repository/makeRepo.ts +0 -139
  438. package/src/Model/Repository/service.ts +0 -627
  439. package/src/Model/Repository/validation.ts +0 -31
  440. package/src/Model/Repository.ts +0 -5
  441. package/src/Model/dsl.ts +0 -128
  442. package/src/Model/filter/filterApi.ts +0 -60
  443. package/src/Model/filter/types/errors.ts +0 -47
  444. package/src/Model/filter/types/fields.ts +0 -50
  445. package/src/Model/filter/types/path/common.ts +0 -404
  446. package/src/Model/filter/types/path/eager.ts +0 -298
  447. package/src/Model/filter/types/path/index.ts +0 -4
  448. package/src/Model/filter/types/utils.ts +0 -128
  449. package/src/Model/filter/types/validator.ts +0 -46
  450. package/src/Model/filter/types.ts +0 -6
  451. package/src/Model/query/dsl.ts +0 -2110
  452. package/src/Model/query/new-kid-interpreter.ts +0 -210
  453. package/src/Model/query.ts +0 -13
  454. package/src/Model.ts +0 -3
  455. package/src/Operations.ts +0 -235
  456. package/src/OperationsRepo.ts +0 -16
  457. package/src/QueueMaker/SQLQueue.ts +0 -189
  458. package/src/QueueMaker/memQueue.ts +0 -130
  459. package/src/QueueMaker/sbqueue.ts +0 -137
  460. package/src/QueueMaker/service.ts +0 -17
  461. package/src/RequestContext.ts +0 -63
  462. package/src/RequestFiberSet.ts +0 -105
  463. package/src/Store/ContextMapContainer.ts +0 -20
  464. package/src/Store/index.test.ts.bak +0 -112
  465. package/src/Store/service.ts +0 -184
  466. package/src/Store.ts +0 -1
  467. package/src/adapters/SQL.ts +0 -1
  468. package/src/adapters/ServiceBus.ts +0 -209
  469. package/src/adapters/cosmos-client.ts +0 -16
  470. package/src/adapters/index.ts +0 -0
  471. package/src/adapters/logger.ts +0 -3
  472. package/src/adapters/memQueue.ts +0 -21
  473. package/src/api/internal/auth.ts +0 -68
  474. package/src/api/middlewares.ts +0 -10
  475. package/src/api/routing/middleware/middleware.ts +0 -128
  476. package/src/api/routing/middleware.ts +0 -6
  477. package/src/api/routing.ts +0 -598
  478. package/src/api/setupRequest.ts +0 -84
  479. package/tsconfig.json.bak +0 -12
  480. /package/dist/{adapters/SQL.d.ts → SQL.d.ts} +0 -0
  481. /package/dist/{api/codec.d.ts → codec.d.ts} +0 -0
  482. /package/dist/{api/internal → internal}/health.d.ts +0 -0
  483. /package/dist/{api/middlewares.d.ts → middlewares.d.ts} +0 -0
  484. /package/dist/{api/routing → routing}/schema/jwt.d.ts +0 -0
  485. /package/dist/{api/routing → routing}/tsort.d.ts +0 -0
  486. /package/dist/{api/util.d.ts → util.d.ts} +0 -0
  487. /package/src/{api/codec.ts → codec.ts} +0 -0
  488. /package/src/{api/internal → internal}/health.ts +0 -0
  489. /package/src/{api/routing → routing}/tsort.ts +0 -0
  490. /package/src/{api/util.ts → util.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,2567 @@
1
1
  # @effect-app/infra
2
2
 
3
+ ## 4.0.0-beta.331
4
+
5
+ ### Patch Changes
6
+
7
+ - 65835a6: Create missing Cosmos containers without throughput when the account is serverless (offer read/replace returns 400). Provisioned databases still get autoscale when configured.
8
+ - effect-app@4.0.0-beta.331
9
+
10
+ ## 4.0.0-beta.330
11
+
12
+ ### Patch Changes
13
+
14
+ - 48d9f36: Memory, SQLite, and Postgres `Store.queryRaw` now run over stored JSON documents, not Encoded rows. `Repository.queryRaw` already applies `toCodecJson` to the projector output, so native Encoded `Date` / `Map` / `Set` values no longer fail `Expected JSON value`. Cosmos was already JSON and is unchanged.
15
+
16
+ Memory projectors that assumed native Encoded `Date` / `Map` / `Set` values now see the stored JSON form (ISO strings, arrays).
17
+
18
+ - Updated dependencies [48d9f36]
19
+ - effect-app@4.0.0-beta.330
20
+
21
+ ## 4.0.0-beta.329
22
+
23
+ ### Patch Changes
24
+
25
+ - 459697f: Restore native Arbitrary for the schemas that lost custom fast-check `toArbitrary`. `StringId` uses `toCodecArbitrary` (the native replacement): generate a 210-byte `Uint8Array` and run `customRandom(urlAlphabet, 21, …)` — same as the old `StringIdArb`. JSON stays a branded string via `toCodec`. `Url` is `https://…`. `RequestId` samples unique nanoid-shaped ids. `Finite` generation is capped at ±1e6. `generateFromSchema` jumps its master seed per call so successive `count: 1` draws do not collide on attempt-0 edge strings.
26
+ - Updated dependencies [459697f]
27
+ - effect-app@4.0.0-beta.329
28
+
29
+ ## 4.0.0-beta.328
30
+
31
+ ### Minor Changes
32
+
33
+ - 3a8c710: Store document decode fails as a typed `SchemaError` instead of a defect; repositories keep their public error channels by dying at the boundary; `validateSample` reports documents that fail at the store boundary.
34
+
35
+ ### Patch Changes
36
+
37
+ - Updated dependencies [3a8c710]
38
+ - effect-app@4.0.0-beta.328
39
+
40
+ ## 4.0.0-beta.327
41
+
42
+ ### Patch Changes
43
+
44
+ - ebffba8: Stop re-encoding store `defaultValues` in Cosmos and SQL query builders.
45
+
46
+ Stores already JSON-lower `defaultValues` at construction. A second schema encode of an ISO `Date` string throws `Expected a valid Date`, which failed `filter({ select: [id] })` even when the select path never decoded a document.
47
+
48
+ - effect-app@4.0.0-beta.327
49
+
50
+ ## 4.0.0-beta.326
51
+
52
+ ### Minor Changes
53
+
54
+ - 2ebf8ae: `jitM` runs at the store boundary as JSON → JSON, before the `toCodecJson(toEncoded(schema))` decode; repositories decode the Encoded shape only.
55
+
56
+ `jitM` used to be applied by the repository _after_ the store had already decoded the document, and was typed `(pm: Encoded) => Encoded` - a lie, since jitMs are written against the stored JSON and `Encoded` holds native `Date`/`Map`/`Set` values.
57
+
58
+ The read pipeline is now: raw JSON document → merge `defaultValues` (unchanged: they only fill _absent_ keys, so an explicitly stored `null` reaches `jitM`) → `jitM` (JSON → JSON) → decode `Schema.toCodecJson(Schema.toEncoded(schema))` → Encoded. The repository then decodes Encoded → the domain type with `schema` and no longer applies `jitM` at all. Because `jitM` now runs before any schema decode sees the document, it can repair legacy shapes including explicit `null`s.
59
+
60
+ - `StoreConfig.jitM?: (json: JsonRecord) => JsonRecord` is new, where `JsonRecord` (exported from `effect-app/Store`) is `{ readonly [key: string]: Schema.Json }`. It is not applied on the write/encode path, and never receives `_etag`.
61
+ - `RepositoryOptions.jitM` changes type from `(pm: Encoded) => Encoded` to `(json: JsonRecord) => JsonRecord` and is forwarded into the store config.
62
+ - **Migrating a jitM:** it now receives and must return JSON. A `Date` field arrives as an ISO string (return a string, not a `Date`), a `ReadonlySet` as an array, a `ReadonlyMap` as an array of `[key, value]` pairs. Field access is index-signature based (`json["x"]`) rather than typed property access.
63
+ - The JSON→Encoded decode stays strict: a document `jitM` does not repair fails at the store boundary instead of being read back half-decoded.
64
+ - `ValidationError.jitMResult` is deprecated: `validateSample` only ever sees the store's output, so it is identical to `rawData`.
65
+
66
+ ### Patch Changes
67
+
68
+ - Updated dependencies [2ebf8ae]
69
+ - effect-app@4.0.0-beta.326
70
+
71
+ ## 4.0.0-beta.325
72
+
73
+ ### Patch Changes
74
+
75
+ - Updated dependencies [f233f3d]
76
+ - effect-app@4.0.0-beta.325
77
+
78
+ ## 4.0.0-beta.324
79
+
80
+ ### Patch Changes
81
+
82
+ - a0075b8: `generateFromSchema` advances its seed on every call, so successive samples differ (deterministic across runs) instead of always returning the same value.
83
+ - Updated dependencies [a0075b8]
84
+ - effect-app@4.0.0-beta.324
85
+
86
+ ## 4.0.0-beta.323
87
+
88
+ ### Minor Changes
89
+
90
+ - ab289d4: Add opt-in `autoscaleMaxThroughput` for Cosmos containers created on demand (`StorageConfig`, `ClusterCosmosConfig`, `WorkflowEngineCosmosConfig`). When set, a missing container is created with autoscale at that max RU/s, unless its database has shared throughput (then it keeps sharing the database pool). Existing containers are untouched; unset keeps the Cosmos default of manual 400 RU/s per container.
91
+
92
+ ### Patch Changes
93
+
94
+ - Updated dependencies [ab289d4]
95
+ - effect-app@4.0.0-beta.323
96
+
97
+ ## 4.0.0-beta.322
98
+
99
+ ### Patch Changes
100
+
101
+ - Updated dependencies [2231ef8]
102
+ - effect-app@4.0.0-beta.322
103
+
104
+ ## 4.0.0-beta.321
105
+
106
+ ### Patch Changes
107
+
108
+ - Updated dependencies [18bae5b]
109
+ - effect-app@4.0.0-beta.321
110
+
111
+ ## 4.0.0-beta.320
112
+
113
+ ### Patch Changes
114
+
115
+ - effect-app@4.0.0-beta.320
116
+
117
+ ## 4.0.0-beta.319
118
+
119
+ ### Patch Changes
120
+
121
+ - effect-app@4.0.0-beta.319
122
+
123
+ ## 4.0.0-beta.318
124
+
125
+ ### Patch Changes
126
+
127
+ - 8bd5bfe: Update effect packages to `4.0.0-rc.112` (from `beta.107`): `effect`, `@effect/platform-node`, `@effect/platform-browser`, `@effect/atom-vue`, `@effect/sql-sqlite-node`, `@effect/vitest`. Sync `repos/effect` subtree from `Effect-TS/effect` at `effect@4.0.0-rc.112`.
128
+
129
+ API adaptations for rc.112:
130
+
131
+ - cluster encoded driver `resetAddress` → batched `resetAddresses`
132
+ - Cosmos `unprocessedMessages` honors optional `limit` / `addresses` (only claimed rows are returned)
133
+ - Service Bus `Runners.make` supplies `codecFor` for schema-aware RPC serialization
134
+ - `pnpm subtree:effect` passes `--url https://github.com/Effect-TS/effect.git` (published CLI still defaults to effect-smol)
135
+ - JSON Schema check constraints are compacted onto the parent (`minLength`/`maxLength` instead of `allOf`)
136
+
137
+ - Updated dependencies [8bd5bfe]
138
+ - effect-app@4.0.0-beta.318
139
+
140
+ ## 4.0.0-beta.317
141
+
142
+ ### Minor Changes
143
+
144
+ - 186de3a: Stop forcing Date/Map/Set Encoded shapes to JSON.
145
+
146
+ `Schema.Date` / `ReadonlySet` / `ReadonlyMap` now keep native Encoded types (`Date`, `Set`, `Map`). Use `DateFromString`, `ReadonlySetFromArray`, and `ReadonlyMapFromArray` when the Encoded form must be JSON. The query DSL accepts those native values, including array ops (`includes` / `in` / `includes-any`) on `Date[]` and `ReadonlySet` fields. Memory, Disk, SQL, and Cosmos convert Encoded Date/Map/Set through `Schema.toCodecJson` on write/read; query parameters and defaults lower the same way from the store schema. App types such as DateOnly stay native Encoded and JSON-lower via that schema — not a type registry.
147
+
148
+ - 186de3a: Query maps as JSON arrays of `[key, value]` tuples.
149
+
150
+ `where("meta", "hasKey" | "hasValue" | "hasKeyValue", ...)` (and `not*` / `*-any` / `*-all` variants) filter `ReadonlyMap` fields. Memory, Disk, SQLite, Postgres, and Cosmos compile those ops against the encoded tuple array.
151
+
152
+ - 186de3a: JSON stores lower native Encoded values (Date, Map, Set, and app types such as DateOnly) through the store's document schema.
153
+
154
+ `makeRepo` already passes that schema. Adapters encode documents, query parameters, and defaults with `Schema.toCodecJson(toEncoded(schema))` at the field path. No type registry. Schemaless stores still lower Date/Map/Set structurally.
155
+
156
+ ### Patch Changes
157
+
158
+ - 186de3a: Declare `@sentry/node` as a runtime dependency of `@effect-app/infra`. `errorReporter.ts` imports it statically, so `pnpm install --prod` of linked source (Docker) must install it next to the package, not only as a peer of the app.
159
+ - Updated dependencies [186de3a]
160
+ - Updated dependencies [186de3a]
161
+ - Updated dependencies [186de3a]
162
+ - effect-app@4.0.0-beta.317
163
+
164
+ ## 4.0.0-beta.316
165
+
166
+ ### Patch Changes
167
+
168
+ - effect-app@4.0.0-beta.316
169
+
170
+ ## 4.0.0-beta.315
171
+
172
+ ### Patch Changes
173
+
174
+ - effect-app@4.0.0-beta.315
175
+
176
+ ## 4.0.0-beta.314
177
+
178
+ ### Patch Changes
179
+
180
+ - effect-app@4.0.0-beta.314
181
+
182
+ ## 4.0.0-beta.313
183
+
184
+ ### Patch Changes
185
+
186
+ - effect-app@4.0.0-beta.313
187
+
188
+ ## 4.0.0-beta.312
189
+
190
+ ### Patch Changes
191
+
192
+ - Updated dependencies [9ea024d]
193
+ - effect-app@4.0.0-beta.312
194
+
195
+ ## 4.0.0-beta.311
196
+
197
+ ### Patch Changes
198
+
199
+ - 547e2e1: Update effect packages to `4.0.0-beta.107` (from `beta.90`): `effect`, `@effect/platform-node`, `@effect/platform-browser`, `@effect/atom-vue`, `@effect/sql-sqlite-node`, `@effect/vitest`, and `fast-check` to `^4.9.0`. Sync `repos/effect` subtree from `Effect-TS/effect` (effect-smol stopped publishing tags after beta.98).
200
+
201
+ API adaptations for beta.107:
202
+
203
+ - `concurrency: "inherit"` → `"unbounded"`
204
+ - `Schema.ErrorClass` / `TaggedErrorClass` → `Schema.Error` / `TaggedError`
205
+ - `Schema.LazyArbitrary` → `Schema.Arbitrary`
206
+ - `Schema.DateValid` / `isDateValid` removed (`Schema.Date` rejects invalid dates)
207
+ - `SchemaIssue` constructors no longer take `Option` (annotations + input)
208
+ - filter meta via `annotations.representation` instead of `annotations.meta`
209
+ - `context.defaultValue` → `context.constructorDefault` (single Link)
210
+ - Class detection via `~constructor` + static `identifier`
211
+ - Redacted detection via `representation.id`
212
+ - localized StandardSchema hooks updated for new issue/input model
213
+ - provide `NodeCrypto.layer` for cluster sqlite tests
214
+ - default `sync-effect` subtree URL → `Effect-TS/effect`
215
+
216
+ - Updated dependencies [547e2e1]
217
+ - effect-app@4.0.0-beta.311
218
+
219
+ ## 4.0.0-beta.310
220
+
221
+ ### Patch Changes
222
+
223
+ - effect-app@4.0.0-beta.310
224
+
225
+ ## 4.0.0-beta.309
226
+
227
+ ### Patch Changes
228
+
229
+ - Updated dependencies [99c43c4]
230
+ - effect-app@4.0.0-beta.309
231
+
232
+ ## 4.0.0-beta.308
233
+
234
+ ### Patch Changes
235
+
236
+ - b4d5f55: fix DatabaseError typing
237
+ - effect-app@4.0.0-beta.308
238
+
239
+ ## 4.0.0-beta.307
240
+
241
+ ### Patch Changes
242
+
243
+ - 40585ca: Keep tag-aware `ProjectableFromDomain` for `projectComputed` only; restore loose key-presence guard for `project()` so view DTOs with reshaped fields keep typechecking.
244
+ - ad0ede6: Keep tag-aware `ProjectableGuard` on both `project()` and `projectComputed` (no loose key-only paper-over).
245
+
246
+ Hardening:
247
+
248
+ - single-literal tags allow dual same-tag domain variants (KeysOfUnion of matched members)
249
+ - multi-tag / string tags still require keys on every matched member
250
+ - optional projection/domain keys checked by key presence only (not optional-assignability)
251
+
252
+ Call sites must project domain-owned fields per tagged state.
253
+
254
+ - Updated dependencies [40585ca]
255
+ - Updated dependencies [ad0ede6]
256
+ - effect-app@4.0.0-beta.307
257
+
258
+ ## 4.0.0-beta.306
259
+
260
+ ### Patch Changes
261
+
262
+ - 0fe925d: Tag-aware `ProjectableFromDomain` for `projectComputed`: projection Encoded fields must exist on the matching domain tagged state (or be computed). Prevents Overview.List SchemaErrors when cancel states omit workflow lock fields like `activeRequest`.
263
+ - Updated dependencies [0fe925d]
264
+ - effect-app@4.0.0-beta.306
265
+
266
+ ## 4.0.0-beta.305
267
+
268
+ ### Patch Changes
269
+
270
+ - 8bd9a11: Support ID-scoped signal dependencies and additive repository dependencies derived from previous and current entities.
271
+ - Updated dependencies [8bd9a11]
272
+ - effect-app@4.0.0-beta.305
273
+
274
+ ## 4.0.0-beta.304
275
+
276
+ ### Patch Changes
277
+
278
+ - Updated dependencies [412f08b]
279
+ - effect-app@4.0.0-beta.304
280
+
281
+ ## 4.0.0-beta.303
282
+
283
+ ### Patch Changes
284
+
285
+ - 33b0544: Replace repository codec child spans with parent-span timing attributes and bounded metrics, and record database operation timing for instrumented stores.
286
+ - Updated dependencies [33b0544]
287
+ - effect-app@4.0.0-beta.303
288
+
289
+ ## 4.0.0-beta.302
290
+
291
+ ### Patch Changes
292
+
293
+ - Updated dependencies [c0e5a1b]
294
+ - effect-app@4.0.0-beta.302
295
+
296
+ ## 4.0.0-beta.301
297
+
298
+ ### Patch Changes
299
+
300
+ - effect-app@4.0.0-beta.301
301
+
302
+ ## 4.0.0-beta.300
303
+
304
+ ### Patch Changes
305
+
306
+ - effect-app@4.0.0-beta.300
307
+
308
+ ## 4.0.0-beta.299
309
+
310
+ ### Patch Changes
311
+
312
+ - effect-app@4.0.0-beta.299
313
+
314
+ ## 4.0.0-beta.298
315
+
316
+ ### Patch Changes
317
+
318
+ - Updated dependencies [08d092c]
319
+ - effect-app@4.0.0-beta.298
320
+
321
+ ## 4.0.0-beta.297
322
+
323
+ ### Patch Changes
324
+
325
+ - Updated dependencies [30c512d]
326
+ - effect-app@4.0.0-beta.297
327
+
328
+ ## 4.0.0-beta.296
329
+
330
+ ### Patch Changes
331
+
332
+ - Updated dependencies [e0c4835]
333
+ - effect-app@4.0.0-beta.296
334
+
335
+ ## 4.0.0-beta.295
336
+
337
+ ### Patch Changes
338
+
339
+ - eb06b32: improve root union select
340
+ - Updated dependencies [eb06b32]
341
+ - effect-app@4.0.0-beta.295
342
+
343
+ ## 4.0.0-beta.294
344
+
345
+ ### Patch Changes
346
+
347
+ - Updated dependencies [a211c12]
348
+ - effect-app@4.0.0-beta.294
349
+
350
+ ## 4.0.0-beta.293
351
+
352
+ ### Patch Changes
353
+
354
+ - Updated dependencies [d1c15d3]
355
+ - effect-app@4.0.0-beta.293
356
+
357
+ ## 4.0.0-beta.292
358
+
359
+ ### Patch Changes
360
+
361
+ - effect-app@4.0.0-beta.292
362
+
363
+ ## 4.0.0-beta.291
364
+
365
+ ### Patch Changes
366
+
367
+ - 848d26d: Capture more of the rpc request payload in the `rpc.request.payload` span
368
+ attribute.
369
+
370
+ The summarizer was one level deep: top-level scalars were kept, but any nested
371
+ object collapsed to `Object[N]` and any array to `Array[N]`, hiding useful
372
+ inputs (carrier, packageType, dimensions, ids, per-item amounts, …).
373
+
374
+ It now recurses into nested objects up to `PAYLOAD_MAX_DEPTH` (4) and samples
375
+ arrays to their first `PAYLOAD_ARRAY_HEAD` (20) elements, appending a `…N more`
376
+ marker when longer — so item arrays stay diagnosable without dumping the whole
377
+ tail on high-frequency commands. Long strings are still snipped at 256 chars,
378
+ and `password`/`secret`/`token` keys are redacted at any depth (previously only
379
+ a top-level `password`).
380
+
381
+ - effect-app@4.0.0-beta.291
382
+
383
+ ## 4.0.0-beta.290
384
+
385
+ ### Patch Changes
386
+
387
+ - Updated dependencies [dc07df5]
388
+ - effect-app@4.0.0-beta.290
389
+
390
+ ## 4.0.0-beta.289
391
+
392
+ ### Patch Changes
393
+
394
+ - Updated dependencies [a1b59bc]
395
+ - effect-app@4.0.0-beta.289
396
+
397
+ ## 4.0.0-beta.288
398
+
399
+ ### Patch Changes
400
+
401
+ - Updated dependencies [aeb17bc]
402
+ - effect-app@4.0.0-beta.288
403
+
404
+ ## 4.0.0-beta.287
405
+
406
+ ### Patch Changes
407
+
408
+ - Updated dependencies [261470f]
409
+ - effect-app@4.0.0-beta.287
410
+
411
+ ## 4.0.0-beta.286
412
+
413
+ ### Patch Changes
414
+
415
+ - b6dda09: Update effect packages to `4.0.0-beta.90` (from `beta.88`): `effect`, `@effect/platform-node`, `@effect/platform-browser`, `@effect/atom-vue`, `@effect/sql-sqlite-node`, `@effect/vitest`. No source changes required — typecheck and tests pass unchanged.
416
+ - Updated dependencies [b6dda09]
417
+ - effect-app@4.0.0-beta.286
418
+
419
+ ## 4.0.0-beta.285
420
+
421
+ ### Patch Changes
422
+
423
+ - 7bd8234: Use set-backed data dependencies and provide request-scoped dependency services through a shared root-checked helper.
424
+ - Updated dependencies [7bd8234]
425
+ - effect-app@4.0.0-beta.285
426
+
427
+ ## 4.0.0-beta.284
428
+
429
+ ### Patch Changes
430
+
431
+ - dd239fa: fix atom invalidation
432
+ - effect-app@4.0.0-beta.284
433
+
434
+ ## 4.0.0-beta.283
435
+
436
+ ### Minor Changes
437
+
438
+ - 0054611: Derive query invalidation from repository read/write dependencies and propagate dependency metadata through RPC clients.
439
+
440
+ ### Patch Changes
441
+
442
+ - 0054611: Stream RPC: drain read/write data-dependencies per emitted value chunk instead of sending the
443
+ cumulative set on every metadata chunk. Each metadata chunk now carries only the delta recorded
444
+ since the last chunk, the bucket is cleared for the next segment, and the terminal "done"/"error"
445
+ chunks drain the remainder. The emit condition also broadens to include non-empty reads, so stream
446
+ queries forward their read-dependencies mid-stream too. The client already accumulates deltas into
447
+ its per-call recorder, so no FE change is required.
448
+ - Updated dependencies [0054611]
449
+ - Updated dependencies [0054611]
450
+ - effect-app@4.0.0-beta.283
451
+
452
+ ## 4.0.0-beta.282
453
+
454
+ ### Patch Changes
455
+
456
+ - b2df3fa: Align `Schema.Void` with TypeScript `void` return-value semantics (effect-smol PR #2475 / `b7d46ab`).
457
+
458
+ `S.Void` now accepts **any present value** at runtime and discards it to `undefined`, while keeping the decoded/encoded type as `void` — matching a `void` return whose result callers never observe. This is implemented as an override of the AST node in a new `effect-app/SchemaAST` module (`export * from "effect/SchemaAST"` plus a `Void` subclass whose parser mirrors the PR's `fromAnyToConst(undefined)`), so there is a single canonical `Void` used everywhere, including RPC success schemas.
459
+
460
+ - New `effect-app/SchemaAST` module; internal `SchemaAST` imports across the libs now route through it.
461
+ - Removed `ForceVoid` from `effect-app/client/makeClient` — use `S.Void` directly, which now carries this behaviour.
462
+ - `S.Void_` remains available as effect's original (`undefined`-only) Void.
463
+
464
+ - f150cf9: Remove obsolete queue machinery left unused after the move to cluster entities: the SB/SQLite/mem `QueueMaker` implementations (`QueueMaker/{SQLQueue,memQueue,sbqueue}.ts`), their `ServiceBus.ts`/`memQueue.ts` transports, and `RequestFiberSet.ts` (its `setRootParentSpan` helper is inlined into `MainFiberSet`). `effect-app/QueueMaker` keeps only `QueueMeta`; the `QueueBase` interface and empty `QueueMaker` ops object are dropped.
465
+ - e8842aa: Update effect packages to `4.0.0-beta.88` (from `beta.86`): `effect`, `@effect/platform-node`, `@effect/platform-browser`, `@effect/atom-vue`, `@effect/sql-sqlite-node`, `@effect/vitest`. Also bump `@effect-app/cli` to `2.1.0-beta.35`. No source changes required — typecheck and tests pass unchanged.
466
+ - Updated dependencies [b2df3fa]
467
+ - Updated dependencies [f150cf9]
468
+ - Updated dependencies [e8842aa]
469
+ - effect-app@4.0.0-beta.282
470
+
471
+ ## 4.0.0-beta.281
472
+
473
+ ### Patch Changes
474
+
475
+ - ffd140f: Update effect packages to `4.0.0-beta.86` (from `beta.84`): `effect`, `@effect/platform-node`, `@effect/platform-browser`, `@effect/atom-vue`, `@effect/sql-sqlite-node`, `@effect/vitest`. No source changes required — typecheck and tests pass unchanged.
476
+ - Updated dependencies [ffd140f]
477
+ - effect-app@4.0.0-beta.281
478
+
479
+ ## 4.0.0-beta.280
480
+
481
+ ### Patch Changes
482
+
483
+ - Updated dependencies [3eda52e]
484
+ - effect-app@4.0.0-beta.280
485
+
486
+ ## 4.0.0-beta.279
487
+
488
+ ### Patch Changes
489
+
490
+ - Updated dependencies [5f9cd6a]
491
+ - effect-app@4.0.0-beta.279
492
+
493
+ ## 4.0.0-beta.278
494
+
495
+ ### Patch Changes
496
+
497
+ - a354345: Move release tsconfig flattening from publish to pack lifecycle so package configs are restored before registry upload/auth can fail.
498
+ - a69da09: Publish from generated staging directories so release-only files are created outside the source package tree.
499
+ - Updated dependencies [a354345]
500
+ - Updated dependencies [a69da09]
501
+ - effect-app@4.0.0-beta.278
502
+
503
+ ## 4.0.0-beta.277
504
+
505
+ ### Patch Changes
506
+
507
+ - effect-app@4.0.0-beta.277
508
+
509
+ ## 4.0.0-beta.276
510
+
511
+ ### Patch Changes
512
+
513
+ - 32f05c8: Remove unused dependency declarations from package manifests.
514
+ - Updated dependencies [32f05c8]
515
+ - effect-app@4.0.0-beta.276
516
+
517
+ ## 4.0.0-beta.275
518
+
519
+ ### Patch Changes
520
+
521
+ - effect-app@4.0.0-beta.275
522
+
523
+ ## 4.0.0-beta.274
524
+
525
+ ### Patch Changes
526
+
527
+ - effect-app@4.0.0-beta.274
528
+
529
+ ## 4.0.0-beta.273
530
+
531
+ ### Patch Changes
532
+
533
+ - Updated dependencies [664e83d]
534
+ - Updated dependencies [e4ff9a6]
535
+ - effect-app@4.0.0-beta.273
536
+
537
+ ## 4.0.0-beta.272
538
+
539
+ ### Patch Changes
540
+
541
+ - Updated dependencies [21ac90a]
542
+ - effect-app@4.0.0-beta.272
543
+
544
+ ## 4.0.0-beta.271
545
+
546
+ ### Patch Changes
547
+
548
+ - Updated dependencies [939bebc]
549
+ - effect-app@4.0.0-beta.271
550
+
551
+ ## 4.0.0-beta.270
552
+
553
+ ### Patch Changes
554
+
555
+ - 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`).
556
+ - Updated dependencies [78d076a]
557
+ - effect-app@4.0.0-beta.270
558
+
559
+ ## 4.0.0-beta.269
560
+
561
+ ### Patch Changes
562
+
563
+ - Updated dependencies [50b022e]
564
+ - Updated dependencies [50b022e]
565
+ - effect-app@4.0.0-beta.269
566
+
567
+ ## 4.0.0-beta.268
568
+
569
+ ### Patch Changes
570
+
571
+ - 38289e0: Break the circular dependency between the memory store and code filter modules.
572
+ - acfdc9e: Point development package exports at TypeScript sources while keeping published exports on compiled dist files.
573
+ - Updated dependencies [acfdc9e]
574
+ - effect-app@4.0.0-beta.268
575
+
576
+ ## 4.0.0-beta.267
577
+
578
+ ### Minor Changes
579
+
580
+ - 23a7167: Add a typed, serializable `DatabaseError { message, transient, cause }` for store adapter failures.
581
+
582
+ 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`.
583
+
584
+ ### Patch Changes
585
+
586
+ - Updated dependencies [23a7167]
587
+ - effect-app@4.0.0-beta.267
588
+
589
+ ## 4.0.0-beta.266
590
+
591
+ ### Patch Changes
592
+
593
+ - Updated dependencies [bbaa67e]
594
+ - effect-app@4.0.0-beta.266
595
+
596
+ ## 4.0.0-beta.265
597
+
598
+ ### Patch Changes
599
+
600
+ - 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).
601
+
602
+ 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.
603
+
604
+ - 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.
605
+
606
+ - **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.
607
+ - **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`).
608
+ - **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`.
609
+ - **`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.
610
+
611
+ - 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`.
612
+
613
+ Adapt the infra workflow engines to beta.83 API changes:
614
+
615
+ - `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`).
616
+ - `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).
617
+
618
+ - Updated dependencies [3e855bc]
619
+ - effect-app@4.0.0-beta.265
620
+
621
+ ## 4.0.0-beta.264
622
+
623
+ ### Patch Changes
624
+
625
+ - 1587bfc: Batch more Cosmos cluster storage updates.
626
+ - effect-app@4.0.0-beta.264
627
+
628
+ ## 4.0.0-beta.263
629
+
630
+ ### Patch Changes
631
+
632
+ - abb9c99: Batch Cosmos ack message processing updates.
633
+ - effect-app@4.0.0-beta.263
634
+
635
+ ## 4.0.0-beta.262
636
+
637
+ ### Patch Changes
638
+
639
+ - 55c6572: update packages
640
+ - Updated dependencies [55c6572]
641
+ - effect-app@4.0.0-beta.262
642
+
643
+ ## 4.0.0-beta.261
644
+
645
+ ### Patch Changes
646
+
647
+ - c31c673: Tighten Cosmos cluster OCC handling for concurrent node polling.
648
+ - effect-app@4.0.0-beta.261
649
+
650
+ ## 4.0.0-beta.260
651
+
652
+ ### Patch Changes
653
+
654
+ - bogus
655
+ - Updated dependencies
656
+ - effect-app@4.0.0-beta.260
657
+
658
+ ## 4.0.0-beta.259
659
+
660
+ ### Minor Changes
661
+
662
+ - 6884a32: Add Azure Service Bus topic notifications for persisted cluster storage polling.
663
+
664
+ ### Patch Changes
665
+
666
+ - 6821fc5: Add Cosmos DB backed storage layers for Effect Cluster message and runner state.
667
+ - b6cb25b: Fix Cosmos cluster workflow resume after durable deferred completion.
668
+ - effect-app@4.0.0-beta.259
669
+
670
+ ## 4.0.0-beta.258
671
+
672
+ ### Minor Changes
673
+
674
+ - 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.
675
+ - 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.
676
+
677
+ ### Patch Changes
678
+
679
+ - effect-app@4.0.0-beta.258
680
+
681
+ ## 4.0.0-beta.257
682
+
683
+ ### Patch Changes
684
+
685
+ - Updated dependencies [e71eb78]
686
+ - effect-app@4.0.0-beta.257
687
+
688
+ ## 4.0.0-beta.256
689
+
690
+ ### Patch Changes
691
+
692
+ - Updated dependencies [347af48]
693
+ - effect-app@4.0.0-beta.256
694
+
695
+ ## 4.0.0-beta.255
696
+
697
+ ### Patch Changes
698
+
699
+ - Updated dependencies [52a31dd]
700
+ - effect-app@4.0.0-beta.255
701
+
702
+ ## 4.0.0-beta.254
703
+
704
+ ### Patch Changes
705
+
706
+ - Updated dependencies [29a1e57]
707
+ - effect-app@4.0.0-beta.254
708
+
709
+ ## 4.0.0-beta.253
710
+
711
+ ### Patch Changes
712
+
713
+ - Updated dependencies [b90fa30]
714
+ - effect-app@4.0.0-beta.253
715
+
716
+ ## 4.0.0-beta.252
717
+
718
+ ### Patch Changes
719
+
720
+ - Updated dependencies [a788432]
721
+ - effect-app@4.0.0-beta.252
722
+
723
+ ## 4.0.0-beta.251
724
+
725
+ ### Patch Changes
726
+
727
+ - 1c858d3: fix request scope problems
728
+ - Updated dependencies [1c858d3]
729
+ - effect-app@4.0.0-beta.251
730
+
731
+ ## 4.0.0-beta.250
732
+
733
+ ### Patch Changes
734
+
735
+ - 3053760: fix: restore context map container behavior
736
+ - Updated dependencies [3053760]
737
+ - effect-app@4.0.0-beta.250
738
+
739
+ ## 4.0.0-beta.249
740
+
741
+ ### Major Changes
742
+
743
+ - 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.
744
+
745
+ `@effect-app/infra` no longer re-exports moved core modules such as `./Model`, `./Emailer/service`, `./QueueMaker/service`, `./Store/service`, `./adapters/*`, or `./api/*` entrypoints.
746
+
747
+ ### Patch Changes
748
+
749
+ - Updated dependencies [ba789a2]
750
+ - effect-app@4.0.0-beta.249
751
+
752
+ ## 4.0.0-beta.248
753
+
754
+ ### Patch Changes
755
+
756
+ - 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`).
757
+
758
+ 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*`).
759
+
760
+ - Updated dependencies [2a86a17]
761
+ - effect-app@4.0.0-beta.248
762
+
763
+ ## 4.0.0-beta.247
764
+
765
+ ### Patch Changes
766
+
767
+ - Updated dependencies [01bab22]
768
+ - effect-app@4.0.0-beta.247
769
+
770
+ ## 4.0.0-beta.246
771
+
772
+ ### Patch Changes
773
+
774
+ - 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.).
775
+ - effect-app@4.0.0-beta.246
776
+
777
+ ## 4.0.0-beta.245
778
+
779
+ ### Patch Changes
780
+
781
+ - effect-app@4.0.0-beta.245
782
+
783
+ ## 4.0.0-beta.244
784
+
785
+ ### Patch Changes
786
+
787
+ - b8b9080: update packages
788
+ - Updated dependencies [b8b9080]
789
+ - effect-app@4.0.0-beta.244
790
+
791
+ ## 4.0.0-beta.243
792
+
793
+ ### Patch Changes
794
+
795
+ - 8eb6737: Wrap `CUPS` exec failures in tagged `CUPSError` instead of `UnknownException`.
796
+
797
+ Retains `command`, `message`, exit `code`, `signal`, `killed`, `stdout`,
798
+ `stderr`, and original `cause` from the underlying `child_process.exec`
799
+ rejection so callers can branch on real failure detail.
800
+
801
+ - effect-app@4.0.0-beta.243
802
+
803
+ ## 4.0.0-beta.242
804
+
805
+ ### Patch Changes
806
+
807
+ - Updated dependencies [da83c1f]
808
+ - Updated dependencies [21017d5]
809
+ - Updated dependencies [2495ace]
810
+ - effect-app@4.0.0-beta.242
811
+
812
+ ## 4.0.0-beta.241
813
+
814
+ ### Patch Changes
815
+
816
+ - Updated dependencies [b035b1c]
817
+ - effect-app@4.0.0-beta.241
818
+
819
+ ## 4.0.0-beta.240
820
+
821
+ ### Patch Changes
822
+
823
+ - c5e348f: Fix `provideOnRequestScope` leaking a single `ContextMap` across concurrent requests.
824
+
825
+ `Layer.buildWithScope(layer, requestScope)` resolves its `MemoMap` from the
826
+ ambient fiber context, which lives on the HTTP server fiber and is therefore
827
+ shared by every request that server handles. With the resulting memoization,
828
+ the first request to land on a freshly-started server built
829
+ `ContextMapContainer.layer` once; every subsequent overlapping request received
830
+ the same `ContextMap` instance — etags written by one request were observed
831
+ (or overwritten) by another, and the finalizer was anchored to the first
832
+ request's scope.
833
+
834
+ `provideOnRequestScope` now allocates a fresh `MemoMap` per call via
835
+ `Layer.makeMemoMap` and builds with `Layer.buildWithMemoMap(layer, memoMap,
836
+ requestScope)`. Each request gets its own `ContextMap`, the request-scope
837
+ binding from the earlier SSE fix is preserved, and the finalizer still only
838
+ fires once the response body has fully drained.
839
+
840
+ Adds regression coverage in `rpc-context-map-streaming.test.ts` for three
841
+ properties: mid-stream survival of ContextMap state, a fresh map on each
842
+ succeeding request, and isolation between overlapping concurrent requests.
843
+
844
+ - effect-app@4.0.0-beta.240
845
+
846
+ ## 4.0.0-beta.239
847
+
848
+ ### Patch Changes
849
+
850
+ - 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.
851
+ - effect-app@4.0.0-beta.239
852
+
853
+ ## 4.0.0-beta.238
854
+
855
+ ### Patch Changes
856
+
857
+ - b63f10f: fix: nasty request scope bug
858
+ - effect-app@4.0.0-beta.238
859
+
860
+ ## 4.0.0-beta.237
861
+
862
+ ### Patch Changes
863
+
864
+ - 3cf0c42: Fix `ContextMap` memory leak: tie its lifecycle to the request scope.
865
+
866
+ `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.
867
+
868
+ `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.
869
+
870
+ - effect-app@4.0.0-beta.237
871
+
872
+ ## 4.0.0-beta.236
873
+
874
+ ### Patch Changes
875
+
876
+ - effect-app@4.0.0-beta.236
877
+
878
+ ## 4.0.0-beta.235
879
+
880
+ ### Patch Changes
881
+
882
+ - 6cfd83d: update effect to latest beta
883
+ - Updated dependencies [ba4bdc3]
884
+ - Updated dependencies [6cfd83d]
885
+ - effect-app@4.0.0-beta.235
886
+
887
+ ## 4.0.0-beta.234
888
+
889
+ ### Patch Changes
890
+
891
+ - effect-app@4.0.0-beta.234
892
+
893
+ ## 4.0.0-beta.233
894
+
895
+ ### Patch Changes
896
+
897
+ - 57a1862: Update to effect 4.0.0-beta.67. Switch deps from `pkg.pr.new` snapshot back to npm beta tag.
898
+ - Updated dependencies [57a1862]
899
+ - effect-app@4.0.0-beta.233
900
+
901
+ ## 4.0.0-beta.232
902
+
903
+ ### Patch Changes
904
+
905
+ - 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).
906
+ - Updated dependencies [0263827]
907
+ - Updated dependencies [0263827]
908
+ - Updated dependencies [0263827]
909
+ - effect-app@4.0.0-beta.232
910
+
911
+ ## 4.0.0-beta.231
912
+
913
+ ### Patch Changes
914
+
915
+ - 7ca66ce: Update to effect 4.0.0-beta.66. Remove `Yieldable` and `asEffect()` (service tags are now `Effect` directly).
916
+ - Updated dependencies [7ca66ce]
917
+ - effect-app@4.0.0-beta.231
918
+
919
+ ## 4.0.0-beta.230
920
+
921
+ ### Minor Changes
922
+
923
+ - 1cee480: Add aggregate query support: `Q.aggregate(schema, aggregateMap)` performs GROUP BY + aggregate functions at the database level (Memory, SQL, Cosmos).
924
+
925
+ - New `agg` DSL namespace: `agg.field(path)` (group-by), `agg.count()`, `agg.countWhen(op)`, `agg.sum(field)`, `agg.min(field)`, `agg.max(field)`
926
+ - New `aggregate(schema, aggregateMap)` query operator replaces in-memory grouping with a single DB-level query
927
+ - Memory store: pure JS group-by + aggregation
928
+ - SQL store: `GROUP BY` + `COUNT(CASE WHEN ...)` / `SUM` / `MIN` / `MAX`
929
+ - Cosmos store: `GROUP BY` + `SUM(IIF(...))` for conditional counts
930
+
931
+ ### Patch Changes
932
+
933
+ - effect-app@4.0.0-beta.230
934
+
935
+ ## 4.0.0-beta.229
936
+
937
+ ### Patch Changes
938
+
939
+ - effect-app@4.0.0-beta.229
940
+
941
+ ## 4.0.0-beta.228
942
+
943
+ ### Patch Changes
944
+
945
+ - effect-app@4.0.0-beta.228
946
+
947
+ ## 4.0.0-beta.227
948
+
949
+ ### Patch Changes
950
+
951
+ - 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.
952
+ - effect-app@4.0.0-beta.227
953
+
954
+ ## 4.0.0-beta.226
955
+
956
+ ### Patch Changes
957
+
958
+ - 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).
959
+
960
+ ```ts
961
+ projectComputed(
962
+ S.Struct({ id: S.String, packageCount: S.NonNegativeInt }),
963
+ computed({ packageCount: relation<OrderEnc>("packages").length() })
964
+ );
965
+ ```
966
+
967
+ - 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"`).
968
+ - effect-app@4.0.0-beta.226
969
+
970
+ ## 4.0.0-beta.225
971
+
972
+ ### Patch Changes
973
+
974
+ - 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.
975
+ - effect-app@4.0.0-beta.225
976
+
977
+ ## 4.0.0-beta.224
978
+
979
+ ### Patch Changes
980
+
981
+ - effect-app@4.0.0-beta.224
982
+
983
+ ## 4.0.0-beta.223
984
+
985
+ ### Patch Changes
986
+
987
+ - 2871841: RequestContextMiddleware: set request name to `HTTP <method> <path>` (strip query string) for clearer span/trace names.
988
+ - effect-app@4.0.0-beta.223
989
+
990
+ ## 4.0.0-beta.222
991
+
992
+ ### Patch Changes
993
+
994
+ - effect-app@4.0.0-beta.222
995
+
996
+ ## 4.0.0-beta.221
997
+
998
+ ### Patch Changes
999
+
1000
+ - 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"`).
1001
+ - Updated dependencies [439cbeb]
1002
+ - effect-app@4.0.0-beta.221
1003
+
1004
+ ## 4.0.0-beta.220
1005
+
1006
+ ### Patch Changes
1007
+
1008
+ - aa436d3: fix bs span
1009
+ - effect-app@4.0.0-beta.220
1010
+
1011
+ ## 4.0.0-beta.219
1012
+
1013
+ ### Patch Changes
1014
+
1015
+ - 13c2fd9: doc span
1016
+ - d738811: remove double prefix
1017
+ - 724da29: replace useless span
1018
+ - Updated dependencies [d738811]
1019
+ - effect-app@4.0.0-beta.219
1020
+
1021
+ ## 4.0.0-beta.218
1022
+
1023
+ ### Minor Changes
1024
+
1025
+ - 95995d5: Add `collectFields`/`collectDistinctFields` to `relation()` DSL for collecting values from multiple fields of relation items into a single flattened array.
1026
+
1027
+ 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[]`:
1028
+
1029
+ ```ts
1030
+ relation("items").collectDistinctFields(["x", "y"]);
1031
+ ```
1032
+
1033
+ ### Patch Changes
1034
+
1035
+ - effect-app@4.0.0-beta.218
1036
+
1037
+ ## 4.0.0-beta.217
1038
+
1039
+ ### Patch Changes
1040
+
1041
+ - e3ceaba: Add computed projection expression sums with grouped and normalized variants for projectComputed relation aggregations.
1042
+ - Updated dependencies [0e824ef]
1043
+ - effect-app@4.0.0-beta.217
1044
+
1045
+ ## 4.0.0-beta.216
1046
+
1047
+ ### Patch Changes
1048
+
1049
+ - f28fce5: fix sqlite
1050
+ - effect-app@4.0.0-beta.216
1051
+
1052
+ ## 4.0.0-beta.215
1053
+
1054
+ ### Patch Changes
1055
+
1056
+ - 24f5dd0: fix memory computation
1057
+ - effect-app@4.0.0-beta.215
1058
+
1059
+ ## 4.0.0-beta.214
1060
+
1061
+ ### Minor Changes
1062
+
1063
+ - fb93244: Extend computed projections with additional relation operators:
1064
+
1065
+ - `relation(path).every(op)` — boolean, all elements match the filter (compiled as `NOT EXISTS(... WHERE NOT (filter))`).
1066
+ - `relation(path).distinctCount(field, op?)` — distinct count of values at `field` within the relation.
1067
+ - `relation(path).sum(field, op?)` — numeric sum over a relation field.
1068
+ - `relation(path).collect(field, op?)` / `collectDistinct(field, op?)` — collect values into an array (with optional dedup).
1069
+
1070
+ All operators compile to native subqueries on SQL (sqlite/pg) and Cosmos, and to in-memory equivalents on the Memory store.
1071
+
1072
+ ### Patch Changes
1073
+
1074
+ - effect-app@4.0.0-beta.214
1075
+
1076
+ ## 4.0.0-beta.213
1077
+
1078
+ ### Minor Changes
1079
+
1080
+ - aac6308: Add computed projections for repository queries with adapter-level compilation for memory, SQL, and Cosmos stores.
1081
+
1082
+ ### Patch Changes
1083
+
1084
+ - 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`.
1085
+ - effect-app@4.0.0-beta.213
1086
+
1087
+ ## 4.0.0-beta.212
1088
+
1089
+ ### Patch Changes
1090
+
1091
+ - Updated dependencies [8792221]
1092
+ - effect-app@4.0.0-beta.212
1093
+
1094
+ ## 4.0.0-beta.211
1095
+
1096
+ ### Patch Changes
1097
+
1098
+ - 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.
1099
+ - 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`.
1100
+ - effect-app@4.0.0-beta.211
1101
+
1102
+ ## 4.0.0-beta.210
1103
+
1104
+ ### Minor Changes
1105
+
1106
+ - 3a588e4: Standardize span attributes on OpenTelemetry semantic conventions.
1107
+
1108
+ All Store adapters (Cosmos, PostgreSQL, SQLite, Memory, Disk) and Queue adapters
1109
+ (Service Bus, SQL, Memory) now emit OTel-compliant span names and attributes via
1110
+ the new `@effect-app/infra/otel` helper module.
1111
+
1112
+ Span name convention: `<operation> <collection|destination>` (low cardinality).
1113
+
1114
+ Attribute key migration:
1115
+
1116
+ | Old | New |
1117
+ | --------------------------------------------------- | --------------------------------------------------------------------------------- |
1118
+ | `repository.table_name` / `repository.container_id` | `db.collection.name` |
1119
+ | `repository.namespace` | `db.namespace` |
1120
+ | `repository.model_name` / `itemType` | `app.entity` |
1121
+ | `id` / `itemId` (entity span attr) | `app.entity.id` |
1122
+ | `itemIds` | `app.entity.ids` |
1123
+ | `db.cosmos.request_charge` | `azure.cosmosdb.operation.request_charge` |
1124
+ | `db.cosmos.resource_count` | `db.response.returned_rows` |
1125
+ | `db.cosmos.response_bytes` | `db.response.body.size` |
1126
+ | `disk.file` / `disk.file_size` | `disk.file.path` / `disk.file.size` |
1127
+ | `queue.name` | `messaging.destination.name` |
1128
+ | `queue.sessionId` | `messaging.message.conversation_id` |
1129
+ | `queue.type` | `messaging.system` |
1130
+ | `queue.input` (full body) | `messaging.message.body` (+ `messaging.message.id`, `messaging.message.type`) |
1131
+ | `message_tags` | `messaging.message.types` + `messaging.batch.message_count` |
1132
+ | `request.name` | `code.function.name` (from `spanAttributes`) / `rpc.method` (middleware) |
1133
+ | `request.locale` | `app.locale` |
1134
+ | `request.namespace` | `app.tenant.id` |
1135
+ | `request.source.id` | `client.id` |
1136
+ | `request.user.sub` / `.roles` | `user.id` / `user.roles` |
1137
+ | `requestInput` | `rpc.request.payload` |
1138
+ | `connectionId` | `network.connection.id` |
1139
+ | Span `Request.<module>.<method>` | Span `<module>/<method>` + `rpc.system`/`rpc.service`/`rpc.method` (kind: server) |
1140
+ | `<spanPrefix>.<op>` (SQL/Model) | OTel db span via `withDbSpan`, with `dbSystem?` option |
1141
+
1142
+ New attributes added:
1143
+
1144
+ - `db.system.name` — e.g. `postgresql`, `sqlite`, `cosmosdb`, `memory`, `disk`
1145
+ - `db.operation.name` — e.g. `find`, `all`, `filter`, `set`
1146
+ - `db.query.text` — sanitized / parameterized SQL or Cosmos query (no bound values)
1147
+ - `messaging.operation.name` — `publish`, `process`, `receive`
1148
+
1149
+ Breaking: dashboards/alerts keying on the previous attribute names must be
1150
+ updated. Queue consumer spans no longer log raw message bodies — use
1151
+ `messaging.message.id` and `messaging.message.type` instead.
1152
+
1153
+ ### Patch Changes
1154
+
1155
+ - effect-app@4.0.0-beta.210
1156
+
1157
+ ## 4.0.0-beta.209
1158
+
1159
+ ### Patch Changes
1160
+
1161
+ - c991be1: update packages
1162
+ - Updated dependencies [c991be1]
1163
+ - Updated dependencies [3bae238]
1164
+ - effect-app@4.0.0-beta.209
1165
+
1166
+ ## 4.0.0-beta.208
1167
+
1168
+ ### Patch Changes
1169
+
1170
+ - effect-app@4.0.0-beta.208
1171
+
1172
+ ## 4.0.0-beta.207
1173
+
1174
+ ### Patch Changes
1175
+
1176
+ - b0db40f: Router handlers are now discriminated by `Resource[K]["stream"]`:
1177
+
1178
+ - Stream resources (`stream: true`) accept only `(req) => Stream<...>` handlers.
1179
+ - Non-stream resources accept only `(req) => Effect<...>` (or generator yielding `Yieldable`).
1180
+
1181
+ Mixing — e.g. returning `Effect.fail(...)` or `Effect<Stream<...>>` from a stream handler — no longer type-checks.
1182
+
1183
+ 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)`.
1184
+
1185
+ - Updated dependencies [8fffc3c]
1186
+ - effect-app@4.0.0-beta.207
1187
+
1188
+ ## 4.0.0-beta.206
1189
+
1190
+ ### Patch Changes
1191
+
1192
+ - 54bfc59: Require middleware to flow through `makeRpcClient` and the live layer through `makeRouter`.
1193
+
1194
+ ### `makeRpcClient(middleware, generalErrors?)`
1195
+
1196
+ 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.
1197
+
1198
+ **Migration**:
1199
+
1200
+ ```diff
1201
+ -makeRpcClient(RequestContextMap, undefined, AppMiddleware)
1202
+ +makeRpcClient(AppMiddleware)
1203
+ ```
1204
+
1205
+ For tests/clients without a real middleware, build a minimal stub (`{ requestContextMap, requestContext }`) or pass any value satisfying `ClientMiddleware<RCM>`.
1206
+
1207
+ ### `makeRouter(middlewareLive)`
1208
+
1209
+ `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.
1210
+
1211
+ **Migration**:
1212
+
1213
+ ```diff
1214
+ -export const { Router, matchAll } = makeRouter()
1215
+ +export const { Router, matchAll } = makeRouter(AppMiddleware.Default)
1216
+ ```
1217
+
1218
+ - Updated dependencies [54bfc59]
1219
+ - effect-app@4.0.0-beta.206
1220
+
1221
+ ## 4.0.0-beta.205
1222
+
1223
+ ### Patch Changes
1224
+
1225
+ - Updated dependencies [f313973]
1226
+ - effect-app@4.0.0-beta.205
1227
+
1228
+ ## 4.0.0-beta.204
1229
+
1230
+ ### Patch Changes
1231
+
1232
+ - Updated dependencies [0a0030f]
1233
+ - effect-app@4.0.0-beta.204
1234
+
1235
+ ## 4.0.0-beta.203
1236
+
1237
+ ### Patch Changes
1238
+
1239
+ - Updated dependencies [992d9fa]
1240
+ - effect-app@4.0.0-beta.203
1241
+
1242
+ ## 4.0.0-beta.202
1243
+
1244
+ ### Patch Changes
1245
+
1246
+ - Updated dependencies [1186b09]
1247
+ - effect-app@4.0.0-beta.202
1248
+
1249
+ ## 4.0.0-beta.201
1250
+
1251
+ ### Patch Changes
1252
+
1253
+ - 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.
1254
+
1255
+ ### Resource error schemas
1256
+
1257
+ Three sites that used to fold `RequestContextMap[*].error` into a request's own error schema now stop doing so:
1258
+
1259
+ - `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).
1260
+ - `MiddlewareMaker.rpc()` — `error: options.error` only; the previous union with `rcm.config[*].error` is gone.
1261
+ - Routing and `apiClientFactory.makeRpcGroupFromRequestsAndModuleName` — `Invalidation.makeCommandRpc` is called with `error: resource.error` (no widening with the composite middleware error union).
1262
+
1263
+ 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:
1264
+
1265
+ - **Server**: `makeRouter(middleware)` attaches the live composite tag (existing behavior).
1266
+ - **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.
1267
+
1268
+ **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.
1269
+
1270
+ ### Invalidation wrap/unwrap
1271
+
1272
+ - `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.
1273
+ - `apiClientFactory.ts` (client) `unwrapCommand` strips both envelopes and forwards keys to `InvalidationKeysFromServer`.
1274
+ - `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.
1275
+
1276
+ 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.
1277
+
1278
+ - Updated dependencies [d67d17a]
1279
+ - effect-app@4.0.0-beta.201
1280
+
1281
+ ## 4.0.0-beta.200
1282
+
1283
+ ### Patch Changes
1284
+
1285
+ - 0cff7c1: workaround middleware error issue
1286
+ - Updated dependencies [8f1cf6a]
1287
+ - Updated dependencies [0cff7c1]
1288
+ - effect-app@4.0.0-beta.200
1289
+
1290
+ ## 4.0.0-beta.199
1291
+
1292
+ ### Patch Changes
1293
+
1294
+ - de9fb83: Annotate Cosmos read spans with response size, resource count, and request charge.
1295
+
1296
+ `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.
1297
+
1298
+ - effect-app@4.0.0-beta.199
1299
+
1300
+ ## 4.0.0-beta.198
1301
+
1302
+ ### Patch Changes
1303
+
1304
+ - 32dbc54: fix stream type when no success specified
1305
+ - Updated dependencies [32dbc54]
1306
+ - effect-app@4.0.0-beta.198
1307
+
1308
+ ## 4.0.0-beta.197
1309
+
1310
+ ### Minor Changes
1311
+
1312
+ - 3dc0d2a: Add streaming as a `stream: true` config option on `Query` / `Command` instead of a separate request type.
1313
+
1314
+ `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).
1315
+
1316
+ ```ts
1317
+ // Query that streams results
1318
+ Req.Query<T>()("Tag", {}, { stream: true, success: ... })
1319
+
1320
+ // Command that streams results
1321
+ Req.Command<T>()("Tag", {}, { stream: true, success: ... })
1322
+ ```
1323
+
1324
+ Vue client mapping (per-handler properties mirror the non-stream API — `.query`, `.fn`, `.mutate`):
1325
+
1326
+ - `query` + `stream: true` → exposes `.query` (read-only streaming, tracked Vue Query). Helper map key: `${name}Query`.
1327
+ - `command` + `stream: true` → exposes `.fn` and `.mutate` (mutating streaming).
1328
+ - Plain `query` / `command` unchanged.
1329
+
1330
+ Server routing dispatches via the new `stream` flag (`makeStreamRpc` for streaming commands/queries, `makeCommandRpc` / `Rpc.make` otherwise).
1331
+
1332
+ 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.
1333
+
1334
+ **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.
1335
+
1336
+ ### Patch Changes
1337
+
1338
+ - Updated dependencies [3dc0d2a]
1339
+ - effect-app@4.0.0-beta.197
1340
+
1341
+ ## 4.0.0-beta.196
1342
+
1343
+ ### Patch Changes
1344
+
1345
+ - effect-app@4.0.0-beta.196
1346
+
1347
+ ## 4.0.0-beta.195
1348
+
1349
+ ### Patch Changes
1350
+
1351
+ - 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.
1352
+
1353
+ 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`.
1354
+
1355
+ `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".
1356
+
1357
+ 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.
1358
+
1359
+ - Updated dependencies [774a9b3]
1360
+ - effect-app@4.0.0-beta.195
1361
+
1362
+ ## 4.0.0-beta.194
1363
+
1364
+ ### Patch Changes
1365
+
1366
+ - effect-app@4.0.0-beta.194
1367
+
1368
+ ## 4.0.0-beta.193
1369
+
1370
+ ### Patch Changes
1371
+
1372
+ - 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`.
1373
+ - effect-app@4.0.0-beta.193
1374
+
1375
+ ## 4.0.0-beta.192
1376
+
1377
+ ### Patch Changes
1378
+
1379
+ - dba5779: namespaces
1380
+ - effect-app@4.0.0-beta.192
1381
+
1382
+ ## 4.0.0-beta.191
1383
+
1384
+ ### Patch Changes
1385
+
1386
+ - 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`.
1387
+ - Updated dependencies [50ce7e6]
1388
+ - effect-app@4.0.0-beta.191
1389
+
1390
+ ## 4.0.0-beta.190
1391
+
1392
+ ### Patch Changes
1393
+
1394
+ - Updated dependencies [985176b]
1395
+ - effect-app@4.0.0-beta.190
1396
+
1397
+ ## 4.0.0-beta.189
1398
+
1399
+ ### Patch Changes
1400
+
1401
+ - 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.
1402
+ - Updated dependencies [ea32222]
1403
+ - effect-app@4.0.0-beta.189
1404
+
1405
+ ## 4.0.0-beta.188
1406
+
1407
+ ### Patch Changes
1408
+
1409
+ - b2e438f: Remove Operations service and repo
1410
+ - Updated dependencies [b2e438f]
1411
+ - effect-app@4.0.0-beta.188
1412
+
1413
+ ## 4.0.0-beta.187
1414
+
1415
+ ### Patch Changes
1416
+
1417
+ - Updated dependencies [0d4e0b8]
1418
+ - effect-app@4.0.0-beta.187
1419
+
1420
+ ## 4.0.0-beta.186
1421
+
1422
+ ### Patch Changes
1423
+
1424
+ - effect-app@4.0.0-beta.186
1425
+
1426
+ ## 4.0.0-beta.185
1427
+
1428
+ ### Patch Changes
1429
+
1430
+ - effect-app@4.0.0-beta.185
1431
+
1432
+ ## 4.0.0-beta.184
1433
+
1434
+ ### Patch Changes
1435
+
1436
+ - effect-app@4.0.0-beta.184
1437
+
1438
+ ## 4.0.0-beta.183
1439
+
1440
+ ### Patch Changes
1441
+
1442
+ - effect-app@4.0.0-beta.183
1443
+
1444
+ ## 4.0.0-beta.182
1445
+
1446
+ ### Patch Changes
1447
+
1448
+ - effect-app@4.0.0-beta.182
1449
+
1450
+ ## 4.0.0-beta.181
1451
+
1452
+ ### Patch Changes
1453
+
1454
+ - Updated dependencies [583393f]
1455
+ - effect-app@4.0.0-beta.181
1456
+
1457
+ ## 4.0.0-beta.180
1458
+
1459
+ ### Minor Changes
1460
+
1461
+ - 7fa3045: V1/V2/V3: stream and command requests carry invalidation metadata
1462
+
1463
+ **V1** – stream final response includes metadata
1464
+
1465
+ - `Invalidation.StreamResponseChunk` wraps each stream item as `{ _tag: "value", value }` and appends `{ _tag: "done", metadata }` at the end carrying all accumulated invalidation keys.
1466
+
1467
+ **V2** – invalidation keys included in failures
1468
+
1469
+ - `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.
1470
+ - `InvalidationMiddlewareLive` wraps command failures; `routing.ts` wraps stream failures.
1471
+ - `apiClientFactory.ts` unwraps both on the client side, forwarding keys before re-failing with the original error.
1472
+
1473
+ **V3** – mid-stream metadata chunks
1474
+
1475
+ - `Invalidation.StreamResponseChunk` now also includes `{ _tag: "metadata", metadata }` for mid-stream invalidation.
1476
+ - 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`).
1477
+ - `apiClientFactory.ts` processes "metadata" chunks the same as "done" chunks, forwarding keys to `InvalidationKeysFromServer` immediately.
1478
+ - `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.
1479
+
1480
+ ### Patch Changes
1481
+
1482
+ - Updated dependencies [7fa3045]
1483
+ - effect-app@4.0.0-beta.180
1484
+
1485
+ ## 4.0.0-beta.179
1486
+
1487
+ ### Patch Changes
1488
+
1489
+ - Updated dependencies [828d264]
1490
+ - effect-app@4.0.0-beta.179
1491
+
1492
+ ## 4.0.0-beta.178
1493
+
1494
+ ### Patch Changes
1495
+
1496
+ - effect-app@4.0.0-beta.178
1497
+
1498
+ ## 4.0.0-beta.177
1499
+
1500
+ ### Minor Changes
1501
+
1502
+ - 89d8b3a: Add Effect RPC `Stream` support to the wrapper.
1503
+
1504
+ - New `Stream` request constructor on `TaggedRequestFor` parallel to `Query`/`Command`. Emits resources with `type: "stream"`.
1505
+ - 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).
1506
+ - 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.
1507
+ - New `RequestStreamHandler` / `RequestStreamHandlerWithInput` shapes in `clientFor.ts`; `RequestHandlers` dispatches on `type: "stream"`.
1508
+
1509
+ ### Patch Changes
1510
+
1511
+ - Updated dependencies [89d8b3a]
1512
+ - effect-app@4.0.0-beta.177
1513
+
1514
+ ## 4.0.0-beta.176
1515
+
1516
+ ### Patch Changes
1517
+
1518
+ - pass options
1519
+ - Updated dependencies
1520
+ - effect-app@4.0.0-beta.176
1521
+
1522
+ ## 4.0.0-beta.175
1523
+
1524
+ ### Patch Changes
1525
+
1526
+ - effect-app@4.0.0-beta.175
1527
+
1528
+ ## 4.0.0-beta.174
1529
+
1530
+ ### Minor Changes
1531
+
1532
+ - 821468d: Add server-driven cache invalidation via RPC response headers.
1533
+
1534
+ - `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.
1535
+ - `effect-app/middleware`: new `InvalidationMiddleware` RPC middleware tag; included in `DefaultGenericMiddlewares`.
1536
+ - `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`.
1537
+ - `@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.
1538
+ - `@effect-app/vue`: `invalidateQueries` / `useMutation` now reads server-provided invalidation keys from `InvalidationKeysFromServer` after each mutation and applies them alongside the client-side invalidation.
1539
+
1540
+ ### Patch Changes
1541
+
1542
+ - Updated dependencies [821468d]
1543
+ - effect-app@4.0.0-beta.174
1544
+
1545
+ ## 4.0.0-beta.173
1546
+
1547
+ ### Patch Changes
1548
+
1549
+ - effect-app@4.0.0-beta.173
1550
+
1551
+ ## 4.0.0-beta.172
1552
+
1553
+ ### Patch Changes
1554
+
1555
+ - improve sentry
1556
+ - effect-app@4.0.0-beta.172
1557
+
1558
+ ## 4.0.0-beta.171
1559
+
1560
+ ### Patch Changes
1561
+
1562
+ - Updated dependencies [d71d976]
1563
+ - effect-app@4.0.0-beta.171
1564
+
1565
+ ## 4.0.0-beta.170
1566
+
1567
+ ### Patch Changes
1568
+
1569
+ - Updated dependencies [8f09f77]
1570
+ - effect-app@4.0.0-beta.170
1571
+
1572
+ ## 4.0.0-beta.169
1573
+
1574
+ ### Patch Changes
1575
+
1576
+ - Updated dependencies [8ae8b53]
1577
+ - effect-app@4.0.0-beta.169
1578
+
1579
+ ## 4.0.0-beta.168
1580
+
1581
+ ### Patch Changes
1582
+
1583
+ - Updated dependencies [178480a]
1584
+ - effect-app@4.0.0-beta.168
1585
+
1586
+ ## 4.0.0-beta.167
1587
+
1588
+ ### Patch Changes
1589
+
1590
+ - Updated dependencies [140e192]
1591
+ - effect-app@4.0.0-beta.167
1592
+
1593
+ ## 4.0.0-beta.166
1594
+
1595
+ ### Patch Changes
1596
+
1597
+ - Updated dependencies [dbcc53b]
1598
+ - effect-app@4.0.0-beta.166
1599
+
1600
+ ## 4.0.0-beta.165
1601
+
1602
+ ### Patch Changes
1603
+
1604
+ - Updated dependencies [f88ea34]
1605
+ - effect-app@4.0.0-beta.165
1606
+
1607
+ ## 4.0.0-beta.164
1608
+
1609
+ ### Patch Changes
1610
+
1611
+ - Updated dependencies [8cb3de4]
1612
+ - effect-app@4.0.0-beta.164
1613
+
1614
+ ## 4.0.0-beta.163
1615
+
1616
+ ### Patch Changes
1617
+
1618
+ - Updated dependencies [b952f19]
1619
+ - effect-app@4.0.0-beta.163
1620
+
1621
+ ## 4.0.0-beta.162
1622
+
1623
+ ### Patch Changes
1624
+
1625
+ - Updated dependencies [b52b424]
1626
+ - effect-app@4.0.0-beta.162
1627
+
1628
+ ## 4.0.0-beta.161
1629
+
1630
+ ### Patch Changes
1631
+
1632
+ - effect-app@4.0.0-beta.161
1633
+
1634
+ ## 4.0.0-beta.160
1635
+
1636
+ ### Patch Changes
1637
+
1638
+ - 505bfa9: Add concurrent decode helper APIs and migrate decode callsites to use them.
1639
+
1640
+ - Add `withDefaultParseOptions` and keep `DefaultParseOptions` centralized.
1641
+ - Export `decodeEffectConcurrently` and `decodeUnknownEffectConcurrently` from Schema and SchemaParser modules.
1642
+ - Update repository, queue, client, form, and CLI decode paths to use concurrent decode helpers.
1643
+ - Keep schema constructors free of hardcoded parse concurrency overrides.
1644
+
1645
+ - Updated dependencies [505bfa9]
1646
+ - effect-app@4.0.0-beta.160
1647
+
1648
+ ## 4.0.0-beta.159
1649
+
1650
+ ### Patch Changes
1651
+
1652
+ - c1e73de:
1653
+ - Updated dependencies [c1e73de]
1654
+ - effect-app@4.0.0-beta.159
1655
+
1656
+ ## 4.0.0-beta.158
1657
+
1658
+ ### Patch Changes
1659
+
1660
+ - Updated dependencies [3c1f52d]
1661
+ - Updated dependencies [6ae3050]
1662
+ - effect-app@4.0.0-beta.158
1663
+
1664
+ ## 4.0.0-beta.157
1665
+
1666
+ ### Patch Changes
1667
+
1668
+ - 6fff09c: unify encoded function for when you use encodedKeys
1669
+ - Updated dependencies [6fff09c]
1670
+ - effect-app@4.0.0-beta.157
1671
+
1672
+ ## 4.0.0-beta.156
1673
+
1674
+ ### Patch Changes
1675
+
1676
+ - effect-app@4.0.0-beta.156
1677
+
1678
+ ## 4.0.0-beta.155
1679
+
1680
+ ### Patch Changes
1681
+
1682
+ - Updated dependencies [c215db8]
1683
+ - effect-app@4.0.0-beta.155
1684
+
1685
+ ## 4.0.0-beta.154
1686
+
1687
+ ### Patch Changes
1688
+
1689
+ - effect-app@4.0.0-beta.154
1690
+
1691
+ ## 4.0.0-beta.153
1692
+
1693
+ ### Patch Changes
1694
+
1695
+ - effect-app@4.0.0-beta.153
1696
+
1697
+ ## 4.0.0-beta.152
1698
+
1699
+ ### Patch Changes
1700
+
1701
+ - effect-app@4.0.0-beta.152
1702
+
1703
+ ## 4.0.0-beta.151
1704
+
1705
+ ### Patch Changes
1706
+
1707
+ - 925214b: update packages
1708
+ - effect-app@4.0.0-beta.151
1709
+
1710
+ ## 4.0.0-beta.150
1711
+
1712
+ ### Patch Changes
1713
+
1714
+ - Updated dependencies [85a8275]
1715
+ - effect-app@4.0.0-beta.150
1716
+
1717
+ ## 4.0.0-beta.149
1718
+
1719
+ ### Patch Changes
1720
+
1721
+ - Updated dependencies [f317c5e]
1722
+ - effect-app@4.0.0-beta.149
1723
+
1724
+ ## 4.0.0-beta.148
1725
+
1726
+ ### Patch Changes
1727
+
1728
+ - Updated dependencies [199e9a5]
1729
+ - effect-app@4.0.0-beta.148
1730
+
1731
+ ## 4.0.0-beta.147
1732
+
1733
+ ### Patch Changes
1734
+
1735
+ - Updated dependencies [47e3742]
1736
+ - effect-app@4.0.0-beta.147
1737
+
1738
+ ## 4.0.0-beta.146
1739
+
1740
+ ### Patch Changes
1741
+
1742
+ - Updated dependencies [a4dff57]
1743
+ - effect-app@4.0.0-beta.146
1744
+
1745
+ ## 4.0.0-beta.145
1746
+
1747
+ ### Patch Changes
1748
+
1749
+ - Updated dependencies [12abb55]
1750
+ - effect-app@4.0.0-beta.145
1751
+
1752
+ ## 4.0.0-beta.144
1753
+
1754
+ ### Patch Changes
1755
+
1756
+ - d31253f: Refactor eligible schema classes and tagged classes to Opaque schemas, and migrate constructor call sites to use `.make` for those models.
1757
+ - Updated dependencies [11422f8]
1758
+ - Updated dependencies [d31253f]
1759
+ - effect-app@4.0.0-beta.144
1760
+
1761
+ ## 4.0.0-beta.143
1762
+
1763
+ ### Patch Changes
1764
+
1765
+ - Updated dependencies [79eb019]
1766
+ - effect-app@4.0.0-beta.143
1767
+
1768
+ ## 4.0.0-beta.142
1769
+
1770
+ ### Patch Changes
1771
+
1772
+ - Updated dependencies [3436d44]
1773
+ - Updated dependencies [025de47]
1774
+ - effect-app@4.0.0-beta.142
1775
+
1776
+ ## 4.0.0-beta.141
1777
+
1778
+ ### Patch Changes
1779
+
1780
+ - Updated dependencies [7c25dbb]
1781
+ - effect-app@4.0.0-beta.141
1782
+
1783
+ ## 4.0.0-beta.140
1784
+
1785
+ ### Patch Changes
1786
+
1787
+ - 1576688: Add configurable `fakeMailAddress` to `SendgridConfig`. Supports `{i}` placeholder for unique addresses, e.g. `"test+{i}@example.com"`.
1788
+ - effect-app@4.0.0-beta.140
1789
+
1790
+ ## 4.0.0-beta.139
1791
+
1792
+ ### Patch Changes
1793
+
1794
+ - effect-app@4.0.0-beta.139
1795
+
1796
+ ## 4.0.0-beta.138
1797
+
1798
+ ### Patch Changes
1799
+
1800
+ - effect-app@4.0.0-beta.138
1801
+
1802
+ ## 4.0.0-beta.137
1803
+
1804
+ ### Patch Changes
1805
+
1806
+ - effect-app@4.0.0-beta.137
1807
+
1808
+ ## 4.0.0-beta.136
1809
+
1810
+ ### Patch Changes
1811
+
1812
+ - effect-app@4.0.0-beta.136
1813
+
1814
+ ## 4.0.0-beta.135
1815
+
1816
+ ### Patch Changes
1817
+
1818
+ - Updated dependencies [c7bbc41]
1819
+ - effect-app@4.0.0-beta.135
1820
+
1821
+ ## 4.0.0-beta.134
1822
+
1823
+ ### Patch Changes
1824
+
1825
+ - 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.
1826
+ - Updated dependencies [9d3495e]
1827
+ - Updated dependencies [f353d48]
1828
+ - effect-app@4.0.0-beta.134
1829
+
1830
+ ## 4.0.0-beta.133
1831
+
1832
+ ### Patch Changes
1833
+
1834
+ - 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).
1835
+ - c3299f7: update packages
1836
+ - Updated dependencies [c3299f7]
1837
+ - effect-app@4.0.0-beta.133
1838
+
1839
+ ## 4.0.0-beta.132
1840
+
1841
+ ### Patch Changes
1842
+
1843
+ - effect-app@4.0.0-beta.132
1844
+
1845
+ ## 4.0.0-beta.131
1846
+
1847
+ ### Patch Changes
1848
+
1849
+ - 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.
1850
+ - effect-app@4.0.0-beta.131
1851
+
1852
+ ## 4.0.0-beta.130
1853
+
1854
+ ### Patch Changes
1855
+
1856
+ - Updated dependencies [ea1bd46]
1857
+ - effect-app@4.0.0-beta.130
1858
+
1859
+ ## 4.0.0-beta.129
1860
+
1861
+ ### Patch Changes
1862
+
1863
+ - effect-app@4.0.0-beta.129
1864
+
1865
+ ## 4.0.0-beta.128
1866
+
1867
+ ### Patch Changes
1868
+
1869
+ - Updated dependencies [57db551]
1870
+ - effect-app@4.0.0-beta.128
1871
+
1872
+ ## 4.0.0-beta.127
1873
+
1874
+ ### Patch Changes
1875
+
1876
+ - 71a0719: Merge `batchPar` into `batch`, expose `concurrency` via an optional `BatchOptions` argument, and make `batch` dual (data-first + data-last).
1877
+ - 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.
1878
+ - effect-app@4.0.0-beta.127
1879
+
1880
+ ## 4.0.0-beta.126
1881
+
1882
+ ### Patch Changes
1883
+
1884
+ - Updated dependencies [458bb1b]
1885
+ - effect-app@4.0.0-beta.126
1886
+
1887
+ ## 4.0.0-beta.125
1888
+
1889
+ ### Patch Changes
1890
+
1891
+ - 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`.
1892
+ - effect-app@4.0.0-beta.125
1893
+
1894
+ ## 4.0.0-beta.124
1895
+
1896
+ ### Patch Changes
1897
+
1898
+ - c9e0c44: cleanup auth
1899
+ - 256ae85: cleanup
1900
+ - Updated dependencies [256ae85]
1901
+ - effect-app@4.0.0-beta.124
1902
+
1903
+ ## 4.0.0-beta.123
1904
+
1905
+ ### Patch Changes
1906
+
1907
+ - Updated dependencies [14aba14]
1908
+ - effect-app@4.0.0-beta.123
1909
+
1910
+ ## 4.0.0-beta.122
1911
+
1912
+ ### Patch Changes
1913
+
1914
+ - 27bf9b6: Fix `Repository.query` environment typing to exclude schema context provided through `makeRepo` options.
1915
+ - e02a258: Add optional batching overloads for repository `save` and `remove` helpers.
1916
+ - f052d38: Replace `(...) => Effect.gen` with `Effect.fnUntraced` and convert select multi-step `pipe` chains to `Effect.gen` across infra.
1917
+ - Updated dependencies [f052d38]
1918
+ - effect-app@4.0.0-beta.122
1919
+
1920
+ ## 4.0.0-beta.121
1921
+
1922
+ ### Patch Changes
1923
+
1924
+ - 1015582: Fix `Q.project` field selection with `Schema.encodeKeys` by deriving selected fields from the encoded schema shape.
1925
+ - Updated dependencies [5ac46cb]
1926
+ - effect-app@4.0.0-beta.121
1927
+
1928
+ ## 4.0.0-beta.120
1929
+
1930
+ ### Patch Changes
1931
+
1932
+ - Updated dependencies [f21190c]
1933
+ - effect-app@4.0.0-beta.120
1934
+
1935
+ ## 4.0.0-beta.119
1936
+
1937
+ ### Patch Changes
1938
+
1939
+ - db7ba34: Filter SSE events stream by storeId namespace
1940
+ - effect-app@4.0.0-beta.119
1941
+
1942
+ ## 4.0.0-beta.118
1943
+
1944
+ ### Patch Changes
1945
+
1946
+ - Update effect packages to 4.0.0-beta.52
1947
+ - Updated dependencies [bd26832]
1948
+ - Updated dependencies [08d2e70]
1949
+ - Updated dependencies
1950
+ - effect-app@4.0.0-beta.118
1951
+
1952
+ ## 4.0.0-beta.117
1953
+
1954
+ ### Patch Changes
1955
+
1956
+ - 1d85785: Wrap store seed effects with `Effect.uninterruptible` to prevent interruption during seeding
1957
+ - effect-app@4.0.0-beta.117
1958
+
1959
+ ## 4.0.0-beta.116
1960
+
1961
+ ### Patch Changes
1962
+
1963
+ - 7d5cefc: SQL and Pg stores now scope seed migration records by namespace and table name in shared databases to avoid cross-namespace seed collisions.
1964
+ - effect-app@4.0.0-beta.116
1965
+
1966
+ ## 4.0.0-beta.115
1967
+
1968
+ ### Patch Changes
1969
+
1970
+ - 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.
1971
+ - effect-app@4.0.0-beta.115
1972
+
1973
+ ## 4.0.0-beta.114
1974
+
1975
+ ### Patch Changes
1976
+
1977
+ - 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.
1978
+ - effect-app@4.0.0-beta.114
1979
+
1980
+ ## 4.0.0-beta.113
1981
+
1982
+ ### Minor Changes
1983
+
1984
+ - 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.
1985
+
1986
+ 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.
1987
+
1988
+ 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.
1989
+
1990
+ ### Patch Changes
1991
+
1992
+ - effect-app@4.0.0-beta.113
1993
+
1994
+ ## 4.0.0-beta.112
1995
+
1996
+ ### Patch Changes
1997
+
1998
+ - 8a4a6d2: fup
1999
+ - effect-app@4.0.0-beta.112
2000
+
2001
+ ## 4.0.0-beta.111
2002
+
2003
+ ### Patch Changes
2004
+
2005
+ - ca94edf: fix typo
2006
+ - Updated dependencies [ca94edf]
2007
+ - effect-app@4.0.0-beta.111
2008
+
2009
+ ## 4.0.0-beta.110
2010
+
2011
+ ### Minor Changes
2012
+
2013
+ - 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`.
2014
+
2015
+ ### Patch Changes
2016
+
2017
+ - effect-app@4.0.0-beta.110
2018
+
2019
+ ## 4.0.0-beta.109
2020
+
2021
+ ### Patch Changes
2022
+
2023
+ - 82f66f1: use uninterruptiple
2024
+ - effect-app@4.0.0-beta.109
2025
+
2026
+ ## 4.0.0-beta.108
2027
+
2028
+ ### Patch Changes
2029
+
2030
+ - Updated dependencies [3e46e7b]
2031
+ - effect-app@4.0.0-beta.108
2032
+
2033
+ ## 4.0.0-beta.107
2034
+
2035
+ ### Patch Changes
2036
+
2037
+ - 902ca1b: fix
2038
+ - effect-app@4.0.0-beta.107
2039
+
2040
+ ## 4.0.0-beta.106
2041
+
2042
+ ### Patch Changes
2043
+
2044
+ - f22a026: Use `Effect.cached` in `getOrCreateStoreEffect` for proper memoization of the resolver effect.
2045
+ - effect-app@4.0.0-beta.106
2046
+
2047
+ ## 4.0.0-beta.105
2048
+
2049
+ ### Minor Changes
2050
+
2051
+ - 3d732b1: Rewrite `withRequestResolverCache` to use official `RequestResolver.withCache`, creating a cached resolver per ContextMap via `getOrCreateStoreEffect` with semaphore-guarded initialization.
2052
+
2053
+ ### Patch Changes
2054
+
2055
+ - 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.
2056
+ - 5773159: Add `itemType` annotation to all repository spans
2057
+ - effect-app@4.0.0-beta.105
2058
+
2059
+ ## 4.0.0-beta.104
2060
+
2061
+ ### Patch Changes
2062
+
2063
+ - Updated dependencies [e944bca]
2064
+ - effect-app@4.0.0-beta.104
2065
+
2066
+ ## 4.0.0-beta.103
2067
+
2068
+ ### Patch Changes
2069
+
2070
+ - Updated dependencies [7119320]
2071
+ - effect-app@4.0.0-beta.103
2072
+
2073
+ ## 4.0.0-beta.102
2074
+
2075
+ ### Patch Changes
2076
+
2077
+ - 62627e9: Fix boolean handling in SQL SELECT and WHERE
2078
+ - effect-app@4.0.0-beta.102
2079
+
2080
+ ## 4.0.0-beta.101
2081
+
2082
+ ### Patch Changes
2083
+
2084
+ - effect-app@4.0.0-beta.101
2085
+
2086
+ ## 4.0.0-beta.100
2087
+
2088
+ ### Patch Changes
2089
+
2090
+ - 43611c7: enable cosmosdb large partition key hashes
2091
+ - effect-app@4.0.0-beta.100
2092
+
2093
+ ## 4.0.0-beta.99
2094
+
2095
+ ### Patch Changes
2096
+
2097
+ - 6a0e008: remove artificial Cosmos bulkSet delays
2098
+ - effect-app@4.0.0-beta.99
2099
+
2100
+ ## 4.0.0-beta.98
2101
+
2102
+ ### Patch Changes
2103
+
2104
+ - 5aed2e3: Add span to Cosmos `batchRemove` and include `namespace` attribute on all Cosmos store spans.
2105
+ - effect-app@4.0.0-beta.98
2106
+
2107
+ ## 4.0.0-beta.97
2108
+
2109
+ ### Patch Changes
2110
+
2111
+ - 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.
2112
+ - effect-app@4.0.0-beta.97
2113
+
2114
+ ## 4.0.0-beta.96
2115
+
2116
+ ### Patch Changes
2117
+
2118
+ - Updated dependencies [5615e47]
2119
+ - effect-app@4.0.0-beta.96
2120
+
2121
+ ## 4.0.0-beta.95
2122
+
2123
+ ### Patch Changes
2124
+
2125
+ - 88838fb: Remove pick/omit customizations from Class/TaggedClass/Struct/TaggedStruct. Use `Struct.pick(X.fields, [...])` from `effect-app` instead.
2126
+ - Updated dependencies [88838fb]
2127
+ - effect-app@4.0.0-beta.95
2128
+
2129
+ ## 4.0.0-beta.94
2130
+
2131
+ ### Patch Changes
2132
+
2133
+ - effect-app@4.0.0-beta.94
2134
+
2135
+ ## 4.0.0-beta.93
2136
+
2137
+ ### Patch Changes
2138
+
2139
+ - 2d85646: fix SQL includes-any/all double-quoting values for SQLite (JSON.stringify only needed for Postgres jsonb)
2140
+ - effect-app@4.0.0-beta.93
2141
+
2142
+ ## 4.0.0-beta.92
2143
+
2144
+ ### Patch Changes
2145
+
2146
+ - b4ffee0: fix SQL whereEvery double-negation bug causing wrong query when operators like notIn are used (especially with empty arrays)
2147
+ - effect-app@4.0.0-beta.92
2148
+
2149
+ ## 4.0.0-beta.91
2150
+
2151
+ ### Patch Changes
2152
+
2153
+ - Updated dependencies [738b482]
2154
+ - effect-app@4.0.0-beta.91
2155
+
2156
+ ## 4.0.0-beta.90
2157
+
2158
+ ### Patch Changes
2159
+
2160
+ - d786b91: Fix SQL `whereSome`/`whereEvery` array relation queries using `EXISTS` with `json_each` (SQLite) / `jsonb_array_elements` (Pg).
2161
+ - effect-app@4.0.0-beta.90
2162
+
2163
+ ## 4.0.0-beta.89
2164
+
2165
+ ### Patch Changes
2166
+
2167
+ - 9a9e46c: Fix SQL select queries to read `_etag` from column instead of JSON data, preventing INSERT on update.
2168
+ - effect-app@4.0.0-beta.89
2169
+
2170
+ ## 4.0.0-beta.88
2171
+
2172
+ ### Patch Changes
2173
+
2174
+ - dfd5562: Fix SQL `IN`/`NOT IN` with null values to use `IS NULL`/`IS NOT NULL` instead of `IN (NULL, ...)`.
2175
+ - effect-app@4.0.0-beta.88
2176
+
2177
+ ## 4.0.0-beta.87
2178
+
2179
+ ### Patch Changes
2180
+
2181
+ - 5a709d1: Fix SQLite select query type coercion using `json_quote` and apply defaultValues in SQL WHERE clauses via `COALESCE`.
2182
+ - effect-app@4.0.0-beta.87
2183
+
2184
+ ## 4.0.0-beta.86
2185
+
2186
+ ### Patch Changes
2187
+
2188
+ - 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.
2189
+ - effect-app@4.0.0-beta.86
2190
+
2191
+ ## 4.0.0-beta.85
2192
+
2193
+ ### Patch Changes
2194
+
2195
+ - 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.
2196
+ - effect-app@4.0.0-beta.85
2197
+
2198
+ ## 4.0.0-beta.84
2199
+
2200
+ ### Patch Changes
2201
+
2202
+ - 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).
2203
+ - effect-app@4.0.0-beta.84
2204
+
2205
+ ## 4.0.0-beta.83
2206
+
2207
+ ### Patch Changes
2208
+
2209
+ - 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.
2210
+ - effect-app@4.0.0-beta.83
2211
+
2212
+ ## 4.0.0-beta.82
2213
+
2214
+ ### Minor Changes
2215
+
2216
+ - 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.
2217
+ - 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.
2218
+ - 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.
2219
+ - 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`.
2220
+
2221
+ ### Patch Changes
2222
+
2223
+ - effect-app@4.0.0-beta.82
2224
+
2225
+ ## 4.0.0-beta.81
2226
+
2227
+ ### Minor Changes
2228
+
2229
+ - fd67f0b: Add `withRequestResolverCache` to scope RequestResolver cache to the ContextMap (request-scoped). Add `getOrCreateStore` to ContextMap for generic scoped storage.
2230
+
2231
+ ### Patch Changes
2232
+
2233
+ - effect-app@4.0.0-beta.81
2234
+
2235
+ ## 4.0.0-beta.80
2236
+
2237
+ ### Patch Changes
2238
+
2239
+ - eaf0115: enforce local
2240
+ - effect-app@4.0.0-beta.80
2241
+
2242
+ ## 4.0.0-beta.79
2243
+
2244
+ ### Patch Changes
2245
+
2246
+ - 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).
2247
+ - Updated dependencies [d16845e]
2248
+ - effect-app@4.0.0-beta.79
2249
+
2250
+ ## 4.0.0-beta.78
2251
+
2252
+ ### Minor Changes
2253
+
2254
+ - 818e047: Router `matchFor` no longer requires `meta` property on resource when requests carry `moduleName` from `TaggedRequestFor`
2255
+
2256
+ ### Patch Changes
2257
+
2258
+ - effect-app@4.0.0-beta.78
2259
+
2260
+ ## 4.0.0-beta.77
2261
+
2262
+ ### Patch Changes
2263
+
2264
+ - Updated dependencies [3613e87]
2265
+ - effect-app@4.0.0-beta.77
2266
+
2267
+ ## 4.0.0-beta.76
2268
+
2269
+ ### Patch Changes
2270
+
2271
+ - fac725d: update effect to latest beta
2272
+ - Updated dependencies [a5248a9]
2273
+ - Updated dependencies [fac725d]
2274
+ - effect-app@4.0.0-beta.76
2275
+
2276
+ ## 4.0.0-beta.75
2277
+
2278
+ ### Patch Changes
2279
+
2280
+ - Updated dependencies [24f0a5a]
2281
+ - effect-app@4.0.0-beta.75
2282
+
2283
+ ## 4.0.0-beta.74
2284
+
2285
+ ### Patch Changes
2286
+
2287
+ - Updated dependencies [54ec1ef]
2288
+ - effect-app@4.0.0-beta.74
2289
+
2290
+ ## 4.0.0-beta.73
2291
+
2292
+ ### Patch Changes
2293
+
2294
+ - b53c59e: fix signature
2295
+ - effect-app@4.0.0-beta.73
2296
+
2297
+ ## 4.0.0-beta.72
2298
+
2299
+ ### Patch Changes
2300
+
2301
+ - Updated dependencies [0541f0d]
2302
+ - effect-app@4.0.0-beta.72
2303
+
2304
+ ## 4.0.0-beta.71
2305
+
2306
+ ### Patch Changes
2307
+
2308
+ - beae3a0: Remove `withDefaultConstructor` wrapper, use `S.withConstructorDefault` directly with `Effect.succeed`/`Effect.sync`.
2309
+ - Updated dependencies [beae3a0]
2310
+ - effect-app@4.0.0-beta.71
2311
+
2312
+ ## 4.0.0-beta.70
2313
+
2314
+ ### Patch Changes
2315
+
2316
+ - fdb9cb3: cleanup
2317
+ - effect-app@4.0.0-beta.70
2318
+
2319
+ ## 4.0.0-beta.69
2320
+
2321
+ ### Patch Changes
2322
+
2323
+ - dc465e3: update to latest effect beta
2324
+ - Updated dependencies [dc465e3]
2325
+ - effect-app@4.0.0-beta.69
2326
+
2327
+ ## 4.0.0-beta.68
2328
+
2329
+ ### Patch Changes
2330
+
2331
+ - Updated dependencies [e6f2341]
2332
+ - effect-app@4.0.0-beta.68
2333
+
2334
+ ## 4.0.0-beta.67
2335
+
2336
+ ### Patch Changes
2337
+
2338
+ - effect-app@4.0.0-beta.67
2339
+
2340
+ ## 4.0.0-beta.66
2341
+
2342
+ ### Patch Changes
2343
+
2344
+ - Updated dependencies [edc52e4]
2345
+ - effect-app@4.0.0-beta.66
2346
+
2347
+ ## 4.0.0-beta.65
2348
+
2349
+ ### Patch Changes
2350
+
2351
+ - Updated dependencies [31739d7]
2352
+ - Updated dependencies [1f103b2]
2353
+ - effect-app@4.0.0-beta.65
2354
+
2355
+ ## 4.0.0-beta.64
2356
+
2357
+ ### Patch Changes
2358
+
2359
+ - Updated dependencies [c1a6fdc]
2360
+ - effect-app@4.0.0-beta.64
2361
+
2362
+ ## 4.0.0-beta.63
2363
+
2364
+ ### Patch Changes
2365
+
2366
+ - 1f9d7da: fix missing toCodecJson usages
2367
+ - effect-app@4.0.0-beta.63
2368
+
2369
+ ## 4.0.0-beta.62
2370
+
2371
+ ### Patch Changes
2372
+
2373
+ - Updated dependencies [0b21a02]
2374
+ - effect-app@4.0.0-beta.62
2375
+
2376
+ ## 4.0.0-beta.61
2377
+
2378
+ ### Patch Changes
2379
+
2380
+ - effect-app@4.0.0-beta.61
2381
+
2382
+ ## 4.0.0-beta.60
2383
+
2384
+ ### Patch Changes
2385
+
2386
+ - 29c39d2: Fix repository `find` with transformed id fields in tagged union schemas
2387
+ - effect-app@4.0.0-beta.60
2388
+
2389
+ ## 4.0.0-beta.59
2390
+
2391
+ ### Patch Changes
2392
+
2393
+ - cec026d: update packages
2394
+ - Updated dependencies [cec026d]
2395
+ - effect-app@4.0.0-beta.59
2396
+
2397
+ ## 4.0.0-beta.58
2398
+
2399
+ ### Patch Changes
2400
+
2401
+ - effect-app@4.0.0-beta.58
2402
+
2403
+ ## 4.0.0-beta.57
2404
+
2405
+ ### Patch Changes
2406
+
2407
+ - fbf47b8: Fix repository `find` with transformed id fields (e.g. composite ids using `decodeTo`)
2408
+ - effect-app@4.0.0-beta.57
2409
+
2410
+ ## 4.0.0-beta.56
2411
+
2412
+ ### Patch Changes
2413
+
2414
+ - effect-app@4.0.0-beta.56
2415
+
2416
+ ## 4.0.0-beta.55
2417
+
2418
+ ### Patch Changes
2419
+
2420
+ - effect-app@4.0.0-beta.55
2421
+
2422
+ ## 4.0.0-beta.54
2423
+
2424
+ ### Patch Changes
2425
+
2426
+ - d867272: the return of `Context`
2427
+ - Updated dependencies [d867272]
2428
+ - effect-app@4.0.0-beta.54
2429
+
2430
+ ## 4.0.0-beta.53
2431
+
2432
+ ### Patch Changes
2433
+
2434
+ - Updated dependencies [ee9694e]
2435
+ - effect-app@4.0.0-beta.53
2436
+
2437
+ ## 4.0.0-beta.52
2438
+
2439
+ ### Patch Changes
2440
+
2441
+ - Updated dependencies [6252808]
2442
+ - effect-app@4.0.0-beta.52
2443
+
2444
+ ## 4.0.0-beta.51
2445
+
2446
+ ### Patch Changes
2447
+
2448
+ - effect-app@4.0.0-beta.51
2449
+
2450
+ ## 4.0.0-beta.50
2451
+
2452
+ ### Patch Changes
2453
+
2454
+ - effect-app@4.0.0-beta.50
2455
+
2456
+ ## 4.0.0-beta.49
2457
+
2458
+ ### Patch Changes
2459
+
2460
+ - Updated dependencies [e585c9c]
2461
+ - effect-app@4.0.0-beta.49
2462
+
2463
+ ## 4.0.0-beta.48
2464
+
2465
+ ### Patch Changes
2466
+
2467
+ - Updated dependencies [0c88f78]
2468
+ - effect-app@4.0.0-beta.48
2469
+
2470
+ ## 4.0.0-beta.47
2471
+
2472
+ ### Patch Changes
2473
+
2474
+ - Updated dependencies [3365758]
2475
+ - effect-app@4.0.0-beta.47
2476
+
2477
+ ## 4.0.0-beta.46
2478
+
2479
+ ### Patch Changes
2480
+
2481
+ - effect-app@4.0.0-beta.46
2482
+
2483
+ ## 4.0.0-beta.45
2484
+
2485
+ ### Patch Changes
2486
+
2487
+ - 10b55ff: update packages
2488
+ - Updated dependencies [10b55ff]
2489
+ - effect-app@4.0.0-beta.45
2490
+
2491
+ ## 4.0.0-beta.44
2492
+
2493
+ ### Patch Changes
2494
+
2495
+ - a37aa38: Update to effect beta 43
2496
+ - Updated dependencies [a37aa38]
2497
+ - effect-app@4.0.0-beta.44
2498
+
2499
+ ## 4.0.0-beta.43
2500
+
2501
+ ### Patch Changes
2502
+
2503
+ - dab6992: no need for .lock.lock
2504
+ - effect-app@4.0.0-beta.43
2505
+
2506
+ ## 4.0.0-beta.42
2507
+
2508
+ ### Patch Changes
2509
+
2510
+ - effect-app@4.0.0-beta.42
2511
+
2512
+ ## 4.0.0-beta.41
2513
+
2514
+ ### Patch Changes
2515
+
2516
+ - effect-app@4.0.0-beta.41
2517
+
2518
+ ## 4.0.0-beta.40
2519
+
2520
+ ### Patch Changes
2521
+
2522
+ - effect-app@4.0.0-beta.40
2523
+
2524
+ ## 4.0.0-beta.39
2525
+
2526
+ ### Patch Changes
2527
+
2528
+ - Updated dependencies [10e90d5]
2529
+ - effect-app@4.0.0-beta.39
2530
+
2531
+ ## 4.0.0-beta.38
2532
+
2533
+ ### Patch Changes
2534
+
2535
+ - Updated dependencies [0b3e00e]
2536
+ - effect-app@4.0.0-beta.38
2537
+
2538
+ ## 4.0.0-beta.37
2539
+
2540
+ ### Patch Changes
2541
+
2542
+ - Updated dependencies [947fe20]
2543
+ - effect-app@4.0.0-beta.37
2544
+
2545
+ ## 4.0.0-beta.36
2546
+
2547
+ ### Patch Changes
2548
+
2549
+ - effect-app@4.0.0-beta.36
2550
+
2551
+ ## 4.0.0-beta.35
2552
+
2553
+ ### Patch Changes
2554
+
2555
+ - effect-app@4.0.0-beta.35
2556
+
2557
+ ## 4.0.0-beta.34
2558
+
2559
+ ### Patch Changes
2560
+
2561
+ - 8c645d5: update to latest effect
2562
+ - Updated dependencies [8c645d5]
2563
+ - effect-app@4.0.0-beta.34
2564
+
3
2565
  ## 4.0.0-beta.33
4
2566
 
5
2567
  ### Patch Changes