@effect-app/infra 4.0.0-beta.29 → 4.0.0-beta.291

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