@subsquid/ponder 0.15.17-sqd.1

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 (654) hide show
  1. package/CHANGELOG.md +3386 -0
  2. package/README.md +186 -0
  3. package/dist/esm/bin/commands/codegen.js +46 -0
  4. package/dist/esm/bin/commands/codegen.js.map +1 -0
  5. package/dist/esm/bin/commands/createViews.js +196 -0
  6. package/dist/esm/bin/commands/createViews.js.map +1 -0
  7. package/dist/esm/bin/commands/dev.js +430 -0
  8. package/dist/esm/bin/commands/dev.js.map +1 -0
  9. package/dist/esm/bin/commands/list.js +148 -0
  10. package/dist/esm/bin/commands/list.js.map +1 -0
  11. package/dist/esm/bin/commands/prune.js +224 -0
  12. package/dist/esm/bin/commands/prune.js.map +1 -0
  13. package/dist/esm/bin/commands/serve.js +198 -0
  14. package/dist/esm/bin/commands/serve.js.map +1 -0
  15. package/dist/esm/bin/commands/start.js +253 -0
  16. package/dist/esm/bin/commands/start.js.map +1 -0
  17. package/dist/esm/bin/isolatedController.js +200 -0
  18. package/dist/esm/bin/isolatedController.js.map +1 -0
  19. package/dist/esm/bin/isolatedWorker.js +146 -0
  20. package/dist/esm/bin/isolatedWorker.js.map +1 -0
  21. package/dist/esm/bin/ponder.js +137 -0
  22. package/dist/esm/bin/ponder.js.map +1 -0
  23. package/dist/esm/bin/utils/codegen.js +25 -0
  24. package/dist/esm/bin/utils/codegen.js.map +1 -0
  25. package/dist/esm/bin/utils/exit.js +100 -0
  26. package/dist/esm/bin/utils/exit.js.map +1 -0
  27. package/dist/esm/build/config.js +743 -0
  28. package/dist/esm/build/config.js.map +1 -0
  29. package/dist/esm/build/factory.js +76 -0
  30. package/dist/esm/build/factory.js.map +1 -0
  31. package/dist/esm/build/index.js +538 -0
  32. package/dist/esm/build/index.js.map +1 -0
  33. package/dist/esm/build/plugin.js +53 -0
  34. package/dist/esm/build/plugin.js.map +1 -0
  35. package/dist/esm/build/pre.js +76 -0
  36. package/dist/esm/build/pre.js.map +1 -0
  37. package/dist/esm/build/schema.js +164 -0
  38. package/dist/esm/build/schema.js.map +1 -0
  39. package/dist/esm/build/stacktrace.js +137 -0
  40. package/dist/esm/build/stacktrace.js.map +1 -0
  41. package/dist/esm/client/index.js +441 -0
  42. package/dist/esm/client/index.js.map +1 -0
  43. package/dist/esm/config/address.js +2 -0
  44. package/dist/esm/config/address.js.map +1 -0
  45. package/dist/esm/config/eventFilter.js +2 -0
  46. package/dist/esm/config/eventFilter.js.map +1 -0
  47. package/dist/esm/config/index.js +2 -0
  48. package/dist/esm/config/index.js.map +1 -0
  49. package/dist/esm/config/utilityTypes.js +2 -0
  50. package/dist/esm/config/utilityTypes.js.map +1 -0
  51. package/dist/esm/database/actions.js +445 -0
  52. package/dist/esm/database/actions.js.map +1 -0
  53. package/dist/esm/database/index.js +597 -0
  54. package/dist/esm/database/index.js.map +1 -0
  55. package/dist/esm/database/queryBuilder.js +310 -0
  56. package/dist/esm/database/queryBuilder.js.map +1 -0
  57. package/dist/esm/drizzle/bigint.js +38 -0
  58. package/dist/esm/drizzle/bigint.js.map +1 -0
  59. package/dist/esm/drizzle/bytes.js +47 -0
  60. package/dist/esm/drizzle/bytes.js.map +1 -0
  61. package/dist/esm/drizzle/hex.js +40 -0
  62. package/dist/esm/drizzle/hex.js.map +1 -0
  63. package/dist/esm/drizzle/index.js +40 -0
  64. package/dist/esm/drizzle/index.js.map +1 -0
  65. package/dist/esm/drizzle/json.js +119 -0
  66. package/dist/esm/drizzle/json.js.map +1 -0
  67. package/dist/esm/drizzle/kit/index.js +928 -0
  68. package/dist/esm/drizzle/kit/index.js.map +1 -0
  69. package/dist/esm/drizzle/onchain.js +158 -0
  70. package/dist/esm/drizzle/onchain.js.map +1 -0
  71. package/dist/esm/drizzle/text.js +61 -0
  72. package/dist/esm/drizzle/text.js.map +1 -0
  73. package/dist/esm/graphql/graphiql.html.js +59 -0
  74. package/dist/esm/graphql/graphiql.html.js.map +1 -0
  75. package/dist/esm/graphql/index.js +916 -0
  76. package/dist/esm/graphql/index.js.map +1 -0
  77. package/dist/esm/graphql/json.js +42 -0
  78. package/dist/esm/graphql/json.js.map +1 -0
  79. package/dist/esm/graphql/middleware.js +78 -0
  80. package/dist/esm/graphql/middleware.js.map +1 -0
  81. package/dist/esm/index.js +9 -0
  82. package/dist/esm/index.js.map +1 -0
  83. package/dist/esm/indexing/addStackTrace.js +54 -0
  84. package/dist/esm/indexing/addStackTrace.js.map +1 -0
  85. package/dist/esm/indexing/client.js +675 -0
  86. package/dist/esm/indexing/client.js.map +1 -0
  87. package/dist/esm/indexing/index.js +652 -0
  88. package/dist/esm/indexing/index.js.map +1 -0
  89. package/dist/esm/indexing/profile.js +584 -0
  90. package/dist/esm/indexing/profile.js.map +1 -0
  91. package/dist/esm/indexing-store/cache.js +665 -0
  92. package/dist/esm/indexing-store/cache.js.map +1 -0
  93. package/dist/esm/indexing-store/historical.js +427 -0
  94. package/dist/esm/indexing-store/historical.js.map +1 -0
  95. package/dist/esm/indexing-store/index.js +35 -0
  96. package/dist/esm/indexing-store/index.js.map +1 -0
  97. package/dist/esm/indexing-store/profile.js +428 -0
  98. package/dist/esm/indexing-store/profile.js.map +1 -0
  99. package/dist/esm/indexing-store/realtime.js +305 -0
  100. package/dist/esm/indexing-store/realtime.js.map +1 -0
  101. package/dist/esm/indexing-store/utils.js +111 -0
  102. package/dist/esm/indexing-store/utils.js.map +1 -0
  103. package/dist/esm/internal/common.js +2 -0
  104. package/dist/esm/internal/common.js.map +1 -0
  105. package/dist/esm/internal/errors.js +300 -0
  106. package/dist/esm/internal/errors.js.map +1 -0
  107. package/dist/esm/internal/logger.js +178 -0
  108. package/dist/esm/internal/logger.js.map +1 -0
  109. package/dist/esm/internal/metrics.js +1046 -0
  110. package/dist/esm/internal/metrics.js.map +1 -0
  111. package/dist/esm/internal/options.js +73 -0
  112. package/dist/esm/internal/options.js.map +1 -0
  113. package/dist/esm/internal/shutdown.js +24 -0
  114. package/dist/esm/internal/shutdown.js.map +1 -0
  115. package/dist/esm/internal/telemetry.js +200 -0
  116. package/dist/esm/internal/telemetry.js.map +1 -0
  117. package/dist/esm/internal/types.js +2 -0
  118. package/dist/esm/internal/types.js.map +1 -0
  119. package/dist/esm/rpc/actions.js +988 -0
  120. package/dist/esm/rpc/actions.js.map +1 -0
  121. package/dist/esm/rpc/http.js +130 -0
  122. package/dist/esm/rpc/http.js.map +1 -0
  123. package/dist/esm/rpc/index.js +749 -0
  124. package/dist/esm/rpc/index.js.map +1 -0
  125. package/dist/esm/runtime/events.js +664 -0
  126. package/dist/esm/runtime/events.js.map +1 -0
  127. package/dist/esm/runtime/filter.js +443 -0
  128. package/dist/esm/runtime/filter.js.map +1 -0
  129. package/dist/esm/runtime/fragments.js +478 -0
  130. package/dist/esm/runtime/fragments.js.map +1 -0
  131. package/dist/esm/runtime/historical.js +985 -0
  132. package/dist/esm/runtime/historical.js.map +1 -0
  133. package/dist/esm/runtime/index.js +325 -0
  134. package/dist/esm/runtime/index.js.map +1 -0
  135. package/dist/esm/runtime/init.js +12 -0
  136. package/dist/esm/runtime/init.js.map +1 -0
  137. package/dist/esm/runtime/isolated.js +463 -0
  138. package/dist/esm/runtime/isolated.js.map +1 -0
  139. package/dist/esm/runtime/multichain.js +509 -0
  140. package/dist/esm/runtime/multichain.js.map +1 -0
  141. package/dist/esm/runtime/omnichain.js +544 -0
  142. package/dist/esm/runtime/omnichain.js.map +1 -0
  143. package/dist/esm/runtime/realtime.js +733 -0
  144. package/dist/esm/runtime/realtime.js.map +1 -0
  145. package/dist/esm/server/error.js +56 -0
  146. package/dist/esm/server/error.js.map +1 -0
  147. package/dist/esm/server/index.js +121 -0
  148. package/dist/esm/server/index.js.map +1 -0
  149. package/dist/esm/sync-historical/index.js +701 -0
  150. package/dist/esm/sync-historical/index.js.map +1 -0
  151. package/dist/esm/sync-historical/portal-realtime-wire.js +302 -0
  152. package/dist/esm/sync-historical/portal-realtime-wire.js.map +1 -0
  153. package/dist/esm/sync-historical/portal-realtime.js +154 -0
  154. package/dist/esm/sync-historical/portal-realtime.js.map +1 -0
  155. package/dist/esm/sync-historical/portal-transform.js +113 -0
  156. package/dist/esm/sync-historical/portal-transform.js.map +1 -0
  157. package/dist/esm/sync-historical/portal.js +949 -0
  158. package/dist/esm/sync-historical/portal.js.map +1 -0
  159. package/dist/esm/sync-historical/realtime.js +127 -0
  160. package/dist/esm/sync-historical/realtime.js.map +1 -0
  161. package/dist/esm/sync-realtime/bloom.js +76 -0
  162. package/dist/esm/sync-realtime/bloom.js.map +1 -0
  163. package/dist/esm/sync-realtime/index.js +917 -0
  164. package/dist/esm/sync-realtime/index.js.map +1 -0
  165. package/dist/esm/sync-store/encode.js +105 -0
  166. package/dist/esm/sync-store/encode.js.map +1 -0
  167. package/dist/esm/sync-store/index.js +885 -0
  168. package/dist/esm/sync-store/index.js.map +1 -0
  169. package/dist/esm/sync-store/migrations.js +1595 -0
  170. package/dist/esm/sync-store/migrations.js.map +1 -0
  171. package/dist/esm/sync-store/schema.js +181 -0
  172. package/dist/esm/sync-store/schema.js.map +1 -0
  173. package/dist/esm/types/db.js +2 -0
  174. package/dist/esm/types/db.js.map +1 -0
  175. package/dist/esm/types/eth.js +2 -0
  176. package/dist/esm/types/eth.js.map +1 -0
  177. package/dist/esm/types/utils.js +2 -0
  178. package/dist/esm/types/utils.js.map +1 -0
  179. package/dist/esm/types/virtual.js +2 -0
  180. package/dist/esm/types/virtual.js.map +1 -0
  181. package/dist/esm/ui/app.js +157 -0
  182. package/dist/esm/ui/app.js.map +1 -0
  183. package/dist/esm/ui/index.js +29 -0
  184. package/dist/esm/ui/index.js.map +1 -0
  185. package/dist/esm/ui/patch.js +103 -0
  186. package/dist/esm/ui/patch.js.map +1 -0
  187. package/dist/esm/utils/abi.js +55 -0
  188. package/dist/esm/utils/abi.js.map +1 -0
  189. package/dist/esm/utils/bigint.js +37 -0
  190. package/dist/esm/utils/bigint.js.map +1 -0
  191. package/dist/esm/utils/chains.js +21 -0
  192. package/dist/esm/utils/chains.js.map +1 -0
  193. package/dist/esm/utils/checkpoint.js +139 -0
  194. package/dist/esm/utils/checkpoint.js.map +1 -0
  195. package/dist/esm/utils/chunk.js +8 -0
  196. package/dist/esm/utils/chunk.js.map +1 -0
  197. package/dist/esm/utils/copy.js +129 -0
  198. package/dist/esm/utils/copy.js.map +1 -0
  199. package/dist/esm/utils/date.js +27 -0
  200. package/dist/esm/utils/date.js.map +1 -0
  201. package/dist/esm/utils/debug.js +2 -0
  202. package/dist/esm/utils/debug.js.map +1 -0
  203. package/dist/esm/utils/decodeAbiParameters.js +290 -0
  204. package/dist/esm/utils/decodeAbiParameters.js.map +1 -0
  205. package/dist/esm/utils/decodeEventLog.js +75 -0
  206. package/dist/esm/utils/decodeEventLog.js.map +1 -0
  207. package/dist/esm/utils/dedupe.js +29 -0
  208. package/dist/esm/utils/dedupe.js.map +1 -0
  209. package/dist/esm/utils/duplicates.js +19 -0
  210. package/dist/esm/utils/duplicates.js.map +1 -0
  211. package/dist/esm/utils/estimate.js +6 -0
  212. package/dist/esm/utils/estimate.js.map +1 -0
  213. package/dist/esm/utils/finality.js +38 -0
  214. package/dist/esm/utils/finality.js.map +1 -0
  215. package/dist/esm/utils/format.js +20 -0
  216. package/dist/esm/utils/format.js.map +1 -0
  217. package/dist/esm/utils/generators.js +121 -0
  218. package/dist/esm/utils/generators.js.map +1 -0
  219. package/dist/esm/utils/hash.js +11 -0
  220. package/dist/esm/utils/hash.js.map +1 -0
  221. package/dist/esm/utils/interval.js +171 -0
  222. package/dist/esm/utils/interval.js.map +1 -0
  223. package/dist/esm/utils/lowercase.js +7 -0
  224. package/dist/esm/utils/lowercase.js.map +1 -0
  225. package/dist/esm/utils/mutex.js +26 -0
  226. package/dist/esm/utils/mutex.js.map +1 -0
  227. package/dist/esm/utils/never.js +4 -0
  228. package/dist/esm/utils/never.js.map +1 -0
  229. package/dist/esm/utils/offset.js +101 -0
  230. package/dist/esm/utils/offset.js.map +1 -0
  231. package/dist/esm/utils/order.js +18 -0
  232. package/dist/esm/utils/order.js.map +1 -0
  233. package/dist/esm/utils/partition.js +46 -0
  234. package/dist/esm/utils/partition.js.map +1 -0
  235. package/dist/esm/utils/pg.js +149 -0
  236. package/dist/esm/utils/pg.js.map +1 -0
  237. package/dist/esm/utils/pglite.js +80 -0
  238. package/dist/esm/utils/pglite.js.map +1 -0
  239. package/dist/esm/utils/port.js +30 -0
  240. package/dist/esm/utils/port.js.map +1 -0
  241. package/dist/esm/utils/print.js +23 -0
  242. package/dist/esm/utils/print.js.map +1 -0
  243. package/dist/esm/utils/promiseAllSettledWithThrow.js +19 -0
  244. package/dist/esm/utils/promiseAllSettledWithThrow.js.map +1 -0
  245. package/dist/esm/utils/promiseWithResolvers.js +13 -0
  246. package/dist/esm/utils/promiseWithResolvers.js.map +1 -0
  247. package/dist/esm/utils/queue.js +150 -0
  248. package/dist/esm/utils/queue.js.map +1 -0
  249. package/dist/esm/utils/range.js +8 -0
  250. package/dist/esm/utils/range.js.map +1 -0
  251. package/dist/esm/utils/result.js +10 -0
  252. package/dist/esm/utils/result.js.map +1 -0
  253. package/dist/esm/utils/sql-parse.js +1326 -0
  254. package/dist/esm/utils/sql-parse.js.map +1 -0
  255. package/dist/esm/utils/timer.js +9 -0
  256. package/dist/esm/utils/timer.js.map +1 -0
  257. package/dist/esm/utils/truncate.js +15 -0
  258. package/dist/esm/utils/truncate.js.map +1 -0
  259. package/dist/esm/utils/wait.js +10 -0
  260. package/dist/esm/utils/wait.js.map +1 -0
  261. package/dist/esm/utils/zipper.js +67 -0
  262. package/dist/esm/utils/zipper.js.map +1 -0
  263. package/dist/types/bin/commands/codegen.d.ts +5 -0
  264. package/dist/types/bin/commands/codegen.d.ts.map +1 -0
  265. package/dist/types/bin/commands/createViews.d.ts +8 -0
  266. package/dist/types/bin/commands/createViews.d.ts.map +1 -0
  267. package/dist/types/bin/commands/dev.d.ts +5 -0
  268. package/dist/types/bin/commands/dev.d.ts.map +1 -0
  269. package/dist/types/bin/commands/list.d.ts +5 -0
  270. package/dist/types/bin/commands/list.d.ts.map +1 -0
  271. package/dist/types/bin/commands/prune.d.ts +5 -0
  272. package/dist/types/bin/commands/prune.d.ts.map +1 -0
  273. package/dist/types/bin/commands/serve.d.ts +5 -0
  274. package/dist/types/bin/commands/serve.d.ts.map +1 -0
  275. package/dist/types/bin/commands/start.d.ts +19 -0
  276. package/dist/types/bin/commands/start.d.ts.map +1 -0
  277. package/dist/types/bin/isolatedController.d.ts +13 -0
  278. package/dist/types/bin/isolatedController.d.ts.map +1 -0
  279. package/dist/types/bin/isolatedWorker.d.ts +9 -0
  280. package/dist/types/bin/isolatedWorker.d.ts.map +1 -0
  281. package/dist/types/bin/ponder.d.ts +37 -0
  282. package/dist/types/bin/ponder.d.ts.map +1 -0
  283. package/dist/types/bin/utils/codegen.d.ts +6 -0
  284. package/dist/types/bin/utils/codegen.d.ts.map +1 -0
  285. package/dist/types/bin/utils/exit.d.ts +10 -0
  286. package/dist/types/bin/utils/exit.d.ts.map +1 -0
  287. package/dist/types/build/config.d.ts +97 -0
  288. package/dist/types/build/config.d.ts.map +1 -0
  289. package/dist/types/build/factory.d.ts +13 -0
  290. package/dist/types/build/factory.d.ts.map +1 -0
  291. package/dist/types/build/index.d.ts +84 -0
  292. package/dist/types/build/index.d.ts.map +1 -0
  293. package/dist/types/build/plugin.d.ts +4 -0
  294. package/dist/types/build/plugin.d.ts.map +1 -0
  295. package/dist/types/build/pre.d.ts +26 -0
  296. package/dist/types/build/pre.d.ts.map +1 -0
  297. package/dist/types/build/schema.d.ts +20 -0
  298. package/dist/types/build/schema.d.ts.map +1 -0
  299. package/dist/types/build/stacktrace.d.ts +13 -0
  300. package/dist/types/build/stacktrace.d.ts.map +1 -0
  301. package/dist/types/client/index.d.ts +27 -0
  302. package/dist/types/client/index.d.ts.map +1 -0
  303. package/dist/types/config/address.d.ts +24 -0
  304. package/dist/types/config/address.d.ts.map +1 -0
  305. package/dist/types/config/eventFilter.d.ts +18 -0
  306. package/dist/types/config/eventFilter.d.ts.map +1 -0
  307. package/dist/types/config/index.d.ts +149 -0
  308. package/dist/types/config/index.d.ts.map +1 -0
  309. package/dist/types/config/utilityTypes.d.ts +43 -0
  310. package/dist/types/config/utilityTypes.d.ts.map +1 -0
  311. package/dist/types/database/actions.d.ts +99 -0
  312. package/dist/types/database/actions.d.ts.map +1 -0
  313. package/dist/types/database/index.d.ts +481 -0
  314. package/dist/types/database/index.d.ts.map +1 -0
  315. package/dist/types/database/queryBuilder.d.ts +65 -0
  316. package/dist/types/database/queryBuilder.d.ts.map +1 -0
  317. package/dist/types/drizzle/bigint.d.ts +25 -0
  318. package/dist/types/drizzle/bigint.d.ts.map +1 -0
  319. package/dist/types/drizzle/bytes.d.ts +31 -0
  320. package/dist/types/drizzle/bytes.d.ts.map +1 -0
  321. package/dist/types/drizzle/hex.d.ts +25 -0
  322. package/dist/types/drizzle/hex.d.ts.map +1 -0
  323. package/dist/types/drizzle/index.d.ts +10 -0
  324. package/dist/types/drizzle/index.d.ts.map +1 -0
  325. package/dist/types/drizzle/json.d.ts +51 -0
  326. package/dist/types/drizzle/json.d.ts.map +1 -0
  327. package/dist/types/drizzle/kit/index.d.ts +189 -0
  328. package/dist/types/drizzle/kit/index.d.ts.map +1 -0
  329. package/dist/types/drizzle/onchain.d.ts +287 -0
  330. package/dist/types/drizzle/onchain.d.ts.map +1 -0
  331. package/dist/types/drizzle/text.d.ts +29 -0
  332. package/dist/types/drizzle/text.d.ts.map +1 -0
  333. package/dist/types/graphql/graphiql.html.d.ts +2 -0
  334. package/dist/types/graphql/graphiql.html.d.ts.map +1 -0
  335. package/dist/types/graphql/index.d.ts +12 -0
  336. package/dist/types/graphql/index.d.ts.map +1 -0
  337. package/dist/types/graphql/json.d.ts +3 -0
  338. package/dist/types/graphql/json.d.ts.map +1 -0
  339. package/dist/types/graphql/middleware.d.ts +29 -0
  340. package/dist/types/graphql/middleware.d.ts.map +1 -0
  341. package/dist/types/index.d.ts +23 -0
  342. package/dist/types/index.d.ts.map +1 -0
  343. package/dist/types/indexing/addStackTrace.d.ts +3 -0
  344. package/dist/types/indexing/addStackTrace.d.ts.map +1 -0
  345. package/dist/types/indexing/client.d.ts +154 -0
  346. package/dist/types/indexing/client.d.ts.map +1 -0
  347. package/dist/types/indexing/index.d.ts +75 -0
  348. package/dist/types/indexing/index.d.ts.map +1 -0
  349. package/dist/types/indexing/profile.d.ts +16 -0
  350. package/dist/types/indexing/profile.d.ts.map +1 -0
  351. package/dist/types/indexing-store/cache.d.ts +115 -0
  352. package/dist/types/indexing-store/cache.d.ts.map +1 -0
  353. package/dist/types/indexing-store/historical.d.ts +12 -0
  354. package/dist/types/indexing-store/historical.d.ts.map +1 -0
  355. package/dist/types/indexing-store/index.d.ts +14 -0
  356. package/dist/types/indexing-store/index.d.ts.map +1 -0
  357. package/dist/types/indexing-store/profile.d.ts +7 -0
  358. package/dist/types/indexing-store/profile.d.ts.map +1 -0
  359. package/dist/types/indexing-store/realtime.d.ts +10 -0
  360. package/dist/types/indexing-store/realtime.d.ts.map +1 -0
  361. package/dist/types/indexing-store/utils.d.ts +19 -0
  362. package/dist/types/indexing-store/utils.d.ts.map +1 -0
  363. package/dist/types/internal/common.d.ts +15 -0
  364. package/dist/types/internal/common.d.ts.map +1 -0
  365. package/dist/types/internal/errors.d.ts +101 -0
  366. package/dist/types/internal/errors.d.ts.map +1 -0
  367. package/dist/types/internal/logger.d.ts +37 -0
  368. package/dist/types/internal/logger.d.ts.map +1 -0
  369. package/dist/types/internal/metrics.d.ts +120 -0
  370. package/dist/types/internal/metrics.d.ts.map +1 -0
  371. package/dist/types/internal/options.d.ts +62 -0
  372. package/dist/types/internal/options.d.ts.map +1 -0
  373. package/dist/types/internal/shutdown.d.ts +8 -0
  374. package/dist/types/internal/shutdown.d.ts.map +1 -0
  375. package/dist/types/internal/telemetry.d.ts +43 -0
  376. package/dist/types/internal/telemetry.d.ts.map +1 -0
  377. package/dist/types/internal/types.d.ts +435 -0
  378. package/dist/types/internal/types.d.ts.map +1 -0
  379. package/dist/types/rpc/actions.d.ts +360 -0
  380. package/dist/types/rpc/actions.d.ts.map +1 -0
  381. package/dist/types/rpc/http.d.ts +17 -0
  382. package/dist/types/rpc/http.d.ts.map +1 -0
  383. package/dist/types/rpc/index.d.ts +43 -0
  384. package/dist/types/rpc/index.d.ts.map +1 -0
  385. package/dist/types/runtime/events.d.ts +40 -0
  386. package/dist/types/runtime/events.d.ts.map +1 -0
  387. package/dist/types/runtime/filter.d.ts +87 -0
  388. package/dist/types/runtime/filter.d.ts.map +1 -0
  389. package/dist/types/runtime/fragments.d.ts +30 -0
  390. package/dist/types/runtime/fragments.d.ts.map +1 -0
  391. package/dist/types/runtime/historical.d.ts +123 -0
  392. package/dist/types/runtime/historical.d.ts.map +1 -0
  393. package/dist/types/runtime/index.d.ts +89 -0
  394. package/dist/types/runtime/index.d.ts.map +1 -0
  395. package/dist/types/runtime/init.d.ts +28 -0
  396. package/dist/types/runtime/init.d.ts.map +1 -0
  397. package/dist/types/runtime/isolated.d.ts +14 -0
  398. package/dist/types/runtime/isolated.d.ts.map +1 -0
  399. package/dist/types/runtime/multichain.d.ts +13 -0
  400. package/dist/types/runtime/multichain.d.ts.map +1 -0
  401. package/dist/types/runtime/omnichain.d.ts +23 -0
  402. package/dist/types/runtime/omnichain.d.ts.map +1 -0
  403. package/dist/types/runtime/realtime.d.ts +93 -0
  404. package/dist/types/runtime/realtime.d.ts.map +1 -0
  405. package/dist/types/server/error.d.ts +5 -0
  406. package/dist/types/server/error.d.ts.map +1 -0
  407. package/dist/types/server/index.d.ts +13 -0
  408. package/dist/types/server/index.d.ts.map +1 -0
  409. package/dist/types/sync-historical/index.d.ts +36 -0
  410. package/dist/types/sync-historical/index.d.ts.map +1 -0
  411. package/dist/types/sync-historical/portal-realtime-wire.d.ts +102 -0
  412. package/dist/types/sync-historical/portal-realtime-wire.d.ts.map +1 -0
  413. package/dist/types/sync-historical/portal-realtime.d.ts +95 -0
  414. package/dist/types/sync-historical/portal-realtime.d.ts.map +1 -0
  415. package/dist/types/sync-historical/portal-transform.d.ts +51 -0
  416. package/dist/types/sync-historical/portal-transform.d.ts.map +1 -0
  417. package/dist/types/sync-historical/portal.d.ts +34 -0
  418. package/dist/types/sync-historical/portal.d.ts.map +1 -0
  419. package/dist/types/sync-historical/realtime.d.ts +71 -0
  420. package/dist/types/sync-historical/realtime.d.ts.map +1 -0
  421. package/dist/types/sync-realtime/bloom.d.ts +18 -0
  422. package/dist/types/sync-realtime/bloom.d.ts.map +1 -0
  423. package/dist/types/sync-realtime/index.d.ts +47 -0
  424. package/dist/types/sync-realtime/index.d.ts.map +1 -0
  425. package/dist/types/sync-store/encode.d.ts +25 -0
  426. package/dist/types/sync-store/encode.d.ts.map +1 -0
  427. package/dist/types/sync-store/index.d.ts +135 -0
  428. package/dist/types/sync-store/index.d.ts.map +1 -0
  429. package/dist/types/sync-store/migrations.d.ts +8 -0
  430. package/dist/types/sync-store/migrations.d.ts.map +1 -0
  431. package/dist/types/sync-store/schema.d.ts +1828 -0
  432. package/dist/types/sync-store/schema.d.ts.map +1 -0
  433. package/dist/types/types/db.d.ts +213 -0
  434. package/dist/types/types/db.d.ts.map +1 -0
  435. package/dist/types/types/eth.d.ts +196 -0
  436. package/dist/types/types/eth.d.ts.map +1 -0
  437. package/dist/types/types/utils.d.ts +38 -0
  438. package/dist/types/types/utils.d.ts.map +1 -0
  439. package/dist/types/types/virtual.d.ts +99 -0
  440. package/dist/types/types/virtual.d.ts.map +1 -0
  441. package/dist/types/ui/app.d.ts +22 -0
  442. package/dist/types/ui/app.d.ts.map +1 -0
  443. package/dist/types/ui/index.d.ts +5 -0
  444. package/dist/types/ui/index.d.ts.map +1 -0
  445. package/dist/types/ui/patch.d.ts +7 -0
  446. package/dist/types/ui/patch.d.ts.map +1 -0
  447. package/dist/types/utils/abi.d.ts +23 -0
  448. package/dist/types/utils/abi.d.ts.map +1 -0
  449. package/dist/types/utils/bigint.d.ts +15 -0
  450. package/dist/types/utils/bigint.d.ts.map +1 -0
  451. package/dist/types/utils/chains.d.ts +42 -0
  452. package/dist/types/utils/chains.d.ts.map +1 -0
  453. package/dist/types/utils/checkpoint.d.ts +52 -0
  454. package/dist/types/utils/checkpoint.d.ts.map +1 -0
  455. package/dist/types/utils/chunk.d.ts +2 -0
  456. package/dist/types/utils/chunk.d.ts.map +1 -0
  457. package/dist/types/utils/copy.d.ts +16 -0
  458. package/dist/types/utils/copy.d.ts.map +1 -0
  459. package/dist/types/utils/date.d.ts +7 -0
  460. package/dist/types/utils/date.d.ts.map +1 -0
  461. package/dist/types/utils/debug.d.ts +105 -0
  462. package/dist/types/utils/debug.d.ts.map +1 -0
  463. package/dist/types/utils/decodeAbiParameters.d.ts +28 -0
  464. package/dist/types/utils/decodeAbiParameters.d.ts.map +1 -0
  465. package/dist/types/utils/decodeEventLog.d.ts +12 -0
  466. package/dist/types/utils/decodeEventLog.d.ts.map +1 -0
  467. package/dist/types/utils/dedupe.d.ts +20 -0
  468. package/dist/types/utils/dedupe.d.ts.map +1 -0
  469. package/dist/types/utils/duplicates.d.ts +7 -0
  470. package/dist/types/utils/duplicates.d.ts.map +1 -0
  471. package/dist/types/utils/estimate.d.ts +11 -0
  472. package/dist/types/utils/estimate.d.ts.map +1 -0
  473. package/dist/types/utils/finality.d.ts +12 -0
  474. package/dist/types/utils/finality.d.ts.map +1 -0
  475. package/dist/types/utils/format.d.ts +3 -0
  476. package/dist/types/utils/format.d.ts.map +1 -0
  477. package/dist/types/utils/generators.d.ts +42 -0
  478. package/dist/types/utils/generators.d.ts.map +1 -0
  479. package/dist/types/utils/hash.d.ts +11 -0
  480. package/dist/types/utils/hash.d.ts.map +1 -0
  481. package/dist/types/utils/interval.d.ts +53 -0
  482. package/dist/types/utils/interval.d.ts.map +1 -0
  483. package/dist/types/utils/lowercase.d.ts +5 -0
  484. package/dist/types/utils/lowercase.d.ts.map +1 -0
  485. package/dist/types/utils/mutex.d.ts +5 -0
  486. package/dist/types/utils/mutex.d.ts.map +1 -0
  487. package/dist/types/utils/never.d.ts +2 -0
  488. package/dist/types/utils/never.d.ts.map +1 -0
  489. package/dist/types/utils/offset.d.ts +8 -0
  490. package/dist/types/utils/offset.d.ts.map +1 -0
  491. package/dist/types/utils/order.d.ts +2 -0
  492. package/dist/types/utils/order.d.ts.map +1 -0
  493. package/dist/types/utils/partition.d.ts +22 -0
  494. package/dist/types/utils/partition.d.ts.map +1 -0
  495. package/dist/types/utils/pg.d.ts +8 -0
  496. package/dist/types/utils/pg.d.ts.map +1 -0
  497. package/dist/types/utils/pglite.d.ts +25 -0
  498. package/dist/types/utils/pglite.d.ts.map +1 -0
  499. package/dist/types/utils/port.d.ts +5 -0
  500. package/dist/types/utils/port.d.ts.map +1 -0
  501. package/dist/types/utils/print.d.ts +2 -0
  502. package/dist/types/utils/print.d.ts.map +1 -0
  503. package/dist/types/utils/promiseAllSettledWithThrow.d.ts +8 -0
  504. package/dist/types/utils/promiseAllSettledWithThrow.d.ts.map +1 -0
  505. package/dist/types/utils/promiseWithResolvers.d.ts +10 -0
  506. package/dist/types/utils/promiseWithResolvers.d.ts.map +1 -0
  507. package/dist/types/utils/queue.d.ts +33 -0
  508. package/dist/types/utils/queue.d.ts.map +1 -0
  509. package/dist/types/utils/range.d.ts +8 -0
  510. package/dist/types/utils/range.d.ts.map +1 -0
  511. package/dist/types/utils/result.d.ts +17 -0
  512. package/dist/types/utils/result.d.ts.map +1 -0
  513. package/dist/types/utils/sql-parse.d.ts +21 -0
  514. package/dist/types/utils/sql-parse.d.ts.map +1 -0
  515. package/dist/types/utils/timer.d.ts +6 -0
  516. package/dist/types/utils/timer.d.ts.map +1 -0
  517. package/dist/types/utils/truncate.d.ts +9 -0
  518. package/dist/types/utils/truncate.d.ts.map +1 -0
  519. package/dist/types/utils/wait.d.ts +6 -0
  520. package/dist/types/utils/wait.d.ts.map +1 -0
  521. package/dist/types/utils/zipper.d.ts +36 -0
  522. package/dist/types/utils/zipper.d.ts.map +1 -0
  523. package/package.json +116 -0
  524. package/src/bin/commands/codegen.ts +56 -0
  525. package/src/bin/commands/createViews.ts +311 -0
  526. package/src/bin/commands/dev.ts +490 -0
  527. package/src/bin/commands/list.ts +207 -0
  528. package/src/bin/commands/prune.ts +316 -0
  529. package/src/bin/commands/serve.ts +236 -0
  530. package/src/bin/commands/start.ts +319 -0
  531. package/src/bin/isolatedController.ts +300 -0
  532. package/src/bin/isolatedWorker.ts +192 -0
  533. package/src/bin/ponder.ts +200 -0
  534. package/src/bin/utils/codegen.ts +32 -0
  535. package/src/bin/utils/exit.ts +112 -0
  536. package/src/build/config.ts +1136 -0
  537. package/src/build/factory.ts +122 -0
  538. package/src/build/index.ts +747 -0
  539. package/src/build/plugin.ts +58 -0
  540. package/src/build/pre.ts +100 -0
  541. package/src/build/schema.ts +291 -0
  542. package/src/build/stacktrace.ts +137 -0
  543. package/src/client/index.ts +551 -0
  544. package/src/config/address.ts +32 -0
  545. package/src/config/eventFilter.ts +33 -0
  546. package/src/config/index.ts +245 -0
  547. package/src/config/utilityTypes.ts +152 -0
  548. package/src/database/actions.ts +870 -0
  549. package/src/database/index.ts +1018 -0
  550. package/src/database/queryBuilder.ts +534 -0
  551. package/src/drizzle/bigint.ts +57 -0
  552. package/src/drizzle/bytes.ts +68 -0
  553. package/src/drizzle/hex.ts +58 -0
  554. package/src/drizzle/index.ts +58 -0
  555. package/src/drizzle/json.ts +154 -0
  556. package/src/drizzle/kit/index.ts +1352 -0
  557. package/src/drizzle/onchain.ts +447 -0
  558. package/src/drizzle/text.ts +77 -0
  559. package/src/graphql/graphiql.html.ts +59 -0
  560. package/src/graphql/index.ts +1329 -0
  561. package/src/graphql/json.ts +62 -0
  562. package/src/graphql/middleware.ts +111 -0
  563. package/src/index.ts +139 -0
  564. package/src/indexing/addStackTrace.ts +69 -0
  565. package/src/indexing/client.ts +1184 -0
  566. package/src/indexing/index.ts +961 -0
  567. package/src/indexing/profile.ts +771 -0
  568. package/src/indexing-store/cache.ts +1056 -0
  569. package/src/indexing-store/historical.ts +555 -0
  570. package/src/indexing-store/index.ts +73 -0
  571. package/src/indexing-store/profile.ts +557 -0
  572. package/src/indexing-store/realtime.ts +412 -0
  573. package/src/indexing-store/utils.ts +162 -0
  574. package/src/internal/common.ts +15 -0
  575. package/src/internal/errors.ts +228 -0
  576. package/src/internal/logger.ts +252 -0
  577. package/src/internal/metrics.ts +1027 -0
  578. package/src/internal/options.ts +130 -0
  579. package/src/internal/shutdown.ts +32 -0
  580. package/src/internal/telemetry.ts +303 -0
  581. package/src/internal/types.ts +598 -0
  582. package/src/rpc/actions.ts +1344 -0
  583. package/src/rpc/http.ts +164 -0
  584. package/src/rpc/index.ts +959 -0
  585. package/src/runtime/events.ts +875 -0
  586. package/src/runtime/filter.ts +664 -0
  587. package/src/runtime/fragments.ts +674 -0
  588. package/src/runtime/historical.ts +1556 -0
  589. package/src/runtime/index.ts +578 -0
  590. package/src/runtime/init.ts +49 -0
  591. package/src/runtime/isolated.ts +769 -0
  592. package/src/runtime/multichain.ts +853 -0
  593. package/src/runtime/omnichain.ts +913 -0
  594. package/src/runtime/realtime.ts +1179 -0
  595. package/src/server/error.ts +68 -0
  596. package/src/server/index.ts +173 -0
  597. package/src/sync-historical/index.ts +1062 -0
  598. package/src/sync-historical/portal-realtime-wire.ts +389 -0
  599. package/src/sync-historical/portal-realtime.ts +209 -0
  600. package/src/sync-historical/portal-transform.ts +123 -0
  601. package/src/sync-historical/portal.ts +811 -0
  602. package/src/sync-historical/realtime.ts +132 -0
  603. package/src/sync-realtime/bloom.ts +102 -0
  604. package/src/sync-realtime/index.ts +1298 -0
  605. package/src/sync-store/encode.ts +153 -0
  606. package/src/sync-store/index.ts +1633 -0
  607. package/src/sync-store/migrations.ts +1801 -0
  608. package/src/sync-store/schema.ts +248 -0
  609. package/src/types/db.ts +292 -0
  610. package/src/types/eth.ts +216 -0
  611. package/src/types/utils.ts +47 -0
  612. package/src/types/virtual.ts +244 -0
  613. package/src/types.d.ts +38 -0
  614. package/src/ui/app.ts +207 -0
  615. package/src/ui/index.ts +37 -0
  616. package/src/ui/patch.ts +145 -0
  617. package/src/utils/abi.ts +103 -0
  618. package/src/utils/bigint.ts +41 -0
  619. package/src/utils/chains.ts +22 -0
  620. package/src/utils/checkpoint.ts +203 -0
  621. package/src/utils/chunk.ts +7 -0
  622. package/src/utils/copy.ts +151 -0
  623. package/src/utils/date.ts +26 -0
  624. package/src/utils/debug.ts +110 -0
  625. package/src/utils/decodeAbiParameters.ts +428 -0
  626. package/src/utils/decodeEventLog.ts +100 -0
  627. package/src/utils/dedupe.ts +32 -0
  628. package/src/utils/duplicates.ts +19 -0
  629. package/src/utils/estimate.ts +27 -0
  630. package/src/utils/finality.ts +40 -0
  631. package/src/utils/format.ts +22 -0
  632. package/src/utils/generators.ts +157 -0
  633. package/src/utils/hash.ts +22 -0
  634. package/src/utils/interval.ts +212 -0
  635. package/src/utils/lowercase.ts +6 -0
  636. package/src/utils/mutex.ts +33 -0
  637. package/src/utils/never.ts +3 -0
  638. package/src/utils/offset.ts +133 -0
  639. package/src/utils/order.ts +16 -0
  640. package/src/utils/partition.ts +53 -0
  641. package/src/utils/pg.ts +197 -0
  642. package/src/utils/pglite.ts +97 -0
  643. package/src/utils/port.ts +34 -0
  644. package/src/utils/print.ts +31 -0
  645. package/src/utils/promiseAllSettledWithThrow.ts +27 -0
  646. package/src/utils/promiseWithResolvers.ts +20 -0
  647. package/src/utils/queue.ts +258 -0
  648. package/src/utils/range.ts +8 -0
  649. package/src/utils/result.ts +26 -0
  650. package/src/utils/sql-parse.ts +1477 -0
  651. package/src/utils/timer.ts +8 -0
  652. package/src/utils/truncate.ts +15 -0
  653. package/src/utils/wait.ts +8 -0
  654. package/src/utils/zipper.ts +80 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,3386 @@
1
+ # ponder
2
+
3
+ ## 0.15.17
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2231](https://github.com/ponder-sh/ponder/pull/2231) [`a5ffe23`](https://github.com/ponder-sh/ponder/commit/a5ffe23e3183f54bad7debe420a3b2616aae09e6) Thanks [@jaylmiller](https://github.com/jaylmiller)! - Fixed issue where executing the indexing files would hang indefinitely.
8
+
9
+ ## 0.15.16
10
+
11
+ ### Patch Changes
12
+
13
+ - [#2214](https://github.com/ponder-sh/ponder/pull/2214) [`1cc01d8`](https://github.com/ponder-sh/ponder/commit/1cc01d82d660543982f868a465a13ad8f1b0b7c3) Thanks [@yvesfracari](https://github.com/yvesfracari)! - Added support for alias column in `onchainView`.
14
+
15
+ ## 0.15.15
16
+
17
+ ### Patch Changes
18
+
19
+ - [#2217](https://github.com/ponder-sh/ponder/pull/2217) [`8f2e557`](https://github.com/ponder-sh/ponder/commit/8f2e557cd08d3573bd5b0cfcd1e813dc55f5f9a5) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug in JSON-RPC response validation logic that caused `RpcProviderError: Inconsistent RPC response data. The logs array contains two objects with 'logIndex' 0x39d (925)`.
20
+
21
+ ## 0.15.14
22
+
23
+ ### Patch Changes
24
+
25
+ - [#2212](https://github.com/ponder-sh/ponder/pull/2212) [`ef7b50b`](https://github.com/ponder-sh/ponder/commit/ef7b50be335fb0f2b4519a8dcbe1c130acc31dbd) Thanks [@typedarray](https://github.com/typedarray)! - Updated `vite`, `glob`, `graphql`, and `graphql-yoga` dependencies for security patches.
26
+
27
+ ## 0.15.13
28
+
29
+ ### Patch Changes
30
+
31
+ - [#2210](https://github.com/ponder-sh/ponder/pull/2210) [`6617af4`](https://github.com/ponder-sh/ponder/commit/6617af49a21ec27c5c96704fca50559a9f3cd289) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused Ponder to crash when `disable_cache: true`.
32
+
33
+ ## 0.15.12
34
+
35
+ ### Patch Changes
36
+
37
+ - [`c9d96fc`](https://github.com/ponder-sh/ponder/commit/c9d96fc8d4088cef26aac9d36d4e12f2e94ae2e0) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused factories to miss child addresses after updating the factory start block. Please note that this affects the rpc cache for apps with factories that have different start blocks than the corresponding contract or account. Affected apps will refetch block data automatically.
38
+
39
+ ## 0.15.11
40
+
41
+ ### Patch Changes
42
+
43
+ - [#2203](https://github.com/ponder-sh/ponder/pull/2203) [`da4e68c`](https://github.com/ponder-sh/ponder/commit/da4e68c917c9cc73f4b72b9842d1eed71df07b6c) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a regression introduced in `0.15.8` that caused `error: relation "live_query_tables" does not exist`.
44
+
45
+ ## 0.15.10
46
+
47
+ ### Patch Changes
48
+
49
+ - [#2200](https://github.com/ponder-sh/ponder/pull/2200) [`2f8d5c4`](https://github.com/ponder-sh/ponder/commit/2f8d5c43ce6316bef047c695f63c134da4e7657f) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a performance regression introduced in `0.15.0` related to `context.db` and `context.client` prediction.
50
+
51
+ ## 0.15.9
52
+
53
+ ### Patch Changes
54
+
55
+ - [#2198](https://github.com/ponder-sh/ponder/pull/2198) [`bc65ad3`](https://github.com/ponder-sh/ponder/commit/bc65ad3d53e1b9488e7f7405a42a27534dd44a21) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a regression introduced in `0.15.8`.
56
+
57
+ ## 0.15.8
58
+
59
+ ### Patch Changes
60
+
61
+ - [#2195](https://github.com/ponder-sh/ponder/pull/2195) [`cd0ac8b`](https://github.com/ponder-sh/ponder/commit/cd0ac8bdeb36439afce8156c360838ba1bcb0be8) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with live queries when `ordering: "experimental_isolated"`.
62
+
63
+ ## 0.15.7
64
+
65
+ ### Patch Changes
66
+
67
+ - [#2188](https://github.com/ponder-sh/ponder/pull/2188) [`fb4d4ea`](https://github.com/ponder-sh/ponder/commit/fb4d4ea1028c2c0cabc5bef42ac1e9f3ee51c0e2) Thanks [@kyscott18](https://github.com/kyscott18)! - Allowed for `factory.address` to be undefined. Factories with this config will collect child addresses from logs based only on the event selector.
68
+
69
+ ## 0.15.6
70
+
71
+ ## 0.15.5
72
+
73
+ ### Patch Changes
74
+
75
+ - [`2d1b0af`](https://github.com/ponder-sh/ponder/commit/2d1b0af849dcb3347239e86bb684f042cc9081f0) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved JSON-RPC response validation errors.
76
+
77
+ ## 0.15.4
78
+
79
+ ### Patch Changes
80
+
81
+ - [#2186](https://github.com/ponder-sh/ponder/pull/2186) [`87e369c`](https://github.com/ponder-sh/ponder/commit/87e369c19b422199818ae2c4dceacb0ae16e05e4) Thanks [@kyscott18](https://github.com/kyscott18)! - Reverted a regression introduced in `0.15.3`.
82
+
83
+ ## 0.15.3
84
+
85
+ ### Patch Changes
86
+
87
+ - [#2183](https://github.com/ponder-sh/ponder/pull/2183) [`79b613a`](https://github.com/ponder-sh/ponder/commit/79b613abf1409e5df809ad17d27a9dece572c6bf) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved JSON-RPC response validation errors.
88
+
89
+ - [#2184](https://github.com/ponder-sh/ponder/pull/2184) [`148f128`](https://github.com/ponder-sh/ponder/commit/148f12825173c64f70f44c0a006e53007ddc5764) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused an event to be processed more than once after a reorg when `ordering: "multichain"`.
90
+
91
+ - [#2184](https://github.com/ponder-sh/ponder/pull/2184) [`148f128`](https://github.com/ponder-sh/ponder/commit/148f12825173c64f70f44c0a006e53007ddc5764) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug where crash recovery with `ordering: "experimental_isolated"` caused a duplicate event.
92
+
93
+ - [#2184](https://github.com/ponder-sh/ponder/pull/2184) [`148f128`](https://github.com/ponder-sh/ponder/commit/148f12825173c64f70f44c0a006e53007ddc5764) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused `/status` to temporarily report the incorrect block when `ordering: "omnichain"`.
94
+
95
+ ## 0.15.2
96
+
97
+ ### Patch Changes
98
+
99
+ - [#2177](https://github.com/ponder-sh/ponder/pull/2177) [`264388c`](https://github.com/ponder-sh/ponder/commit/264388c49ba6dd59590b3aedb3315bd3f50ad51c) Thanks [@kyscott18](https://github.com/kyscott18)! - Introduced `ethGetLogsBlockRange` to chains config. [Read more](https://ponder.sh/docs/config/chains#eth_getlogs-block-range).
100
+
101
+ ## 0.15.1
102
+
103
+ ### Patch Changes
104
+
105
+ - Updated dependencies [[`ecd8bff`](https://github.com/ponder-sh/ponder/commit/ecd8bff9c42463be84a27cc64bcbb09eff8359c7)]:
106
+ - @ponder/utils@0.2.16
107
+
108
+ ## 0.15.0
109
+
110
+ ### Minor Changes
111
+
112
+ - [#2163](https://github.com/ponder-sh/ponder/pull/2163) [`1c9f89d`](https://github.com/ponder-sh/ponder/commit/1c9f89d30c61f89049019ad35d69ebb87ea64996) Thanks [@kyscott18](https://github.com/kyscott18)! - Released `0.15`. Visit the [migration guide](https://ponder.sh/docs/migration-guide#015) for details.
113
+
114
+ ### Patch Changes
115
+
116
+ - [#2163](https://github.com/ponder-sh/ponder/pull/2163) [`1c9f89d`](https://github.com/ponder-sh/ponder/commit/1c9f89d30c61f89049019ad35d69ebb87ea64996) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused HTTP requests to hang indefinitely, sometimes causing out of memory errors.
117
+
118
+ - [#2163](https://github.com/ponder-sh/ponder/pull/2163) [`1c9f89d`](https://github.com/ponder-sh/ponder/commit/1c9f89d30c61f89049019ad35d69ebb87ea64996) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused duplicate key constraint errors to not print correctly during backfill indexing.
119
+
120
+ - [#2163](https://github.com/ponder-sh/ponder/pull/2163) [`1c9f89d`](https://github.com/ponder-sh/ponder/commit/1c9f89d30c61f89049019ad35d69ebb87ea64996) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved memory usage while fetching backfill JSON-RPC data.
121
+
122
+ - [#2163](https://github.com/ponder-sh/ponder/pull/2163) [`1c9f89d`](https://github.com/ponder-sh/ponder/commit/1c9f89d30c61f89049019ad35d69ebb87ea64996) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused factories to miss child addresses after updating the factory start block. Please note that this affects the rpc cache for apps with factories that have different start blocks than the corresponding contract or account. Affected apps will refetch block data automatically.
123
+
124
+ ## 0.14.13
125
+
126
+ ### Patch Changes
127
+
128
+ - [#2171](https://github.com/ponder-sh/ponder/pull/2171) [`5d56c55`](https://github.com/ponder-sh/ponder/commit/5d56c557596d3f6e8a4839d39b84605b7a1c2527) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed `"Invalid RPC response: 'transaction.to' is a required property"` error.
129
+
130
+ ## 0.14.12
131
+
132
+ ### Patch Changes
133
+
134
+ - [#2166](https://github.com/ponder-sh/ponder/pull/2166) [`a5df940`](https://github.com/ponder-sh/ponder/commit/a5df9408fac583ac2eff07fc631a66859941f7da) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved database storage size for live indexing when `disableCache: true`.
135
+
136
+ ## 0.14.11
137
+
138
+ ### Patch Changes
139
+
140
+ - Updated dependencies [[`ac518fc`](https://github.com/ponder-sh/ponder/commit/ac518fc3ed32a7d41f7b6e625eb72d2a8b665f7b)]:
141
+ - @ponder/utils@0.2.15
142
+
143
+ ## 0.14.10
144
+
145
+ ### Patch Changes
146
+
147
+ - [#2160](https://github.com/ponder-sh/ponder/pull/2160) [`05824c2`](https://github.com/ponder-sh/ponder/commit/05824c2439ba28ff5cfced966de4b8599b3156a4) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a regression introduced in `0.14.0` that caused graphql `many` relations to return empty arrays.
148
+
149
+ ## 0.14.9
150
+
151
+ ### Patch Changes
152
+
153
+ - [#2156](https://github.com/ponder-sh/ponder/pull/2156) [`615c185`](https://github.com/ponder-sh/ponder/commit/615c185958b2799c0191972488cf7839d6102865) Thanks [@kyscott18](https://github.com/kyscott18)! - Improve JSON-RPC response validation. Fixed `error: value "4294967295" is out of range for type integer`.
154
+
155
+ ## 0.14.8
156
+
157
+ ### Patch Changes
158
+
159
+ - [#2154](https://github.com/ponder-sh/ponder/pull/2154) [`b45f0e1`](https://github.com/ponder-sh/ponder/commit/b45f0e1b76c35b8ee25d93553d4c1302f23c88a1) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed drizzle builder queries such as `db.$count` for `context.db` and `client.db`.
160
+
161
+ ## 0.14.7
162
+
163
+ ### Patch Changes
164
+
165
+ - [#2150](https://github.com/ponder-sh/ponder/pull/2150) [`9b24574`](https://github.com/ponder-sh/ponder/commit/9b245748e8b645e78df6e348e2a22935de131e15) Thanks [@kyscott18](https://github.com/kyscott18)! - Added retries for `BlockNotFoundError: Block at number [block] could not be found`.
166
+
167
+ ## 0.14.6
168
+
169
+ ### Patch Changes
170
+
171
+ - [#2146](https://github.com/ponder-sh/ponder/pull/2146) [`56f30c1`](https://github.com/ponder-sh/ponder/commit/56f30c1eea44cb09abeacdac91377f4d9c4497c8) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused apps with `startBlock: "latest"` to error with `Finalized block for chain [chain] cannot move backwards` on crash recovery.
172
+
173
+ - [#2148](https://github.com/ponder-sh/ponder/pull/2148) [`535036d`](https://github.com/ponder-sh/ponder/commit/535036d1252eaa681f02338aa77130def68e20c7) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved trace logs for "live" indexing.
174
+
175
+ ## 0.14.5
176
+
177
+ ### Patch Changes
178
+
179
+ - [#2143](https://github.com/ponder-sh/ponder/pull/2143) [`7a5f5bb`](https://github.com/ponder-sh/ponder/commit/7a5f5bb6002bf7fae64d01b16536b45734f851f6) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed RPC rate limit handling bug that caused some apps to appear frozen after a timeout or 429 response.
180
+
181
+ ## 0.14.4
182
+
183
+ ### Patch Changes
184
+
185
+ - [#2141](https://github.com/ponder-sh/ponder/pull/2141) [`ac89b60`](https://github.com/ponder-sh/ponder/commit/ac89b60306883bb9f5d27fe4e62b1a7f0bed307a) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a regression introduced in `0.14.2` that caused frontend frameworks to fail when bundling. Fixed the error `Reading from "node:crypto" is not handled by plugins`.
186
+
187
+ ## 0.14.3
188
+
189
+ ### Patch Changes
190
+
191
+ - [#2136](https://github.com/ponder-sh/ponder/pull/2136) [`c4eb1ba`](https://github.com/ponder-sh/ponder/commit/c4eb1ba8907549c3a1778fa71e830ba11f2cecfe) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed `RangeError: Maximum call stack size exceeded` for apps with many event sources and indexing functions.
192
+
193
+ ## 0.14.2
194
+
195
+ ### Patch Changes
196
+
197
+ - [`3b6901f`](https://github.com/ponder-sh/ponder/commit/3b6901fc0601a60a235382728447bf0c7e3a61ee) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed `ponder_realtime_latency` metric.
198
+
199
+ - [`3b6901f`](https://github.com/ponder-sh/ponder/commit/3b6901fc0601a60a235382728447bf0c7e3a61ee) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved performance of live indexing.
200
+
201
+ - [#2132](https://github.com/ponder-sh/ponder/pull/2132) [`2596650`](https://github.com/ponder-sh/ponder/commit/2596650ce8614264b200f184b0a150287c91e913) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with `@ponder/client` query parsing.
202
+
203
+ - [`3b6901f`](https://github.com/ponder-sh/ponder/commit/3b6901fc0601a60a235382728447bf0c7e3a61ee) Thanks [@kyscott18](https://github.com/kyscott18)! - Added query caching for `client` middleware.
204
+
205
+ - [#2130](https://github.com/ponder-sh/ponder/pull/2130) [`eadc8e0`](https://github.com/ponder-sh/ponder/commit/eadc8e055cb7bcadbb7fdbefb412d776bce73773) Thanks [@typedarray](https://github.com/typedarray)! - Reduced the number of "Unable to decode..." logs produced when event logs and traces match the provided selector but cannot be decoded by the provided ABI item.
206
+
207
+ ## 0.14.1
208
+
209
+ ### Patch Changes
210
+
211
+ - [#2118](https://github.com/ponder-sh/ponder/pull/2118) [`c7dd63d`](https://github.com/ponder-sh/ponder/commit/c7dd63d1cdcc8c4174ea7022fd16c9fea9457890) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with `event.transaction` that caused `TypeError: Cannot read properties of undefined (reading 'hash')`.
212
+
213
+ - [#2123](https://github.com/ponder-sh/ponder/pull/2123) [`33868d2`](https://github.com/ponder-sh/ponder/commit/33868d2a49894ccef0c233f12e137cb3eae118c0) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug introduced in `v0.14` that caused the warning `All JSON-RPC providers are inactive due to rate limiting`.
214
+
215
+ ## 0.14.0
216
+
217
+ ### Minor Changes
218
+
219
+ - [#2105](https://github.com/ponder-sh/ponder/pull/2105) [`ee254c5`](https://github.com/ponder-sh/ponder/commit/ee254c55a95bf231bd4ab88ee092471ee2d4c1e6) Thanks [@kyscott18](https://github.com/kyscott18)! - Released `0.14`. Visit the [migration guide](https://ponder.sh/docs/migration-guide#014) for details.
220
+
221
+ ### Patch Changes
222
+
223
+ - [#2105](https://github.com/ponder-sh/ponder/pull/2105) [`ee254c5`](https://github.com/ponder-sh/ponder/commit/ee254c55a95bf231bd4ab88ee092471ee2d4c1e6) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved backfill indexing performance.
224
+
225
+ - [#2105](https://github.com/ponder-sh/ponder/pull/2105) [`ee254c5`](https://github.com/ponder-sh/ponder/commit/ee254c55a95bf231bd4ab88ee092471ee2d4c1e6) Thanks [@kyscott18](https://github.com/kyscott18)! - Upgraded `@hono/node-server` to eliminate the "Failed to find Response internal state key" log on startup when using Node 24.
226
+
227
+ - [#2105](https://github.com/ponder-sh/ponder/pull/2105) [`ee254c5`](https://github.com/ponder-sh/ponder/commit/ee254c55a95bf231bd4ab88ee092471ee2d4c1e6) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved JSON-RPC rate limit and timeout handling.
228
+
229
+ ## 0.13.14
230
+
231
+ ### Patch Changes
232
+
233
+ - [#2110](https://github.com/ponder-sh/ponder/pull/2110) [`3683754`](https://github.com/ponder-sh/ponder/commit/3683754f37a14fe9a76e7816e3bdb9879747b2c1) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused `/status` to return incorrect blocks for `ordering: "omnichain"`.
234
+
235
+ ## 0.13.13
236
+
237
+ ### Patch Changes
238
+
239
+ - [#2101](https://github.com/ponder-sh/ponder/pull/2101) [`223c72e`](https://github.com/ponder-sh/ponder/commit/223c72e2d742ea9ee7ff17a0a50efe388353fb21) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a race condition that caused key constraint violations or other database errors when executing multiple indexing store queries at the same time.
240
+
241
+ ## 0.13.12
242
+
243
+ ### Patch Changes
244
+
245
+ - [#2098](https://github.com/ponder-sh/ponder/pull/2098) [`35f9716`](https://github.com/ponder-sh/ponder/commit/35f9716facdd922536bfdad30ce5907aa3650f67) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that would cause `event.block`, `event.transaction`, `event.transactionReceipt`, and `event.trace` to be an empty object when console logged.
246
+
247
+ ## 0.13.11
248
+
249
+ ### Patch Changes
250
+
251
+ - [#2097](https://github.com/ponder-sh/ponder/pull/2097) [`a493472`](https://github.com/ponder-sh/ponder/commit/a4934721c35c8044d6be492834f0696319685621) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused `TypeError: Reflect.get called on non-object`.
252
+
253
+ - [#2095](https://github.com/ponder-sh/ponder/pull/2095) [`478b668`](https://github.com/ponder-sh/ponder/commit/478b668355983bc0f8ba2fbdb572e0a6b0a04e54) Thanks [@kyscott18](https://github.com/kyscott18)! - Added validation for database indexes with the same name.
254
+
255
+ ## 0.13.10
256
+
257
+ ### Patch Changes
258
+
259
+ - Updated dependencies [[`9cdb708`](https://github.com/ponder-sh/ponder/commit/9cdb70825814cca82cb0a9b4e4d36a4701b74516)]:
260
+ - @ponder/utils@0.2.14
261
+
262
+ ## 0.13.9
263
+
264
+ ### Patch Changes
265
+
266
+ - [#2089](https://github.com/ponder-sh/ponder/pull/2089) [`b89918a`](https://github.com/ponder-sh/ponder/commit/b89918a4583c23c60ec511df49374805033fb5b5) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed event decoding for traces with undefined output. This bug caused many `Unable to decode trace, skipping it` logs.
267
+
268
+ ## 0.13.8
269
+
270
+ ### Patch Changes
271
+
272
+ - [#2073](https://github.com/ponder-sh/ponder/pull/2073) [`8a3bae0`](https://github.com/ponder-sh/ponder/commit/8a3bae03a3d8fb47f2590447361016eb5b59e54f) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved eventloop utilization.
273
+
274
+ - [#2081](https://github.com/ponder-sh/ponder/pull/2081) [`4752e4e`](https://github.com/ponder-sh/ponder/commit/4752e4ee48029e49d9401fb9dd919eaa8fca85ef) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug where Ponder wasn't correctly filtering out log events with missing topics.
275
+
276
+ - [#2068](https://github.com/ponder-sh/ponder/pull/2068) [`b89fbf8`](https://github.com/ponder-sh/ponder/commit/b89fbf8386910a17c7cfad44d1f1484016832d44) Thanks [@goums](https://github.com/goums)! - Improve historical backfill memory usage.
277
+
278
+ - [#2078](https://github.com/ponder-sh/ponder/pull/2078) [`add1171`](https://github.com/ponder-sh/ponder/commit/add1171f0ae05f481c3d684ee880cff882afcd0c) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed ordering of decoded arguments in `decodeEventLog`.
279
+
280
+ - [`3021a91`](https://github.com/ponder-sh/ponder/commit/3021a91887d0a1afdfc840ca8b8ff3862361303e) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved `client.db` reliability.
281
+
282
+ ## 0.13.7
283
+
284
+ ### Patch Changes
285
+
286
+ - [#2069](https://github.com/ponder-sh/ponder/pull/2069) [`e5b247e`](https://github.com/ponder-sh/ponder/commit/e5b247ee489e9bd8c463cadfd19832cd85bdabf2) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved accuracy of the historical sync rpc cache. Fixed an edge case that would cause many logs similar to `Synced 26 'arbitrum' blocks in range [100283003, 100283028]`.
287
+
288
+ ## 0.13.6
289
+
290
+ ### Patch Changes
291
+
292
+ - [#2066](https://github.com/ponder-sh/ponder/pull/2066) [`a2ca732`](https://github.com/ponder-sh/ponder/commit/a2ca732fbf36de4cab16622dc28ccfc1206378ba) Thanks [@typedarray](https://github.com/typedarray)! - Fixed an issue where the GraphiQL interface would fail to fetch the schema. This often happened when using a reverse proxy.
293
+
294
+ ## 0.13.5
295
+
296
+ ### Patch Changes
297
+
298
+ - [`54e56d2`](https://github.com/ponder-sh/ponder/commit/54e56d2f4ad24ef7e4e3b81882884e514b19bf60) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved realtime sync error handling.
299
+
300
+ ## 0.13.4
301
+
302
+ ### Patch Changes
303
+
304
+ - [#2062](https://github.com/ponder-sh/ponder/pull/2062) [`376ead4`](https://github.com/ponder-sh/ponder/commit/376ead4fbf94d69852efc765a1d9cbfeef32900c) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a regression introduced in `v0.13.1` that caused the terminal ui not to print.
305
+
306
+ ## 0.13.3
307
+
308
+ ### Patch Changes
309
+
310
+ - [#2051](https://github.com/ponder-sh/ponder/pull/2051) [`76b21a1`](https://github.com/ponder-sh/ponder/commit/76b21a103e1da659533c800effb3b1dfbc533d54) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved historical backfill performance for apps with many `context.client` requests.
311
+
312
+ ## 0.13.2
313
+
314
+ ### Patch Changes
315
+
316
+ - Updated dependencies [[`3176395`](https://github.com/ponder-sh/ponder/commit/3176395493a702b34e42ec5fe16895afb7cef8ae)]:
317
+ - @ponder/utils@0.2.13
318
+
319
+ ## 0.13.1
320
+
321
+ ### Patch Changes
322
+
323
+ - [#2049](https://github.com/ponder-sh/ponder/pull/2049) [`c136ec3`](https://github.com/ponder-sh/ponder/commit/c136ec310199630b1a7c779fdf330f026a6c1ab2) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug introduced in `v0.12.22` that would cause the error `Cannot use a pool after calling end on the pool` after a hot reload in the dev server.
324
+
325
+ ## 0.13.0
326
+
327
+ ### Minor Changes
328
+
329
+ - [#2021](https://github.com/ponder-sh/ponder/pull/2021) [`758a00b`](https://github.com/ponder-sh/ponder/commit/758a00b29cd4599ab9f0fd6bdd3e82639b279626) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Improved historical indexing performance by only populating `event` object with accessed properties.
330
+
331
+ ## 0.12.26
332
+
333
+ ### Patch Changes
334
+
335
+ - [#2045](https://github.com/ponder-sh/ponder/pull/2045) [`9a3a581`](https://github.com/ponder-sh/ponder/commit/9a3a58177f130d88b567088b9fa0959bf1d2b7b3) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved `/status` accuracy when `ordering: "omnichain"`.
336
+
337
+ ## 0.12.25
338
+
339
+ ### Patch Changes
340
+
341
+ - [#2043](https://github.com/ponder-sh/ponder/pull/2043) [`641e868`](https://github.com/ponder-sh/ponder/commit/641e8688458de09bfd405bd795c3a82f34ed790c) Thanks [@kyscott18](https://github.com/kyscott18)! - Added validation that `startBlock` and `endBlock` values are `number` types in `ponder.config.ts`.
342
+
343
+ ## 0.12.24
344
+
345
+ ### Patch Changes
346
+
347
+ - [#2040](https://github.com/ponder-sh/ponder/pull/2040) [`f926397`](https://github.com/ponder-sh/ponder/commit/f926397d6b13ea8c9623f4bcf41db77b0c5b0081) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed Hyperliquid EVM `context.client.multicall` requests causing the error `Chain "Wanchain Testnet" does not support contract "multicall3"`.
348
+
349
+ ## 0.12.23
350
+
351
+ ### Patch Changes
352
+
353
+ - [#2038](https://github.com/ponder-sh/ponder/pull/2038) [`3ce5922`](https://github.com/ponder-sh/ponder/commit/3ce5922029643b07710bce13ac57815002d15908) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that would cause an app with an empty `ponder.schema.ts` to crash with the error `syntax error at or near ")"`.
354
+
355
+ ## 0.12.22
356
+
357
+ ### Patch Changes
358
+
359
+ - [#2027](https://github.com/ponder-sh/ponder/pull/2027) [`8a2533d`](https://github.com/ponder-sh/ponder/commit/8a2533dcbdb4bc6f3f2984e93be666d1dc36a715) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved database connection reliability. Better support for `Pool error`.
360
+
361
+ ## 0.12.21
362
+
363
+ ### Patch Changes
364
+
365
+ - [#2006](https://github.com/ponder-sh/ponder/pull/2006) [`908b4b2`](https://github.com/ponder-sh/ponder/commit/908b4b2034174ff96900f98ad60141581fac9c49) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved websocket handling.
366
+
367
+ ## 0.12.20
368
+
369
+ ### Patch Changes
370
+
371
+ - [#2009](https://github.com/ponder-sh/ponder/pull/2009) [`78fe92e`](https://github.com/ponder-sh/ponder/commit/78fe92eff8e4f8af54e7c4224e5af3da168134f0) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved historical indexing performance.
372
+
373
+ ## 0.12.19
374
+
375
+ ### Patch Changes
376
+
377
+ - [#2016](https://github.com/ponder-sh/ponder/pull/2016) [`7372fd6`](https://github.com/ponder-sh/ponder/commit/7372fd6ac2d96298674b14fe369841cd14df54c3) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved `/status` accuracy when using `endBlock`.
378
+
379
+ ## 0.12.18
380
+
381
+ ### Patch Changes
382
+
383
+ - Updated dependencies [[`5de9cc0`](https://github.com/ponder-sh/ponder/commit/5de9cc0de28711b3e1d1e36a7ae60c83eb7fed39)]:
384
+ - @ponder/utils@0.2.12
385
+
386
+ ## 0.12.17
387
+
388
+ ### Patch Changes
389
+
390
+ - [#2007](https://github.com/ponder-sh/ponder/pull/2007) [`cfb5fb3`](https://github.com/ponder-sh/ponder/commit/cfb5fb303f29ddb13843000368f45fdf4a2937ec) Thanks [@kyscott18](https://github.com/kyscott18)! - Added several math functions to `@ponder/client` query allow list.
391
+
392
+ ## 0.12.16
393
+
394
+ ### Patch Changes
395
+
396
+ - [#2004](https://github.com/ponder-sh/ponder/pull/2004) [`769d8a0`](https://github.com/ponder-sh/ponder/commit/769d8a0f1a0eb91e69c48cdecef079038ac85441) Thanks [@kyscott18](https://github.com/kyscott18)! - Added support for validating `@ponder/client` queries with window defintions. Fixed the error `WindowDef not supported`.
397
+
398
+ ## 0.12.15
399
+
400
+ ### Patch Changes
401
+
402
+ - [#2001](https://github.com/ponder-sh/ponder/pull/2001) [`f432c8a`](https://github.com/ponder-sh/ponder/commit/f432c8a1524536a31cc7545bd7216fc8c50a4446) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved error logs when RPC responses are invalid.
403
+
404
+ ## 0.12.14
405
+
406
+ ### Patch Changes
407
+
408
+ - [#1997](https://github.com/ponder-sh/ponder/pull/1997) [`0839a2e`](https://github.com/ponder-sh/ponder/commit/0839a2edc66d58702611f2055fa677346161fcd7) Thanks [@kyscott18](https://github.com/kyscott18)! - Improve historical indexing performance with faster abi decoding.
409
+
410
+ ## 0.12.13
411
+
412
+ ### Patch Changes
413
+
414
+ - [#1998](https://github.com/ponder-sh/ponder/pull/1998) [`7aa3bb3`](https://github.com/ponder-sh/ponder/commit/7aa3bb303787a9fa40cbfcfd8b6aafee522e67dc) Thanks [@kyscott18](https://github.com/kyscott18)! - Remove rpc calls from `ponder serve` build step.
415
+
416
+ ## 0.12.12
417
+
418
+ ### Patch Changes
419
+
420
+ - [#1984](https://github.com/ponder-sh/ponder/pull/1984) [`09c7ccd`](https://github.com/ponder-sh/ponder/commit/09c7ccde1615a33fb78f56a7ab25ed3af35520fb) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved `db.sql` performance.
421
+
422
+ - [#1990](https://github.com/ponder-sh/ponder/pull/1990) [`77eea0d`](https://github.com/ponder-sh/ponder/commit/77eea0d168a429fbde253578d9c8ea520525e21d) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused apps using pglite to deadlock.
423
+
424
+ ## 0.12.11
425
+
426
+ ### Patch Changes
427
+
428
+ - [`b5d73c8`](https://github.com/ponder-sh/ponder/commit/b5d73c8a3502d2dab901b79a7981b432bf0bfd6e) Thanks [@kyscott18](https://github.com/kyscott18)! - Improve historical indexing performance for tables with string-concatenated primary keys.
429
+
430
+ ## 0.12.10
431
+
432
+ ### Patch Changes
433
+
434
+ - [`a426e07`](https://github.com/ponder-sh/ponder/commit/a426e072a5ae44288dade27b7492d0065c59504e) Thanks [@typedarray](https://github.com/typedarray)! - Release avoid `0.11` patch holding `latest` tag on NPM.
435
+
436
+ ## 0.12.9
437
+
438
+ ### Patch Changes
439
+
440
+ - [#1981](https://github.com/ponder-sh/ponder/pull/1981) [`54ae1d5`](https://github.com/ponder-sh/ponder/commit/54ae1d50f64440d280cd9e84914d6609f50d3a7c) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug causing the error `TypeError: qb.wrap is not a function`.
441
+
442
+ ## 0.12.8
443
+
444
+ ### Patch Changes
445
+
446
+ - Updated dependencies [[`5e6f338`](https://github.com/ponder-sh/ponder/commit/5e6f3380a6a78b800dd4c31dd3e3ddc6cc772eab)]:
447
+ - @ponder/utils@0.2.11
448
+
449
+ ## 0.12.7
450
+
451
+ ### Patch Changes
452
+
453
+ - [#1976](https://github.com/ponder-sh/ponder/pull/1976) [`b501a13`](https://github.com/ponder-sh/ponder/commit/b501a134454ef8fabc4850fb45aa08ef8e3809d3) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved `ponder serve` support for readonly roles.
454
+
455
+ ## 0.12.6
456
+
457
+ ### Patch Changes
458
+
459
+ - [#1968](https://github.com/ponder-sh/ponder/pull/1968) [`ba9f480`](https://github.com/ponder-sh/ponder/commit/ba9f48048e5fe79025acca250516e73f13f14e0e) Thanks [@kyscott18](https://github.com/kyscott18)! - Improve accuracy of historical backfill to live indexing cutover.
460
+
461
+ ## 0.12.5
462
+
463
+ ### Patch Changes
464
+
465
+ - [#1963](https://github.com/ponder-sh/ponder/pull/1963) [`8583084`](https://github.com/ponder-sh/ponder/commit/85830844776ab0ecab49a75641d6347fddb35096) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved historical indexing cache performance.
466
+
467
+ ## 0.12.4
468
+
469
+ ### Patch Changes
470
+
471
+ - [#1964](https://github.com/ponder-sh/ponder/pull/1964) [`2e9ed4c`](https://github.com/ponder-sh/ponder/commit/2e9ed4c151f5d4db1861b69fdbba5b028dbc5da3) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved reorg handling performance.
472
+
473
+ - [#1965](https://github.com/ponder-sh/ponder/pull/1965) [`4d23811`](https://github.com/ponder-sh/ponder/commit/4d238116c9749ee75a3b4d9f108064b7f5898460) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug causing extra `context.client` rpc requests to be made when `cache: "immutable"`.
474
+
475
+ ## 0.12.3
476
+
477
+ ### Patch Changes
478
+
479
+ - [#1960](https://github.com/ponder-sh/ponder/pull/1960) [`12bffed`](https://github.com/ponder-sh/ponder/commit/12bffed50200bb6ceb8c280c8cfe3dc9be6d74fd) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a memory leak introduce in `v0.12.1`.
480
+
481
+ ## 0.12.2
482
+
483
+ ### Patch Changes
484
+
485
+ - [#1958](https://github.com/ponder-sh/ponder/pull/1958) [`dca52ed`](https://github.com/ponder-sh/ponder/commit/dca52edec6601296590d5798560203ee321f1652) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an bug where empty rpc urls would cause `BuildError: Invalid URL`.
486
+
487
+ ## 0.12.1
488
+
489
+ ### Patch Changes
490
+
491
+ - [#1949](https://github.com/ponder-sh/ponder/pull/1949) [`922bac3`](https://github.com/ponder-sh/ponder/commit/922bac364912aa3a268fd07c6e57e3efcffeea43) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Fixed a bug with crash recovery causing missing or duplicate events.
492
+
493
+ ## 0.12.0
494
+
495
+ ### Minor Changes
496
+
497
+ - [#1928](https://github.com/ponder-sh/ponder/pull/1928) [`88b6e37`](https://github.com/ponder-sh/ponder/commit/88b6e3751c9b71aa3ff2cd5622f9e9381e18a093) Thanks [@kyscott18](https://github.com/kyscott18)! - Released `0.12`. Visit the [migration guide](https://ponder.sh/docs/migration-guide#012) for details.
498
+
499
+ ### Patch Changes
500
+
501
+ - [#1928](https://github.com/ponder-sh/ponder/pull/1928) [`88b6e37`](https://github.com/ponder-sh/ponder/commit/88b6e3751c9b71aa3ff2cd5622f9e9381e18a093) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved database error handling.
502
+
503
+ ## 0.11.43
504
+
505
+ ### Patch Changes
506
+
507
+ - Updated dependencies [[`f1df991`](https://github.com/ponder-sh/ponder/commit/f1df991ca83d934568289fc6c117c650d60066ad)]:
508
+ - @ponder/utils@0.2.10
509
+
510
+ ## 0.11.42
511
+
512
+ ### Patch Changes
513
+
514
+ - [#1933](https://github.com/ponder-sh/ponder/pull/1933) [`c7452b6`](https://github.com/ponder-sh/ponder/commit/c7452b6c9f8f7109d9056969b1f7017434ecfb17) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a regression in `context.client` types introduced in `v0.11.36`.
515
+
516
+ ## 0.11.41
517
+
518
+ ### Patch Changes
519
+
520
+ - [`2b26106`](https://github.com/ponder-sh/ponder/commit/2b261068233b9652408557b53183d65a9a134062) Thanks [@typedarray](https://github.com/typedarray)! - Improved reliability for WebSocket RPC requests.
521
+
522
+ ## 0.11.40
523
+
524
+ ### Patch Changes
525
+
526
+ - [#1924](https://github.com/ponder-sh/ponder/pull/1924) [`e5c2b2f`](https://github.com/ponder-sh/ponder/commit/e5c2b2f8c224e228afd829f1aa915f9225d690f7) Thanks [@typedarray](https://github.com/typedarray)! - Added a new metric `ponder_sync_block_timestamp`.
527
+
528
+ - [#1923](https://github.com/ponder-sh/ponder/pull/1923) [`7194a47`](https://github.com/ponder-sh/ponder/commit/7194a47595631c9443740d858c8815f4cdc7a46b) Thanks [@kyscott18](https://github.com/kyscott18)! - Removed RPC and database config from `buildId` calculation.
529
+
530
+ ## 0.11.39
531
+
532
+ ### Patch Changes
533
+
534
+ - [#1920](https://github.com/ponder-sh/ponder/pull/1920) [`93cc69f`](https://github.com/ponder-sh/ponder/commit/93cc69f953e5604a52f7a373363f4105ba00b91d) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug causing `error: ON CONFLICT DO UPDATE command cannot affect row a second time`.
535
+
536
+ ## 0.11.38
537
+
538
+ ### Patch Changes
539
+
540
+ - [#1915](https://github.com/ponder-sh/ponder/pull/1915) [`f16cb9f`](https://github.com/ponder-sh/ponder/commit/f16cb9f51cae63405102fffff88eb0f3e1386b5f) Thanks [@kyscott18](https://github.com/kyscott18)! - Updated `getStatus()` in `@ponder/client` to use the `/status` path with a "GET" request.
541
+
542
+ ## 0.11.37
543
+
544
+ ### Patch Changes
545
+
546
+ - [#1895](https://github.com/ponder-sh/ponder/pull/1895) [`7b58d8c`](https://github.com/ponder-sh/ponder/commit/7b58d8c68429858619919c3ee6792d99a76da212) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Introduced a feature of specifying struct fields as a factory parameter.
547
+
548
+ ## 0.11.36
549
+
550
+ ### Patch Changes
551
+
552
+ - [#1911](https://github.com/ponder-sh/ponder/pull/1911) [`3296389`](https://github.com/ponder-sh/ponder/commit/32963898a7ff6204bb1327f330fd624baaed181c) Thanks [@kyscott18](https://github.com/kyscott18)! - Added `retryEmptyResponse` option to `context.client.readContract()`, `context.client.simulateContract()`, `context.client.multicall()`, `context.client.getBlock()`, `context.client.getTransaction()`, `context.client.getTransactionReceipt()`, and `context.client.getTransactionConfirmations()`.
553
+
554
+ This option specifies whether to retry the action if the response is empty. Default to `true`.
555
+
556
+ ## 0.11.35
557
+
558
+ ### Patch Changes
559
+
560
+ - [#1898](https://github.com/ponder-sh/ponder/pull/1898) [`253faa9`](https://github.com/ponder-sh/ponder/commit/253faa9bf5a54a6583f71f46f58da4013b653f21) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a regression introduced in `v0.11.33` where creating views would cause the error: `cannot change data type of view column "chain_id" from integer to bigint`.
561
+
562
+ - [#1902](https://github.com/ponder-sh/ponder/pull/1902) [`a48fcca`](https://github.com/ponder-sh/ponder/commit/a48fcca58d129125e4b7a8067a9db21d461e1ff6) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved logging and retry behavior for `context.client` errors.
563
+
564
+ ## 0.11.34
565
+
566
+ ### Patch Changes
567
+
568
+ - [#1893](https://github.com/ponder-sh/ponder/pull/1893) [`db745eb`](https://github.com/ponder-sh/ponder/commit/db745ebfbb31cb37b11a324f505fa2d745d5cf27) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved retry behavior for `context.client.getBlock()`, `context.client.getTransaction()`, `context.client.getTransactionReceipt()`, and `context.client.getTransactionConfirmations()`. Now, the error `BlockNotFoundError: Block at number "[number]" could not be found` will be retried properly. This solves a common issue where RPCs return empty data for near-tip blocks.
569
+
570
+ To remove incorrect cached rpc respones, run the SQL statement: `DELETE FROM ponder_sync.rpc_request_results WHERE result = 'null'`;
571
+
572
+ ## 0.11.33
573
+
574
+ ### Patch Changes
575
+
576
+ - [#1894](https://github.com/ponder-sh/ponder/pull/1894) [`52db251`](https://github.com/ponder-sh/ponder/commit/52db2516a7de4e56f3c635d7461d04dc4aae0ae1) Thanks [@kyscott18](https://github.com/kyscott18)! - Added support for chain IDs between 2147483647 (Postgres max integer) and 9007199254740991 (JavaScript Number.MAX_SAFE_INTEGER).
577
+
578
+ ## 0.11.32
579
+
580
+ ### Patch Changes
581
+
582
+ - [#1891](https://github.com/ponder-sh/ponder/pull/1891) [`c5340ca`](https://github.com/ponder-sh/ponder/commit/c5340ca938214472b6f12b57808c2ec813062469) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug in `v0.11.31` breaking backwards compatibility with crash recovery.
583
+
584
+ ## 0.11.31
585
+
586
+ ### Patch Changes
587
+
588
+ - [#1880](https://github.com/ponder-sh/ponder/pull/1880) [`291249a`](https://github.com/ponder-sh/ponder/commit/291249a4eda361a2f9e36cd840b0d1c073a76e9c) Thanks [@normanzb](https://github.com/normanzb)! - Fixed a bug with date column encoding for GraphQL. This bug would cause the error: `value.toISOString is not a function`.
589
+
590
+ ## 0.11.30
591
+
592
+ ## 0.11.29
593
+
594
+ ### Patch Changes
595
+
596
+ - [#1887](https://github.com/ponder-sh/ponder/pull/1887) [`8bfaa4e`](https://github.com/ponder-sh/ponder/commit/8bfaa4eadf89680b36f23650c59c4ff84794ef73) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an issue introduced in `v0.11.28` causing the error: `error: relation "operation_id_seq" does not exist`.
597
+
598
+ ## 0.11.28
599
+
600
+ ### Patch Changes
601
+
602
+ - [#1881](https://github.com/ponder-sh/ponder/pull/1881) [`74ea4e1`](https://github.com/ponder-sh/ponder/commit/74ea4e1cf083301bae13c46e8ddcdba81f597e42) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Fixed a bug with reorg reconcilation when `ordering: "multichain"` causing missed or duplicate events.
603
+
604
+ - [#1885](https://github.com/ponder-sh/ponder/pull/1885) [`816ecbf`](https://github.com/ponder-sh/ponder/commit/816ecbff602fe858ca6d5e4a977fa10c0767257b) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Improve eta prediction on the ui.
605
+
606
+ ## 0.11.27
607
+
608
+ ### Patch Changes
609
+
610
+ - Updated dependencies [[`9d9c4b9`](https://github.com/ponder-sh/ponder/commit/9d9c4b9ca8516388874a246d7b9d179ab0fd861f)]:
611
+ - @ponder/utils@0.2.9
612
+
613
+ ## 0.11.26
614
+
615
+ ### Patch Changes
616
+
617
+ - [#1868](https://github.com/ponder-sh/ponder/pull/1868) [`6d9bcb7`](https://github.com/ponder-sh/ponder/commit/6d9bcb7ce0f9f872ae937c99305589b7c24db248) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Introduced factoryId which is used for child addresses tracking
618
+
619
+ ## 0.11.25
620
+
621
+ ### Patch Changes
622
+
623
+ - [#1872](https://github.com/ponder-sh/ponder/pull/1872) [`9e5b516`](https://github.com/ponder-sh/ponder/commit/9e5b51685c5ee84ca157f3d44239b3fd4d861d89) Thanks [@typedarray](https://github.com/typedarray)! - Fixed a bug that caused duplicate events after crash recovery for apps with high event density.
624
+
625
+ ## 0.11.24
626
+
627
+ ### Patch Changes
628
+
629
+ - [#1866](https://github.com/ponder-sh/ponder/pull/1866) [`d8b921b`](https://github.com/ponder-sh/ponder/commit/d8b921b52e37d385bec22349c39123fafd3da1b8) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that could cause duplicate events after a crash recovery.
630
+
631
+ - [#1847](https://github.com/ponder-sh/ponder/pull/1847) [`bfe09c8`](https://github.com/ponder-sh/ponder/commit/bfe09c847a7b1602b4eb91e4c434980b8171f38d) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Improved performance for apps with large factories.
632
+
633
+ - [#1863](https://github.com/ponder-sh/ponder/pull/1863) [`00f84eb`](https://github.com/ponder-sh/ponder/commit/00f84eb2eb91ea4e28bb960a9c54eb2f1dc98c3b) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Fixes the bug that would deadlock getting block data from db for event-intensive apps due to the faulty pagination.
634
+
635
+ - [#1861](https://github.com/ponder-sh/ponder/pull/1861) [`78736be`](https://github.com/ponder-sh/ponder/commit/78736be573c6feae1a0514165230ea379a0fd0a8) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved rpc error logging.
636
+
637
+ ## 0.11.23
638
+
639
+ ### Patch Changes
640
+
641
+ - [#1856](https://github.com/ponder-sh/ponder/pull/1856) [`293a03e`](https://github.com/ponder-sh/ponder/commit/293a03e5e52e3f306110df7b258cac5512fe6916) Thanks [@valamidev](https://github.com/valamidev)! - A bug fix for zero logsBloom and empty logs cross validation
642
+
643
+ ## 0.11.22
644
+
645
+ ### Patch Changes
646
+
647
+ - [#1857](https://github.com/ponder-sh/ponder/pull/1857) [`7c266b8`](https://github.com/ponder-sh/ponder/commit/7c266b8183c009e325616a8210c2c9a557ce50b7) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug introduced in `v0.11.21` that caused some apps to freeze when syncing.
648
+
649
+ ## 0.11.21
650
+
651
+ ### Patch Changes
652
+
653
+ - [#1851](https://github.com/ponder-sh/ponder/pull/1851) [`fd596bf`](https://github.com/ponder-sh/ponder/commit/fd596bfc4f6a3725509e3504041fffde26357cd8) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with historical to realtime handoff causing out of memory error for large apps.
654
+
655
+ - [#1794](https://github.com/ponder-sh/ponder/pull/1794) [`f379a29`](https://github.com/ponder-sh/ponder/commit/f379a297b5af99638b27e86534dd241acca04ee2) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved database error handling.
656
+
657
+ ## 0.11.20
658
+
659
+ ### Patch Changes
660
+
661
+ - [#1848](https://github.com/ponder-sh/ponder/pull/1848) [`d3bf6b5`](https://github.com/ponder-sh/ponder/commit/d3bf6b516953d40a62abfdc8d28cc5bbfae8bbf8) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with websockets that caused the error `TypeError: Cannot convert undefined to a BigInt`.
662
+
663
+ ## 0.11.19
664
+
665
+ ### Patch Changes
666
+
667
+ - [#1839](https://github.com/ponder-sh/ponder/pull/1839) [`76b3a3e`](https://github.com/ponder-sh/ponder/commit/76b3a3e34e3e8c40952be50d62883f5210b01a0e) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug impacting live queries for `@ponder/client` and `@ponder/react` introduced in `v0.11.0`.
668
+
669
+ ## 0.11.18
670
+
671
+ ### Patch Changes
672
+
673
+ - [#1835](https://github.com/ponder-sh/ponder/pull/1835) [`3fe67e9`](https://github.com/ponder-sh/ponder/commit/3fe67e92ef913e996d06d5a9b13a01ca6b5438f1) Thanks [@typedarray](https://github.com/typedarray)! - Improved validation error message for duplicate contract, acccount, or block interval names.
674
+
675
+ ## 0.11.17
676
+
677
+ ### Patch Changes
678
+
679
+ - [#1825](https://github.com/ponder-sh/ponder/pull/1825) [`d5b053e`](https://github.com/ponder-sh/ponder/commit/d5b053e0c397e76757c7a4f495168922a90266db) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed several indexing bugs when inserting data.
680
+
681
+ ## 0.11.16
682
+
683
+ ### Patch Changes
684
+
685
+ - [#1801](https://github.com/ponder-sh/ponder/pull/1801) [`6793e78`](https://github.com/ponder-sh/ponder/commit/6793e78f6b7a102a0f612967b66e12b18232cbe9) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Introduced webSocket support as part of real-time indexing.
686
+
687
+ ## 0.11.15
688
+
689
+ ### Patch Changes
690
+
691
+ - [#1822](https://github.com/ponder-sh/ponder/pull/1822) [`33e38ea`](https://github.com/ponder-sh/ponder/commit/33e38ea989f4243d336e8a960e3279cc43547ff3) Thanks [@kyscott18](https://github.com/kyscott18)! - Improve historical backfill performance.
692
+
693
+ - [#1820](https://github.com/ponder-sh/ponder/pull/1820) [`87377f8`](https://github.com/ponder-sh/ponder/commit/87377f8b11e2a190d459658350fe46965d121a6a) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed progress estimation metrics after crash recovery.
694
+
695
+ - [#1819](https://github.com/ponder-sh/ponder/pull/1819) [`4d4d523`](https://github.com/ponder-sh/ponder/commit/4d4d52304c352f20c53976c69765200a90446a44) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with the \_ponder_checkpoint table being updated incorrectly after the historical backfill is complete.
696
+
697
+ ## 0.11.14
698
+
699
+ ### Patch Changes
700
+
701
+ - [#1817](https://github.com/ponder-sh/ponder/pull/1817) [`a48fcd9`](https://github.com/ponder-sh/ponder/commit/a48fcd9ce11c30a8068b36925ffb8f8519ac85be) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Improved crash recovery performance by retrieving crash recovery checkpoint via db introspection.
702
+
703
+ ## 0.11.13
704
+
705
+ ### Patch Changes
706
+
707
+ - [#1813](https://github.com/ponder-sh/ponder/pull/1813) [`695e429`](https://github.com/ponder-sh/ponder/commit/695e42935cdd18b3d70424e0b74e79bbeec47983) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed bug with `ponder db create-views` introduced in `v0.11.3` causing errors similar to ` syntax error at or near ""[table_name]""`.
708
+
709
+ ## 0.11.12
710
+
711
+ ### Patch Changes
712
+
713
+ - [#1790](https://github.com/ponder-sh/ponder/pull/1790) [`8b79de7`](https://github.com/ponder-sh/ponder/commit/8b79de7d9f86f3dd7556d3ba0c7ae2944c07128b) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Added dynamic rpc load balancing and rate limiting. Deprecated `maxRequestsPerSecond`.
714
+
715
+ - [`cd73809`](https://github.com/ponder-sh/ponder/commit/cd738099818d186c72b13cd8d5fc5d64016b0600) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved `db.sql` performance.
716
+
717
+ - [#1779](https://github.com/ponder-sh/ponder/pull/1779) [`a0ff140`](https://github.com/ponder-sh/ponder/commit/a0ff140b4f5ecccad740b63b69c096b0cb447a66) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved RPC response validation.
718
+
719
+ - [#1807](https://github.com/ponder-sh/ponder/pull/1807) [`4062ef9`](https://github.com/ponder-sh/ponder/commit/4062ef950ad710fe8704885bcc956c132464b713) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Improved abi decoding performance.
720
+
721
+ - [#1810](https://github.com/ponder-sh/ponder/pull/1810) [`45d8a5c`](https://github.com/ponder-sh/ponder/commit/45d8a5c02754fe8050fe6a778bc0b1f34032870f) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed issue with `ponder db prune` command causing errors similar to `syntax error at or near "-" at character 28`.
722
+
723
+ - [#1790](https://github.com/ponder-sh/ponder/pull/1790) [`af1ef11`](https://github.com/ponder-sh/ponder/commit/af1ef118b72d96ceac7f5ba36c39ceb008f355aa) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Added 'ponder_rpc_request_error_total' prometheus metric to track total count of failed requests per chain per method.
724
+
725
+ ## 0.11.11
726
+
727
+ ### Patch Changes
728
+
729
+ - [#1795](https://github.com/ponder-sh/ponder/pull/1795) [`dadf613`](https://github.com/ponder-sh/ponder/commit/dadf613d100c313dfe3a273a3731819aea30a912) Thanks [@kyscott18](https://github.com/kyscott18)! - Improve address checksum performance.
730
+
731
+ - [#1799](https://github.com/ponder-sh/ponder/pull/1799) [`8c15cc9`](https://github.com/ponder-sh/ponder/commit/8c15cc97f6b1b1950157ad993a78f379d0e090e1) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved type inference issues, specifically for apps exporting type declarations.
732
+
733
+ ## 0.11.10
734
+
735
+ ### Patch Changes
736
+
737
+ - Updated dependencies [[`58cb1c5`](https://github.com/ponder-sh/ponder/commit/58cb1c5ab6c867bbf8e86b28cb8848607282166b)]:
738
+ - @ponder/utils@0.2.8
739
+
740
+ ## 0.11.9
741
+
742
+ ### Patch Changes
743
+
744
+ - [#1791](https://github.com/ponder-sh/ponder/pull/1791) [`db7f3af`](https://github.com/ponder-sh/ponder/commit/db7f3af8ebeeadcfd96ad40f411cd1e8561b497b) Thanks [@kyscott18](https://github.com/kyscott18)! - Added validations against updating primary key columns in `db.update().set()` and `db.insert().values().onConflictDoNothing()`.
745
+
746
+ - [#1789](https://github.com/ponder-sh/ponder/pull/1789) [`621fed0`](https://github.com/ponder-sh/ponder/commit/621fed0856ee239d5ce3cadea71fd1a255fc3324) Thanks [@typedarray](https://github.com/typedarray)! - Moved 0.10 migration logs to debug level.
747
+
748
+ - [#1787](https://github.com/ponder-sh/ponder/pull/1787) [`1d3b5b8`](https://github.com/ponder-sh/ponder/commit/1d3b5b856f77fdd93f12a744790b1e9358c454f5) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug introduced in `v0.9.21` that caused the dev ui to leave out some data.
749
+
750
+ ## 0.11.8
751
+
752
+ ### Patch Changes
753
+
754
+ - [#1785](https://github.com/ponder-sh/ponder/pull/1785) [`acee346`](https://github.com/ponder-sh/ponder/commit/acee34601710394e0e2094e35c9c0a4757042c2f) Thanks [@typedarray](https://github.com/typedarray)! - Improved validation error message for common 0.11 migration mistake.
755
+
756
+ ## 0.11.7
757
+
758
+ ### Patch Changes
759
+
760
+ - [#1762](https://github.com/ponder-sh/ponder/pull/1762) [`9072b07`](https://github.com/ponder-sh/ponder/commit/9072b0733c0216d3e8e9b9fd1649aece85f7efb3) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed several bugs that caused events to be missed.
761
+
762
+ - [#1629](https://github.com/ponder-sh/ponder/pull/1629) [`074a138`](https://github.com/ponder-sh/ponder/commit/074a13829091f286e951a1f88bb2cfb33120fcea) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Introduced the feature of specifying factory block range independent from source block range.
763
+
764
+ - [#1762](https://github.com/ponder-sh/ponder/pull/1762) [`9072b07`](https://github.com/ponder-sh/ponder/commit/9072b0733c0216d3e8e9b9fd1649aece85f7efb3) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused `[account]:transaction:to` indexing functions to process extra events.
765
+
766
+ - [#1762](https://github.com/ponder-sh/ponder/pull/1762) [`9072b07`](https://github.com/ponder-sh/ponder/commit/9072b0733c0216d3e8e9b9fd1649aece85f7efb3) Thanks [@kyscott18](https://github.com/kyscott18)! - Added `ponder_realtime_block_arrival_latency` metric.
767
+
768
+ - [#1762](https://github.com/ponder-sh/ponder/pull/1762) [`9072b07`](https://github.com/ponder-sh/ponder/commit/9072b0733c0216d3e8e9b9fd1649aece85f7efb3) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with `ponder_realtime_latency` overreporting with `omnichain` ordering.
769
+
770
+ ## 0.11.6
771
+
772
+ ### Patch Changes
773
+
774
+ - [#1763](https://github.com/ponder-sh/ponder/pull/1763) [`16736b2`](https://github.com/ponder-sh/ponder/commit/16736b2ce30498f3bea9abdcbab66b6216cc3925) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an event ordering bug for deep reorg retries.
775
+
776
+ - [#1774](https://github.com/ponder-sh/ponder/pull/1774) [`a069bd8`](https://github.com/ponder-sh/ponder/commit/a069bd8d984a8958df81c6d0249423d91483fda0) Thanks [@scottrepreneur](https://github.com/scottrepreneur)! - Fixed broken docs links.
777
+
778
+ ## 0.11.5
779
+
780
+ ### Patch Changes
781
+
782
+ - [#1767](https://github.com/ponder-sh/ponder/pull/1767) [`6b78535`](https://github.com/ponder-sh/ponder/commit/6b785356df1d38b1a94e580966fd78b625fe3929) Thanks [@kyscott18](https://github.com/kyscott18)! - Added "debug\_" rpc method support to the `context.client` cache.
783
+
784
+ ## 0.11.4
785
+
786
+ ### Patch Changes
787
+
788
+ - [#1765](https://github.com/ponder-sh/ponder/pull/1765) [`a039e7be46c80a4a5ecad927b6c808a94e56b1d8`](https://github.com/ponder-sh/ponder/commit/a039e7be46c80a4a5ecad927b6c808a94e56b1d8) Thanks [@kyscott18](https://github.com/kyscott18)! - Exported more types to fix error in `ponder.schema.ts`: `error TS2742: The inferred type of '[table]' cannot be named without a reference`.
789
+
790
+ ## 0.11.3
791
+
792
+ ### Patch Changes
793
+
794
+ - [#1755](https://github.com/ponder-sh/ponder/pull/1755) [`5cb9130cc62870e440ce393b49b749c1ae838e54`](https://github.com/ponder-sh/ponder/commit/5cb9130cc62870e440ce393b49b749c1ae838e54) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug causing views with enums to error with `error: cannot change data type of view column`.
795
+
796
+ ## 0.11.2
797
+
798
+ ### Patch Changes
799
+
800
+ - [#1751](https://github.com/ponder-sh/ponder/pull/1751) [`5c0283884e860fd6b016c6ff8b5c39d7249ef48b`](https://github.com/ponder-sh/ponder/commit/5c0283884e860fd6b016c6ff8b5c39d7249ef48b) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug introduced in `v0.10.25` that caused one -> many relations to break in graphql.
801
+
802
+ ## 0.11.1
803
+
804
+ ### Patch Changes
805
+
806
+ - Updated dependencies [[`5507be933867f74b16db6e842897b6545f2e7567`](https://github.com/ponder-sh/ponder/commit/5507be933867f74b16db6e842897b6545f2e7567)]:
807
+ - @ponder/utils@0.2.7
808
+
809
+ ## 0.11.0
810
+
811
+ ### Minor Changes
812
+
813
+ - [#1736](https://github.com/ponder-sh/ponder/pull/1736) [`8c012a3168af5a6f28d166279082a9fc0a672d8e`](https://github.com/ponder-sh/ponder/commit/8c012a3168af5a6f28d166279082a9fc0a672d8e) Thanks [@kyscott18](https://github.com/kyscott18)! - Released `0.11`. Visit the [migration guide](https://ponder.sh/docs/migration-guide#011) for details.
814
+
815
+ ## 0.10.27
816
+
817
+ ### Patch Changes
818
+
819
+ - [#1737](https://github.com/ponder-sh/ponder/pull/1737) [`7db4e4b848db4cd5f09dff6a24ec9a5b6a978b29`](https://github.com/ponder-sh/ponder/commit/7db4e4b848db4cd5f09dff6a24ec9a5b6a978b29) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug causing duplicate events after the warning "Encountered unrecoverable '[chain]' reorg".
820
+
821
+ ## 0.10.26
822
+
823
+ ### Patch Changes
824
+
825
+ - [#1721](https://github.com/ponder-sh/ponder/pull/1721) [`149872c4b4d1b62e0f0caf441db305761d1ba171`](https://github.com/ponder-sh/ponder/commit/149872c4b4d1b62e0f0caf441db305761d1ba171) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved log for lagging networks.
826
+
827
+ ## 0.10.25
828
+
829
+ ### Patch Changes
830
+
831
+ - [#1725](https://github.com/ponder-sh/ponder/pull/1725) [`f8cb9634a67bd75098f86fc57585c400b8dd70e8`](https://github.com/ponder-sh/ponder/commit/f8cb9634a67bd75098f86fc57585c400b8dd70e8) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed graphql resolver for `many` relations.
832
+
833
+ ## 0.10.24
834
+
835
+ ### Patch Changes
836
+
837
+ - [#1719](https://github.com/ponder-sh/ponder/pull/1719) [`69ce57fb1987a6bc5e960feae38ebcc81064964e`](https://github.com/ponder-sh/ponder/commit/69ce57fb1987a6bc5e960feae38ebcc81064964e) Thanks [@kyscott18](https://github.com/kyscott18)! - Added more rpc response validation. Fixed inconsistent logs and transactions for some degraded rpc providers leading `event.transaction` being undefined.
838
+
839
+ ## 0.10.23
840
+
841
+ ### Patch Changes
842
+
843
+ - [#1716](https://github.com/ponder-sh/ponder/pull/1716) [`610388dbd11dbf472a2727fe30ada71ec43f0a3e`](https://github.com/ponder-sh/ponder/commit/610388dbd11dbf472a2727fe30ada71ec43f0a3e) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug causing events from sources with factories to be missed.
844
+
845
+ Any users that were affected by this bug can removed corrupted `ponder_sync` rows with the query:
846
+
847
+ ```sql
848
+ DELETE FROM ponder_sync.intervals WHERE fragment_id like '%offset%' OR fragment_id like '%topic%';
849
+ ```
850
+
851
+ - [#1717](https://github.com/ponder-sh/ponder/pull/1717) [`abb8f9d710360d23ef79269709f006aa2572ce4f`](https://github.com/ponder-sh/ponder/commit/abb8f9d710360d23ef79269709f006aa2572ce4f) Thanks [@typedarray](https://github.com/typedarray)! - Fixed an issue where the historical sync would sometimes fail with the error "RangeError: Invalid array length" when indexing very large factory contracts.
852
+
853
+ - [#1712](https://github.com/ponder-sh/ponder/pull/1712) [`4670b7eb5ed10b2ca51aca0ea0b7fcb0e2eeaac4`](https://github.com/ponder-sh/ponder/commit/4670b7eb5ed10b2ca51aca0ea0b7fcb0e2eeaac4) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an issue where the `0.10` database migration to `ponder_sync` failed on databases where logical replication was enabled.
854
+
855
+ ## 0.10.22
856
+
857
+ ### Patch Changes
858
+
859
+ - Updated dependencies [[`27886fef0788e7ee1c25221087ecd6af05ea6197`](https://github.com/ponder-sh/ponder/commit/27886fef0788e7ee1c25221087ecd6af05ea6197)]:
860
+ - @ponder/utils@0.2.6
861
+
862
+ ## 0.10.21
863
+
864
+ ### Patch Changes
865
+
866
+ - Updated dependencies [[`e9b0fb99772baff7d3008a9dd1c8383e6182df59`](https://github.com/ponder-sh/ponder/commit/e9b0fb99772baff7d3008a9dd1c8383e6182df59)]:
867
+ - @ponder/utils@0.2.5
868
+
869
+ ## 0.10.20
870
+
871
+ ### Patch Changes
872
+
873
+ - [#1701](https://github.com/ponder-sh/ponder/pull/1701) [`1f547d61d8821e10ae7f22cbd2b60d86ba4a727a`](https://github.com/ponder-sh/ponder/commit/1f547d61d8821e10ae7f22cbd2b60d86ba4a727a) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Fixed "Invalid Query" error when using `@ponder/client` queries using `findMany` or `findFirst` that include the `with` option (relational queries).
874
+
875
+ - Updated dependencies [[`4157106917d81df2809616a19297c7e80a70f1f5`](https://github.com/ponder-sh/ponder/commit/4157106917d81df2809616a19297c7e80a70f1f5)]:
876
+ - @ponder/utils@0.2.4
877
+
878
+ ## 0.10.19
879
+
880
+ ### Patch Changes
881
+
882
+ - [#1702](https://github.com/ponder-sh/ponder/pull/1702) [`da5c3052f40799cd234f4917f62e032a0354d759`](https://github.com/ponder-sh/ponder/commit/da5c3052f40799cd234f4917f62e032a0354d759) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with reorg handling that would sometimes cause a duplicate event after the log `Error: Encountered unrecoverable 'arbitrum' reorg beyond finalized block 330098801`.
883
+
884
+ ## 0.10.18
885
+
886
+ ### Patch Changes
887
+
888
+ - [#1685](https://github.com/ponder-sh/ponder/pull/1685) [`cb23aab8ff5337c98bdaeaad954319012c1a72fd`](https://github.com/ponder-sh/ponder/commit/cb23aab8ff5337c98bdaeaad954319012c1a72fd) Thanks [@typedarray](https://github.com/typedarray)! - Fixed `Cannot convert undefined to a BigInt` error by allowing `block.size` to be `undefined`. Fixes indexing on some chains including Somnia network.
889
+
890
+ - [#1688](https://github.com/ponder-sh/ponder/pull/1688) [`26c818c337f6300eb5a186c827d37766d6e5c766`](https://github.com/ponder-sh/ponder/commit/26c818c337f6300eb5a186c827d37766d6e5c766) Thanks [@typedarray](https://github.com/typedarray)! - Increased statement timeout for `CREATE INDEX` statements from 2 minutes to 60 minutes.
891
+
892
+ ## 0.10.17
893
+
894
+ ### Patch Changes
895
+
896
+ - [#1680](https://github.com/ponder-sh/ponder/pull/1680) [`c1b6a4de54d33cb229f2248b7b41e37cbf57d449`](https://github.com/ponder-sh/ponder/commit/c1b6a4de54d33cb229f2248b7b41e37cbf57d449) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved import rules between config, schema, indexing functions, and api function files.
897
+
898
+ - [#1684](https://github.com/ponder-sh/ponder/pull/1684) [`92e1358cbf8817aea425a8c5e683ddfb1a9bc02d`](https://github.com/ponder-sh/ponder/commit/92e1358cbf8817aea425a8c5e683ddfb1a9bc02d) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug affecting logs and traces with no args that would cause the error `TypeError: Cannot convert undefined or null to object`.
899
+
900
+ ## 0.10.16
901
+
902
+ ### Patch Changes
903
+
904
+ - [`6b8cc2d5bdcbc0c7f2fe048cac4353eed79f180a`](https://github.com/ponder-sh/ponder/commit/6b8cc2d5bdcbc0c7f2fe048cac4353eed79f180a) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved realtime sync robustness against unrecoverable reorgs.
905
+
906
+ ## 0.10.15
907
+
908
+ ### Patch Changes
909
+
910
+ - [#1628](https://github.com/ponder-sh/ponder/pull/1628) [`4bc64795ebf265cc75f7ba816fe96920fab4e7a1`](https://github.com/ponder-sh/ponder/commit/4bc64795ebf265cc75f7ba816fe96920fab4e7a1) Thanks [@kyscott18](https://github.com/kyscott18)! - Added `ponder_indexing_rpc_action_duration`, `ponder_indexing_rpc_prefetch_total`, and `ponder_indexing_rpc_requests_total` metrics.
911
+
912
+ - [#1676](https://github.com/ponder-sh/ponder/pull/1676) [`cfdf1423bc64829bfadbc6fa12e631a1047a03a7`](https://github.com/ponder-sh/ponder/commit/cfdf1423bc64829bfadbc6fa12e631a1047a03a7) Thanks [@kyscott18](https://github.com/kyscott18)! - Improve sql query validation.
913
+
914
+ - [#1628](https://github.com/ponder-sh/ponder/pull/1628) [`4bc64795ebf265cc75f7ba816fe96920fab4e7a1`](https://github.com/ponder-sh/ponder/commit/4bc64795ebf265cc75f7ba816fe96920fab4e7a1) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved `context.client.readContract()` and `context.client.multicall()` performance.
915
+
916
+ - [#1675](https://github.com/ponder-sh/ponder/pull/1675) [`e921162a2b16bc0415a80d381ce9df0bf13ac016`](https://github.com/ponder-sh/ponder/commit/e921162a2b16bc0415a80d381ce9df0bf13ac016) Thanks [@kyscott18](https://github.com/kyscott18)! - Improve rpc request performance by skipping retries for reverted requests.
917
+
918
+ ## 0.10.14
919
+
920
+ ### Patch Changes
921
+
922
+ - [#1672](https://github.com/ponder-sh/ponder/pull/1672) [`7abdc96849ccbd4d72be731616d464cddfd03079`](https://github.com/ponder-sh/ponder/commit/7abdc96849ccbd4d72be731616d464cddfd03079) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with `insert().onConflictDoNothing()` that would cause an error "Cannot read properties of undefined".
923
+
924
+ ## 0.10.13
925
+
926
+ ### Patch Changes
927
+
928
+ - [#1663](https://github.com/ponder-sh/ponder/pull/1663) [`c6c603fa7f0c07ddc307dfb199dd2ee92f36bb0e`](https://github.com/ponder-sh/ponder/commit/c6c603fa7f0c07ddc307dfb199dd2ee92f36bb0e) Thanks [@kyscott18](https://github.com/kyscott18)! - Increased `idle_in_transaction_session_timeout` to 1 hour.
929
+
930
+ ## 0.10.12
931
+
932
+ ### Patch Changes
933
+
934
+ - [#1658](https://github.com/ponder-sh/ponder/pull/1658) [`7e4fe861fb4a6788d7d272da2434409d1979ac51`](https://github.com/ponder-sh/ponder/commit/7e4fe861fb4a6788d7d272da2434409d1979ac51) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that would cause errors similar to `error: invalid input syntax for type numeric: "{"1"}"`.
935
+
936
+ ## 0.10.11
937
+
938
+ ### Patch Changes
939
+
940
+ - [#1653](https://github.com/ponder-sh/ponder/pull/1653) [`4447771a45dc81887586845801becf83cfdb6387`](https://github.com/ponder-sh/ponder/commit/4447771a45dc81887586845801becf83cfdb6387) Thanks [@kyscott18](https://github.com/kyscott18)! - Updated drizzle-orm from v0.39.3 to v0.41.0.
941
+
942
+ ## 0.10.10
943
+
944
+ ### Patch Changes
945
+
946
+ - [#1654](https://github.com/ponder-sh/ponder/pull/1654) [`3dde8fdbf40a14ae04f491943062122cb2dea107`](https://github.com/ponder-sh/ponder/commit/3dde8fdbf40a14ae04f491943062122cb2dea107) Thanks [@kyscott18](https://github.com/kyscott18)! - Increased statement timeout for ponder_sync migrations to 60 minutes.
947
+
948
+ ## 0.10.9
949
+
950
+ ### Patch Changes
951
+
952
+ - [#1640](https://github.com/ponder-sh/ponder/pull/1640) [`22b4593e53b93569d95fd45a89532040f1f98ac2`](https://github.com/ponder-sh/ponder/commit/22b4593e53b93569d95fd45a89532040f1f98ac2) Thanks [@kyscott18](https://github.com/kyscott18)! - Added retry logic for "ContractFunctionZeroDataError" when a rpc incorrectly returns "0x".
953
+
954
+ - [#1639](https://github.com/ponder-sh/ponder/pull/1639) [`37dff4a356c644464f8e9a8a7767696994981f04`](https://github.com/ponder-sh/ponder/commit/37dff4a356c644464f8e9a8a7767696994981f04) Thanks [@kyscott18](https://github.com/kyscott18)! - Added validation for schemas with duplicate table names.
955
+
956
+ ## 0.10.8
957
+
958
+ ### Patch Changes
959
+
960
+ - [#1596](https://github.com/ponder-sh/ponder/pull/1596) [`559226b33cb8cf6b6d939a2a2d611230a193ddc6`](https://github.com/ponder-sh/ponder/commit/559226b33cb8cf6b6d939a2a2d611230a193ddc6) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved historical indexing performance.
961
+
962
+ ## 0.10.7
963
+
964
+ ### Patch Changes
965
+
966
+ - [#1631](https://github.com/ponder-sh/ponder/pull/1631) [`4045aea473eb68b304357851fa47c9a165a00e49`](https://github.com/ponder-sh/ponder/commit/4045aea473eb68b304357851fa47c9a165a00e49) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved raw SQL performance.
967
+
968
+ - [#1634](https://github.com/ponder-sh/ponder/pull/1634) [`faac60dbb9b201639a91e3b5ddcd50ea83c21860`](https://github.com/ponder-sh/ponder/commit/faac60dbb9b201639a91e3b5ddcd50ea83c21860) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved performance for factories during the historical sync.
969
+
970
+ ## 0.10.6
971
+
972
+ ### Patch Changes
973
+
974
+ - [#1623](https://github.com/ponder-sh/ponder/pull/1623) [`5af3aaceb9b53da7b968e09a683040d5cc151ac2`](https://github.com/ponder-sh/ponder/commit/5af3aaceb9b53da7b968e09a683040d5cc151ac2) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed `timestamp` column.
975
+
976
+ - [#1620](https://github.com/ponder-sh/ponder/pull/1620) [`bc519502afe7794c26122d6d6c0c26de58632de3`](https://github.com/ponder-sh/ponder/commit/bc519502afe7794c26122d6d6c0c26de58632de3) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved historical indexing performance.
977
+
978
+ - [#1613](https://github.com/ponder-sh/ponder/pull/1613) [`940cdda510eedeaa7527a93c415d9ede5f39189c`](https://github.com/ponder-sh/ponder/commit/940cdda510eedeaa7527a93c415d9ede5f39189c) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed missing checksums for addresses.
979
+
980
+ ## 0.10.5
981
+
982
+ ### Patch Changes
983
+
984
+ - [#1619](https://github.com/ponder-sh/ponder/pull/1619) [`a2e98bb1953b645114d28f5a6d659351721c0ea3`](https://github.com/ponder-sh/ponder/commit/a2e98bb1953b645114d28f5a6d659351721c0ea3) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with `client.getStatus()`.
985
+
986
+ ## 0.10.4
987
+
988
+ ### Patch Changes
989
+
990
+ - [#1618](https://github.com/ponder-sh/ponder/pull/1618) [`e68750a1c46ccb4ef671fa07d160051168cf710a`](https://github.com/ponder-sh/ponder/commit/e68750a1c46ccb4ef671fa07d160051168cf710a) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with `client.multicall` introduced in v0.10.0.
991
+
992
+ - [#1608](https://github.com/ponder-sh/ponder/pull/1608) [`8e5dc9dfa3b648a4f2a8a9421471bac47bb0b970`](https://github.com/ponder-sh/ponder/commit/8e5dc9dfa3b648a4f2a8a9421471bac47bb0b970) Thanks [@kyscott18](https://github.com/kyscott18)! - Added `ponder db prune` command to drop all inactive tables and schemas.
993
+
994
+ ## 0.10.3
995
+
996
+ ### Patch Changes
997
+
998
+ - [#1615](https://github.com/ponder-sh/ponder/pull/1615) [`fac32d1811b162a6df641e818267a159f444fcea`](https://github.com/ponder-sh/ponder/commit/fac32d1811b162a6df641e818267a159f444fcea) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug introduced in v0.10.1 with trace encoding.
999
+
1000
+ - [#1604](https://github.com/ponder-sh/ponder/pull/1604) [`4b9cf21fa85f94b88beb80790aae3bd4f34f0dfa`](https://github.com/ponder-sh/ponder/commit/4b9cf21fa85f94b88beb80790aae3bd4f34f0dfa) Thanks [@SukkaW](https://github.com/SukkaW)! - Updated the `graphql` middleware to use the jsDelivr CDN for the GraphiQL bundle.
1001
+
1002
+ - [#1605](https://github.com/ponder-sh/ponder/pull/1605) [`8aafdde458fc899ef4f8fb591b982e35525ed250`](https://github.com/ponder-sh/ponder/commit/8aafdde458fc899ef4f8fb591b982e35525ed250) Thanks [@kyscott18](https://github.com/kyscott18)! - Added `ponder_historical_concurrency_group_duration`, `ponder_historical_extract_duration`, `ponder_historical_transform_duration` metrics.
1003
+
1004
+ ## 0.10.2
1005
+
1006
+ ### Patch Changes
1007
+
1008
+ - [#1611](https://github.com/ponder-sh/ponder/pull/1611) [`21560f3927abd3389832a510ac1fb3dc2009204e`](https://github.com/ponder-sh/ponder/commit/21560f3927abd3389832a510ac1fb3dc2009204e) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug introduced in v0.10.1 with text column encoding.
1009
+
1010
+ ## 0.10.1
1011
+
1012
+ ### Patch Changes
1013
+
1014
+ - [#1607](https://github.com/ponder-sh/ponder/pull/1607) [`e723e358fe2909485afc97782bef8819b66374e3`](https://github.com/ponder-sh/ponder/commit/e723e358fe2909485afc97782bef8819b66374e3) Thanks [@kyscott18](https://github.com/kyscott18)! - Changed event decoding behavior to allow users to handle null bytes.
1015
+
1016
+ ## 0.10.0
1017
+
1018
+ ### Minor Changes
1019
+
1020
+ - [#1603](https://github.com/ponder-sh/ponder/pull/1603) [`c4452f6798e44b62704ad38d8217cfcc9cabb496`](https://github.com/ponder-sh/ponder/commit/c4452f6798e44b62704ad38d8217cfcc9cabb496) Thanks [@kyscott18](https://github.com/kyscott18)! - Released `0.10`. Visit the [migration guide](https://ponder.sh/docs/migration-guide#010) for details.
1021
+
1022
+ ### Patch Changes
1023
+
1024
+ - [#1603](https://github.com/ponder-sh/ponder/pull/1603) [`c4452f6798e44b62704ad38d8217cfcc9cabb496`](https://github.com/ponder-sh/ponder/commit/c4452f6798e44b62704ad38d8217cfcc9cabb496) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with factories incorrectly filtering events.
1025
+
1026
+ - [#1603](https://github.com/ponder-sh/ponder/pull/1603) [`c4452f6798e44b62704ad38d8217cfcc9cabb496`](https://github.com/ponder-sh/ponder/commit/c4452f6798e44b62704ad38d8217cfcc9cabb496) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an issue where `eth_call` responses containing `0x` were being cached. Now, only non-empty responses are cached.
1027
+
1028
+ - [#1603](https://github.com/ponder-sh/ponder/pull/1603) [`c4452f6798e44b62704ad38d8217cfcc9cabb496`](https://github.com/ponder-sh/ponder/commit/c4452f6798e44b62704ad38d8217cfcc9cabb496) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an issue where setting a network `maxRequestsPerSecond` value greater than ~256 could freeze the indexer and cause contention with other chains.
1029
+
1030
+ ## 0.9.28
1031
+
1032
+ ### Patch Changes
1033
+
1034
+ - [#1592](https://github.com/ponder-sh/ponder/pull/1592) [`75bdb0fc83e8fb48c1764a601377afabc8abc8b6`](https://github.com/ponder-sh/ponder/commit/75bdb0fc83e8fb48c1764a601377afabc8abc8b6) Thanks [@tk-o](https://github.com/tk-o)! - Improved error message for invalid database connection strings.
1035
+
1036
+ - [#1599](https://github.com/ponder-sh/ponder/pull/1599) [`3950e751bfda0795a667a59e119d8b0ccf27c304`](https://github.com/ponder-sh/ponder/commit/3950e751bfda0795a667a59e119d8b0ccf27c304) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an issue with stale indexing cache values being used after raw sql queries.
1037
+
1038
+ ## 0.9.27
1039
+
1040
+ ### Patch Changes
1041
+
1042
+ - [#1582](https://github.com/ponder-sh/ponder/pull/1582) [`8dde38dfbb81777f1ab22fe65ea1166cce1b944f`](https://github.com/ponder-sh/ponder/commit/8dde38dfbb81777f1ab22fe65ea1166cce1b944f) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that would cause crash recovery and reorg handling to error for some apps.
1043
+
1044
+ ## 0.9.26
1045
+
1046
+ ### Patch Changes
1047
+
1048
+ - [#1580](https://github.com/ponder-sh/ponder/pull/1580) [`e601d84bd44c708be9de017fdb393fbf037cebf0`](https://github.com/ponder-sh/ponder/commit/e601d84bd44c708be9de017fdb393fbf037cebf0) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed crash behavior when an unrecoverable reorg occurs.
1049
+
1050
+ - [#1579](https://github.com/ponder-sh/ponder/pull/1579) [`d87b12a772e1f7f5891ab66bc05afafa24a2a9bb`](https://github.com/ponder-sh/ponder/commit/d87b12a772e1f7f5891ab66bc05afafa24a2a9bb) Thanks [@kyscott18](https://github.com/kyscott18)! - Added `bytes()` column type for low-level byte arrays.
1051
+
1052
+ ## 0.9.25
1053
+
1054
+ ### Patch Changes
1055
+
1056
+ - [#1571](https://github.com/ponder-sh/ponder/pull/1571) [`e05716bd35ead4f0a305c2bdd92050d63042f01b`](https://github.com/ponder-sh/ponder/commit/e05716bd35ead4f0a305c2bdd92050d63042f01b) Thanks [@typedarray](https://github.com/typedarray)! - Fixed React 19 compatibility issues in monorepos. Removed `ink` and `react` dependencies, introduced a new terminal UI implementation with the same functionality as before.
1057
+
1058
+ ## 0.9.24
1059
+
1060
+ ### Patch Changes
1061
+
1062
+ - [#1447](https://github.com/ponder-sh/ponder/pull/1447) [`2c6f2aaa743483169f3913ae3757e70eda38f073`](https://github.com/ponder-sh/ponder/commit/2c6f2aaa743483169f3913ae3757e70eda38f073) Thanks [@typedarray](https://github.com/typedarray)! - Added support for `ssl` options in Postgres pool configuration.
1063
+
1064
+ ## 0.9.23
1065
+
1066
+ ### Patch Changes
1067
+
1068
+ - [#1552](https://github.com/ponder-sh/ponder/pull/1552) [`b0618efd5b07feb851463327b4517fdfb31c2384`](https://github.com/ponder-sh/ponder/commit/b0618efd5b07feb851463327b4517fdfb31c2384) Thanks [@normanzb](https://github.com/normanzb)! - Fixed an issue where libraries that subclass `Hono` (like `@hono/zod-openapi`) were not supported by API functions.
1069
+
1070
+ - [#1560](https://github.com/ponder-sh/ponder/pull/1560) [`818d20eef48a247b513d7eadfa7c04be74f36477`](https://github.com/ponder-sh/ponder/commit/818d20eef48a247b513d7eadfa7c04be74f36477) Thanks [@typedarray](https://github.com/typedarray)! - Fixed a bug introduced in `0.9.20` where the `ponder` entrypoint included Node.js-only imports like `"node:path"`, breaking some workflows that use `@ponder/client` in browser environments.
1071
+
1072
+ ## 0.9.22
1073
+
1074
+ ### Patch Changes
1075
+
1076
+ - [#1557](https://github.com/ponder-sh/ponder/pull/1557) [`3b92c7312889398986e82da543b5872ef15a27f5`](https://github.com/ponder-sh/ponder/commit/3b92c7312889398986e82da543b5872ef15a27f5) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a regression introduced in v0.9.20 that caused an error when using raw sql queries.
1077
+
1078
+ ## 0.9.21
1079
+
1080
+ ### Patch Changes
1081
+
1082
+ - [#1554](https://github.com/ponder-sh/ponder/pull/1554) [`37be92975a985a296b08355b809a5256236bba8e`](https://github.com/ponder-sh/ponder/commit/37be92975a985a296b08355b809a5256236bba8e) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug where crash recovery during historical indexing did not work when using `ordering: "multichain"`.
1083
+
1084
+ - [#1555](https://github.com/ponder-sh/ponder/pull/1555) [`035899c90545ce46cf8bbccf62f91600ede8a7cc`](https://github.com/ponder-sh/ponder/commit/035899c90545ce46cf8bbccf62f91600ede8a7cc) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a regression with evicting cached indexing data introduced in v0.9.20.
1085
+
1086
+ - [#1550](https://github.com/ponder-sh/ponder/pull/1550) [`f1231b3cd108cf5e380b47c118863be27bbb4467`](https://github.com/ponder-sh/ponder/commit/f1231b3cd108cf5e380b47c118863be27bbb4467) Thanks [@farrellh1](https://github.com/farrellh1)! - Fixed display of long event names in terminal ui.
1087
+
1088
+ ## 0.9.20
1089
+
1090
+ ### Patch Changes
1091
+
1092
+ - [#1522](https://github.com/ponder-sh/ponder/pull/1522) [`74eb695c996723cb20e43f78b04aed64c1e685de`](https://github.com/ponder-sh/ponder/commit/74eb695c996723cb20e43f78b04aed64c1e685de) Thanks [@kyscott18](https://github.com/kyscott18)! - Added `ponder_indexing_cache_requests_total`, `ponder_indexing_cache_query_duration`, `ponder_indexing_store_queries_total` and `ponder_indexing_store_raw_sql_duration` metrics.
1093
+
1094
+ - [#1522](https://github.com/ponder-sh/ponder/pull/1522) [`74eb695c996723cb20e43f78b04aed64c1e685de`](https://github.com/ponder-sh/ponder/commit/74eb695c996723cb20e43f78b04aed64c1e685de) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved historical indexing performance.
1095
+
1096
+ ## 0.9.19
1097
+
1098
+ ### Patch Changes
1099
+
1100
+ - [#1546](https://github.com/ponder-sh/ponder/pull/1546) [`f8f2994381d7a62c3ec60682d384d8a7018e46f1`](https://github.com/ponder-sh/ponder/commit/f8f2994381d7a62c3ec60682d384d8a7018e46f1) Thanks [@typedarray](https://github.com/typedarray)! - Fixed a bug where GraphQL queries filtering on `null` values did not work.
1101
+
1102
+ ## 0.9.18
1103
+
1104
+ ### Patch Changes
1105
+
1106
+ - [#1544](https://github.com/ponder-sh/ponder/pull/1544) [`ea793aeed7c3555df7115fed164a1070c06f2bf7`](https://github.com/ponder-sh/ponder/commit/ea793aeed7c3555df7115fed164a1070c06f2bf7) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with `db.delete()` sometimes not persisting to the database.
1107
+
1108
+ - [#1541](https://github.com/ponder-sh/ponder/pull/1541) [`953b45991780edc4c224a74d002d421eedf0fbb1`](https://github.com/ponder-sh/ponder/commit/953b45991780edc4c224a74d002d421eedf0fbb1) Thanks [@kyscott18](https://github.com/kyscott18)! - Added `ponder_historical_start_timestamp_seconds`, `ponder_historical_end_timestamp_seconds`, `ponder_version_info`, and `ponder_settings_info` metrics.
1109
+
1110
+ ## 0.9.17
1111
+
1112
+ ### Patch Changes
1113
+
1114
+ - [#1539](https://github.com/ponder-sh/ponder/pull/1539) [`8b44612a16ebf40cb26d5fdfa9ccb75fb1963c91`](https://github.com/ponder-sh/ponder/commit/8b44612a16ebf40cb26d5fdfa9ccb75fb1963c91) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed bug with `disableCache` missing events.
1115
+
1116
+ ## 0.9.16
1117
+
1118
+ ### Patch Changes
1119
+
1120
+ - [#1537](https://github.com/ponder-sh/ponder/pull/1537) [`89a451b5361aba47bf2463a0f1a38a3570e9daa6`](https://github.com/ponder-sh/ponder/commit/89a451b5361aba47bf2463a0f1a38a3570e9daa6) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug where the indexing cache would sometimes use stale values.
1121
+
1122
+ ## 0.9.15
1123
+
1124
+ ### Patch Changes
1125
+
1126
+ - [#1533](https://github.com/ponder-sh/ponder/pull/1533) [`00f1ec17e891d46559596391bbfe893a3ca51fc8`](https://github.com/ponder-sh/ponder/commit/00f1ec17e891d46559596391bbfe893a3ca51fc8) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed result of context.db with null values.
1127
+
1128
+ ## 0.9.14
1129
+
1130
+ ### Patch Changes
1131
+
1132
+ - [#1530](https://github.com/ponder-sh/ponder/pull/1530) [`17e2d7b5096de3a4cd247bd07c4cdac0c72e50f3`](https://github.com/ponder-sh/ponder/commit/17e2d7b5096de3a4cd247bd07c4cdac0c72e50f3) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed indexing metrics for apps with crash recovery.
1133
+
1134
+ - [#1530](https://github.com/ponder-sh/ponder/pull/1530) [`d6d4bd541ae83aec6aa4cc2c940b1c6ff83984ea`](https://github.com/ponder-sh/ponder/commit/d6d4bd541ae83aec6aa4cc2c940b1c6ff83984ea) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed `/status` response.
1135
+
1136
+ ## 0.9.13
1137
+
1138
+ ### Patch Changes
1139
+
1140
+ - [#1528](https://github.com/ponder-sh/ponder/pull/1528) [`3c8aecebd9c0b697b5583adedfcf047db2e515ab`](https://github.com/ponder-sh/ponder/commit/3c8aecebd9c0b697b5583adedfcf047db2e515ab) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug introduced in v0.9.6 causing realtime events to be missed.
1141
+
1142
+ ## 0.9.12
1143
+
1144
+ ### Patch Changes
1145
+
1146
+ - [#1520](https://github.com/ponder-sh/ponder/pull/1520) [`f5d690aeeabea8449c76a5e042042bd0367a03fc`](https://github.com/ponder-sh/ponder/commit/f5d690aeeabea8449c76a5e042042bd0367a03fc) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with passing undefined values to `db.update().set()`.
1147
+
1148
+ ## 0.9.11
1149
+
1150
+ ### Patch Changes
1151
+
1152
+ - [#1517](https://github.com/ponder-sh/ponder/pull/1517) [`452c6997466144b775f7f7e8e43715c6a1f287e1`](https://github.com/ponder-sh/ponder/commit/452c6997466144b775f7f7e8e43715c6a1f287e1) Thanks [@typedarray](https://github.com/typedarray)! - Fixed a bug where hex value arguments to singular query fields in GraphQL did not respect case-insensitive comparison.
1153
+
1154
+ - [#1509](https://github.com/ponder-sh/ponder/pull/1509) [`e267f7e29d0996384590f898553e323499a8b616`](https://github.com/ponder-sh/ponder/commit/e267f7e29d0996384590f898553e323499a8b616) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed some (not all) type compatibility issues when using `@ponder/client` and `@ponder/react`.
1155
+
1156
+ ## 0.9.10
1157
+
1158
+ ### Patch Changes
1159
+
1160
+ - [#1514](https://github.com/ponder-sh/ponder/pull/1514) [`ad78e7c69374ffac17c9b410452fef0be226a402`](https://github.com/ponder-sh/ponder/commit/ad78e7c69374ffac17c9b410452fef0be226a402) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with parsing array column values.
1161
+
1162
+ ## 0.9.9
1163
+
1164
+ ### Patch Changes
1165
+
1166
+ - [#1499](https://github.com/ponder-sh/ponder/pull/1499) [`6afbd955c3bb00bf35729593164eb568354b72a1`](https://github.com/ponder-sh/ponder/commit/6afbd955c3bb00bf35729593164eb568354b72a1) Thanks [@kyscott18](https://github.com/kyscott18)! - Improve historical indexing performance.
1167
+
1168
+ ## 0.9.8
1169
+
1170
+ ### Patch Changes
1171
+
1172
+ - [#1510](https://github.com/ponder-sh/ponder/pull/1510) [`66dcd4d0a1aeeee63b54fe54dc12b5428f99f1e6`](https://github.com/ponder-sh/ponder/commit/66dcd4d0a1aeeee63b54fe54dc12b5428f99f1e6) Thanks [@kyscott18](https://github.com/kyscott18)! - Set statement timeout for graphql and ponder client queries to 30 seconds.
1173
+
1174
+ - [#1488](https://github.com/ponder-sh/ponder/pull/1488) [`388cd50d52716cfe1b2e00afff0ae7e0da844822`](https://github.com/ponder-sh/ponder/commit/388cd50d52716cfe1b2e00afff0ae7e0da844822) Thanks [@jaydenwindle](https://github.com/jaydenwindle)! - Added `--disable-ui` CLI flag to `ponder dev`.
1175
+
1176
+ ## 0.9.7
1177
+
1178
+ ### Patch Changes
1179
+
1180
+ - [#1504](https://github.com/ponder-sh/ponder/pull/1504) [`ecef4427af4d2209ce98898b15a2f7e051134974`](https://github.com/ponder-sh/ponder/commit/ecef4427af4d2209ce98898b15a2f7e051134974) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a memory leak for apps with `ordering: "multichain"` introduced in v0.9.3.
1181
+
1182
+ ## 0.9.6
1183
+
1184
+ ### Patch Changes
1185
+
1186
+ - [#1500](https://github.com/ponder-sh/ponder/pull/1500) [`55735c31b8a2c0a5a57e9bbb9977fc8f13771055`](https://github.com/ponder-sh/ponder/commit/55735c31b8a2c0a5a57e9bbb9977fc8f13771055) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug when decoding events in realtime mode.
1187
+
1188
+ ## 0.9.5
1189
+
1190
+ ### Patch Changes
1191
+
1192
+ - [#1489](https://github.com/ponder-sh/ponder/pull/1489) [`36ed9e722e8416015d5f6172646028428c3c882f`](https://github.com/ponder-sh/ponder/commit/36ed9e722e8416015d5f6172646028428c3c882f) Thanks [@jaydenwindle](https://github.com/jaydenwindle)! - Improve error message when forgetting to export enum from `ponder.schema.ts`.
1193
+
1194
+ - [#1494](https://github.com/ponder-sh/ponder/pull/1494) [`bfdac22887465b440f3c3075f16a490376c25350`](https://github.com/ponder-sh/ponder/commit/bfdac22887465b440f3c3075f16a490376c25350) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved eth_getLogs retry estimate and shutdown behavior.
1195
+
1196
+ ## 0.9.4
1197
+
1198
+ ### Patch Changes
1199
+
1200
+ - [#1485](https://github.com/ponder-sh/ponder/pull/1485) [`57eee3f9800674b2da71667749860d6d4e382632`](https://github.com/ponder-sh/ponder/commit/57eee3f9800674b2da71667749860d6d4e382632) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Added support for the `"latest"` block tag as a `startBlock` or `endBlock` value in `ponder.config.ts`. This option fetches the latest block during the build step and uses that block number.
1201
+
1202
+ ## 0.9.3
1203
+
1204
+ ### Patch Changes
1205
+
1206
+ - [#1441](https://github.com/ponder-sh/ponder/pull/1441) [`626e5244aca1d32ad4686d434975e28b691f618b`](https://github.com/ponder-sh/ponder/commit/626e5244aca1d32ad4686d434975e28b691f618b) Thanks [@kyscott18](https://github.com/kyscott18)! - Removed metrics `ponder_indexing_total_seconds` and `ponder_indexing_completed_seconds`. Added metrics `ponder_historical_total_indexing_seconds`, `ponder_historical_cached_indexing_seconds`, and `ponder_historical_completed_indexing_seconds`. Renamed metric `ponder_indexing_completed_timestamp` to `ponder_indexing_timestamp`.
1207
+
1208
+ - [#1441](https://github.com/ponder-sh/ponder/pull/1441) [`626e5244aca1d32ad4686d434975e28b691f618b`](https://github.com/ponder-sh/ponder/commit/626e5244aca1d32ad4686d434975e28b691f618b) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved shutdown behavior and hot reload reliability.
1209
+
1210
+ - [#1441](https://github.com/ponder-sh/ponder/pull/1441) [`626e5244aca1d32ad4686d434975e28b691f618b`](https://github.com/ponder-sh/ponder/commit/626e5244aca1d32ad4686d434975e28b691f618b) Thanks [@kyscott18](https://github.com/kyscott18)! - Added debug and info-level logs to the realtime and historical sync to improve observability.
1211
+
1212
+ - [#1441](https://github.com/ponder-sh/ponder/pull/1441) [`626e5244aca1d32ad4686d434975e28b691f618b`](https://github.com/ponder-sh/ponder/commit/626e5244aca1d32ad4686d434975e28b691f618b) Thanks [@kyscott18](https://github.com/kyscott18)! - Added a new optional `ordering` field to `ponder.config.ts`, which specifies how events across multiple chains should be ordered. The options are `"omnichain"` (default, current behavior) and `"multichain"` (new strategy, opt-in). [Read more](https://ponder.sh/docs/api-reference/config#event-ordering).
1213
+
1214
+ ## 0.9.2
1215
+
1216
+ ### Patch Changes
1217
+
1218
+ - [#1479](https://github.com/ponder-sh/ponder/pull/1479) [`b7a6fcf1e74ec69404611a723adf6344b6d3614e`](https://github.com/ponder-sh/ponder/commit/b7a6fcf1e74ec69404611a723adf6344b6d3614e) Thanks [@typedarray](https://github.com/typedarray)! - Fixed peer dependency resolution issues with `kysely`.
1219
+
1220
+ - [`3855a47dd4cb8199e7260969a57714a40c13c898`](https://github.com/ponder-sh/ponder/commit/3855a47dd4cb8199e7260969a57714a40c13c898) Thanks [@typedarray](https://github.com/typedarray)! - Fixed a bug where the process would crash with "crypto" is not defined on Node 18.
1221
+
1222
+ - [#1482](https://github.com/ponder-sh/ponder/pull/1482) [`375e2935bf11f31aaa3825d257a7de5af4c08ae3`](https://github.com/ponder-sh/ponder/commit/375e2935bf11f31aaa3825d257a7de5af4c08ae3) Thanks [@shrugs](https://github.com/shrugs)! - Fixed a bug where `t.bigint().array()` column values greater than `Number.MAX_SAFE_INTEGER` would lose precision when using Postgres.
1223
+
1224
+ ## 0.9.1
1225
+
1226
+ ### Patch Changes
1227
+
1228
+ - [#1473](https://github.com/ponder-sh/ponder/pull/1473) [`02756d0809ca57369c13e6988a3b275be70f3df9`](https://github.com/ponder-sh/ponder/commit/02756d0809ca57369c13e6988a3b275be70f3df9) Thanks [@typedarray](https://github.com/typedarray)! - Fixed a Windows build error introduced in `0.9.0`.
1229
+
1230
+ ## 0.9.0
1231
+
1232
+ ### Minor Changes
1233
+
1234
+ - [#1367](https://github.com/ponder-sh/ponder/pull/1367) [`68097b429752e429291b71e5d2722ee944b0915a`](https://github.com/ponder-sh/ponder/commit/68097b429752e429291b71e5d2722ee944b0915a) Thanks [@kyscott18](https://github.com/kyscott18)! - Released `0.9`. Visit the [migration guide](https://ponder.sh/docs/migration-guide) for details.
1235
+
1236
+ ## 0.8.33
1237
+
1238
+ ### Patch Changes
1239
+
1240
+ - [#1467](https://github.com/ponder-sh/ponder/pull/1467) [`32991725dd89cb1384f6de747c729b94bd0d4421`](https://github.com/ponder-sh/ponder/commit/32991725dd89cb1384f6de747c729b94bd0d4421) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Improved rpc error retry logic.
1241
+
1242
+ ## 0.8.32
1243
+
1244
+ ### Patch Changes
1245
+
1246
+ - [#1460](https://github.com/ponder-sh/ponder/pull/1460) [`e54f9b5ebf9595ce299d32d5389b9ac14ad1c852`](https://github.com/ponder-sh/ponder/commit/e54f9b5ebf9595ce299d32d5389b9ac14ad1c852) Thanks [@holic](https://github.com/holic)! - Improved logging for realtime sync errors.
1247
+
1248
+ ## 0.8.31
1249
+
1250
+ ### Patch Changes
1251
+
1252
+ - [#1458](https://github.com/ponder-sh/ponder/pull/1458) [`e4f6c199308ce8e6173931321e4231cadb1632a2`](https://github.com/ponder-sh/ponder/commit/e4f6c199308ce8e6173931321e4231cadb1632a2) Thanks [@typedarray](https://github.com/typedarray)! - Fixed a bug where indexing errors would sometimes be obfuscated by an internal error like `Cannot read properties of undefined (reading 'hash')`.
1253
+
1254
+ ## 0.8.30
1255
+
1256
+ ### Patch Changes
1257
+
1258
+ - [#1454](https://github.com/ponder-sh/ponder/pull/1454) [`14959005f40bd7bff4e7a91df16f1bf4565e9e30`](https://github.com/ponder-sh/ponder/commit/14959005f40bd7bff4e7a91df16f1bf4565e9e30) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with schema awareness when two ponder apps are in the same database.
1259
+
1260
+ ## 0.8.29
1261
+
1262
+ ### Patch Changes
1263
+
1264
+ - [#1451](https://github.com/ponder-sh/ponder/pull/1451) [`0cea2677997a24299e62a0dc040ce1f9ba4f4a47`](https://github.com/ponder-sh/ponder/commit/0cea2677997a24299e62a0dc040ce1f9ba4f4a47) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved reorg handling resilience.
1265
+
1266
+ ## 0.8.28
1267
+
1268
+ ### Patch Changes
1269
+
1270
+ - [#1448](https://github.com/ponder-sh/ponder/pull/1448) [`fea49c5eac99ad811061ab532021fcbf1869e976`](https://github.com/ponder-sh/ponder/commit/fea49c5eac99ad811061ab532021fcbf1869e976) Thanks [@kyscott18](https://github.com/kyscott18)! - Added more rpc response validation.
1271
+
1272
+ ## 0.8.27
1273
+
1274
+ ### Patch Changes
1275
+
1276
+ - [#1443](https://github.com/ponder-sh/ponder/pull/1443) [`595e9684684be414465efb910dc03e0d489c5011`](https://github.com/ponder-sh/ponder/commit/595e9684684be414465efb910dc03e0d489c5011) Thanks [@typedarray](https://github.com/typedarray)! - Improve trace-level logging and retry logic for database operations.
1277
+
1278
+ ## 0.8.26
1279
+
1280
+ ### Patch Changes
1281
+
1282
+ - [#1438](https://github.com/ponder-sh/ponder/pull/1438) [`c4e17d9ac89e01c2591c49af486417131a59369b`](https://github.com/ponder-sh/ponder/commit/c4e17d9ac89e01c2591c49af486417131a59369b) Thanks [@kyscott18](https://github.com/kyscott18)! - Added "ponder_realtime_latency" metric.
1283
+
1284
+ ## 0.8.25
1285
+
1286
+ ### Patch Changes
1287
+
1288
+ - [#1437](https://github.com/ponder-sh/ponder/pull/1437) [`229419634521e287dd7f642f8b08dfe16cd17653`](https://github.com/ponder-sh/ponder/commit/229419634521e287dd7f642f8b08dfe16cd17653) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved the granularity of rpc cache.
1289
+
1290
+ ## 0.8.24
1291
+
1292
+ ### Patch Changes
1293
+
1294
+ - [#1435](https://github.com/ponder-sh/ponder/pull/1435) [`d891abaf25a939684f473cc2df90e3c89cfe6f2d`](https://github.com/ponder-sh/ponder/commit/d891abaf25a939684f473cc2df90e3c89cfe6f2d) Thanks [@tk-o](https://github.com/tk-o)! - Fixed a bug causing setup function with multiple networks to error.
1295
+
1296
+ ## 0.8.23
1297
+
1298
+ ### Patch Changes
1299
+
1300
+ - [#1430](https://github.com/ponder-sh/ponder/pull/1430) [`b3ec95059103c7bcc2babd9ff5f7d6dbdb239982`](https://github.com/ponder-sh/ponder/commit/b3ec95059103c7bcc2babd9ff5f7d6dbdb239982) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an issue where ZKsync system logs with transaction receipts failed with the error `Detected inconsistent RPC responses. 'transaction.hash' 0x0000000000000000000000000000000000000000000000000000000000000000 not found in eth_getBlockReceipts response for block (...)`.
1301
+
1302
+ ## 0.8.22
1303
+
1304
+ ### Patch Changes
1305
+
1306
+ - [#1426](https://github.com/ponder-sh/ponder/pull/1426) [`bd52302092d5393012a100617541d533362ac927`](https://github.com/ponder-sh/ponder/commit/bd52302092d5393012a100617541d533362ac927) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with traces containing invalid byte sequences.
1307
+
1308
+ ## 0.8.21
1309
+
1310
+ ### Patch Changes
1311
+
1312
+ - [#1424](https://github.com/ponder-sh/ponder/pull/1424) [`60e7b6a33f3280eb08412cbec742e3d23d0d4404`](https://github.com/ponder-sh/ponder/commit/60e7b6a33f3280eb08412cbec742e3d23d0d4404) Thanks [@typedarray](https://github.com/typedarray)! - Fixed a bug where indexing errors did not include the block number and transaction hash of the event being indexed.
1313
+
1314
+ ## 0.8.20
1315
+
1316
+ ### Patch Changes
1317
+
1318
+ - [`85c9b3247bcb52c8d567f93ab19aee5746d8923d`](https://github.com/ponder-sh/ponder/commit/85c9b3247bcb52c8d567f93ab19aee5746d8923d) Thanks [@typedarray](https://github.com/typedarray)! - Fixed a bug introduced in 0.8.14 which caused unnecessary `eth_getBlockReceipts` requests.
1319
+
1320
+ - [#1421](https://github.com/ponder-sh/ponder/pull/1421) [`de4b398fba7c1d93e12e5500fcc598239b04597a`](https://github.com/ponder-sh/ponder/commit/de4b398fba7c1d93e12e5500fcc598239b04597a) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug where events between the historical backfill and live indexing were skipped. This does not affect the rpc cache.
1321
+
1322
+ ## 0.8.19
1323
+
1324
+ ### Patch Changes
1325
+
1326
+ - [#1416](https://github.com/ponder-sh/ponder/pull/1416) [`7234384afb6d18e1ca3d6c291ebe7db111773c06`](https://github.com/ponder-sh/ponder/commit/7234384afb6d18e1ca3d6c291ebe7db111773c06) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug causing the error: `trigger "_reorg__xyz" for relation "xyz" already exists`.
1327
+
1328
+ ## 0.8.18
1329
+
1330
+ ### Patch Changes
1331
+
1332
+ - [#1414](https://github.com/ponder-sh/ponder/pull/1414) [`3aa89415a528152c32cd5d9fea0f4b65061bb232`](https://github.com/ponder-sh/ponder/commit/3aa89415a528152c32cd5d9fea0f4b65061bb232) Thanks [@typedarray](https://github.com/typedarray)! - Fixed the `FlushError: invalid byte sequence for encoding "UTF8": 0x00` error by removing null characters from decoded ABI parameters.
1333
+
1334
+ ## 0.8.17
1335
+
1336
+ ### Patch Changes
1337
+
1338
+ - [#1411](https://github.com/ponder-sh/ponder/pull/1411) [`60704d3974387cb625c8fe2e45026fc2235622b9`](https://github.com/ponder-sh/ponder/commit/60704d3974387cb625c8fe2e45026fc2235622b9) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an issue where ZKsync system logs failed with the error `Detected inconsistent RPC responses. 'log.transactionHash' 0x0000000000000000000000000000000000000000000000000000000000000000 not found in 'block.transactions' (...)`.
1339
+
1340
+ ## 0.8.16
1341
+
1342
+ ### Patch Changes
1343
+
1344
+ - [#1407](https://github.com/ponder-sh/ponder/pull/1407) [`bfc51efc1e767ff2670494ecbb14b332bc2d3d05`](https://github.com/ponder-sh/ponder/commit/bfc51efc1e767ff2670494ecbb14b332bc2d3d05) Thanks [@typedarray](https://github.com/typedarray)! - Fixed a Windows bug introduced in `0.8.0` where the build would fail with the error "Failed to load url (...) in ponder:schema". Fixed a Windows bug where the build would fail when using an in-memory PGlite database with the error "Path contains invalid characters: memory://".
1345
+
1346
+ ## 0.8.15
1347
+
1348
+ ### Patch Changes
1349
+
1350
+ - [#1403](https://github.com/ponder-sh/ponder/pull/1403) [`95aa8102cb44c4628dc89634724fd6432cb4f93f`](https://github.com/ponder-sh/ponder/commit/95aa8102cb44c4628dc89634724fd6432cb4f93f) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug where a reorg sometimes caused events to be skipped. This does not affect the rpc cache.
1351
+
1352
+ ## 0.8.14
1353
+
1354
+ ### Patch Changes
1355
+
1356
+ - [#1342](https://github.com/ponder-sh/ponder/pull/1342) [`f49e62d888cd1e9ed2555331b84701ad8b0e8604`](https://github.com/ponder-sh/ponder/commit/f49e62d888cd1e9ed2555331b84701ad8b0e8604) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Added support for "eth_getBlockReceipts" request for better performance and cost.
1357
+
1358
+ ## 0.8.13
1359
+
1360
+ ### Patch Changes
1361
+
1362
+ - [#1397](https://github.com/ponder-sh/ponder/pull/1397) [`787a8dc1d92b08ed85ee9762ef41fd0918f163ef`](https://github.com/ponder-sh/ponder/commit/787a8dc1d92b08ed85ee9762ef41fd0918f163ef) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug resulting in `error: ON CONFLICT DO UPDATE command cannot affect row a second time`.
1363
+
1364
+ ## 0.8.12
1365
+
1366
+ ### Patch Changes
1367
+
1368
+ - [#1389](https://github.com/ponder-sh/ponder/pull/1389) [`f78e29ace56bdf2746a452c113e88cba5172401c`](https://github.com/ponder-sh/ponder/commit/f78e29ace56bdf2746a452c113e88cba5172401c) Thanks [@kyscott18](https://github.com/kyscott18)! - Pinned @electric-sql/pglite dependency to v0.2.13. Fixed `"information_schema.schemata" does not exist` error.
1369
+
1370
+ ## 0.8.11
1371
+
1372
+ ### Patch Changes
1373
+
1374
+ - [#1394](https://github.com/ponder-sh/ponder/pull/1394) [`4ea0ef5f055e38e60f59ea4a03046b64100d92bc`](https://github.com/ponder-sh/ponder/commit/4ea0ef5f055e38e60f59ea4a03046b64100d92bc) Thanks [@kyscott18](https://github.com/kyscott18)! - Added trace level logs for rpc requests.
1375
+
1376
+ ## 0.8.10
1377
+
1378
+ ### Patch Changes
1379
+
1380
+ - [#1370](https://github.com/ponder-sh/ponder/pull/1370) [`61b0b04c3306929bf2ff1ef781be874f561d8e11`](https://github.com/ponder-sh/ponder/commit/61b0b04c3306929bf2ff1ef781be874f561d8e11) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Fixed a bug causing future end blocks to error.
1381
+
1382
+ ## 0.8.9
1383
+
1384
+ ### Patch Changes
1385
+
1386
+ - [#1381](https://github.com/ponder-sh/ponder/pull/1381) [`dae8801ea3ddf732d8284ff84bc7dc21ada22f0e`](https://github.com/ponder-sh/ponder/commit/dae8801ea3ddf732d8284ff84bc7dc21ada22f0e) Thanks [@typedarray](https://github.com/typedarray)! - Fixed a bug where data inserted using raw SQL near the beginning of historical indexing was not found by subsequent `find`, `update`, or `delete` operations using the store/in-memory API.
1387
+
1388
+ - [#1375](https://github.com/ponder-sh/ponder/pull/1375) [`1687033a74fb8e7a7d843b4fe1f7f1cd4cf866a9`](https://github.com/ponder-sh/ponder/commit/1687033a74fb8e7a7d843b4fe1f7f1cd4cf866a9) Thanks [@typedarray](https://github.com/typedarray)! - Improved logs for Postgres pool errors.
1389
+
1390
+ ## 0.8.8
1391
+
1392
+ ### Patch Changes
1393
+
1394
+ - [#1368](https://github.com/ponder-sh/ponder/pull/1368) [`492d7e7744dbddede2e72b0649cd7dffb96173cd`](https://github.com/ponder-sh/ponder/commit/492d7e7744dbddede2e72b0649cd7dffb96173cd) Thanks [@typedarray](https://github.com/typedarray)! - Improved debug-level logs for historical indexing observability.
1395
+
1396
+ ## 0.8.7
1397
+
1398
+ ### Patch Changes
1399
+
1400
+ - [#1355](https://github.com/ponder-sh/ponder/pull/1355) [`083f11420a4030b15dd710f86521406fdbb52b74`](https://github.com/ponder-sh/ponder/commit/083f11420a4030b15dd710f86521406fdbb52b74) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with detecting cached rpc requests.
1401
+
1402
+ ## 0.8.6
1403
+
1404
+ ### Patch Changes
1405
+
1406
+ - [#1349](https://github.com/ponder-sh/ponder/pull/1349) [`4b18d8d2ab45475eea651e0db5c515b1242031f5`](https://github.com/ponder-sh/ponder/commit/4b18d8d2ab45475eea651e0db5c515b1242031f5) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an issue leading to "could not determine data type of parameter" for some postgres versions.
1407
+
1408
+ ## 0.8.5
1409
+
1410
+ ### Patch Changes
1411
+
1412
+ - [#1345](https://github.com/ponder-sh/ponder/pull/1345) [`7ec278f0fe5d71ebb5386a5f948ef63f158c174c`](https://github.com/ponder-sh/ponder/commit/7ec278f0fe5d71ebb5386a5f948ef63f158c174c) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused no events to be found in the historical backfill. Affected users should resync their apps to get rid of the incorrect cached data.
1413
+
1414
+ ## 0.8.4
1415
+
1416
+ ### Patch Changes
1417
+
1418
+ - [#1335](https://github.com/ponder-sh/ponder/pull/1335) [`77b92ef14fa4a0491f04a009cd2158af8f77c656`](https://github.com/ponder-sh/ponder/commit/77b92ef14fa4a0491f04a009cd2158af8f77c656) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that occassionaly caused reorgs to lead to missing events. Please note that this did not affect the rpc cache, users do not have to re-sync.
1419
+
1420
+ ## 0.8.3
1421
+
1422
+ ### Patch Changes
1423
+
1424
+ - [#1333](https://github.com/ponder-sh/ponder/pull/1333) [`7e9e92ad16654350b787e8c5f15545860bad3b35`](https://github.com/ponder-sh/ponder/commit/7e9e92ad16654350b787e8c5f15545860bad3b35) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a graphql bug when using enums in a primary key.
1425
+
1426
+ ## 0.8.2
1427
+
1428
+ ### Patch Changes
1429
+
1430
+ - [#1330](https://github.com/ponder-sh/ponder/pull/1330) [`0c7395ff2e86ac9f6431e4d702965e2036c35d64`](https://github.com/ponder-sh/ponder/commit/0c7395ff2e86ac9f6431e4d702965e2036c35d64) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with crash recovery.
1431
+
1432
+ ## 0.8.1
1433
+
1434
+ ### Patch Changes
1435
+
1436
+ - [#1328](https://github.com/ponder-sh/ponder/pull/1328) [`6df44c91095ec337faf27a8eb6e3ddfa48641b7c`](https://github.com/ponder-sh/ponder/commit/6df44c91095ec337faf27a8eb6e3ddfa48641b7c) Thanks [@3commascapital](https://github.com/3commascapital)! - Fixed a bug introduced in v0.8.0 with using an array of addresses in `ponder.config.ts`.
1437
+
1438
+ ## 0.8.0
1439
+
1440
+ ### Minor Changes
1441
+
1442
+ - [#1235](https://github.com/ponder-sh/ponder/pull/1235) [`37ed2e1278cb70c6ff2c82b64852ff4c6324e969`](https://github.com/ponder-sh/ponder/commit/37ed2e1278cb70c6ff2c82b64852ff4c6324e969) Thanks [@kyscott18](https://github.com/kyscott18)! - Released `0.8`. Visit the [migration guide](https://ponder.sh/docs/migration-guide) for a full list of changes.
1443
+
1444
+ ## 0.7.17
1445
+
1446
+ ### Patch Changes
1447
+
1448
+ - [#1321](https://github.com/ponder-sh/ponder/pull/1321) [`63d95d5e7fd79d7f276746fc5fe3f9c38bb43762`](https://github.com/ponder-sh/ponder/commit/63d95d5e7fd79d7f276746fc5fe3f9c38bb43762) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused too many rows to be reverted after a reorg when using `.sql()` raw database access.
1449
+
1450
+ ## 0.7.16
1451
+
1452
+ ### Patch Changes
1453
+
1454
+ - [`df699d14b75bf65fd4be9d9587f8192f3b3c9271`](https://github.com/ponder-sh/ponder/commit/df699d14b75bf65fd4be9d9587f8192f3b3c9271) Thanks [@typedarray](https://github.com/typedarray)! - Reset latest tag.
1455
+
1456
+ ## 0.7.15
1457
+
1458
+ ### Patch Changes
1459
+
1460
+ - [#1311](https://github.com/ponder-sh/ponder/pull/1311) [`0a02afa0512b30150935bf424a742bbb04a2915b`](https://github.com/ponder-sh/ponder/commit/0a02afa0512b30150935bf424a742bbb04a2915b) Thanks [@typedarray](https://github.com/typedarray)! - Fixed a bug where the GraphiQL explorer displayed "Loading..." as soon as React 19 was released. The fix pins the `react` and `react-dom` versions in the GraphiQL HTML to `18.3.1`.
1461
+
1462
+ ## 0.7.14
1463
+
1464
+ ### Patch Changes
1465
+
1466
+ - [#1305](https://github.com/ponder-sh/ponder/pull/1305) [`6ebb19dc51d97f311455b4091183c52bba716081`](https://github.com/ponder-sh/ponder/commit/6ebb19dc51d97f311455b4091183c52bba716081) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug introduced in v0.7.6 that caused errors with `flush()`.
1467
+
1468
+ ## 0.7.13
1469
+
1470
+ ### Patch Changes
1471
+
1472
+ - [#1293](https://github.com/ponder-sh/ponder/pull/1293) [`f7190e313ab6aa7b0180e8dc0f96c9195799bd74`](https://github.com/ponder-sh/ponder/commit/f7190e313ab6aa7b0180e8dc0f96c9195799bd74) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an issue where the database did not contain recent records when running `ponder dev`. Now, the indexing store flushes to the database every 5 seconds regardless of the size of the in-memory cache.
1473
+
1474
+ ## 0.7.12
1475
+
1476
+ ### Patch Changes
1477
+
1478
+ - [#1300](https://github.com/ponder-sh/ponder/pull/1300) [`31fa94b34bc4fd9f7c64f3934b2a92f709e17bc8`](https://github.com/ponder-sh/ponder/commit/31fa94b34bc4fd9f7c64f3934b2a92f709e17bc8) Thanks [@kyscott18](https://github.com/kyscott18)! - Update drizzle-orm to v0.36.
1479
+
1480
+ ## 0.7.11
1481
+
1482
+ ### Patch Changes
1483
+
1484
+ - [#1280](https://github.com/ponder-sh/ponder/pull/1280) [`38ffc034b80ac0e5259efaebd2e170e95b75fa9c`](https://github.com/ponder-sh/ponder/commit/38ffc034b80ac0e5259efaebd2e170e95b75fa9c) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed values returned by indexing store in realtime.
1485
+
1486
+ - [#1280](https://github.com/ponder-sh/ponder/pull/1280) [`38ffc034b80ac0e5259efaebd2e170e95b75fa9c`](https://github.com/ponder-sh/ponder/commit/38ffc034b80ac0e5259efaebd2e170e95b75fa9c) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed return type for `db.insert()` with multiple values.
1487
+
1488
+ - Updated dependencies [[`0bb76fdc10bdf4f88980ed99d06c0e672094dce7`](https://github.com/ponder-sh/ponder/commit/0bb76fdc10bdf4f88980ed99d06c0e672094dce7)]:
1489
+ - @ponder/utils@0.2.3
1490
+
1491
+ ## 0.7.10
1492
+
1493
+ ### Patch Changes
1494
+
1495
+ - [#1274](https://github.com/ponder-sh/ponder/pull/1274) [`faf616adf82c0f8dd8482414efdf8723b06f6f8a`](https://github.com/ponder-sh/ponder/commit/faf616adf82c0f8dd8482414efdf8723b06f6f8a) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed several GraphQL bugs introduced in `0.7.0` that affected tables and columns using snake_case.
1496
+
1497
+ ## 0.7.9
1498
+
1499
+ ### Patch Changes
1500
+
1501
+ - [#1268](https://github.com/ponder-sh/ponder/pull/1268) [`68f786197ae0d44a7aa19852e17ac792549188f7`](https://github.com/ponder-sh/ponder/commit/68f786197ae0d44a7aa19852e17ac792549188f7) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where `one` relations were sometimes incorrectly marked as non-null in the GraphQL schema, which caused "Cannot return null for non-nullable field" errors when the related entity was not found.
1502
+
1503
+ - [#1269](https://github.com/ponder-sh/ponder/pull/1269) [`700e060791a5575ba684fac49c3a32edfac16726`](https://github.com/ponder-sh/ponder/commit/700e060791a5575ba684fac49c3a32edfac16726) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed tables not being cleaned up.
1504
+
1505
+ - [#1273](https://github.com/ponder-sh/ponder/pull/1273) [`a0e1613c47a0ebcaaf2a4cabc5d8bf62ce8489bf`](https://github.com/ponder-sh/ponder/commit/a0e1613c47a0ebcaaf2a4cabc5d8bf62ce8489bf) Thanks [@0xOlias](https://github.com/0xOlias)! - Improve logging for flush errors.
1506
+
1507
+ ## 0.7.8
1508
+
1509
+ ### Patch Changes
1510
+
1511
+ - [#1263](https://github.com/ponder-sh/ponder/pull/1263) [`08e6fd2dea41f083ebdf4c2759819803c8619171`](https://github.com/ponder-sh/ponder/commit/08e6fd2dea41f083ebdf4c2759819803c8619171) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed "Failed '[table].flush()' database method" bug introduced in v0.7.6.
1512
+
1513
+ ## 0.7.7
1514
+
1515
+ ### Patch Changes
1516
+
1517
+ - [#1257](https://github.com/ponder-sh/ponder/pull/1257) [`dc768bdd06077915e7b37bf84bc0a0d23fc1c8b8`](https://github.com/ponder-sh/ponder/commit/dc768bdd06077915e7b37bf84bc0a0d23fc1c8b8) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the `codegen` command did not generate `generated/schema.graphql`.
1518
+
1519
+ - [#1259](https://github.com/ponder-sh/ponder/pull/1259) [`1e5119ddeb9494f9c420ee2e11bf55bbdfc387ee`](https://github.com/ponder-sh/ponder/commit/1e5119ddeb9494f9c420ee2e11bf55bbdfc387ee) Thanks [@0xOlias](https://github.com/0xOlias)! - Added `totalCount` field to the plural GraphQL connection type, which returns the total number of records in the database that match the specified `where` clause. [Read more](https://ponder.sh/docs/query/graphql#total-count).
1520
+
1521
+ ## 0.7.6
1522
+
1523
+ ### Patch Changes
1524
+
1525
+ - [#1251](https://github.com/ponder-sh/ponder/pull/1251) [`2806076d48803d3dd39789eeb71d1ec75ef70f86`](https://github.com/ponder-sh/ponder/commit/2806076d48803d3dd39789eeb71d1ec75ef70f86) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved memory usage during historical indexing.
1526
+
1527
+ - [#1250](https://github.com/ponder-sh/ponder/pull/1250) [`a142bbd005af561187d48588c4ce50fb59e25de1`](https://github.com/ponder-sh/ponder/commit/a142bbd005af561187d48588c4ce50fb59e25de1) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug in reorg reconciliation logic.
1528
+
1529
+ ## 0.7.5
1530
+
1531
+ ### Patch Changes
1532
+
1533
+ - [#1252](https://github.com/ponder-sh/ponder/pull/1252) [`8b211d652dce3c0449d20e39a2d88c0463f44891`](https://github.com/ponder-sh/ponder/commit/8b211d652dce3c0449d20e39a2d88c0463f44891) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved error log for `context.db.update()`.
1534
+
1535
+ ## 0.7.4
1536
+
1537
+ ### Patch Changes
1538
+
1539
+ - [#1247](https://github.com/ponder-sh/ponder/pull/1247) [`214b7fad6272a402a57e0e11d5e9d7680c0f1ea7`](https://github.com/ponder-sh/ponder/commit/214b7fad6272a402a57e0e11d5e9d7680c0f1ea7) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed `onchainSchema()` with pglite.
1540
+
1541
+ - [#1247](https://github.com/ponder-sh/ponder/pull/1247) [`214b7fad6272a402a57e0e11d5e9d7680c0f1ea7`](https://github.com/ponder-sh/ponder/commit/214b7fad6272a402a57e0e11d5e9d7680c0f1ea7) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed crash recovery, specifically build ID generation.
1542
+
1543
+ ## 0.7.3
1544
+
1545
+ ### Patch Changes
1546
+
1547
+ - [#1245](https://github.com/ponder-sh/ponder/pull/1245) [`7f4f456ab574a5017c7e45e3667eb16ab8a719a9`](https://github.com/ponder-sh/ponder/commit/7f4f456ab574a5017c7e45e3667eb16ab8a719a9) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with the `.default()` column modifier causing the value to be undefined.
1548
+
1549
+ ## 0.7.2
1550
+
1551
+ ### Patch Changes
1552
+
1553
+ - [#1243](https://github.com/ponder-sh/ponder/pull/1243) [`2cf9d8d45a688039c186884ff5dd97aa3fd5c7ae`](https://github.com/ponder-sh/ponder/commit/2cf9d8d45a688039c186884ff5dd97aa3fd5c7ae) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed `onchainSchema`.
1554
+
1555
+ - [#1242](https://github.com/ponder-sh/ponder/pull/1242) [`26edcd1c66741288fcce9600769bc27268c50e9e`](https://github.com/ponder-sh/ponder/commit/26edcd1c66741288fcce9600769bc27268c50e9e) Thanks [@jaylmiller](https://github.com/jaylmiller)! - Fixed a bug with database instance id.
1556
+
1557
+ ## 0.7.1
1558
+
1559
+ ### Patch Changes
1560
+
1561
+ - [#1237](https://github.com/ponder-sh/ponder/pull/1237) [`ea872481f6eaf61fbc7a94fe60a21bdabd7a0352`](https://github.com/ponder-sh/ponder/commit/ea872481f6eaf61fbc7a94fe60a21bdabd7a0352) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with database instance id.
1562
+
1563
+ ## 0.7.0
1564
+
1565
+ ### Minor Changes
1566
+
1567
+ - [#1177](https://github.com/ponder-sh/ponder/pull/1177) [`374e7af4dba05ce7297a1d11c610ff01f5e3c991`](https://github.com/ponder-sh/ponder/commit/374e7af4dba05ce7297a1d11c610ff01f5e3c991) Thanks [@kyscott18](https://github.com/kyscott18)! - Introduced several breaking changes to `ponder.schema.ts` and the store API. Please read the [migration guide](https://ponder.sh/docs/migration-guide#07) for more information.
1568
+
1569
+ ## 0.6.25
1570
+
1571
+ ### Patch Changes
1572
+
1573
+ - [#1223](https://github.com/ponder-sh/ponder/pull/1223) [`bbc5cda48670010dd2d229d95a2da4e23c1a414d`](https://github.com/ponder-sh/ponder/commit/bbc5cda48670010dd2d229d95a2da4e23c1a414d) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a compatibility issue with hono 4.6.9.
1574
+
1575
+ ## 0.6.24
1576
+
1577
+ ### Patch Changes
1578
+
1579
+ - [#1218](https://github.com/ponder-sh/ponder/pull/1218) [`e988a4f3182da132333057b750cd9bad4aa44e92`](https://github.com/ponder-sh/ponder/commit/e988a4f3182da132333057b750cd9bad4aa44e92) Thanks [@kyscott18](https://github.com/kyscott18)! - Pinned hono version to fix a regression with cors headers.
1580
+
1581
+ ## 0.6.23
1582
+
1583
+ ### Patch Changes
1584
+
1585
+ - [#1199](https://github.com/ponder-sh/ponder/pull/1199) [`a21a309d477c0e5ac1d80f462aab699a41fc9423`](https://github.com/ponder-sh/ponder/commit/a21a309d477c0e5ac1d80f462aab699a41fc9423) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the build could fail with the opaque error `TypeError: Cannot set property message of ... which has only a getter`.
1586
+
1587
+ ## 0.6.22
1588
+
1589
+ ### Patch Changes
1590
+
1591
+ - Updated dependencies [[`0cbdf01f85f4180a62d0de671c7adc299b704104`](https://github.com/ponder-sh/ponder/commit/0cbdf01f85f4180a62d0de671c7adc299b704104)]:
1592
+ - @ponder/utils@0.2.2
1593
+
1594
+ ## 0.6.21
1595
+
1596
+ ### Patch Changes
1597
+
1598
+ - [#1191](https://github.com/ponder-sh/ponder/pull/1191) [`3ac88a6b4c172212f8713babd82b3f51d2e9f11f`](https://github.com/ponder-sh/ponder/commit/3ac88a6b4c172212f8713babd82b3f51d2e9f11f) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved error handling for failing `readContract` requests.
1599
+
1600
+ ## 0.6.20
1601
+
1602
+ ### Patch Changes
1603
+
1604
+ - [#1187](https://github.com/ponder-sh/ponder/pull/1187) [`02917d17e89edf002b1bcd3d8fac45ca00a6077f`](https://github.com/ponder-sh/ponder/commit/02917d17e89edf002b1bcd3d8fac45ca00a6077f) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug leading to `event.transaction` to be undefined. If your app was affected by this bug it is recommended to drop the "ponder_sync" database schema and resync.
1605
+
1606
+ ## 0.6.19
1607
+
1608
+ ### Patch Changes
1609
+
1610
+ - [#1185](https://github.com/ponder-sh/ponder/pull/1185) [`c1c3c166300a93c3f2970eed94a82241ddeb31e4`](https://github.com/ponder-sh/ponder/commit/c1c3c166300a93c3f2970eed94a82241ddeb31e4) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved performance of `updateMany()`.
1611
+
1612
+ ## 0.6.18
1613
+
1614
+ ### Patch Changes
1615
+
1616
+ - [#1180](https://github.com/ponder-sh/ponder/pull/1180) [`87893bc915c4bc8be78ff9301e29baf56ac9edbf`](https://github.com/ponder-sh/ponder/commit/87893bc915c4bc8be78ff9301e29baf56ac9edbf) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that causes some events to be skipped in realtime for apps with multiple chains. This bug did not affect the sync cache and does not require the app to be resynced.
1617
+
1618
+ ## 0.6.17
1619
+
1620
+ ### Patch Changes
1621
+
1622
+ - [#1178](https://github.com/ponder-sh/ponder/pull/1178) [`b48cf539df9672b26f3af601e5bc7c599c600db9`](https://github.com/ponder-sh/ponder/commit/b48cf539df9672b26f3af601e5bc7c599c600db9) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug introduced in v0.6.9 that caused new child contracts to be missed for factories with a list of addresses after the historical backfill was complete.
1623
+
1624
+ ## 0.6.16
1625
+
1626
+ ### Patch Changes
1627
+
1628
+ - [#1175](https://github.com/ponder-sh/ponder/pull/1175) [`a037110d558b4288feeff2a028305d7b5349d6df`](https://github.com/ponder-sh/ponder/commit/a037110d558b4288feeff2a028305d7b5349d6df) Thanks [@0xOlias](https://github.com/0xOlias)! - Improved RPC validation error messages for matching `log.blockHash` and `trace.blockHash` with `block.hash`.
1629
+
1630
+ - [#1169](https://github.com/ponder-sh/ponder/pull/1169) [`b5992bca84949f6ac41f3587468e0b9f51c47887`](https://github.com/ponder-sh/ponder/commit/b5992bca84949f6ac41f3587468e0b9f51c47887) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the terminal UI would display the HTTP port as `0` after a hot reload. Fixed a bug where API function build errors would not trigger the terminal UI error state.
1631
+
1632
+ ## 0.6.15
1633
+
1634
+ ### Patch Changes
1635
+
1636
+ - [#1164](https://github.com/ponder-sh/ponder/pull/1164) [`087d393da96a5368b1c9594887b63485931518ec`](https://github.com/ponder-sh/ponder/commit/087d393da96a5368b1c9594887b63485931518ec) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug introduced in v0.6.0 where the `disableCache` option did not correctly ignore the cache in some cases.
1637
+
1638
+ ## 0.6.13
1639
+
1640
+ ### Patch Changes
1641
+
1642
+ - [#1160](https://github.com/ponder-sh/ponder/pull/1160) [`c75f6587dc4cf9f5a35bd7a239f482f4ae2c6b7d`](https://github.com/ponder-sh/ponder/commit/c75f6587dc4cf9f5a35bd7a239f482f4ae2c6b7d) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug introduced in v0.6 that caused events to be skipped near the end of the historical backfill. This bug did not affect the sync cache and does not require the app to be resynced.
1643
+
1644
+ ## 0.6.12
1645
+
1646
+ ### Patch Changes
1647
+
1648
+ - [#1152](https://github.com/ponder-sh/ponder/pull/1152) [`d436bdbeda7329658f127e01e0e2bfc9aeedff1a`](https://github.com/ponder-sh/ponder/commit/d436bdbeda7329658f127e01e0e2bfc9aeedff1a) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Added validations for inconsistent RPC responses.
1649
+
1650
+ ## 0.6.11
1651
+
1652
+ ### Patch Changes
1653
+
1654
+ - [#1155](https://github.com/ponder-sh/ponder/pull/1155) [`84889e6c00bae8f004a4e8665ec101a2a2f45e64`](https://github.com/ponder-sh/ponder/commit/84889e6c00bae8f004a4e8665ec101a2a2f45e64) Thanks [@sinasab](https://github.com/sinasab)! - Bumped `@hono/node-server` to fix a regression introduced in `0.5.0` that caused the HTTP server to not listen on IPv6 by default.
1655
+
1656
+ ## 0.6.10
1657
+
1658
+ ### Patch Changes
1659
+
1660
+ - [#1115](https://github.com/ponder-sh/ponder/pull/1115) [`1a7d1f8eaeddcc65730fecc89dd55594aa0b6920`](https://github.com/ponder-sh/ponder/commit/1a7d1f8eaeddcc65730fecc89dd55594aa0b6920) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved performance of realtime event processing.
1661
+
1662
+ ## 0.6.9
1663
+
1664
+ ### Patch Changes
1665
+
1666
+ - [#1149](https://github.com/ponder-sh/ponder/pull/1149) [`988289e97bb47e122d0dd177a890bbb6fbd719ea`](https://github.com/ponder-sh/ponder/commit/988289e97bb47e122d0dd177a890bbb6fbd719ea) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug where the `/status` endpoint would temporarily return incorrect data during realtime.
1667
+
1668
+ ## 0.6.8
1669
+
1670
+ ### Patch Changes
1671
+
1672
+ - [#1143](https://github.com/ponder-sh/ponder/pull/1143) [`9f86d5f56b17231bd412b2d231bf623b5948fbaa`](https://github.com/ponder-sh/ponder/commit/9f86d5f56b17231bd412b2d231bf623b5948fbaa) Thanks [@khaidarkairbek](https://github.com/khaidarkairbek)! - Eliminated unnecessary `eth_getTransactionReceipt` requests in realtime when `includeTransactionReceipts` was set to `true`.
1673
+
1674
+ ## 0.6.7
1675
+
1676
+ ### Patch Changes
1677
+
1678
+ - [#1137](https://github.com/ponder-sh/ponder/pull/1137) [`1f9482c7e402305eb837006bb8c659d5b2c8c900`](https://github.com/ponder-sh/ponder/commit/1f9482c7e402305eb837006bb8c659d5b2c8c900) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused factory contracts with multiple addresses not to be cached.
1679
+
1680
+ ## 0.6.6
1681
+
1682
+ ### Patch Changes
1683
+
1684
+ - [#1130](https://github.com/ponder-sh/ponder/pull/1130) [`a50db23dda44c32289c661d8799a37c5c6a88ec4`](https://github.com/ponder-sh/ponder/commit/a50db23dda44c32289c661d8799a37c5c6a88ec4) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug introduced in `0.6.0` that caused some apps to log progress greater than 100% and re-sync blocks unnecessarily.
1685
+
1686
+ ## 0.6.5
1687
+
1688
+ ### Patch Changes
1689
+
1690
+ - [#1126](https://github.com/ponder-sh/ponder/pull/1126) [`0a3adb000d60e091b24a6e8facce194c41712fc6`](https://github.com/ponder-sh/ponder/commit/0a3adb000d60e091b24a6e8facce194c41712fc6) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug introduced in v0.6 where extra transaction may be added to the database in the "realtime" sync when using factory contracts.
1691
+
1692
+ Any users that were affected by this bug and want to reduce the database size can do so with the query:
1693
+
1694
+ ```sql
1695
+ DELETE FROM ponder_sync.transactions WHERE
1696
+ hash NOT IN (SELECT "transactionHash" FROM ponder_sync.logs)
1697
+ AND
1698
+ hash NOT IN (SELECT "transactionHash" FROM ponder_sync."callTraces");
1699
+ ```
1700
+
1701
+ ## 0.6.4
1702
+
1703
+ ### Patch Changes
1704
+
1705
+ - [#1124](https://github.com/ponder-sh/ponder/pull/1124) [`75dc61d2c3bbbdfc0dd00fa8713428de7d0518c1`](https://github.com/ponder-sh/ponder/commit/75dc61d2c3bbbdfc0dd00fa8713428de7d0518c1) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug causing "getIntervals" to error on startup for some large, long-running apps.
1706
+
1707
+ ## 0.6.3
1708
+
1709
+ ### Patch Changes
1710
+
1711
+ - [#1118](https://github.com/ponder-sh/ponder/pull/1118) [`91cc17009eb8446c949eb8e352492dd8dff23b78`](https://github.com/ponder-sh/ponder/commit/91cc17009eb8446c949eb8e352492dd8dff23b78) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug introduced in `0.6.0` that caused a crash shortly after startup for some apps with a partial cache hit.
1712
+
1713
+ - [#1121](https://github.com/ponder-sh/ponder/pull/1121) [`2612ba2284f928303ad96db0496a7f1853c52de5`](https://github.com/ponder-sh/ponder/commit/2612ba2284f928303ad96db0496a7f1853c52de5) Thanks [@kyscott18](https://github.com/kyscott18)! - Pinned vite version. Some newer versions were known to cause hot reloading bugs.
1714
+
1715
+ ## 0.6.2
1716
+
1717
+ ### Patch Changes
1718
+
1719
+ - [#1113](https://github.com/ponder-sh/ponder/pull/1113) [`6c3b6cff1358cd0d8c30d2983183ba806797dedf`](https://github.com/ponder-sh/ponder/commit/6c3b6cff1358cd0d8c30d2983183ba806797dedf) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed address validation in config.
1720
+
1721
+ ## 0.6.1
1722
+
1723
+ ### Patch Changes
1724
+
1725
+ - Updated dependencies [[`6a5c8a54b9d976fa760c863512044d82702d0bb7`](https://github.com/ponder-sh/ponder/commit/6a5c8a54b9d976fa760c863512044d82702d0bb7)]:
1726
+ - @ponder/utils@0.2.1
1727
+
1728
+ ## 0.6.0
1729
+
1730
+ ### Minor Changes
1731
+
1732
+ - [#1074](https://github.com/ponder-sh/ponder/pull/1074) [`d9656a9af390f6c0a375cbbabfc85f90f510b13f`](https://github.com/ponder-sh/ponder/commit/d9656a9af390f6c0a375cbbabfc85f90f510b13f) Thanks [@kyscott18](https://github.com/kyscott18)! - Deprecated the `maxBlockRange` option from the `networks` object in `ponder.config.ts`.
1733
+
1734
+ - [#1074](https://github.com/ponder-sh/ponder/pull/1074) [`d9656a9af390f6c0a375cbbabfc85f90f510b13f`](https://github.com/ponder-sh/ponder/commit/d9656a9af390f6c0a375cbbabfc85f90f510b13f) Thanks [@kyscott18](https://github.com/kyscott18)! - BREAKING: Metrics changes. Replaced `ponder_historical_start_timestamp` with `ponder_historical_duration`, which improves the accuracy of sync duration estimates. Removed `ponder_indexing_function_error_total`. Removed the "network" label from `ponder_indexing_function_duration` and `ponder_indexing_completed_events`. Removed the "source" and "type" labels from `ponder_historical_total_blocks`, `ponder_historical_cached_blocks`, and `ponder_historical_completed_blocks`. Replaced `ponder_realtime_is_connected`, `ponder_realtime_latest_block_number`, and `ponder_realtime_latest_block_timestamp` with `ponder_sync_block`, `ponder_sync_is_realtime`, and `ponder_sync_is_complete`.
1735
+
1736
+ - [#1074](https://github.com/ponder-sh/ponder/pull/1074) [`d9656a9af390f6c0a375cbbabfc85f90f510b13f`](https://github.com/ponder-sh/ponder/commit/d9656a9af390f6c0a375cbbabfc85f90f510b13f) Thanks [@kyscott18](https://github.com/kyscott18)! - BREAKING: Introduced the `/ready` endpoint, which returns an HTTP `200` response once the app has finished historical indexing and is ready to serve requests. Changed the behavior of the `/health` endpoint. Now, `/health` returns an HTTP `200` response as soon as the process starts. Removed the `maxHealthcheckDuration` option from `ponder.config.ts`, and removed the top-level `options` property. Read the [migration guide](https://ponder.sh/docs/migration-guide#060) for more details.
1737
+
1738
+ - [#1074](https://github.com/ponder-sh/ponder/pull/1074) [`d9656a9af390f6c0a375cbbabfc85f90f510b13f`](https://github.com/ponder-sh/ponder/commit/d9656a9af390f6c0a375cbbabfc85f90f510b13f) Thanks [@kyscott18](https://github.com/kyscott18)! - BREAKING: Simplified Postgres schema usage pattern. Now, the indexed tables, reorg tables, and metadata table for a Ponder app are contained in one Postgres schema, specified by the user in `ponder.config.ts` (defaults to `public`). Removed usage of the shared `ponder` schema. Removed the view publishing pattern and removed the `publishSchema` option from `ponder.config.ts`. Fixed an issue where the `Schema is locked by a different Ponder app` warning would appear when running `ponder dev`. Read the [migration guide](https://ponder.sh/docs/migration-guide#060) for more details.
1739
+
1740
+ - [#1074](https://github.com/ponder-sh/ponder/pull/1074) [`d9656a9af390f6c0a375cbbabfc85f90f510b13f`](https://github.com/ponder-sh/ponder/commit/d9656a9af390f6c0a375cbbabfc85f90f510b13f) Thanks [@kyscott18](https://github.com/kyscott18)! - Removed the `maxHistoricalTaskConcurrency` option from the `networks` object in `ponder.config.ts`.
1741
+
1742
+ - [#1074](https://github.com/ponder-sh/ponder/pull/1074) [`d9656a9af390f6c0a375cbbabfc85f90f510b13f`](https://github.com/ponder-sh/ponder/commit/d9656a9af390f6c0a375cbbabfc85f90f510b13f) Thanks [@kyscott18](https://github.com/kyscott18)! - Updated `viem` peer dependency to `>=2`. Renamed the `context.client` action `getBytecode` to `getCode`. The `getEnsName` action is now supported. Improved performance of address checksum operations.
1743
+
1744
+ - [#1074](https://github.com/ponder-sh/ponder/pull/1074) [`d9656a9af390f6c0a375cbbabfc85f90f510b13f`](https://github.com/ponder-sh/ponder/commit/d9656a9af390f6c0a375cbbabfc85f90f510b13f) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved `eth_getLogs` retry behavior. Now, the sync engine automatically determines the optimal block range for `eth_getLogs` requests.
1745
+
1746
+ ### Patch Changes
1747
+
1748
+ - Updated dependencies [[`d9656a9af390f6c0a375cbbabfc85f90f510b13f`](https://github.com/ponder-sh/ponder/commit/d9656a9af390f6c0a375cbbabfc85f90f510b13f), [`d9656a9af390f6c0a375cbbabfc85f90f510b13f`](https://github.com/ponder-sh/ponder/commit/d9656a9af390f6c0a375cbbabfc85f90f510b13f)]:
1749
+ - @ponder/utils@0.2.0
1750
+
1751
+ ## 0.5.24
1752
+
1753
+ ### Patch Changes
1754
+
1755
+ - [#1105](https://github.com/ponder-sh/ponder/pull/1105) [`b7a3bb586c7a12eaf05f070a3bbae38139d7607d`](https://github.com/ponder-sh/ponder/commit/b7a3bb586c7a12eaf05f070a3bbae38139d7607d) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug introduced in `0.4.33` where the `--trace`, `--debug`, `-v`, and `-vv` CLI options and the `PONDER_LOG_LEVEL` env var did not correctly set the log level. (The `--log-level` option still worked).
1756
+
1757
+ - [#1106](https://github.com/ponder-sh/ponder/pull/1106) [`ad7907468ab529c61ccdecb0001802b51e17bb2c`](https://github.com/ponder-sh/ponder/commit/ad7907468ab529c61ccdecb0001802b51e17bb2c) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved error message when registering no indexing functions.
1758
+
1759
+ ## 0.5.23
1760
+
1761
+ ### Patch Changes
1762
+
1763
+ - [#1096](https://github.com/ponder-sh/ponder/pull/1096) [`9b4a07716ad790e3bb3bac02d9af81f934b14a81`](https://github.com/ponder-sh/ponder/commit/9b4a07716ad790e3bb3bac02d9af81f934b14a81) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed metrics for event sources with unfinalized start blocks.
1764
+
1765
+ - [#1064](https://github.com/ponder-sh/ponder/pull/1064) [`5760e6ff2e067807cb7e29a5b1bf5677b1d0dd82`](https://github.com/ponder-sh/ponder/commit/5760e6ff2e067807cb7e29a5b1bf5677b1d0dd82) Thanks [@jaylmiller](https://github.com/jaylmiller)! - Fixed a bug where the terminal UI would display the wrong hostname.
1766
+
1767
+ ## 0.5.22
1768
+
1769
+ ### Patch Changes
1770
+
1771
+ - [#1087](https://github.com/ponder-sh/ponder/pull/1087) [`8fb12bcc6dc79d70f0da86ef6deeda3509096303`](https://github.com/ponder-sh/ponder/commit/8fb12bcc6dc79d70f0da86ef6deeda3509096303) Thanks [@kyscott18](https://github.com/kyscott18)! - Upgraded `@hono/node-server` to fix a bug where HTTP TRACE requests would throw an error.
1772
+
1773
+ ## 0.5.21
1774
+
1775
+ ### Patch Changes
1776
+
1777
+ - [#1077](https://github.com/ponder-sh/ponder/pull/1077) [`0f6213f7d907ea0de27deebb994823d20f379349`](https://github.com/ponder-sh/ponder/commit/0f6213f7d907ea0de27deebb994823d20f379349) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed "ponder_realtime_is_connected" metric.
1778
+
1779
+ - [#1075](https://github.com/ponder-sh/ponder/pull/1075) [`6f1a57947e2062ce2f8d1a59068fe751bfc764ef`](https://github.com/ponder-sh/ponder/commit/6f1a57947e2062ce2f8d1a59068fe751bfc764ef) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved performance of reorg handling, that in some cases was leading to query timeouts and stalled indexing.
1780
+
1781
+ ## 0.5.20
1782
+
1783
+ ### Patch Changes
1784
+
1785
+ - [#1063](https://github.com/ponder-sh/ponder/pull/1063) [`d849b052c16b774d5d5eaa6e3f77b4ac26983088`](https://github.com/ponder-sh/ponder/commit/d849b052c16b774d5d5eaa6e3f77b4ac26983088) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a regression introduced in 0.5.9 where extra blocks were being written to the database during the realtime sync.
1786
+
1787
+ - [#1070](https://github.com/ponder-sh/ponder/pull/1070) [`2b28d8368f531ce61556e706504e6372a620fd78`](https://github.com/ponder-sh/ponder/commit/2b28d8368f531ce61556e706504e6372a620fd78) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug causing out of order events when a contract is used as both a normal contract and a factory.
1788
+
1789
+ - [#1068](https://github.com/ponder-sh/ponder/pull/1068) [`a1557d9a16ea6d6a4060838d06f03c4a251da1b9`](https://github.com/ponder-sh/ponder/commit/a1557d9a16ea6d6a4060838d06f03c4a251da1b9) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with factory contracts fetching and writing extra logs to the database.
1790
+
1791
+ - Updated dependencies [[`7c17ff32e8907b4a38d74cea2a431b689236048c`](https://github.com/ponder-sh/ponder/commit/7c17ff32e8907b4a38d74cea2a431b689236048c)]:
1792
+ - @ponder/utils@0.1.8
1793
+
1794
+ ## 0.5.19
1795
+
1796
+ ### Patch Changes
1797
+
1798
+ - [#1059](https://github.com/ponder-sh/ponder/pull/1059) [`7b8129dd2817fd7749511b5d0937a2818a9365c0`](https://github.com/ponder-sh/ponder/commit/7b8129dd2817fd7749511b5d0937a2818a9365c0) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved precision of historical sync cache for faster startup times.
1799
+
1800
+ ## 0.5.18
1801
+
1802
+ ### Patch Changes
1803
+
1804
+ - [#1056](https://github.com/ponder-sh/ponder/pull/1056) [`313267cbe93679b9b18a38929ee07b3a2008bb0f`](https://github.com/ponder-sh/ponder/commit/313267cbe93679b9b18a38929ee07b3a2008bb0f) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug introduced in v0.5.9 that caused events to be missed in realtime when indexing multiple chains. This issue does not affect database integrity, but affected apps should restart to ensure all events are indexed.
1805
+
1806
+ ## 0.5.17
1807
+
1808
+ ### Patch Changes
1809
+
1810
+ - [#1050](https://github.com/ponder-sh/ponder/pull/1050) [`b3225f46f905addfa6e8eb9d5f181a595d2b0858`](https://github.com/ponder-sh/ponder/commit/b3225f46f905addfa6e8eb9d5f181a595d2b0858) Thanks [@jwahdatehagh](https://github.com/jwahdatehagh)! - Fixed a bug that caused a build error when including `BigInt` literals in the config object (e.g. in `filter.args`).
1811
+
1812
+ - [#1051](https://github.com/ponder-sh/ponder/pull/1051) [`aa2aecd8d0f6157cef849bd77f94ec9e7fd0a05e`](https://github.com/ponder-sh/ponder/commit/aa2aecd8d0f6157cef849bd77f94ec9e7fd0a05e) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed misconfigured Postgres pool size for `ponder serve`.
1813
+
1814
+ ## 0.5.16
1815
+
1816
+ ### Patch Changes
1817
+
1818
+ - [#1048](https://github.com/ponder-sh/ponder/pull/1048) [`c88b78ab0f91b9f4c499b936bacb4602c418f8dc`](https://github.com/ponder-sh/ponder/commit/c88b78ab0f91b9f4c499b936bacb4602c418f8dc) Thanks [@kyscott18](https://github.com/kyscott18)! - Exported Drizzle [`alias`](https://orm.drizzle.team/docs/joins#aliases--selfjoins) function which can be used in API functions.
1819
+
1820
+ ## 0.5.15
1821
+
1822
+ ### Patch Changes
1823
+
1824
+ - [#1045](https://github.com/ponder-sh/ponder/pull/1045) [`662c45f676307ed35b46cfed363e4cabf476d5c0`](https://github.com/ponder-sh/ponder/commit/662c45f676307ed35b46cfed363e4cabf476d5c0) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed `/status` endpoint not being updated during the historical backfill.
1825
+
1826
+ ## 0.5.14
1827
+
1828
+ ### Patch Changes
1829
+
1830
+ - [#1042](https://github.com/ponder-sh/ponder/pull/1042) [`2c21ffab0339675e4577017f06ee01dd3852a4fc`](https://github.com/ponder-sh/ponder/commit/2c21ffab0339675e4577017f06ee01dd3852a4fc) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a regression introduced in `0.5.9` that sometimes caused events to be skipped during indexing if any `startBlock` was set earlier than in a previous indexing run. This issue did not affect the database integrity, but affected apps should restart to ensure all events are indexed.
1831
+
1832
+ ## 0.5.13
1833
+
1834
+ ### Patch Changes
1835
+
1836
+ - [#1040](https://github.com/ponder-sh/ponder/pull/1040) [`1593d0cc6714c140132c9e855e4396c1386f67a2`](https://github.com/ponder-sh/ponder/commit/1593d0cc6714c140132c9e855e4396c1386f67a2) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a regression introduced in 0.5.9 that caused the terminal ui to error.
1837
+
1838
+ ## 0.5.12
1839
+
1840
+ ### Patch Changes
1841
+
1842
+ - [#1036](https://github.com/ponder-sh/ponder/pull/1036) [`118cadc90459f9d3d482e59b952743c06e4d9d12`](https://github.com/ponder-sh/ponder/commit/118cadc90459f9d3d482e59b952743c06e4d9d12) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a regression introduced in 0.5.9 that slowed down the historical backfill for apps with a large number of events.
1843
+
1844
+ ## 0.5.11
1845
+
1846
+ ### Patch Changes
1847
+
1848
+ - [#1032](https://github.com/ponder-sh/ponder/pull/1032) [`57b9b1373b45e6585ade689c63591294d60cc612`](https://github.com/ponder-sh/ponder/commit/57b9b1373b45e6585ade689c63591294d60cc612) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved historical sync efficiency by inserting transactions in batches
1849
+
1850
+ ## 0.5.10
1851
+
1852
+ ### Patch Changes
1853
+
1854
+ - [#1024](https://github.com/ponder-sh/ponder/pull/1024) [`47f1030a00b9d72f4d477641aafe5d99a6dc7a0e`](https://github.com/ponder-sh/ponder/commit/47f1030a00b9d72f4d477641aafe5d99a6dc7a0e) Thanks [@tmm](https://github.com/tmm)! - Fixed CLI syncing ETA table column formatting to be less jumpy.
1855
+
1856
+ - [#1026](https://github.com/ponder-sh/ponder/pull/1026) [`d39f3b3de52d5ccc6850c7b951c2d8d069c04316`](https://github.com/ponder-sh/ponder/commit/d39f3b3de52d5ccc6850c7b951c2d8d069c04316) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved accuracy of historical to realtime handoff by dynamically refetching finalized blocks.
1857
+
1858
+ - [#1029](https://github.com/ponder-sh/ponder/pull/1029) [`ea38d18fb36b2757e75362c221cec48dc4411450`](https://github.com/ponder-sh/ponder/commit/ea38d18fb36b2757e75362c221cec48dc4411450) Thanks [@kyscott18](https://github.com/kyscott18)! - Added support for factory contracts with multiple addresses.
1859
+
1860
+ - [#1025](https://github.com/ponder-sh/ponder/pull/1025) [`f7aafb6f3926493f45e2362a0edfa92099c6a7a5`](https://github.com/ponder-sh/ponder/commit/f7aafb6f3926493f45e2362a0edfa92099c6a7a5) Thanks [@kyscott18](https://github.com/kyscott18)! - Added "ponder_indexing_abi_decoding_duration" to metrics to track abi decoding duration.
1861
+
1862
+ - [#1025](https://github.com/ponder-sh/ponder/pull/1025) [`f7aafb6f3926493f45e2362a0edfa92099c6a7a5`](https://github.com/ponder-sh/ponder/commit/f7aafb6f3926493f45e2362a0edfa92099c6a7a5) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved ABI decoding performance, leading to a ~10% improvement in historical indexing speed.
1863
+
1864
+ - [#1027](https://github.com/ponder-sh/ponder/pull/1027) [`76b1a5b90f26dc86183cac3aaa1ec1a30fafac12`](https://github.com/ponder-sh/ponder/commit/76b1a5b90f26dc86183cac3aaa1ec1a30fafac12) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved historical sync efficiency by inserting blocks in batches
1865
+
1866
+ ## 0.5.9
1867
+
1868
+ ### Patch Changes
1869
+
1870
+ - [#1014](https://github.com/ponder-sh/ponder/pull/1014) [`d3507deaad1ec46efabb93e5a345576c156f508a`](https://github.com/ponder-sh/ponder/commit/d3507deaad1ec46efabb93e5a345576c156f508a) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved accurary of `/status` endpoint during historical indexing.
1871
+
1872
+ - [#1014](https://github.com/ponder-sh/ponder/pull/1014) [`d3507deaad1ec46efabb93e5a345576c156f508a`](https://github.com/ponder-sh/ponder/commit/d3507deaad1ec46efabb93e5a345576c156f508a) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved sync performance for factory contracts and removed the 10,000 child address limit.
1873
+
1874
+ ## 0.5.8
1875
+
1876
+ ### Patch Changes
1877
+
1878
+ - [#1019](https://github.com/ponder-sh/ponder/pull/1019) [`6ce5ce70df8101826b02779ea52a8e04725ad2a9`](https://github.com/ponder-sh/ponder/commit/6ce5ce70df8101826b02779ea52a8e04725ad2a9) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed issue with multi-network block intervals.
1879
+
1880
+ - [#1003](https://github.com/ponder-sh/ponder/pull/1003) [`f609fbee88f1cc49f59eb06e722a9345aef0174f`](https://github.com/ponder-sh/ponder/commit/f609fbee88f1cc49f59eb06e722a9345aef0174f) Thanks [@sinasab](https://github.com/sinasab)! - Fix default ipv6 support
1881
+
1882
+ ## 0.5.7
1883
+
1884
+ ### Patch Changes
1885
+
1886
+ - [#1015](https://github.com/ponder-sh/ponder/pull/1015) [`c19358158d3be13e0c8bab8450ba16ab3f71011d`](https://github.com/ponder-sh/ponder/commit/c19358158d3be13e0c8bab8450ba16ab3f71011d) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where requests to the HTTP server could cause a metric label cardinality explosion.
1887
+
1888
+ ## 0.5.6
1889
+
1890
+ ### Patch Changes
1891
+
1892
+ - [#1009](https://github.com/ponder-sh/ponder/pull/1009) [`98344a111f47a6a95b766afaf8ecbec5ef57542e`](https://github.com/ponder-sh/ponder/commit/98344a111f47a6a95b766afaf8ecbec5ef57542e) Thanks [@kyscott18](https://github.com/kyscott18)! - Updated internal rpc request logic to not include invalid "eth_call" requests.
1893
+
1894
+ ## 0.5.5
1895
+
1896
+ ### Patch Changes
1897
+
1898
+ - [`1ced31b0acdf0c95e0e5029aeac774d0cff09a07`](https://github.com/ponder-sh/ponder/commit/1ced31b0acdf0c95e0e5029aeac774d0cff09a07) Thanks [@0xOlias](https://github.com/0xOlias)! - Updated `Access-Control-Max-Age` response header to `86400` seconds.
1899
+
1900
+ ## 0.5.4
1901
+
1902
+ ### Patch Changes
1903
+
1904
+ - [#1005](https://github.com/ponder-sh/ponder/pull/1005) [`bba168613896b84139d6546f8cf16855c5a3dcc9`](https://github.com/ponder-sh/ponder/commit/bba168613896b84139d6546f8cf16855c5a3dcc9) Thanks [@kyscott18](https://github.com/kyscott18)! - Enforced minimum polling interval of 100ms.
1905
+
1906
+ ## 0.5.3
1907
+
1908
+ ### Patch Changes
1909
+
1910
+ - [#1000](https://github.com/ponder-sh/ponder/pull/1000) [`8bbe39048e7dff402bfc14a4f77a6c7d5f431069`](https://github.com/ponder-sh/ponder/commit/8bbe39048e7dff402bfc14a4f77a6c7d5f431069) Thanks [@kyscott18](https://github.com/kyscott18)! - Update bloom filter logic.
1911
+
1912
+ ## 0.5.2
1913
+
1914
+ ### Patch Changes
1915
+
1916
+ - [#995](https://github.com/ponder-sh/ponder/pull/995) [`44f7bbcd000b47359003b84a771eaadb0d835fe7`](https://github.com/ponder-sh/ponder/commit/44f7bbcd000b47359003b84a771eaadb0d835fe7) Thanks [@erensanlier](https://github.com/erensanlier)! - Fixed a bug where the SQLite `directory` option in `ponder.config.ts` was not respected.
1917
+
1918
+ ## 0.5.1
1919
+
1920
+ ### Patch Changes
1921
+
1922
+ - [#970](https://github.com/ponder-sh/ponder/pull/970) [`5b5a92ee9ab14fdd3cc4cc0b05e4aa1e69a77ad9`](https://github.com/ponder-sh/ponder/commit/5b5a92ee9ab14fdd3cc4cc0b05e4aa1e69a77ad9) Thanks [@robiiinos](https://github.com/robiiinos)! - Added `CASCADE` to the `DROP VIEW` statements that run during the PostgreSQL view publish step. This fixes a bug where Ponder would crash during the publish step if there were database objects dependent on the Ponder-managed views.
1923
+
1924
+ - [#981](https://github.com/ponder-sh/ponder/pull/981) [`b715545ed416e409089e10b01aeb32cf26c4b384`](https://github.com/ponder-sh/ponder/commit/b715545ed416e409089e10b01aeb32cf26c4b384) Thanks [@robiiinos](https://github.com/robiiinos)! - Fixed a broken link to the telemetry documentation.
1925
+
1926
+ - [#980](https://github.com/ponder-sh/ponder/pull/980) [`e039f1210a72409f5df268b38adf3d45360f5a14`](https://github.com/ponder-sh/ponder/commit/e039f1210a72409f5df268b38adf3d45360f5a14) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed an issue that prevented `ponder dev` from shutting down gracefully when using SQLite.
1927
+
1928
+ ## 0.5.0
1929
+
1930
+ ### Minor Changes
1931
+
1932
+ - [#943](https://github.com/ponder-sh/ponder/pull/943) [`e997102fce758d532668430b14c0067955c462fd`](https://github.com/ponder-sh/ponder/commit/e997102fce758d532668430b14c0067955c462fd) Thanks [@kyscott18](https://github.com/kyscott18)! - Introduced API functions. [Read more](https://ponder.sh/docs/query/api-functions). Please read the [migration guide](https://ponder.sh/docs/migration-guide) for more information.
1933
+
1934
+ ## 0.4.43
1935
+
1936
+ ### Patch Changes
1937
+
1938
+ - [#972](https://github.com/ponder-sh/ponder/pull/972) [`93e36a2735fc1e4688e620a68aea60353fdeac09`](https://github.com/ponder-sh/ponder/commit/93e36a2735fc1e4688e620a68aea60353fdeac09) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed type error for `p.many()` with self reference.
1939
+
1940
+ ## 0.4.42
1941
+
1942
+ ### Patch Changes
1943
+
1944
+ - [#967](https://github.com/ponder-sh/ponder/pull/967) [`a143279fd2a200d9955eac06132b254107a13a41`](https://github.com/ponder-sh/ponder/commit/a143279fd2a200d9955eac06132b254107a13a41) Thanks [@0xOlias](https://github.com/0xOlias)! - Bumped `better-sqlite3` to `11.1.2` to improve prebuilt binary coverage.
1945
+
1946
+ - [#963](https://github.com/ponder-sh/ponder/pull/963) [`c58d6316d03d0e229ee8c9255f4a3d0604378241`](https://github.com/ponder-sh/ponder/commit/c58d6316d03d0e229ee8c9255f4a3d0604378241) Thanks [@kyscott18](https://github.com/kyscott18)! - Added an indexing status endpoint at `/status` and a `{ _meta { status } }` field in the GraphQL API. [Read more](https://ponder.sh/docs/advanced/status).
1947
+
1948
+ - Updated dependencies [[`e82e385b777cf6fccaf779fe8b12151b56456b68`](https://github.com/ponder-sh/ponder/commit/e82e385b777cf6fccaf779fe8b12151b56456b68)]:
1949
+ - @ponder/utils@0.1.7
1950
+
1951
+ ## 0.4.41
1952
+
1953
+ ### Patch Changes
1954
+
1955
+ - [#952](https://github.com/ponder-sh/ponder/pull/952) [`a3f30201f9d123b76b39abcc331f71a01f26c7f8`](https://github.com/ponder-sh/ponder/commit/a3f30201f9d123b76b39abcc331f71a01f26c7f8) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where circular imports between files (like `ponder.config.ts` and `src/index.ts`) would sometimes return `undefined` during the initial build.
1956
+
1957
+ ## 0.4.40
1958
+
1959
+ ### Patch Changes
1960
+
1961
+ - [#946](https://github.com/ponder-sh/ponder/pull/946) [`d6cc62e69670cc683596ab0dc0b90357b7bce644`](https://github.com/ponder-sh/ponder/commit/d6cc62e69670cc683596ab0dc0b90357b7bce644) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an indexing bug causing the "syntax error at end of input" error.
1962
+
1963
+ ## 0.4.39
1964
+
1965
+ ### Patch Changes
1966
+
1967
+ - [#944](https://github.com/ponder-sh/ponder/pull/944) [`7ca63a8f42c7a6650508a5c7904785c1a4780c47`](https://github.com/ponder-sh/ponder/commit/7ca63a8f42c7a6650508a5c7904785c1a4780c47) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed "too many SQL variables" bug for tables with >30 columns.
1968
+
1969
+ ## 0.4.38
1970
+
1971
+ ### Patch Changes
1972
+
1973
+ - [#939](https://github.com/ponder-sh/ponder/pull/939) [`81705fa2640754c42ddc3172aca8c3bd15bb7465`](https://github.com/ponder-sh/ponder/commit/81705fa2640754c42ddc3172aca8c3bd15bb7465) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an issue introduced in v0.4.37 where updating a table with only an "id" column would cause a SQL syntax error.
1974
+
1975
+ ## 0.4.37
1976
+
1977
+ ### Patch Changes
1978
+
1979
+ - [#929](https://github.com/ponder-sh/ponder/pull/929) [`42f2e9194343fc9e851656c1baedb9d9dd5d66a4`](https://github.com/ponder-sh/ponder/commit/42f2e9194343fc9e851656c1baedb9d9dd5d66a4) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved indexing performance by using a dynamic checkpoint range when querying raw events from the sync store. The checkpoint range adjusts based on the density of events in the previous batch. This eliminates performance issues when using databases that had >1M rows in the `ponder_sync.logs` table.
1980
+
1981
+ - [#929](https://github.com/ponder-sh/ponder/pull/929) [`42f2e9194343fc9e851656c1baedb9d9dd5d66a4`](https://github.com/ponder-sh/ponder/commit/42f2e9194343fc9e851656c1baedb9d9dd5d66a4) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved indexing performance by batching database writes using an in-memory LRU record cache.
1982
+
1983
+ ## 0.4.36
1984
+
1985
+ ### Patch Changes
1986
+
1987
+ - [#931](https://github.com/ponder-sh/ponder/pull/931) [`3bf69809b25c7d3e50be6eaf2f8d3564c7bb8f14`](https://github.com/ponder-sh/ponder/commit/3bf69809b25c7d3e50be6eaf2f8d3564c7bb8f14) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed bug with cache intervals occasionally causing statement timeouts for large apps.
1988
+
1989
+ ## 0.4.35
1990
+
1991
+ ### Patch Changes
1992
+
1993
+ - [`b77a43fb7fbad4e2710d31537ce21a29c1f6aafe`](https://github.com/ponder-sh/ponder/commit/b77a43fb7fbad4e2710d31537ce21a29c1f6aafe) Thanks [@0xOlias](https://github.com/0xOlias)! - Improves support for indexing local nodes by adding a `disableCache` network option. [Read more](https://ponder.sh/docs/advanced/foundry).
1994
+
1995
+ - [#927](https://github.com/ponder-sh/ponder/pull/927) [`3be6365c4c71dd0ac8275d485eb0317a656672b7`](https://github.com/ponder-sh/ponder/commit/3be6365c4c71dd0ac8275d485eb0317a656672b7) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an issues that would cause unexpected blocks to immediately cause a fatal error with a deep reorg.
1996
+
1997
+ ## 0.4.34
1998
+
1999
+ ### Patch Changes
2000
+
2001
+ - [#925](https://github.com/ponder-sh/ponder/pull/925) [`2a95909da55c816a9ea77f23170b1370f11ee555`](https://github.com/ponder-sh/ponder/commit/2a95909da55c816a9ea77f23170b1370f11ee555) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a regression introduced in `0.4.33` that could cause events to be skipped.
2002
+
2003
+ ## 0.4.33
2004
+
2005
+ ### Patch Changes
2006
+
2007
+ - [`e29efbb4c51181e723ca25ba35c2dd7263738f77`](https://github.com/ponder-sh/ponder/commit/e29efbb4c51181e723ca25ba35c2dd7263738f77) Thanks [@0xOlias](https://github.com/0xOlias)! - Added new CLI options `--log-level` and `--log-format`. Added support for structured logs using newline delimited JSON. [Read more](https://ponder.sh/docs/advanced/logging).
2008
+
2009
+ - [#922](https://github.com/ponder-sh/ponder/pull/922) [`ec5472749ee195a7f6ec8753d622ecf575656983`](https://github.com/ponder-sh/ponder/commit/ec5472749ee195a7f6ec8753d622ecf575656983) Thanks [@kyscott18](https://github.com/kyscott18)! - Updated `hono` and `@hono/node-server` to fix a memory leak in the server.
2010
+
2011
+ - [#917](https://github.com/ponder-sh/ponder/pull/917) [`1e423a1c4f5eb303711842cc6389f9e13cfeecde`](https://github.com/ponder-sh/ponder/commit/1e423a1c4f5eb303711842cc6389f9e13cfeecde) Thanks [@kyscott18](https://github.com/kyscott18)! - Added support for `startBlock` or `endBlock` to be greater than the finalized or latest block.
2012
+
2013
+ - [#907](https://github.com/ponder-sh/ponder/pull/907) [`c9886d9dd86bea13b85fe0335a96c8ca24a30fd9`](https://github.com/ponder-sh/ponder/commit/c9886d9dd86bea13b85fe0335a96c8ca24a30fd9) Thanks [@erensanlier](https://github.com/erensanlier)! - Improved the performance an important internal SQL query (`getEvents`) for large apps. An app with ~5M rows in the `ponder_sync.logs` table saw a ~20x reduction in execution time for this query. Smaller apps will see a more modest improvement.
2014
+
2015
+ ## 0.4.32
2016
+
2017
+ ### Patch Changes
2018
+
2019
+ - [`4ef2d6212e59b4c4ba0723e78a1c204db3d94542`](https://github.com/ponder-sh/ponder/commit/4ef2d6212e59b4c4ba0723e78a1c204db3d94542) Thanks [@0xOlias](https://github.com/0xOlias)! - Added `replaceBigInts` utility function to `@ponder/utils` (re-exported from `@ponder/core`). [Read more](https://ponder.sh/docs/utilities/replace-bigints).
2020
+
2021
+ - Updated dependencies [[`4ef2d6212e59b4c4ba0723e78a1c204db3d94542`](https://github.com/ponder-sh/ponder/commit/4ef2d6212e59b4c4ba0723e78a1c204db3d94542)]:
2022
+ - @ponder/utils@0.1.6
2023
+
2024
+ ## 0.4.31
2025
+
2026
+ ### Patch Changes
2027
+
2028
+ - [#912](https://github.com/ponder-sh/ponder/pull/912) [`dff08b880c348bf99396a86d282b8eb25d366fe7`](https://github.com/ponder-sh/ponder/commit/dff08b880c348bf99396a86d282b8eb25d366fe7) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with the GraphQL schema where many-to-one fields were using the wrong filter type.
2029
+
2030
+ ## 0.4.30
2031
+
2032
+ ### Patch Changes
2033
+
2034
+ - [#873](https://github.com/ponder-sh/ponder/pull/873) [`3335dc2d3c2fd48d6279feed8cb24489c69ba3e5`](https://github.com/ponder-sh/ponder/commit/3335dc2d3c2fd48d6279feed8cb24489c69ba3e5) Thanks [@sinasab](https://github.com/sinasab)! - Exported config helper types: `ContractConfig`, `NetworkConfig`, `BlockConfig`, and `DatabaseConfig`.
2035
+
2036
+ ## 0.4.29
2037
+
2038
+ ### Patch Changes
2039
+
2040
+ - [`48b4176f2aec79ef74a62e88eaf3bb4ecfcfcb2e`](https://github.com/ponder-sh/ponder/commit/48b4176f2aec79ef74a62e88eaf3bb4ecfcfcb2e) Thanks [@0xOlias](https://github.com/0xOlias)! - Bumped `better-sqlite3` from `9.1.1` to `10.0.0` which added prebuilt binaries for Node.js 22. This fixes a bug where builds on Railway (using Nixpacks `>=1.22.0`) failed while attempting to build `better-sqlite3` from source.
2041
+
2042
+ - [`c596b4c45224e0e5de84e021096b09730c351dba`](https://github.com/ponder-sh/ponder/commit/c596b4c45224e0e5de84e021096b09730c351dba) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where `updateMany` store method calls were not batched properly. Now `updateMany` follows the same batch size limit as `createMany` (1000).
2043
+
2044
+ ## 0.4.28
2045
+
2046
+ ### Patch Changes
2047
+
2048
+ - [#892](https://github.com/ponder-sh/ponder/pull/892) [`0c6901f266635e9bd4e96dab00b3e2af892ec584`](https://github.com/ponder-sh/ponder/commit/0c6901f266635e9bd4e96dab00b3e2af892ec584) Thanks [@kyscott18](https://github.com/kyscott18)! - Increased RPC request & database query retry threshold from 4 attempts over 2 seconds to 10 attempts over 1 minute.
2049
+
2050
+ - [#898](https://github.com/ponder-sh/ponder/pull/898) [`a2286b06292c20b0fc77aef5cd845cc27f3bad43`](https://github.com/ponder-sh/ponder/commit/a2286b06292c20b0fc77aef5cd845cc27f3bad43) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an issue causing apps using custom indexes to crash with the error: `Database error during 'createIndexes' ... [index] already exists`.
2051
+
2052
+ - [#892](https://github.com/ponder-sh/ponder/pull/892) [`0c6901f266635e9bd4e96dab00b3e2af892ec584`](https://github.com/ponder-sh/ponder/commit/0c6901f266635e9bd4e96dab00b3e2af892ec584) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug where certain RPC errors were incorrectly marked as non-retryable.
2053
+
2054
+ ## 0.4.27
2055
+
2056
+ ### Patch Changes
2057
+
2058
+ - [#893](https://github.com/ponder-sh/ponder/pull/893) [`d0ec6b3022f8a3463bfdd41d100c178242c11d1c`](https://github.com/ponder-sh/ponder/commit/d0ec6b3022f8a3463bfdd41d100c178242c11d1c) Thanks [@kyscott18](https://github.com/kyscott18)! - Added a JSON column type with `p.json()`.
2059
+
2060
+ - Updated dependencies [[`9d64a31a527914145c86b0c8e43b9d185e35a1e1`](https://github.com/ponder-sh/ponder/commit/9d64a31a527914145c86b0c8e43b9d185e35a1e1)]:
2061
+ - @ponder/utils@0.1.5
2062
+
2063
+ ## 0.4.26
2064
+
2065
+ ### Patch Changes
2066
+
2067
+ - [#890](https://github.com/ponder-sh/ponder/pull/890) [`3e4a6387d46b35cb73c123ad210ba28f09a0d883`](https://github.com/ponder-sh/ponder/commit/3e4a6387d46b35cb73c123ad210ba28f09a0d883) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug introduced in 0.4.25 where call traces with an 'out of gas' error could not be inserted into the database.
2068
+
2069
+ ## 0.4.25
2070
+
2071
+ ### Patch Changes
2072
+
2073
+ - [#867](https://github.com/ponder-sh/ponder/pull/867) [`e5498ad304a7bc54ccdd8b91327d431b15af388b`](https://github.com/ponder-sh/ponder/commit/e5498ad304a7bc54ccdd8b91327d431b15af388b) Thanks [@kyscott18](https://github.com/kyscott18)! - Added support for call trace indexing. [See the docs for more details](https://ponder.sh/docs/indexing/call-traces).
2074
+
2075
+ ## 0.4.24
2076
+
2077
+ ### Patch Changes
2078
+
2079
+ - [`793483c4a4defd8653c8dc67176a95f2a0d7e4bc`](https://github.com/ponder-sh/ponder/commit/793483c4a4defd8653c8dc67176a95f2a0d7e4bc) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with the "has" condition in the "findMany" function and graphQL affecting "hex" and "bigint" list columns.
2080
+
2081
+ ## 0.4.23
2082
+
2083
+ ### Patch Changes
2084
+
2085
+ - [#880](https://github.com/ponder-sh/ponder/pull/880) [`10e25480e862b7ffc8ad184c85a773d85d375f64`](https://github.com/ponder-sh/ponder/commit/10e25480e862b7ffc8ad184c85a773d85d375f64) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved realtime detection for invalid "eth_getLogs" responses by comparing response length with a block's bloom filter.
2086
+
2087
+ ## 0.4.22
2088
+
2089
+ ### Patch Changes
2090
+
2091
+ - [`91e6328c2bb9b8c80d1afbdc0f4ba545b768f2ed`](https://github.com/ponder-sh/ponder/commit/91e6328c2bb9b8c80d1afbdc0f4ba545b768f2ed) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where some historical sync logs would be duplicated when using `ponder start`.
2092
+
2093
+ - [#871](https://github.com/ponder-sh/ponder/pull/871) [`7c60c0cb10eb7093b33bde24e9842b54ded458ad`](https://github.com/ponder-sh/ponder/commit/7c60c0cb10eb7093b33bde24e9842b54ded458ad) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a logger bug that caused a memory leak during historical indexing that could crash large apps when the sync is fully cached. Stopped writing logs to files in the `.ponder/logs` directory.
2094
+
2095
+ ## 0.4.21
2096
+
2097
+ ### Patch Changes
2098
+
2099
+ - [#852](https://github.com/ponder-sh/ponder/pull/852) [`b16ab1ac805a418614eb87ea2b16f06394bd67e0`](https://github.com/ponder-sh/ponder/commit/b16ab1ac805a418614eb87ea2b16f06394bd67e0) Thanks [@kyscott18](https://github.com/kyscott18)! - Added support for database indexes using the `p.index()` function in `ponder.schema.ts`. [Read more](https://ponder.sh/docs/schema#indexes).
2100
+
2101
+ ## 0.4.20
2102
+
2103
+ ### Patch Changes
2104
+
2105
+ - [#863](https://github.com/ponder-sh/ponder/pull/863) [`3f46d9e1303c178dc3da9839675a4e52f1d7adea`](https://github.com/ponder-sh/ponder/commit/3f46d9e1303c178dc3da9839675a4e52f1d7adea) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a regression introduced in 0.4.15 that caused apps using SQLite to encounter errors like `NOT NULL constraint failed: blocks.mixHash` when using chains that do not include all properties on the RPC block object.
2106
+
2107
+ - [#860](https://github.com/ponder-sh/ponder/pull/860) [`e07956a9f1c0117e6b27aee6ea9c06ca2217b4c5`](https://github.com/ponder-sh/ponder/commit/e07956a9f1c0117e6b27aee6ea9c06ca2217b4c5) Thanks [@kyscott18](https://github.com/kyscott18)! - Increased realtime sync retry threshold. Now, realtime sync errors will continue retrying for 10 minutes before throwing a fatal error. This improves stability when using RPC providers that are slow to index block hashes for [EIP-234](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-234.md) requests.
2108
+
2109
+ - [#865](https://github.com/ponder-sh/ponder/pull/865) [`ba16f324f8b591d57714320c01f10d46497c8894`](https://github.com/ponder-sh/ponder/commit/ba16f324f8b591d57714320c01f10d46497c8894) Thanks [@0xOlias](https://github.com/0xOlias)! - Added GraphQL operation validations for max token count (1000).
2110
+
2111
+ ## 0.4.19
2112
+
2113
+ ### Patch Changes
2114
+
2115
+ - [#853](https://github.com/ponder-sh/ponder/pull/853) [`19eef7b5873a4786e03d83ff2205f2e1bf86d2c6`](https://github.com/ponder-sh/ponder/commit/19eef7b5873a4786e03d83ff2205f2e1bf86d2c6) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the `maxHealthcheckDuration` option in `ponder.config.ts` was not being used. Removed support for setting the max healthcheck duration using the `RAILWAY_HEALTHCHECK_TIMEOUT_SEC` environment variable (Railway no longer provides this variable).
2116
+
2117
+ - [#853](https://github.com/ponder-sh/ponder/pull/853) [`19eef7b5873a4786e03d83ff2205f2e1bf86d2c6`](https://github.com/ponder-sh/ponder/commit/19eef7b5873a4786e03d83ff2205f2e1bf86d2c6) Thanks [@0xOlias](https://github.com/0xOlias)! - Added GraphQL operation validations for max depth (100) and max number of aliases (30).
2118
+
2119
+ ## 0.4.18
2120
+
2121
+ ### Patch Changes
2122
+
2123
+ - [#857](https://github.com/ponder-sh/ponder/pull/857) [`e6638f38d24498a61c0d26fae99800ada3f85696`](https://github.com/ponder-sh/ponder/commit/e6638f38d24498a61c0d26fae99800ada3f85696) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug introduced in 0.4.15 where the initial build would sometimes fail with an "Maximum call stack size exceeded" error.
2124
+
2125
+ ## 0.4.17
2126
+
2127
+ ### Patch Changes
2128
+
2129
+ - [#855](https://github.com/ponder-sh/ponder/pull/855) [`92c99c45302c490708fcf0753096be72527ff640`](https://github.com/ponder-sh/ponder/commit/92c99c45302c490708fcf0753096be72527ff640) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a type-level bug with the utility type "Context".
2130
+
2131
+ ## 0.4.16
2132
+
2133
+ ### Patch Changes
2134
+
2135
+ - [#831](https://github.com/ponder-sh/ponder/pull/831) [`273079c40ebd3f7e68afc14fe534e134519c4c03`](https://github.com/ponder-sh/ponder/commit/273079c40ebd3f7e68afc14fe534e134519c4c03) Thanks [@kyscott18](https://github.com/kyscott18)! - Added support for block event indexing. For more details, please [visit the documentation](https://ponder.sh/block-events).
2136
+
2137
+ ## 0.4.15
2138
+
2139
+ ### Patch Changes
2140
+
2141
+ - [#848](https://github.com/ponder-sh/ponder/pull/848) [`94710535352d27d9ae877e8bb548a662e179d972`](https://github.com/ponder-sh/ponder/commit/94710535352d27d9ae877e8bb548a662e179d972) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved crash recovery mechanism. Now, when using `ponder start`, a restarted Ponder app (running the same code) will attempt to continue indexing where it previously left off.
2142
+
2143
+ ## 0.4.14
2144
+
2145
+ ### Patch Changes
2146
+
2147
+ - [`02068e48a1e50441643e456b85523038e9b9fdfe`](https://github.com/ponder-sh/ponder/commit/02068e48a1e50441643e456b85523038e9b9fdfe) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where failed RPC requests were being logged as an error even when they were retried and ultimately succeeded.
2148
+
2149
+ - [#846](https://github.com/ponder-sh/ponder/pull/846) [`e73bcb06f10b7c166db2a826d79a1d642fbd48da`](https://github.com/ponder-sh/ponder/commit/e73bcb06f10b7c166db2a826d79a1d642fbd48da) Thanks [@0xOlias](https://github.com/0xOlias)! - Added HTTP server metrics. Fixed a bug where the `ponder_indexing_completed_timestamp` and `ponder_realtime_is_connected` metrics were no longer being updated. Renamed `ponder_server_port` to `ponder_http_server_port`. Updated histogram metric bucket ranges.
2150
+
2151
+ - [#844](https://github.com/ponder-sh/ponder/pull/844) [`4f2c5d73fe4151afa9566a041b12d245e9133593`](https://github.com/ponder-sh/ponder/commit/4f2c5d73fe4151afa9566a041b12d245e9133593) Thanks [@0xOlias](https://github.com/0xOlias)! - Added a `poolConfig` option to `ponder.config.ts`. This option overrides the default [`PoolConfig`](https://node-postgres.com/apis/pool) used when constructing the `node-postgres` connection pool.
2152
+
2153
+ ## 0.4.13
2154
+
2155
+ ### Patch Changes
2156
+
2157
+ - [#838](https://github.com/ponder-sh/ponder/pull/838) [`b6d7f2189c4171a4d9f5bb10c2e1f022af2b8d3b`](https://github.com/ponder-sh/ponder/commit/b6d7f2189c4171a4d9f5bb10c2e1f022af2b8d3b) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a regression introduced in `0.4.9` where `update` operations during historical indexing would fail with errors like `relation does not exist` or `column "columnName" of relation "TableName"` does not exist.
2158
+
2159
+ ## 0.4.12
2160
+
2161
+ ### Patch Changes
2162
+
2163
+ - [#834](https://github.com/ponder-sh/ponder/pull/834) [`12b3e2178aea5c72605d5125fac515a4b42eeeb2`](https://github.com/ponder-sh/ponder/commit/12b3e2178aea5c72605d5125fac515a4b42eeeb2) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where calling `update` or `upsert` with an empty update would throw a "RecordNotFound" store error instead of a no-op.
2164
+
2165
+ ## 0.4.11
2166
+
2167
+ ### Patch Changes
2168
+
2169
+ - [#830](https://github.com/ponder-sh/ponder/pull/830) [`1a445678cc59dc8e1f1c34b978e3551a3172c951`](https://github.com/ponder-sh/ponder/commit/1a445678cc59dc8e1f1c34b978e3551a3172c951) Thanks [@ChiTimesChi](https://github.com/ChiTimesChi)! - Added the network name to the historical sync log message and inserted missing commas in logs that contain more than one variable.
2170
+
2171
+ ## 0.4.10
2172
+
2173
+ ### Patch Changes
2174
+
2175
+ - [#828](https://github.com/ponder-sh/ponder/pull/828) [`7c17975f0710ce1531a2d9412b180e4b96ccb733`](https://github.com/ponder-sh/ponder/commit/7c17975f0710ce1531a2d9412b180e4b96ccb733) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the dev server would often crash with the error "The database connection is not open" when using SQLite or "Cannot use a pool after calling end on the pool" when using Postgres.
2176
+
2177
+ - [#828](https://github.com/ponder-sh/ponder/pull/828) [`7c17975f0710ce1531a2d9412b180e4b96ccb733`](https://github.com/ponder-sh/ponder/commit/7c17975f0710ce1531a2d9412b180e4b96ccb733) Thanks [@0xOlias](https://github.com/0xOlias)! - Improved error messages for SQL constraint violations (unique, not-null, and no record found during an update).
2178
+
2179
+ ## 0.4.9
2180
+
2181
+ ### Patch Changes
2182
+
2183
+ - [#824](https://github.com/ponder-sh/ponder/pull/824) [`7c8edb3e184d4c73a766127320f556658e812977`](https://github.com/ponder-sh/ponder/commit/7c8edb3e184d4c73a766127320f556658e812977) Thanks [@kyscott18](https://github.com/kyscott18)! - Removed retries for indexing functions in favor of better retry behavior for RPC requests and database queries. To achieve the same behavior as before, add retry logic to any code that could produce occasional errors (HTTP requests).
2184
+
2185
+ - [#824](https://github.com/ponder-sh/ponder/pull/824) [`7c8edb3e184d4c73a766127320f556658e812977`](https://github.com/ponder-sh/ponder/commit/7c8edb3e184d4c73a766127320f556658e812977) Thanks [@kyscott18](https://github.com/kyscott18)! - ~50% faster historical indexing by skipping unnecessary database writes to reorg reconciliation tables. Realtime indexing speed is unaffected.
2186
+
2187
+ - [#823](https://github.com/ponder-sh/ponder/pull/823) [`344a3543839f20f19e072a8fc14d859ea2d7fc61`](https://github.com/ponder-sh/ponder/commit/344a3543839f20f19e072a8fc14d859ea2d7fc61) Thanks [@0xOlias](https://github.com/0xOlias)! - Added support for including transaction receipts (`event.transactionReceipt`). To enable transaction receipts for all events on a contract, set `includeTransactionReceipts: true` on the contract config. Receipts can be specified/overriden on a per-network basis. Note that including receipts may slow down the historical sync due to additional `eth_getTransactionReceipt` RPC requests.
2188
+
2189
+ ## 0.4.8
2190
+
2191
+ ### Patch Changes
2192
+
2193
+ - [#802](https://github.com/ponder-sh/ponder/pull/802) [`6a929eccb999b85d855f93720b65ff5e3a1a2d9c`](https://github.com/ponder-sh/ponder/commit/6a929eccb999b85d855f93720b65ff5e3a1a2d9c) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed several bugs related to realtime reliability including handling reorgs when the head block number goes backwards commonly occurring in Polygon and inconsistent data returned by "eth_getLogs".
2194
+
2195
+ ## 0.4.7
2196
+
2197
+ ### Patch Changes
2198
+
2199
+ - [#806](https://github.com/ponder-sh/ponder/pull/806) [`398939198f5edcf9328410e5930f1ebc207ea502`](https://github.com/ponder-sh/ponder/commit/398939198f5edcf9328410e5930f1ebc207ea502) Thanks [@0xOlias](https://github.com/0xOlias)! - Added support for Windows via PowerShell and command prompt (cmd.exe).
2200
+
2201
+ - Updated dependencies [[`2d9fcbae895b1c7388683fec5c0f36999ead29ce`](https://github.com/ponder-sh/ponder/commit/2d9fcbae895b1c7388683fec5c0f36999ead29ce)]:
2202
+ - @ponder/utils@0.1.4
2203
+
2204
+ ## 0.4.6
2205
+
2206
+ ### Patch Changes
2207
+
2208
+ - Updated dependencies [[`db106f5ffc302f1a02dcb54f31432420fae3c3cc`](https://github.com/ponder-sh/ponder/commit/db106f5ffc302f1a02dcb54f31432420fae3c3cc)]:
2209
+ - @ponder/utils@0.1.3
2210
+
2211
+ ## 0.4.5
2212
+
2213
+ ### Patch Changes
2214
+
2215
+ - [#808](https://github.com/ponder-sh/ponder/pull/808) [`b59fda228f3a95702550adf9f86f81f401109b6b`](https://github.com/ponder-sh/ponder/commit/b59fda228f3a95702550adf9f86f81f401109b6b) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a regression causing indexing overloaded events to error.
2216
+
2217
+ - [#805](https://github.com/ponder-sh/ponder/pull/805) [`0873d31163aed8cb16012088735389d7452e3eaf`](https://github.com/ponder-sh/ponder/commit/0873d31163aed8cb16012088735389d7452e3eaf) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where logs for factory contracts would sometimes be fetched twice. This caused an error for some projects using factory contracts.
2218
+
2219
+ ## 0.4.4
2220
+
2221
+ ### Patch Changes
2222
+
2223
+ - [`182d47e1a8ea9b8c1a742cbe987509f1aea5c3b7`](https://github.com/ponder-sh/ponder/commit/182d47e1a8ea9b8c1a742cbe987509f1aea5c3b7) Thanks [@0xOlias](https://github.com/0xOlias)! - Improved performance of sync migrations introduced in 0.4.0.
2224
+
2225
+ ## 0.4.3
2226
+
2227
+ ### Patch Changes
2228
+
2229
+ - [#799](https://github.com/ponder-sh/ponder/pull/799) [`f526c79ceeee880df611ed592de06e7fb3146af5`](https://github.com/ponder-sh/ponder/commit/f526c79ceeee880df611ed592de06e7fb3146af5) Thanks [@kyscott18](https://github.com/kyscott18)! - Added support for Harmony by updating the "totalDifficulty" block property to be nullable.
2230
+
2231
+ ## 0.4.2
2232
+
2233
+ ### Patch Changes
2234
+
2235
+ - [#795](https://github.com/ponder-sh/ponder/pull/795) [`23db73ee6e7984976d2d7888026fbf7513cbbada`](https://github.com/ponder-sh/ponder/commit/23db73ee6e7984976d2d7888026fbf7513cbbada) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where child contract creation events that are also being indexed via a normal contract would sometimes not be processed.
2236
+
2237
+ - [#795](https://github.com/ponder-sh/ponder/pull/795) [`23db73ee6e7984976d2d7888026fbf7513cbbada`](https://github.com/ponder-sh/ponder/commit/23db73ee6e7984976d2d7888026fbf7513cbbada) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where including a factory contract in `ponder.config.ts` without registering an indexing function for every event that it emits would throw an error.
2238
+
2239
+ - [#795](https://github.com/ponder-sh/ponder/pull/795) [`23db73ee6e7984976d2d7888026fbf7513cbbada`](https://github.com/ponder-sh/ponder/commit/23db73ee6e7984976d2d7888026fbf7513cbbada) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where transaction and log insertion during the realtime sync was not using a bulk insert. This improves realtime indexing latency, particularly for apps with many matched transactions and logs per block in realtime.
2240
+
2241
+ ## 0.4.1
2242
+
2243
+ ### Patch Changes
2244
+
2245
+ - [#791](https://github.com/ponder-sh/ponder/pull/791) [`c1f93cc5ced3ece9ae46e87f05c1decdb92dba8b`](https://github.com/ponder-sh/ponder/commit/c1f93cc5ced3ece9ae46e87f05c1decdb92dba8b) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug where reorgs would occasionally cause the process to exit.
2246
+
2247
+ ## 0.4.0
2248
+
2249
+ ### Minor Changes
2250
+
2251
+ - [#770](https://github.com/ponder-sh/ponder/pull/770) [`85a5e03e17a00554f1977f4c761ebb100bc5ea3f`](https://github.com/ponder-sh/ponder/commit/85a5e03e17a00554f1977f4c761ebb100bc5ea3f) Thanks [@kyscott18](https://github.com/kyscott18)! - _BREAKING_. Updated location of database tables for direct SQL. Please read the [guide](https://ponder.sh/docs/query/direct-sql) for more information.
2252
+
2253
+ - [#770](https://github.com/ponder-sh/ponder/pull/770) [`85a5e03e17a00554f1977f4c761ebb100bc5ea3f`](https://github.com/ponder-sh/ponder/commit/85a5e03e17a00554f1977f4c761ebb100bc5ea3f) Thanks [@kyscott18](https://github.com/kyscott18)! - _BREAKING_. Removed support for time-travel queries. Please read the [time-series guide](https://ponder.sh/docs/indexing/time-series) to learn about alternative patterns.
2254
+
2255
+ ### Patch Changes
2256
+
2257
+ - [#770](https://github.com/ponder-sh/ponder/pull/770) [`85a5e03e17a00554f1977f4c761ebb100bc5ea3f`](https://github.com/ponder-sh/ponder/commit/85a5e03e17a00554f1977f4c761ebb100bc5ea3f) Thanks [@kyscott18](https://github.com/kyscott18)! - Added a `checkpoint` column to the internal `logs` table, which speeds up the internal `getEvents` query by ~6x. Apps with many contracts will see the greatest gains.
2258
+
2259
+ - [#770](https://github.com/ponder-sh/ponder/pull/770) [`85a5e03e17a00554f1977f4c761ebb100bc5ea3f`](https://github.com/ponder-sh/ponder/commit/85a5e03e17a00554f1977f4c761ebb100bc5ea3f) Thanks [@kyscott18](https://github.com/kyscott18)! - Migrated the HTTP server from Express to Hono.
2260
+
2261
+ ## 0.3.11
2262
+
2263
+ ### Patch Changes
2264
+
2265
+ - [#778](https://github.com/ponder-sh/ponder/pull/778) [`c55fdd1f0199d6bfd70e21774042a8741a5cecfa`](https://github.com/ponder-sh/ponder/commit/c55fdd1f0199d6bfd70e21774042a8741a5cecfa) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where GraphQL queries that include a many -> `p.one()` path with a limit greater than 50 would fail with the error: "Cannot return null for non-nullable field".
2266
+
2267
+ ## 0.3.10
2268
+
2269
+ ### Patch Changes
2270
+
2271
+ - [#775](https://github.com/ponder-sh/ponder/pull/775) [`334f4c2b2fcbdaa0ad66f61ccd4f3a64cd74a6bc`](https://github.com/ponder-sh/ponder/commit/334f4c2b2fcbdaa0ad66f61ccd4f3a64cd74a6bc) Thanks [@kyscott18](https://github.com/kyscott18)! - Added support for the `getEnsName` Viem action in `context.client`.
2272
+
2273
+ ## 0.3.9
2274
+
2275
+ ### Patch Changes
2276
+
2277
+ - [#765](https://github.com/ponder-sh/ponder/pull/765) [`3f9c52f3b00bc10bf7b581616e0acb550a1598b9`](https://github.com/ponder-sh/ponder/commit/3f9c52f3b00bc10bf7b581616e0acb550a1598b9) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where some error messages and stack traces were not logged if the initial build failed.
2278
+
2279
+ - [#763](https://github.com/ponder-sh/ponder/pull/763) [`80b8e26b7b138ed4b0e84af16e203013580f5b0c`](https://github.com/ponder-sh/ponder/commit/80b8e26b7b138ed4b0e84af16e203013580f5b0c) Thanks [@jaylmiller](https://github.com/jaylmiller)! - Fixed a bug where malformed requests to the `/metrics` path could cause the process to exit.
2280
+
2281
+ ## 0.3.8
2282
+
2283
+ ## 0.3.7
2284
+
2285
+ ### Patch Changes
2286
+
2287
+ - [#754](https://github.com/ponder-sh/ponder/pull/754) [`395196b6ca802e77fc49145b2a6d26fdbed48973`](https://github.com/ponder-sh/ponder/commit/395196b6ca802e77fc49145b2a6d26fdbed48973) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where certain errors encountered during the initial build were not printed to the console.
2288
+
2289
+ ## 0.3.6
2290
+
2291
+ ### Patch Changes
2292
+
2293
+ - [#748](https://github.com/ponder-sh/ponder/pull/748) [`5f624562aa8b63116182bc6d482ddf6740040f5e`](https://github.com/ponder-sh/ponder/commit/5f624562aa8b63116182bc6d482ddf6740040f5e) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where GraphQL `where` arguments that specify multiple conditions for the same field would only apply the last condition.
2294
+
2295
+ - [#743](https://github.com/ponder-sh/ponder/pull/743) [`261457c06750c116717e8ed4a8b51f0d71dc352f`](https://github.com/ponder-sh/ponder/commit/261457c06750c116717e8ed4a8b51f0d71dc352f) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed compatibility with chains that don't have a "logsBloom" in blocks.
2296
+
2297
+ ## 0.3.5
2298
+
2299
+ ### Patch Changes
2300
+
2301
+ - [#718](https://github.com/ponder-sh/ponder/pull/718) [`bc5e0165c825967e04f6fa3f7a48f53002364c4c`](https://github.com/ponder-sh/ponder/commit/bc5e0165c825967e04f6fa3f7a48f53002364c4c) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed hot reloading bugs. Now, the dev server shuts down the previous instance entirely before starting the new one. This should eliminate warnings and errors regarding use of stale database resources, and ensure that the dev server responds as expected to `SIGINT` (keyboard ctrl+c).
2302
+
2303
+ - [#730](https://github.com/ponder-sh/ponder/pull/730) [`2deab640fa5979aa4bab6123a4f7fb7ed2059bec`](https://github.com/ponder-sh/ponder/commit/2deab640fa5979aa4bab6123a4f7fb7ed2059bec) Thanks [@kyscott18](https://github.com/kyscott18)! - Updated block finality for Ethereum and Polygon, fixing some known errors with large reorgs being detected.
2304
+
2305
+ - [#718](https://github.com/ponder-sh/ponder/pull/718) [`bc5e0165c825967e04f6fa3f7a48f53002364c4c`](https://github.com/ponder-sh/ponder/commit/bc5e0165c825967e04f6fa3f7a48f53002364c4c) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the process would sometimes not exit when it encountered a fatal error. Now, if there is a fatal error, the process will attempt a graceful shutdown and then exit. If the graceful shutdown does not finish within 5 seconds, the process will forcefully exit with code 1.
2306
+
2307
+ - Updated dependencies [[`464a98f1500815739a3384e6b34eb05aaf0c0253`](https://github.com/ponder-sh/ponder/commit/464a98f1500815739a3384e6b34eb05aaf0c0253)]:
2308
+ - @ponder/utils@0.1.2
2309
+
2310
+ ## 0.3.4
2311
+
2312
+ ### Patch Changes
2313
+
2314
+ - [#723](https://github.com/ponder-sh/ponder/pull/723) [`84b981ebfed6b6ea4707504da230aaaa7f59515f`](https://github.com/ponder-sh/ponder/commit/84b981ebfed6b6ea4707504da230aaaa7f59515f) Thanks [@kyscott18](https://github.com/kyscott18)! - Relaxed not null constraint for SQLite, which fixes zkSync.
2315
+
2316
+ - [#715](https://github.com/ponder-sh/ponder/pull/715) [`7e00af94777690c95cd7936b9ed9978d074b1b95`](https://github.com/ponder-sh/ponder/commit/7e00af94777690c95cd7936b9ed9978d074b1b95) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed issue with too large eth_getLogs calls not always being properly retried.
2317
+
2318
+ - [#727](https://github.com/ponder-sh/ponder/pull/727) [`3fca36582ce8e1a7bcd54cbe331a4f8e7d210ec5`](https://github.com/ponder-sh/ponder/commit/3fca36582ce8e1a7bcd54cbe331a4f8e7d210ec5) Thanks [@jaylmiller](https://github.com/jaylmiller)! - Updated datatypes for p.float columns in postgres to double and sqlite to real. Note that this busts the indexing cache
2319
+
2320
+ - Updated dependencies [[`fe99c31a100acfc602cc511a15b1f625e034c29e`](https://github.com/ponder-sh/ponder/commit/fe99c31a100acfc602cc511a15b1f625e034c29e)]:
2321
+ - @ponder/utils@0.1.1
2322
+
2323
+ ## 0.3.3
2324
+
2325
+ ### Patch Changes
2326
+
2327
+ - [#709](https://github.com/ponder-sh/ponder/pull/709) [`eebb173d42307df060e348fea78ba2dffdfdd2b1`](https://github.com/ponder-sh/ponder/commit/eebb173d42307df060e348fea78ba2dffdfdd2b1) Thanks [@d-mooers](https://github.com/d-mooers)! - Made block.sha3Uncles column nullable
2328
+
2329
+ - [#693](https://github.com/ponder-sh/ponder/pull/693) [`a8b2a59ba565a01d46cbde115b6a163c626afc41`](https://github.com/ponder-sh/ponder/commit/a8b2a59ba565a01d46cbde115b6a163c626afc41) Thanks [@jaylmiller](https://github.com/jaylmiller)! - Fixed a regression that may have caused bugs related to indexing progress or event ordering.
2330
+
2331
+ - [#711](https://github.com/ponder-sh/ponder/pull/711) [`8d12d0a23a88ccef4d6a20d5f1e8590798c1004e`](https://github.com/ponder-sh/ponder/commit/8d12d0a23a88ccef4d6a20d5f1e8590798c1004e) Thanks [@0xOlias](https://github.com/0xOlias)! - Added support for `ponder serve` a new CLI command that runs the GraphQL API server as a standalone process. This is useful for horizontally scaling the API layer of a Ponder app. See the [horizontal scaling](https://ponder.sh/docs/production/horizontal-scaling) docs for more information.
2332
+
2333
+ - [#710](https://github.com/ponder-sh/ponder/pull/710) [`9b0824b120b86dcceb73edc1f562d77ba3af36c3`](https://github.com/ponder-sh/ponder/commit/9b0824b120b86dcceb73edc1f562d77ba3af36c3) Thanks [@kyscott18](https://github.com/kyscott18)! - Moved "false positive logs bloom filter result" from warn to debug log level.
2334
+
2335
+ - [#713](https://github.com/ponder-sh/ponder/pull/713) [`e858c0e6c5faebdc35e2715be5f170073add6259`](https://github.com/ponder-sh/ponder/commit/e858c0e6c5faebdc35e2715be5f170073add6259) Thanks [@kyscott18](https://github.com/kyscott18)! - Allowed for null r, s, and v transaction properties, which is possible on zkSync.
2336
+
2337
+ - [#711](https://github.com/ponder-sh/ponder/pull/711) [`8d12d0a23a88ccef4d6a20d5f1e8590798c1004e`](https://github.com/ponder-sh/ponder/commit/8d12d0a23a88ccef4d6a20d5f1e8590798c1004e) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where SQLite raw tables were not prefixed with "_raw_". Note that upgrading to this version changes the SQLite database structure to be incompatible with prior versions.
2338
+
2339
+ ## 0.3.2
2340
+
2341
+ ### Patch Changes
2342
+
2343
+ - [#692](https://github.com/ponder-sh/ponder/pull/692) [`5d6b541dd4a3bda979d26bb38754b77209674a98`](https://github.com/ponder-sh/ponder/commit/5d6b541dd4a3bda979d26bb38754b77209674a98) Thanks [@kyscott18](https://github.com/kyscott18)! - Re-exported `rateLimit` and `loadBalance` from `@ponder/utils`.
2344
+
2345
+ - Updated dependencies [[`5d6b541dd4a3bda979d26bb38754b77209674a98`](https://github.com/ponder-sh/ponder/commit/5d6b541dd4a3bda979d26bb38754b77209674a98)]:
2346
+ - @ponder/utils@0.1.0
2347
+
2348
+ ## 0.3.1
2349
+
2350
+ ### Patch Changes
2351
+
2352
+ - [#701](https://github.com/ponder-sh/ponder/pull/701) [`bcc52adabc888cf476107a8074b6bdcb28d6e7c7`](https://github.com/ponder-sh/ponder/commit/bcc52adabc888cf476107a8074b6bdcb28d6e7c7) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed bugs where the realtime sync would: incorrectly report reorgs with a very large depth, call `eth_getLogs` with `fromBlock > toBlock`, and skip events if the RPC returned logs out of order. Improved realtime sync debug logging.
2353
+
2354
+ ## 0.3.0
2355
+
2356
+ ### Minor Changes
2357
+
2358
+ - [#640](https://github.com/ponder-sh/ponder/pull/640) [`81d4a9bb537fa2611656e0c708724390acb79f3a`](https://github.com/ponder-sh/ponder/commit/81d4a9bb537fa2611656e0c708724390acb79f3a) Thanks [@kyscott18](https://github.com/kyscott18)! - Direct SQL. Public indexing tables (to be accessed directly) are created in the 'ponder' schema. Cached indexing tables are created in the 'ponder_cache' schema. Added migration script to move sync tables from 'public' to 'ponder_sync' schema. Private indexing tables use a numeric suffix like `ponder_instance_2' and are created/removed automatically. Please see the direct SQL docs for more information (https://ponder.sh/docs/guides/query-the-database).
2359
+
2360
+ ### Patch Changes
2361
+
2362
+ - [#640](https://github.com/ponder-sh/ponder/pull/640) [`81d4a9bb537fa2611656e0c708724390acb79f3a`](https://github.com/ponder-sh/ponder/commit/81d4a9bb537fa2611656e0c708724390acb79f3a) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved database error retry behavior.
2363
+
2364
+ ## 0.2.18
2365
+
2366
+ ### Patch Changes
2367
+
2368
+ - [#698](https://github.com/ponder-sh/ponder/pull/698) [`e57f10dbf08f78e6569f35c7d0b47dce6ff480ce`](https://github.com/ponder-sh/ponder/commit/e57f10dbf08f78e6569f35c7d0b47dce6ff480ce) Thanks [@0xOlias](https://github.com/0xOlias)! - Added support for specifying a custom `blockNumber` in `context.client` actions.
2369
+
2370
+ ## 0.2.17
2371
+
2372
+ ### Patch Changes
2373
+
2374
+ - [#694](https://github.com/ponder-sh/ponder/pull/694) [`9e0c0f73c2066b623c21d4027a8cf11c7d6381be`](https://github.com/ponder-sh/ponder/commit/9e0c0f73c2066b623c21d4027a8cf11c7d6381be) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where contracts that specify multiple addresses or use a custom filter with multiple events would not be cached properly during the sync.
2375
+
2376
+ - [#696](https://github.com/ponder-sh/ponder/pull/696) [`aaf015730aa82398c1e407bd6eeaea145284feb6`](https://github.com/ponder-sh/ponder/commit/aaf015730aa82398c1e407bd6eeaea145284feb6) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where including a contract that specified an `endBlock` would sometimes stall the sync.
2377
+
2378
+ - [#696](https://github.com/ponder-sh/ponder/pull/696) [`aaf015730aa82398c1e407bd6eeaea145284feb6`](https://github.com/ponder-sh/ponder/commit/aaf015730aa82398c1e407bd6eeaea145284feb6) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the build service would watch for file changes and execute user code even when using `ponder start`, `ponder serve`, or `ponder codegen`.
2379
+
2380
+ - [#694](https://github.com/ponder-sh/ponder/pull/694) [`9e0c0f73c2066b623c21d4027a8cf11c7d6381be`](https://github.com/ponder-sh/ponder/commit/9e0c0f73c2066b623c21d4027a8cf11c7d6381be) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where `NaN` was an allowed value for `startBlock` and `endBlock`. Now, `NaN` values are coerced to `0` and `undefined` respectively.
2381
+
2382
+ ## 0.2.16
2383
+
2384
+ ### Patch Changes
2385
+
2386
+ - [#688](https://github.com/ponder-sh/ponder/pull/688) [`2a1842e1db2329b1c88c613b0a64ff8c7695e829`](https://github.com/ponder-sh/ponder/commit/2a1842e1db2329b1c88c613b0a64ff8c7695e829) Thanks [@kyscott18](https://github.com/kyscott18)! - Created `@ponder/utils` package. Moved `eth_getLogs` retry helper from `@ponder/core` to `@ponder/utils`.
2387
+
2388
+ - [#689](https://github.com/ponder-sh/ponder/pull/689) [`33b0fda4ca3f777fd9a8e1d6f3ca85efb12ec677`](https://github.com/ponder-sh/ponder/commit/33b0fda4ca3f777fd9a8e1d6f3ca85efb12ec677) Thanks [@kyscott18](https://github.com/kyscott18)! - Fix issue with maxHistoricalTaskConcurrency config being ignored.
2389
+
2390
+ - Updated dependencies [[`2a1842e1db2329b1c88c613b0a64ff8c7695e829`](https://github.com/ponder-sh/ponder/commit/2a1842e1db2329b1c88c613b0a64ff8c7695e829)]:
2391
+ - @ponder/utils@0.0.1
2392
+
2393
+ ## 0.2.15
2394
+
2395
+ ### Patch Changes
2396
+
2397
+ - [#685](https://github.com/ponder-sh/ponder/pull/685) [`27ba293e402304eb3de50177ecb46a430b8ced9d`](https://github.com/ponder-sh/ponder/commit/27ba293e402304eb3de50177ecb46a430b8ced9d) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed race condition in sync event debounce logic.
2398
+
2399
+ ## 0.2.14
2400
+
2401
+ ### Patch Changes
2402
+
2403
+ - [#681](https://github.com/ponder-sh/ponder/pull/681) [`1490ac801f646ef5d06694acf2ffda6054966c21`](https://github.com/ponder-sh/ponder/commit/1490ac801f646ef5d06694acf2ffda6054966c21) Thanks [@0xOlias](https://github.com/0xOlias)! - Improved unique constraint violation and checkpoint violation error messages for `create`, `createMany`, `update`, `updateMany`, and `upsert` store methods.
2404
+
2405
+ ## 0.2.13
2406
+
2407
+ ### Patch Changes
2408
+
2409
+ - [#679](https://github.com/ponder-sh/ponder/pull/679) [`1ab3ff6a20941bdd00d422280714c206642b5e02`](https://github.com/ponder-sh/ponder/commit/1ab3ff6a20941bdd00d422280714c206642b5e02) Thanks [@jaylmiller](https://github.com/jaylmiller)! - Fixed `filename` field in sqlite configuration, previously it was ignored.
2410
+
2411
+ ## 0.2.12
2412
+
2413
+ ### Patch Changes
2414
+
2415
+ - [#676](https://github.com/ponder-sh/ponder/pull/676) [`695fe00d0a630bab6835889d59221676519c1c87`](https://github.com/ponder-sh/ponder/commit/695fe00d0a630bab6835889d59221676519c1c87) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where paginated queries using `before` did not behave correctly.
2416
+
2417
+ ## 0.2.11
2418
+
2419
+ ### Patch Changes
2420
+
2421
+ - [#672](https://github.com/ponder-sh/ponder/pull/672) [`3b50ef2891917e3af18f11f48fff9fe6a5f15545`](https://github.com/ponder-sh/ponder/commit/3b50ef2891917e3af18f11f48fff9fe6a5f15545) Thanks [@0xOlias](https://github.com/0xOlias)! - Increased default Postgres statement timeout.
2422
+
2423
+ - [#669](https://github.com/ponder-sh/ponder/pull/669) [`41c72adec0c6c039f7e475d7e8aab8a5aa61651e`](https://github.com/ponder-sh/ponder/commit/41c72adec0c6c039f7e475d7e8aab8a5aa61651e) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed indexing service event ordering bug.
2424
+
2425
+ ## 0.2.10
2426
+
2427
+ ### Patch Changes
2428
+
2429
+ - [#667](https://github.com/ponder-sh/ponder/pull/667) [`c3864c967dbd04cc240d0092829e10d49e7eaff0`](https://github.com/ponder-sh/ponder/commit/c3864c967dbd04cc240d0092829e10d49e7eaff0) Thanks [@kyscott18](https://github.com/kyscott18)! - Updated ast-grep to 0.19.3 which fixed support for running Ponder on Alpine Linux-based Docker images.
2430
+
2431
+ - [#663](https://github.com/ponder-sh/ponder/pull/663) [`51aa6f7ae8266f5b29ed719aa85d48be1266ba17`](https://github.com/ponder-sh/ponder/commit/51aa6f7ae8266f5b29ed719aa85d48be1266ba17) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed sync-store metrics for Postgres apps.
2432
+
2433
+ - [#655](https://github.com/ponder-sh/ponder/pull/655) [`c7d7d3a4982ae162254014c0e2f6b1ec67056d7a`](https://github.com/ponder-sh/ponder/commit/c7d7d3a4982ae162254014c0e2f6b1ec67056d7a) Thanks [@kyscott18](https://github.com/kyscott18)! - Added a warning log when static analysis fails.
2434
+
2435
+ - [#662](https://github.com/ponder-sh/ponder/pull/662) [`ef704653d0b124a5fc917ccc160d86ea5cf950d7`](https://github.com/ponder-sh/ponder/commit/ef704653d0b124a5fc917ccc160d86ea5cf950d7) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved indexing performance when loading events from the database.
2436
+
2437
+ ## 0.2.9
2438
+
2439
+ ## 0.2.8
2440
+
2441
+ ### Patch Changes
2442
+
2443
+ - [#648](https://github.com/ponder-sh/ponder/pull/648) [`e12bc8ac74a75d4e6e9962987894e107c98a87a3`](https://github.com/ponder-sh/ponder/commit/e12bc8ac74a75d4e6e9962987894e107c98a87a3) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed static analysis issue affecting indexing functions using class methods as helper functions.
2444
+
2445
+ ## 0.2.7
2446
+
2447
+ ### Patch Changes
2448
+
2449
+ - [#636](https://github.com/ponder-sh/ponder/pull/636) [`c10a0b7bff99dd8cd2f38ea0714ff82f5e17f00b`](https://github.com/ponder-sh/ponder/commit/c10a0b7bff99dd8cd2f38ea0714ff82f5e17f00b) Thanks [@0xOlias](https://github.com/0xOlias)! - Added support for AND and OR filter operators in the `findMany` store API method and the GraphQL API. Fixed a bug where GraphQL `PageInfo` types were incorrectly marked as nullable.
2450
+
2451
+ - [#636](https://github.com/ponder-sh/ponder/pull/636) [`c10a0b7bff99dd8cd2f38ea0714ff82f5e17f00b`](https://github.com/ponder-sh/ponder/commit/c10a0b7bff99dd8cd2f38ea0714ff82f5e17f00b) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a time-travel query bug where nested fields in GraphQL queries would not respect the `timestamp` argument passed to the top-level field. Removed the `timestamp` argument from nested `p.many()` fields. Now, use the `timestamp` argument on the top-level field and all nested fields will respect it.
2452
+
2453
+ ## 0.2.6
2454
+
2455
+ ### Patch Changes
2456
+
2457
+ - [#643](https://github.com/ponder-sh/ponder/pull/643) [`7328e54232cb85d7370c33aba783a2f1f7ef0ab0`](https://github.com/ponder-sh/ponder/commit/7328e54232cb85d7370c33aba783a2f1f7ef0ab0) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with the terminal ui showing "waiting to start..." when one event had been processed
2458
+
2459
+ - [#635](https://github.com/ponder-sh/ponder/pull/635) [`6e7d49f0f2ea05558affc996fc2ee83db881880c`](https://github.com/ponder-sh/ponder/commit/6e7d49f0f2ea05558affc996fc2ee83db881880c) Thanks [@0xOlias](https://github.com/0xOlias)! - Added support for the `DATABASE_PRIVATE_URL` environment variable. Added info log on startup that includes which database is being used. Added warning for missing `.env.local` file during development. Improved ponder.config.ts validation for misspelled keys.
2460
+
2461
+ ## 0.2.5
2462
+
2463
+ ### Patch Changes
2464
+
2465
+ - [#637](https://github.com/ponder-sh/ponder/pull/637) [`d055e9cee0dc25dcfaeb48a63dfa9664ec018acd`](https://github.com/ponder-sh/ponder/commit/d055e9cee0dc25dcfaeb48a63dfa9664ec018acd) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an issue with parsing indexing functions, leading to incorrect ordering
2466
+
2467
+ ## 0.2.4
2468
+
2469
+ ### Patch Changes
2470
+
2471
+ - [#632](https://github.com/ponder-sh/ponder/pull/632) [`d0c50c2c494c944d80804edc4b40388a86a81a7c`](https://github.com/ponder-sh/ponder/commit/d0c50c2c494c944d80804edc4b40388a86a81a7c) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug with cursor pagination when using a `"desc"` sort order.
2472
+
2473
+ - [#632](https://github.com/ponder-sh/ponder/pull/632) [`d0c50c2c494c944d80804edc4b40388a86a81a7c`](https://github.com/ponder-sh/ponder/commit/d0c50c2c494c944d80804edc4b40388a86a81a7c) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where `not` filter conditions were interpreted as `equals`.
2474
+
2475
+ ## 0.2.3
2476
+
2477
+ ### Patch Changes
2478
+
2479
+ - [#628](https://github.com/ponder-sh/ponder/pull/628) [`44137430aa2eb28aedc294350775f22460bee9a1`](https://github.com/ponder-sh/ponder/commit/44137430aa2eb28aedc294350775f22460bee9a1) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug where indexing functions were improperly parsed causing them to be run out of order.
2480
+
2481
+ - [#619](https://github.com/ponder-sh/ponder/pull/619) [`506206b0151414cb7e6fc9586b0408a2f5a8ddb3`](https://github.com/ponder-sh/ponder/commit/506206b0151414cb7e6fc9586b0408a2f5a8ddb3) Thanks [@kyscott18](https://github.com/kyscott18)! - Changed realtime sync algorithm to be more efficient in terms of RPC requests/credits. Most notable for networks with fast block times or long polling intervals.
2482
+
2483
+ - [#630](https://github.com/ponder-sh/ponder/pull/630) [`cab9167476a11cf1ee4b9ea9d977531d216cf051`](https://github.com/ponder-sh/ponder/commit/cab9167476a11cf1ee4b9ea9d977531d216cf051) Thanks [@0xOlias](https://github.com/0xOlias)! - Hotfixed `ponder serve`.
2484
+
2485
+ - [#622](https://github.com/ponder-sh/ponder/pull/622) [`72adc7aca8cb9938ce5344f1a613b653ae072b1b`](https://github.com/ponder-sh/ponder/commit/72adc7aca8cb9938ce5344f1a613b653ae072b1b) Thanks [@kyscott18](https://github.com/kyscott18)! - Added `Schema` utility type to `ponder-env.d.ts`. Removed outdated `Infer` and `DatabaseModel` types.
2486
+
2487
+ ## 0.2.2
2488
+
2489
+ ### Patch Changes
2490
+
2491
+ - [#615](https://github.com/ponder-sh/ponder/pull/615) [`f158a66555bb69710267b43bfaafe499c2f123cd`](https://github.com/ponder-sh/ponder/commit/f158a66555bb69710267b43bfaafe499c2f123cd) Thanks [@0xOlias](https://github.com/0xOlias)! - Added support for `tsconfig.json` path aliases using `vite-tsconfig-paths`.
2492
+
2493
+ ## 0.2.1
2494
+
2495
+ ### Patch Changes
2496
+
2497
+ - [#611](https://github.com/ponder-sh/ponder/pull/611) [`b1f87f5b18004d971693c0a3e38c8a2c36562811`](https://github.com/ponder-sh/ponder/commit/b1f87f5b18004d971693c0a3e38c8a2c36562811) Thanks [@0xOlias](https://github.com/0xOlias)! - Migrated Postgres chain ID columns to use `int8` rather than `int4`. Now, Postgres should behave the same as SQLite and can safely store chain IDs <= `Number.MAX_SAFE_INTEGER`.
2498
+
2499
+ - [#613](https://github.com/ponder-sh/ponder/pull/613) [`b9f5db585ee60572c2286833200564d542981abd`](https://github.com/ponder-sh/ponder/commit/b9f5db585ee60572c2286833200564d542981abd) Thanks [@0xOlias](https://github.com/0xOlias)! - Migrated `"blocks.mixHash"` and `"blocks.nonce"` columns to be nullable in both Postgres and SQLite.
2500
+
2501
+ ## 0.2.0
2502
+
2503
+ ### Minor Changes
2504
+
2505
+ - [#596](https://github.com/ponder-sh/ponder/pull/596) [`ed7b8c7f881386f718e0f61ae863190c7f160953`](https://github.com/ponder-sh/ponder/commit/ed7b8c7f881386f718e0f61ae863190c7f160953) Thanks [@kyscott18](https://github.com/kyscott18)! - (BREAKING) Removed `p.bytes()` in favor of a new `p.hex()` primitive column type. `p.hex()` is suitable for Ethereum addresses and other hex-encoded data, including EVM `bytes` types. `p.hex()` values are stored as `bytea` (Postgres) or `blob` (SQLite). To migrate, replace each occurence of `p.bytes()` in `ponder.schema.ts` with `p.hex()`, and ensure that any values you pass into hex columns are valid hexadecimal strings. The GraphQL API returns `p.hex()` values as hexadecimal strings, and allows sorting/filtering on `p.hex()` columns using the numeric comparison operators (`gt`, `gte`, `le`, `lte`).
2506
+
2507
+ - [#596](https://github.com/ponder-sh/ponder/pull/596) [`ed7b8c7f881386f718e0f61ae863190c7f160953`](https://github.com/ponder-sh/ponder/commit/ed7b8c7f881386f718e0f61ae863190c7f160953) Thanks [@kyscott18](https://github.com/kyscott18)! - Released 0.2.0, please see the [migration guide](https://ponder.sh/docs/migration-guide) for details.
2508
+
2509
+ - [#596](https://github.com/ponder-sh/ponder/pull/596) [`ed7b8c7f881386f718e0f61ae863190c7f160953`](https://github.com/ponder-sh/ponder/commit/ed7b8c7f881386f718e0f61ae863190c7f160953) Thanks [@kyscott18](https://github.com/kyscott18)! - (BREAKING) Updated the GraphQL API to use cursor pagination instead of offset pagination. Note that this change also affects the `findMany` database method. See the [GraphQL pagination docs](https://ponder.sh/docs/guides/query-the-graphql-api#pagination) for more details.
2510
+
2511
+ ```graphql
2512
+ # Before
2513
+ query {
2514
+ users(offset: 10, limit: 10) {
2515
+ id
2516
+ name
2517
+ }
2518
+ }
2519
+ # After
2520
+ query {
2521
+ users(after: "MTA=", limit: 10) {
2522
+ items {
2523
+ id
2524
+ name
2525
+ }
2526
+ pageInfo {
2527
+ hasPreviousPage
2528
+ hasNextPage
2529
+ starCursor
2530
+ endCursor
2531
+ }
2532
+ }
2533
+ }
2534
+ ```
2535
+
2536
+ ## 0.1.9
2537
+
2538
+ ### Patch Changes
2539
+
2540
+ - [`7e87372df15723c45b363d52d4b5b21303bb81c8`](https://github.com/ponder-sh/ponder/commit/7e87372df15723c45b363d52d4b5b21303bb81c8) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed an issue where malformed request headers could cause the server to crash.
2541
+
2542
+ ## 0.1.8
2543
+
2544
+ ### Patch Changes
2545
+
2546
+ - [#574](https://github.com/ponder-sh/ponder/pull/574) [`9cef6f5bb7a7d3e84e51a377b3d3efd3aa7d9200`](https://github.com/ponder-sh/ponder/commit/9cef6f5bb7a7d3e84e51a377b3d3efd3aa7d9200) Thanks [@kyscott18](https://github.com/kyscott18)! - Added new network option `maxRpcRequestsPerSecond` to limit the number of RPC requests that are made to a transport per second. Deprecated network option `maxHistoricalTaskConcurrency`.
2547
+
2548
+ ## 0.1.7
2549
+
2550
+ ### Patch Changes
2551
+
2552
+ - [#576](https://github.com/ponder-sh/ponder/pull/576) [`fe200fc942bf3a7b163d25f4ef0f2ce81cf4e921`](https://github.com/ponder-sh/ponder/commit/fe200fc942bf3a7b163d25f4ef0f2ce81cf4e921) Thanks [@kyscott18](https://github.com/kyscott18)! - Added `EventNames`, `Event`, `Context`, and `IndexingFunctionArgs` utility types to `ponder-env.d.ts`. NOTE: After upgrading, Ponder will make a change to your project's `ponder-env.d.ts` file. Please commit this change to version control without editing the file manually.
2553
+
2554
+ - [#568](https://github.com/ponder-sh/ponder/pull/568) [`0c5d12a822086d8cbdbc2b0cff520676c0431997`](https://github.com/ponder-sh/ponder/commit/0c5d12a822086d8cbdbc2b0cff520676c0431997) Thanks [@grayleonard](https://github.com/grayleonard)! - Improve telemetry flush handling; Add heartbeat to telemetry service
2555
+
2556
+ ## 0.1.6
2557
+
2558
+ ### Patch Changes
2559
+
2560
+ - [#572](https://github.com/ponder-sh/ponder/pull/572) [`8bf9730a4c5ace1c10deab04483951ad3d4df6dd`](https://github.com/ponder-sh/ponder/commit/8bf9730a4c5ace1c10deab04483951ad3d4df6dd) Thanks [@kyscott18](https://github.com/kyscott18)! - Removed custom timeout and retry logic for RPC requests. Now, the timeout and retry logic of the user-provided Viem transport will be used.
2561
+
2562
+ ## 0.1.5
2563
+
2564
+ ### Patch Changes
2565
+
2566
+ - [#549](https://github.com/ponder-sh/ponder/pull/549) [`76c1e9721d784009196548dc468a7a862eb4337e`](https://github.com/ponder-sh/ponder/commit/76c1e9721d784009196548dc468a7a862eb4337e) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed peer dependency rules with TypeScript and viem. User versions of these packages are now used.
2567
+
2568
+ - [#565](https://github.com/ponder-sh/ponder/pull/565) [`caf12cf27273e761805b091a4549a768ce87d692`](https://github.com/ponder-sh/ponder/commit/caf12cf27273e761805b091a4549a768ce87d692) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the hostname was not set properly for `ponder start` and `ponder serve`.
2569
+
2570
+ - [#549](https://github.com/ponder-sh/ponder/pull/549) [`76c1e9721d784009196548dc468a7a862eb4337e`](https://github.com/ponder-sh/ponder/commit/76c1e9721d784009196548dc468a7a862eb4337e) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed ponder.config.ts typechecking with older versions of TypeScript. Also, improved abi type inference with ponder config types.
2571
+
2572
+ ## 0.1.4
2573
+
2574
+ ### Patch Changes
2575
+
2576
+ - [#557](https://github.com/ponder-sh/ponder/pull/557) [`83e2b4a7a05d847832ba60adde361736deeb3b2c`](https://github.com/ponder-sh/ponder/commit/83e2b4a7a05d847832ba60adde361736deeb3b2c) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed bug in codegen command caused by undefined codegen service. Also no longer fails silently.
2577
+
2578
+ - [#559](https://github.com/ponder-sh/ponder/pull/559) [`ab3b3e544ae0b67937aa11462495b2d5e5f80eb3`](https://github.com/ponder-sh/ponder/commit/ab3b3e544ae0b67937aa11462495b2d5e5f80eb3) Thanks [@0xOlias](https://github.com/0xOlias)! - Added new CLI options `--port`/`-p`, `--hostname`/`-H`, `--debug`/`-v`, and `--trace`/`-vv`. Renamed options `--config-file` to `config` and `--root-dir` to `--root`.
2579
+
2580
+ ## 0.1.3
2581
+
2582
+ ### Patch Changes
2583
+
2584
+ - [#544](https://github.com/ponder-sh/ponder/pull/544) [`27faea77df50f92424ef8282495b31a2e90f7742`](https://github.com/ponder-sh/ponder/commit/27faea77df50f92424ef8282495b31a2e90f7742) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where contract calls within "setup" indexing functions did not use the correct block number. Now, they use the contract's `startBlock`.
2585
+
2586
+ - [#544](https://github.com/ponder-sh/ponder/pull/544) [`27faea77df50f92424ef8282495b31a2e90f7742`](https://github.com/ponder-sh/ponder/commit/27faea77df50f92424ef8282495b31a2e90f7742) Thanks [@0xOlias](https://github.com/0xOlias)! - Added new runtime validations for `ponder.schema.ts`, `ponder.config.ts`, and the indexing function API. Fixed a bug where rapid config reloads caused a race condition that often broke the app during development.
2587
+
2588
+ - [#536](https://github.com/ponder-sh/ponder/pull/536) [`4fc9480a53a9f485a4907adc41f495c8a968dcc5`](https://github.com/ponder-sh/ponder/commit/4fc9480a53a9f485a4907adc41f495c8a968dcc5) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the `database` option in `ponder.config.ts` was not being used.
2589
+
2590
+ - [#543](https://github.com/ponder-sh/ponder/pull/543) [`a696b2625ef1eef611ce507b177f6c1ca72c52a9`](https://github.com/ponder-sh/ponder/commit/a696b2625ef1eef611ce507b177f6c1ca72c52a9) Thanks [@kyscott18](https://github.com/kyscott18)! - Fix compliance with some RPCs, primarily Ankr, by reformatting eth_getLogs calls
2591
+
2592
+ ## 0.1.2
2593
+
2594
+ ### Patch Changes
2595
+
2596
+ - [#537](https://github.com/ponder-sh/ponder/pull/537) [`9fa46f308a08b019867c4c3b857f81bd39cd242b`](https://github.com/ponder-sh/ponder/commit/9fa46f308a08b019867c4c3b857f81bd39cd242b) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with multichain configuration, causing indexing to be severely delayed
2597
+
2598
+ - [#533](https://github.com/ponder-sh/ponder/pull/533) [`689d97123bca57f36b6bcbdc29ba64657b06daf9`](https://github.com/ponder-sh/ponder/commit/689d97123bca57f36b6bcbdc29ba64657b06daf9) Thanks [@kyscott18](https://github.com/kyscott18)! - Fix bug leading to multiple "server responding as healthy" logs
2599
+
2600
+ - [#532](https://github.com/ponder-sh/ponder/pull/532) [`30e687f1e76aedb07b0edfe202ca76b9011e6cfc`](https://github.com/ponder-sh/ponder/commit/30e687f1e76aedb07b0edfe202ca76b9011e6cfc) Thanks [@kyscott18](https://github.com/kyscott18)! - - Fix vite file watcher listening to changes on generated files
2601
+
2602
+ - More intuitive errors, specifically from realtime and historical sync services
2603
+ - Free up listeners from the queue more rapidly
2604
+
2605
+ ## 0.1.1
2606
+
2607
+ ### Patch Changes
2608
+
2609
+ - [#527](https://github.com/ponder-sh/ponder/pull/527) [`6f245642e9cffdc35e0b24021749d1a85ef4f4c0`](https://github.com/ponder-sh/ponder/commit/6f245642e9cffdc35e0b24021749d1a85ef4f4c0) Thanks [@kyscott18](https://github.com/kyscott18)! - Fix bug in GraphQL server when resolving optional references
2610
+
2611
+ ## 0.1.0
2612
+
2613
+ ### Minor Changes
2614
+
2615
+ - [#437](https://github.com/ponder-sh/ponder/pull/437) [`df822e4ddad0a3c4002fa0efc0b758b1b7853f1c`](https://github.com/ponder-sh/ponder/commit/df822e4ddad0a3c4002fa0efc0b758b1b7853f1c) Thanks [@0xOlias](https://github.com/0xOlias)! - Released v0.1.0! Please read the [migration guide](https://ponder.sh/docs/migration-guide).
2616
+
2617
+ ## 0.0.95
2618
+
2619
+ ### Patch Changes
2620
+
2621
+ - [#409](https://github.com/0xOlias/ponder/pull/409) [`840f124`](https://github.com/0xOlias/ponder/commit/840f1240a844d6d7756be30ec757a763a251fffb) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the indexing progress bar had incorrect values.
2622
+
2623
+ - [#409](https://github.com/0xOlias/ponder/pull/409) [`840f124`](https://github.com/0xOlias/ponder/commit/840f1240a844d6d7756be30ec757a763a251fffb) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where Alchemy "Response size is larger than 150MB limit" errors wer enot handled properly.
2624
+
2625
+ ## 0.0.94
2626
+
2627
+ ### Patch Changes
2628
+
2629
+ - [#361](https://github.com/0xOlias/ponder/pull/361) [`54bbd92`](https://github.com/0xOlias/ponder/commit/54bbd92ddfde8a17c45c244f1e0e6cf0000e4e9b) Thanks [@0xOlias](https://github.com/0xOlias)! - BREAKING: This release includes a major update to Ponder's sync engine. Upgrading to this version will delete all cached sync progress and you will need to re-sync your app from scratch. If you're running a large Ponder app in production, please test this version on a branch + separate environment before upgrading on main.
2630
+
2631
+ Added support for factory contracts. Please see the [documentation](https://ponder.sh/docs/contracts#factory-contracts) for a complete guide & API reference.
2632
+
2633
+ - [#405](https://github.com/0xOlias/ponder/pull/405) [`fb3a2a8`](https://github.com/0xOlias/ponder/commit/fb3a2a85225f8f1a03f90b6a66865c351530e6de) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where stale tables were left in the database after the service was stopped.
2634
+
2635
+ ## 0.0.93
2636
+
2637
+ ### Patch Changes
2638
+
2639
+ - [#392](https://github.com/0xOlias/ponder/pull/392) [`254d71d`](https://github.com/0xOlias/ponder/commit/254d71de1886aabcc428f7e99567cbb58efaa473) Thanks [@kyscott18](https://github.com/kyscott18)! - Fix bug affecting local interactive graphql ui
2640
+
2641
+ ## 0.0.92
2642
+
2643
+ ### Patch Changes
2644
+
2645
+ - [#383](https://github.com/0xOlias/ponder/pull/383) [`f3b0be6`](https://github.com/0xOlias/ponder/commit/f3b0be62bfe86e2347e00b87b422aba1d6396df9) Thanks [@o-az](https://github.com/o-az)! - Fixed a bug introduced in `0.0.91` that broke the GraphiQL interface.
2646
+
2647
+ - [#384](https://github.com/0xOlias/ponder/pull/384) [`2206f3c`](https://github.com/0xOlias/ponder/commit/2206f3c3653e4288278cd092bf494ec1a0ba8a1a) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where Infura "query returned more than 10000 results" errors would block the historical sync.
2648
+
2649
+ - [#355](https://github.com/0xOlias/ponder/pull/355) [`986c2e2`](https://github.com/0xOlias/ponder/commit/986c2e236178da53d0a15fccf3b840966d710a83) Thanks [@arberx](https://github.com/arberx)! - BREAKING: Dropped support for `rpcUrl` in favor of `transport` in `ponder.config.ts` network configuration.
2650
+
2651
+ The new `transport` field accepts a [viem transport](https://viem.sh/docs/clients/intro#transports) instead of an RPC url. This makes it possible to use transports other than HTTP, such as WebSockets and Fallback transports.
2652
+
2653
+ Prior to this update, Ponder used an HTTP transport internally. To upgrade with no change in behavior:
2654
+
2655
+ ```diff
2656
+ + import { http } from "viem";
2657
+
2658
+ export const config = {
2659
+ networks: [
2660
+ {
2661
+ name: "mainnet",
2662
+ chainId: 1,
2663
+ - rpcUrl: "https://eth-mainnet.g.alchemy.com/v2/...",
2664
+ + transport: http("https://eth-mainnet.g.alchemy.com/v2/..."),
2665
+ },
2666
+ ],
2667
+ contracts: [
2668
+ {
2669
+ name: "BaseRegistrar",
2670
+ network: "mainnet",
2671
+ abi: "./abis/BaseRegistrar.json",
2672
+ address: "0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85",
2673
+ startBlock: 9380410,
2674
+ },
2675
+ ],
2676
+ };
2677
+ ```
2678
+
2679
+ ## 0.0.91
2680
+
2681
+ ### Patch Changes
2682
+
2683
+ - [#371](https://github.com/0xOlias/ponder/pull/371) [`5a21302`](https://github.com/0xOlias/ponder/commit/5a21302ee2fa6255eee3b7cc80a47e0d14d87030) Thanks [@o-az](https://github.com/o-az)! - Updated GraphiQL styles.
2684
+
2685
+ ## 0.0.90
2686
+
2687
+ ### Patch Changes
2688
+
2689
+ - [#362](https://github.com/0xOlias/ponder/pull/362) [`790946d`](https://github.com/0xOlias/ponder/commit/790946d8152621b207ef1a8b871ceacf153e4989) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug where passing too many entities to createMany() fails.
2690
+
2691
+ ## 0.0.89
2692
+
2693
+ ### Patch Changes
2694
+
2695
+ - [#350](https://github.com/0xOlias/ponder/pull/350) [`fbf47ec`](https://github.com/0xOlias/ponder/commit/fbf47ecf940229b0647bd34385ee5b147d34d8bc) Thanks [@0xOlias](https://github.com/0xOlias)! - Removed support for Node 16.
2696
+
2697
+ - [#360](https://github.com/0xOlias/ponder/pull/360) [`9b5e374`](https://github.com/0xOlias/ponder/commit/9b5e374b1eba49398081dcba35dc7c2d3bc1d831) Thanks [@bankisan](https://github.com/bankisan)! - Added GraphQL endpoint `/graphql`. The new endpoint will return an error until historical indexing has completed. This follows a similar behavior to the healthcheck (`/health`) endpoint. Serving GraphQL requests at the root `/` endpoint is being deprecated and will be removed in a future breaking release. We recommend switching API consumers to use the new endpoint at `/graphql`.
2698
+
2699
+ ## 0.0.88
2700
+
2701
+ ### Patch Changes
2702
+
2703
+ - [#328](https://github.com/0xOlias/ponder/pull/328) [`caaf75c`](https://github.com/0xOlias/ponder/commit/caaf75cf360b98499826349b5eb594d95e42cc98) Thanks [@eliobricenov](https://github.com/eliobricenov)! - Added support for Windows via WSL.
2704
+
2705
+ ## 0.0.87
2706
+
2707
+ ### Patch Changes
2708
+
2709
+ - [#326](https://github.com/0xOlias/ponder/pull/326) [`3d27645`](https://github.com/0xOlias/ponder/commit/3d27645aa70eb2d204ee99bc4048621acb73c509) Thanks [@0xOlias](https://github.com/0xOlias)! - Added `updateMany` and `createMany` to public Model type.
2710
+
2711
+ ## 0.0.86
2712
+
2713
+ ### Patch Changes
2714
+
2715
+ - [#318](https://github.com/0xOlias/ponder/pull/318) [`66fda60`](https://github.com/0xOlias/ponder/commit/66fda60752c184c49695012dd03a215a0c5d7ce7) Thanks [@0xOlias](https://github.com/0xOlias)! - Added `findMany`, `updateMany`, and `createMany` bulk methods to the entity store API.
2716
+
2717
+ - [#324](https://github.com/0xOlias/ponder/pull/324) [`ab3d684`](https://github.com/0xOlias/ponder/commit/ab3d68463fbc6bbc581b2e0fd583f9b71bdb9506) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the realtime sync service would crash on bad requests. Now, a warning will be logged and the service will wait until the next poll.
2718
+
2719
+ - [#318](https://github.com/0xOlias/ponder/pull/318) [`66fda60`](https://github.com/0xOlias/ponder/commit/66fda60752c184c49695012dd03a215a0c5d7ce7) Thanks [@0xOlias](https://github.com/0xOlias)! - Changed GraphQL filter suffix "\_contains" to "\_has" for checking if an value is present in a scalar list type.
2720
+
2721
+ ## 0.0.85
2722
+
2723
+ ### Patch Changes
2724
+
2725
+ - [#319](https://github.com/0xOlias/ponder/pull/319) [`e199267`](https://github.com/0xOlias/ponder/commit/e19926703b546b7ccefde862bb7128f621c7113a) Thanks [@Slokh](https://github.com/Slokh)! - Fixed a bug where a `delete` executed after an `update` in the same event handler would not properly delete the entity.
2726
+
2727
+ ## 0.0.84
2728
+
2729
+ ## 0.0.83
2730
+
2731
+ ## 0.0.82
2732
+
2733
+ ### Patch Changes
2734
+
2735
+ - [#308](https://github.com/0xOlias/ponder/pull/308) [`661c19a`](https://github.com/0xOlias/ponder/commit/661c19aa1a9b7250aa715120a6da21f7e5f7f9d3) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the GraphQL resolver for singular entities would return null for falsey (but valid) ID values like `0`.
2736
+
2737
+ ## 0.0.81
2738
+
2739
+ ### Patch Changes
2740
+
2741
+ - [#306](https://github.com/0xOlias/ponder/pull/306) [`f813a1d`](https://github.com/0xOlias/ponder/commit/f813a1d518afcb73da7e29a72ff9403ab72434c4) Thanks [@0xOlias](https://github.com/0xOlias)! - Added support for update functions in the entity store `update` and `upsert` API methods. This allows you to update an entity based on its current state, and solves a common ergonomics issue where users were manually constructing this operation using a combination of `findUnique`, `create`, and `update`.
2742
+
2743
+ ```ts filename="src/index.ts"
2744
+ ponder.on("ERC20:Transfer", async ({ event, context }) => {
2745
+ const { Account } = context.entities;
2746
+
2747
+ const recipient = await Account.update({
2748
+ id: event.params.to,
2749
+ data: ({ current }) => ({
2750
+ balance: current.balance + event.params.value,
2751
+ }),
2752
+ });
2753
+ // { id: "0x5D92..", balance: 11800000005n }
2754
+ });
2755
+ ```
2756
+
2757
+ ## 0.0.80
2758
+
2759
+ ### Patch Changes
2760
+
2761
+ - [#299](https://github.com/0xOlias/ponder/pull/299) [`31ee730`](https://github.com/0xOlias/ponder/commit/31ee730ff3390322c5ec9c89ebecf606179bae2f) Thanks [@0xOlias](https://github.com/0xOlias)! - Added anonymized telemetry. See `https://ponder.sh/advanced/telemetry` for details.
2762
+
2763
+ ## 0.0.79
2764
+
2765
+ ### Patch Changes
2766
+
2767
+ - [#292](https://github.com/0xOlias/ponder/pull/292) [`4e4009c`](https://github.com/0xOlias/ponder/commit/4e4009c3d1520253192d5bbe4347460262e3cae4) Thanks [@0xOlias](https://github.com/0xOlias)! - Added support for Node 20. Note: Some users may now run into an error during installation related to `better-sqlite3`. To fix, try installing `node-gyp` globally using your package manager, e.g. `pnpm install -g node-gyp`.
2768
+
2769
+ ## 0.0.78
2770
+
2771
+ ### Patch Changes
2772
+
2773
+ - [#285](https://github.com/0xOlias/ponder/pull/285) [`f8803bf`](https://github.com/0xOlias/ponder/commit/f8803bf7839128bd069cbb119c65c9bd5619dbfb) Thanks [@0xOlias](https://github.com/0xOlias)! - Added trace-level logs for more handler and store actions.
2774
+
2775
+ ## 0.0.77
2776
+
2777
+ ### Patch Changes
2778
+
2779
+ - [#274](https://github.com/0xOlias/ponder/pull/274) [`7a0057e`](https://github.com/0xOlias/ponder/commit/7a0057e1c20cb05081656b68c554f3ef3a10ecc4) Thanks [@0xOlias](https://github.com/0xOlias)! - Made internal improvements to the real-time sync service to properly reflect the data that is fetched and cached during the real-time sync. Also added a new cleanup migration that removes the `finalized` column from all tables.
2780
+
2781
+ - [#274](https://github.com/0xOlias/ponder/pull/274) [`7a0057e`](https://github.com/0xOlias/ponder/commit/7a0057e1c20cb05081656b68c554f3ef3a10ecc4) Thanks [@0xOlias](https://github.com/0xOlias)! - Removed export of internal `Ponder` and `Options` types.
2782
+
2783
+ - [#282](https://github.com/0xOlias/ponder/pull/282) [`4224d75`](https://github.com/0xOlias/ponder/commit/4224d75dc6feb1510d5153c9b2ade5dd6fe159df) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where Ponder apps with multiple contracts would not process events in real-time.
2784
+
2785
+ - [#274](https://github.com/0xOlias/ponder/pull/274) [`7a0057e`](https://github.com/0xOlias/ponder/commit/7a0057e1c20cb05081656b68c554f3ef3a10ecc4) Thanks [@0xOlias](https://github.com/0xOlias)! - Improve `Model` type to not require data/create/update fields if the entity only has an ID.
2786
+
2787
+ ## 0.0.76
2788
+
2789
+ ### Patch Changes
2790
+
2791
+ - [#270](https://github.com/0xOlias/ponder/pull/270) [`9919db8`](https://github.com/0xOlias/ponder/commit/9919db807e546d220d92706f00910afaa4424ea2) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the server would crash if no event handlers were registered in a file that had `import { ponder } from "ponder:registry"`
2792
+
2793
+ ## 0.0.75
2794
+
2795
+ ### Patch Changes
2796
+
2797
+ - [#267](https://github.com/0xOlias/ponder/pull/267) [`a683c22`](https://github.com/0xOlias/ponder/commit/a683c2281950cd99b7f74eec78128655993f7ff5) Thanks [@0xOlias](https://github.com/0xOlias)! - Added validations for log filter start blocks. Fixed a bug where, if the start block of a log filter was in the unfinalized range, the app would fail.
2798
+
2799
+ - [#267](https://github.com/0xOlias/ponder/pull/267) [`a683c22`](https://github.com/0xOlias/ponder/commit/a683c2281950cd99b7f74eec78128655993f7ff5) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where if a network is present in config that doesn't have any log filters associated with it, the entire app would fail to process events in real-time.
2800
+
2801
+ - [#267](https://github.com/0xOlias/ponder/pull/267) [`a683c22`](https://github.com/0xOlias/ponder/commit/a683c2281950cd99b7f74eec78128655993f7ff5) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where errors encountered during setup would not be logged when using `ponder start`.
2802
+
2803
+ ## 0.0.74
2804
+
2805
+ ### Patch Changes
2806
+
2807
+ - [#234](https://github.com/0xOlias/ponder/pull/234) [`0e90313`](https://github.com/0xOlias/ponder/commit/0e9031337b07a7b79503f472684be6fb34c426f7) Thanks [@r0ohafza](https://github.com/r0ohafza)! - Added support for passing arguments to derived fields. This means you can paginate entities returned in a derived field. Also added support for time-travel queries via the `timestamp` argument to all GraphQL root query types. NOTE: There is currently a limitation where `timestamp` arguments are not automatically passed to derived fields. If you are using time-travel queries on entities with derived fields, be sure the pass the same `timestamp` as an argument to the derived field. This will be fixed in a future release.
2808
+
2809
+ ## 0.0.73
2810
+
2811
+ ### Patch Changes
2812
+
2813
+ - [#261](https://github.com/0xOlias/ponder/pull/261) [`9cd3cf7`](https://github.com/0xOlias/ponder/commit/9cd3cf7c239aeec960f72eb30a11619dd4bdf142) Thanks [@0xOlias](https://github.com/0xOlias)! - Improved internal SQL query performance.
2814
+
2815
+ - [#258](https://github.com/0xOlias/ponder/pull/258) [`07b836c`](https://github.com/0xOlias/ponder/commit/07b836c1621484ef5489a4028afcbd0e7c814ac8) Thanks [@0xOlias](https://github.com/0xOlias)! - Added support for overloaded event names. If an ABI contains overloaded event names, conflicting events will be named using the full signature, e.g. `ponder.on("MyContract:Transfer(address indexed, address indexed, uint256)", ...)` and `ponder.on("MyContract:Transfer(uint8 indexed, uint256 indexed, address)", ...)`.
2816
+
2817
+ - [#260](https://github.com/0xOlias/ponder/pull/260) [`1e5cb06`](https://github.com/0xOlias/ponder/commit/1e5cb06e70b30ae15021bbdea0428ce40c5982ea) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where some Ponder apps would OOM soon after startup if most of the historical data was present in the cache. Also fixed an annoying behavior where the event handlers progress bar would not update during development, and the process would not handle `SIGINT` properly.
2818
+
2819
+ ## 0.0.72
2820
+
2821
+ ### Patch Changes
2822
+
2823
+ - [#256](https://github.com/0xOlias/ponder/pull/256) [`1336fce`](https://github.com/0xOlias/ponder/commit/1336fce13c7ac5de9a656eabe45823b180ad6b2a) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a codegen bug where `BigInt` IDs for related entities were typed as `string`.
2824
+
2825
+ ## 0.0.71
2826
+
2827
+ ### Patch Changes
2828
+
2829
+ - [#253](https://github.com/0xOlias/ponder/pull/253) [`d96c735`](https://github.com/0xOlias/ponder/commit/d96c7359334c1991f794931f633c8d7ae1574c26) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the type of the `id` argument to singular entity fields on `Query` was hardcoded to `ID` rather than using the user-provided type of the `id` field (e.g. `String` or `BigInt`).
2830
+
2831
+ - [#253](https://github.com/0xOlias/ponder/pull/253) [`d96c735`](https://github.com/0xOlias/ponder/commit/d96c7359334c1991f794931f633c8d7ae1574c26) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed BigInt ID bugs by adding custom serialize and parse functions at the GraphQL layer.
2832
+
2833
+ ## 0.0.70
2834
+
2835
+ ### Patch Changes
2836
+
2837
+ - [#249](https://github.com/0xOlias/ponder/pull/249) [`b0fddce`](https://github.com/0xOlias/ponder/commit/b0fddce3a9943da4f71b3bd87e165dc2830564ec) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed multiple schema bugs related to `BigInt` id types. Removed all `_no_case` filter field types. Fixed a graceful shutdown bug.
2838
+
2839
+ ## 0.0.69
2840
+
2841
+ ### Patch Changes
2842
+
2843
+ - [#246](https://github.com/0xOlias/ponder/pull/246) [`4edc5e2`](https://github.com/0xOlias/ponder/commit/4edc5e2e2a481944d2ea733eabbb965a8cb2b4e5) Thanks [@0xOlias](https://github.com/0xOlias)! - Added `maxRpcRequestConcurrency` option to `networks` type in `ponder.config.ts`.
2844
+
2845
+ - [#246](https://github.com/0xOlias/ponder/pull/246) [`4edc5e2`](https://github.com/0xOlias/ponder/commit/4edc5e2e2a481944d2ea733eabbb965a8cb2b4e5) Thanks [@0xOlias](https://github.com/0xOlias)! - Renamed types `PonderConfig` to `Config`, `ResolvedPonderConfig` to `ResolvedConfig`, and `PonderOptions` to `Options`.
2846
+
2847
+ ## 0.0.68
2848
+
2849
+ ### Patch Changes
2850
+
2851
+ - [#226](https://github.com/0xOlias/ponder/pull/226) [`1ae6a24`](https://github.com/0xOlias/ponder/commit/1ae6a24683371baeccbb70df7b3c8f566acac735) Thanks [@k-xo](https://github.com/k-xo)! - Added a database migration to create indices in the event store. This should improve event handler performance.
2852
+
2853
+ ## 0.0.67
2854
+
2855
+ ### Patch Changes
2856
+
2857
+ - [#241](https://github.com/0xOlias/ponder/pull/241) [`438813b`](https://github.com/0xOlias/ponder/commit/438813b7221c00bf89eb1ec66cf22f90e3d52ab1) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a race condition bug in the historical sync service
2858
+
2859
+ - [#239](https://github.com/0xOlias/ponder/pull/239) [`af90fb1`](https://github.com/0xOlias/ponder/commit/af90fb1710c529c760cb93cbde1b703d188a872a) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the Ponder server would occasionally fail to start due to a port detection race condition.
2860
+
2861
+ - [#239](https://github.com/0xOlias/ponder/pull/239) [`af90fb1`](https://github.com/0xOlias/ponder/commit/af90fb1710c529c760cb93cbde1b703d188a872a) Thanks [@0xOlias](https://github.com/0xOlias)! - Bumped `viem` and `abitype` versions.
2862
+
2863
+ ## 0.0.66
2864
+
2865
+ ### Patch Changes
2866
+
2867
+ - [#235](https://github.com/0xOlias/ponder/pull/235) [`0420400`](https://github.com/0xOlias/ponder/commit/04204001eb6173b797d0e03b2939fb1c2cd3840b) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the default finality checkpoint of several chains (including Arbitrum) was set to zero. The target finality interval for reorg-safe chains like Arbitrum and Optimism is now 10 seconds (e.g. 40 blocks on Arbitrum).
2868
+
2869
+ - [#235](https://github.com/0xOlias/ponder/pull/235) [`0420400`](https://github.com/0xOlias/ponder/commit/04204001eb6173b797d0e03b2939fb1c2cd3840b) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the realtime sync service would process blocks out of order, leading to less efficient RPC request patterns.
2870
+
2871
+ - [#235](https://github.com/0xOlias/ponder/pull/235) [`0420400`](https://github.com/0xOlias/ponder/commit/04204001eb6173b797d0e03b2939fb1c2cd3840b) Thanks [@0xOlias](https://github.com/0xOlias)! - Updated Ponder's logging behavior. Stdout log lines will not include timestamps, log level, service name, and a message. Logs are also written to files located at `/.ponder/logs/{timestamp}.log` in JSON format. There are now more log levels: `"silent"`, `"fatal"`, `"error"`, `"warn"`, `"info"`, `"debug"`, and `"trace"`. These can be configured using the `PONDER_LOG_LEVEL` environment variable.
2872
+
2873
+ ## 0.0.65
2874
+
2875
+ ### Patch Changes
2876
+
2877
+ - [#230](https://github.com/0xOlias/ponder/pull/230) [`c9afd1b`](https://github.com/0xOlias/ponder/commit/c9afd1b627cba4f32197a2492a34ceb1be34fec3) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed transaction and block formatting to handle Arbitrum RPC data formats.
2878
+
2879
+ ## 0.0.64
2880
+
2881
+ ### Patch Changes
2882
+
2883
+ - [#183](https://github.com/0xOlias/ponder/pull/183) [`1d82c94`](https://github.com/0xOlias/ponder/commit/1d82c9423f6f11364c35b10f11e47e622fec78d5) Thanks [@pyk](https://github.com/pyk)! - Fixed a bug where codegen would fail for schemas that include a field typed as `Float`.
2884
+
2885
+ ## 0.0.63
2886
+
2887
+ ### Patch Changes
2888
+
2889
+ - [#225](https://github.com/0xOlias/ponder/pull/225) [`c474fb0`](https://github.com/0xOlias/ponder/commit/c474fb01fffc74aed17d247eb4bcea0168be5517) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug in the historical sync queue where block tasks were not being prioritzed properly. Now, when starting the historical sync, events should be available and processed almost immediately.
2890
+
2891
+ ## 0.0.62
2892
+
2893
+ ### Patch Changes
2894
+
2895
+ - [#213](https://github.com/0xOlias/ponder/pull/213) [`2bff2f8`](https://github.com/0xOlias/ponder/commit/2bff2f8bfdecb85a8be7c3ef61c9634dfb19b4c0) Thanks [@r0ohafza](https://github.com/r0ohafza)! - Added entity count limits to GraphQL API server responses. By default, the server now returns only the first 100 entities (equivalent to adding `first: 100`). There is also now a hard cap of 1000 entities (`first: 1000`) in a single response. There is also a cap of 5000 entities that can be skipped (`skip: 5000`) in a single response. To paginate through a large number of entities, maintain a cursor client-side and use `where: { id_gt: previousCursor }` to fetch the next page of entities.
2896
+
2897
+ - [#221](https://github.com/0xOlias/ponder/pull/221) [`cc7c60c`](https://github.com/0xOlias/ponder/commit/cc7c60c7ec09d4c2ccee735468efa6eb8122a9d2) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where `Keep-Alive` HTTP connections were not being terminated properly on process exit
2898
+
2899
+ - [#219](https://github.com/0xOlias/ponder/pull/219) [`a8e3b79`](https://github.com/0xOlias/ponder/commit/a8e3b791a5d7eb0c0cfcdd7f347519d9bb6caf88) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the "equals" filter argument was not working as expected for basic list field types.
2900
+
2901
+ ## 0.0.61
2902
+
2903
+ ### Patch Changes
2904
+
2905
+ - [#204](https://github.com/0xOlias/ponder/pull/204) [`f8ddf37`](https://github.com/0xOlias/ponder/commit/f8ddf3755ed1e358655152a956e57a7e080b6b52) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where sorting on BigInt fields was not working as expected.
2906
+
2907
+ ## 0.0.60
2908
+
2909
+ ### Patch Changes
2910
+
2911
+ - [#200](https://github.com/0xOlias/ponder/pull/200) [`50571b6`](https://github.com/0xOlias/ponder/commit/50571b64c2feb8f7e9fdd36d77625ca5c5162d38) Thanks [@0xOlias](https://github.com/0xOlias)! - Updated `ReadOnlyContract` to be viem Contract Instances. Fixed bug where contract calls were not using the block number of the current event being handled.
2912
+
2913
+ ## 0.0.59
2914
+
2915
+ ### Patch Changes
2916
+
2917
+ - [`869b920`](https://github.com/0xOlias/ponder/commit/869b920968108ecbcd93b96a10bdb537006fd0b9) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the type generated for contract functions that return no outputs was invalid
2918
+
2919
+ ## 0.0.58
2920
+
2921
+ ### Patch Changes
2922
+
2923
+ - [#188](https://github.com/0xOlias/ponder/pull/188) [`e1bddf1`](https://github.com/0xOlias/ponder/commit/e1bddf1963b6ad2b1332bfdb26816e272e128dfc) Thanks [@saribmah](https://github.com/saribmah)! - Fixes a bug where event handler was always using the minimum value for toTimestamp from all block timestamps, resulting in new events not being added for event handling.
2924
+
2925
+ ## 0.0.57
2926
+
2927
+ ### Patch Changes
2928
+
2929
+ - [#180](https://github.com/0xOlias/ponder/pull/180) [`f2d88c8`](https://github.com/0xOlias/ponder/commit/f2d88c8462cf94b8e430dfcc9df9d68812525f4f) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where codegen broke if an ABI included an event with an anonymous input.
2930
+
2931
+ ## 0.0.56
2932
+
2933
+ ### Patch Changes
2934
+
2935
+ - [#169](https://github.com/0xOlias/ponder/pull/169) [`2085703`](https://github.com/0xOlias/ponder/commit/208570358d4a895855109bc0eca0822b9ee8bfc2) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed bug where the server would fail to start if the desired port was in use. The server will now use the next available port via `detect-port`.
2936
+
2937
+ ## 0.0.55
2938
+
2939
+ ## 0.0.54
2940
+
2941
+ ### Patch Changes
2942
+
2943
+ - [#165](https://github.com/0xOlias/ponder/pull/165) [`21d06c0`](https://github.com/0xOlias/ponder/commit/21d06c0fbee082f6233d3ab4487caed8ea501f6c) Thanks [@0xOlias](https://github.com/0xOlias)! - Added support for multiple ABIs in `ponder.config.ts` contracts/log filters. This can be used to combine the proxy and implementation ABIs for proxy contracts. Ponder will internally merge the provided ABIs and de-duplicate any ABI items.
2944
+
2945
+ ## 0.0.53
2946
+
2947
+ ### Patch Changes
2948
+
2949
+ - [#158](https://github.com/0xOlias/ponder/pull/158) [`feb3379`](https://github.com/0xOlias/ponder/commit/feb3379b8d2e9f8ddecce7a213215d80b91ff30a) Thanks [@0xOlias](https://github.com/0xOlias)! - Added support for custom log filters.
2950
+
2951
+ ```ts
2952
+ // ponder.config.ts
2953
+ import type { Config } from "@ponder/core";
2954
+ import { parseAbiItem } from "abitype";
2955
+
2956
+ export const config: Config = {
2957
+ networks: [
2958
+ /* ... */
2959
+ ],
2960
+ contracts: [
2961
+ {
2962
+ name: "AllTransfers",
2963
+ network: "mainnet",
2964
+ abi: "./abis/ERC20.json",
2965
+ filter: {
2966
+ event: parseAbiItem(
2967
+ "event Transfer(address indexed, address indexed, uint256)"
2968
+ )
2969
+ }
2970
+ fromBlock: 17030328
2971
+ }
2972
+ ]
2973
+ };
2974
+ ```
2975
+
2976
+ - [#158](https://github.com/0xOlias/ponder/pull/158) [`feb3379`](https://github.com/0xOlias/ponder/commit/feb3379b8d2e9f8ddecce7a213215d80b91ff30a) Thanks [@0xOlias](https://github.com/0xOlias)! - Renamed config fields `contracts.blockLimit` -> `contracts.maxBlockRange` and `contracts.isIndexed` -> `contracts.isLogEventSource`.
2977
+
2978
+ ```diff
2979
+ // ponder.config.ts
2980
+ import type { Config } from "@ponder/core";
2981
+ export const config: Config = {
2982
+ networks: [ /* ... */ ],
2983
+ contracts: [
2984
+ {
2985
+ name: "Contract",
2986
+ network: "mainnet",
2987
+ abi: "./abis/ArtGobblers.json",
2988
+ address: "0x60bb1e2aa1c9acafb4d34f71585d7e959f387769",
2989
+ - blockLimit: 50,
2990
+ + maxBlockRange: 50,
2991
+ },
2992
+ {
2993
+ name: "StaticReadOnlyContract",
2994
+ network: "mainnet",
2995
+ abi: "./abis/ArtGobblers.json",
2996
+ address: "0x60bb1e2aa1c9acafb4d34f71585d7e959f387769",
2997
+ - isIndexed: false,
2998
+ + isLogEventSource: false,
2999
+ }
3000
+ ],
3001
+ };
3002
+ ```
3003
+
3004
+ ## 0.0.52
3005
+
3006
+ ### Patch Changes
3007
+
3008
+ - [#154](https://github.com/0xOlias/ponder/pull/154) [`e3f949c`](https://github.com/0xOlias/ponder/commit/e3f949ca16ea06ad2ba92b9304a591c8210d3a21) Thanks [@0xOlias](https://github.com/0xOlias)! - Updated `maxHealthcheckDuration` resolution to honor Railway's env var `RAILWAY_HEALTHCHECK_TIMEOUT_SEC`
3009
+
3010
+ ## 0.0.51
3011
+
3012
+ ### Patch Changes
3013
+
3014
+ - [#153](https://github.com/0xOlias/ponder/pull/153) [`64fd31e`](https://github.com/0xOlias/ponder/commit/64fd31e00317e97a83cb6c1e930cc8c5578694e2) Thanks [@0xOlias](https://github.com/0xOlias)! - Changed graphql API path from `/graphql` to `/`
3015
+
3016
+ - [#151](https://github.com/0xOlias/ponder/pull/151) [`ace6a36`](https://github.com/0xOlias/ponder/commit/ace6a3664c2e1354701e2225d0f5c92c3eae9a28) Thanks [@0xOlias](https://github.com/0xOlias)! - Added support for a "setup" event which is processed before all log events. The "setup" event handler argument only includes `context` (no `event` property). Example:
3017
+
3018
+ ```ts
3019
+ import { ponder } from "ponder:registry";
3020
+
3021
+ ponder.on("setup", async ({ context }) => {
3022
+ const { MyEntity } = context.entities;
3023
+
3024
+ const setupData = await fetch("https://...");
3025
+
3026
+ await MyEntity.create({
3027
+ id: setupData.id,
3028
+ data: { ...setupData },
3029
+ });
3030
+ });
3031
+ ```
3032
+
3033
+ ## 0.0.50
3034
+
3035
+ ### Patch Changes
3036
+
3037
+ - [#144](https://github.com/0xOlias/ponder/pull/144) [`a683344`](https://github.com/0xOlias/ponder/commit/a6833444f5110a711ba9a982cf7fb041caec8b5f) Thanks [@0xOlias](https://github.com/0xOlias)! - Added `options` field to ponder config with support for `maxHealthcheckDuration`
3038
+
3039
+ - [#144](https://github.com/0xOlias/ponder/pull/144) [`a683344`](https://github.com/0xOlias/ponder/commit/a6833444f5110a711ba9a982cf7fb041caec8b5f) Thanks [@0xOlias](https://github.com/0xOlias)! - Removed support for `--silent` flag for ponder dev/start/codegen, use PONDER_LOG_LEVEL=0 env var instead
3040
+
3041
+ - [#144](https://github.com/0xOlias/ponder/pull/144) [`a683344`](https://github.com/0xOlias/ponder/commit/a6833444f5110a711ba9a982cf7fb041caec8b5f) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where Ponder would occasionally process the same event twice
3042
+
3043
+ ## 0.0.49
3044
+
3045
+ ### Patch Changes
3046
+
3047
+ - [#141](https://github.com/0xOlias/ponder/pull/141) [`da83257`](https://github.com/0xOlias/ponder/commit/da832579adcf4ee7540287e43c527e6f6ed2ac9d) Thanks [@0xOlias](https://github.com/0xOlias)! - Improved error messages for event handler errors originating in `pg` and `better-sqlite3`
3048
+
3049
+ ## 0.0.48
3050
+
3051
+ ### Patch Changes
3052
+
3053
+ - [#139](https://github.com/0xOlias/ponder/pull/139) [`cd1ebe7`](https://github.com/0xOlias/ponder/commit/cd1ebe75157b1875be675021189eba4dc9c4af83) Thanks [@0xOlias](https://github.com/0xOlias)! - BREAKING. Updated entity store API to support `create`, `update`, `upsert`, `findUnique`, and `delete`. Moved `id` from the first positional argument to a field of the `options` object argument for all methods, and moved second positional argument to the `data` field of the `options` argument. See docs for new reference.
3054
+
3055
+ ## 0.0.47
3056
+
3057
+ ### Patch Changes
3058
+
3059
+ - [#137](https://github.com/0xOlias/ponder/pull/137) [`5e59712`](https://github.com/0xOlias/ponder/commit/5e59712b50fc2e535ac83ad9acc24df2e305222d) Thanks [@0xOlias](https://github.com/0xOlias)! - Removed support for `ID` type in `schema.graphql`. Use `String`, `Int`, `BigInt`, or `Bytes` instead. Also removed support for `BigDecimal`, use `Float` instead.
3060
+
3061
+ ## 0.0.46
3062
+
3063
+ ### Patch Changes
3064
+
3065
+ - [#134](https://github.com/0xOlias/ponder/pull/134) [`7a18bd6`](https://github.com/0xOlias/ponder/commit/7a18bd6320dfee90bfe0e0d01cca89a626cddc67) Thanks [@0xOlias](https://github.com/0xOlias)! - Added `pollingInterval` option to networks in `ponder.config.ts`
3066
+
3067
+ - [#134](https://github.com/0xOlias/ponder/pull/134) [`7a18bd6`](https://github.com/0xOlias/ponder/commit/7a18bd6320dfee90bfe0e0d01cca89a626cddc67) Thanks [@0xOlias](https://github.com/0xOlias)! - Added fetch polyfill to fix Node 16 compatibility
3068
+
3069
+ - [#134](https://github.com/0xOlias/ponder/pull/134) [`7a18bd6`](https://github.com/0xOlias/ponder/commit/7a18bd6320dfee90bfe0e0d01cca89a626cddc67) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed bug where the server would start responding as healthy before the backfill was complete if there were no "live" contracts
3070
+
3071
+ ## 0.0.45
3072
+
3073
+ ### Patch Changes
3074
+
3075
+ - [#132](https://github.com/0xOlias/ponder/pull/132) [`236bcb4`](https://github.com/0xOlias/ponder/commit/236bcb46b461c8b1c8576d4fb95edd06bb240950) Thanks [@0xOlias](https://github.com/0xOlias)! - Updated default block range limit logic to take the RPC provider (currently handles Quicknode and Alchemy) and chain ID into account. For example, contracts on Arbitrum and Optimism now use a default block range of `50_000`, while contracts on mainnet use `2_000`.
3076
+
3077
+ Added logic to handle `"Log response size exceeded."` errors from Alchemy. Ponder will now re-enqueue failed backfill tasks using the suggested block range present in the response. Also handled a similar error from Quicknode, though this error should only occur if the user overrides the `blockLimit` argument to something greater than `10_000`.
3078
+
3079
+ - [`b177d05`](https://github.com/0xOlias/ponder/commit/b177d053e18b78705a2d12995b1375a2a8407d78) Thanks [@0xOlias](https://github.com/0xOlias)! - Updated shutdown sequence to set `process.exitCode = 1` when using `ponder start`
3080
+
3081
+ - [#132](https://github.com/0xOlias/ponder/pull/132) [`236bcb4`](https://github.com/0xOlias/ponder/commit/236bcb46b461c8b1c8576d4fb95edd06bb240950) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed a bug where the frontfill would happen multiple times for the same network
3082
+
3083
+ ## 0.0.44
3084
+
3085
+ ### Patch Changes
3086
+
3087
+ - [`9efcf85`](https://github.com/0xOlias/ponder/commit/9efcf85ce2e76cf1e3d1e18c2ea392f0d8ab81ef) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed bug where Ponder instances would not close all open handles when killed
3088
+
3089
+ ## 0.0.43
3090
+
3091
+ ### Patch Changes
3092
+
3093
+ - [`7833912`](https://github.com/0xOlias/ponder/commit/78339121197d861b7d03f733b7c935a0063f0e33) Thanks [@0xOlias](https://github.com/0xOlias)! - Fix baseFeePerGas bug on optimism/postgres
3094
+
3095
+ ## 0.0.42
3096
+
3097
+ ### Patch Changes
3098
+
3099
+ - [#127](https://github.com/0xOlias/ponder/pull/127) [`b308f2f`](https://github.com/0xOlias/ponder/commit/b308f2ff034ff367a217791a35e45943650ab790) Thanks [@0xOlias](https://github.com/0xOlias)! - Changed how frontfill logs and blocks are fetched to improve performance on high-throughput chains like Arbitrum and Optimism. Also made a small change to the dev UI as a result.
3100
+
3101
+ ## 0.0.41
3102
+
3103
+ ### Patch Changes
3104
+
3105
+ - [`c5abf10`](https://github.com/0xOlias/ponder/commit/c5abf10dcb3d172d029daae76b735cee9eb39d9e) Thanks [@0xOlias](https://github.com/0xOlias)! - Bumped viem to fix event decoding bug
3106
+
3107
+ ## 0.0.40
3108
+
3109
+ ### Patch Changes
3110
+
3111
+ - [#123](https://github.com/0xOlias/ponder/pull/123) [`9d6f820`](https://github.com/0xOlias/ponder/commit/9d6f820e9d0d1815aa6ebf7b001c0a3139c58f7c) Thanks [@0xOlias](https://github.com/0xOlias)! - **BREAKING** Migrated to [viem](https://viem.sh). Notes:
3112
+
3113
+ Ponder projects must now use **Node 18** or a fetch polyfill (see [viem docs](https://viem.sh/docs/compatibility)).
3114
+
3115
+ Many of the values in `event.block`, `event.transaction`, and `event.log` are now `bigint` instead of `ethers.BigNumber`. `context.contracts` objects will also have slightly different types.
3116
+
3117
+ Projects should remove `ethers` as a dependency, and will need to add dev dependencies on `viem`, `abitype`, and `typescript`.
3118
+
3119
+ ## 0.0.39
3120
+
3121
+ ## 0.0.38
3122
+
3123
+ ### Patch Changes
3124
+
3125
+ - [#118](https://github.com/0xOlias/ponder/pull/118) [`84b4ca0`](https://github.com/0xOlias/ponder/commit/84b4ca0b7e3b4e73ff6daa8c317b48a22b4ca652) Thanks [@0xOlias](https://github.com/0xOlias)! - Updated package exports to include cjs and esm
3126
+
3127
+ - [#118](https://github.com/0xOlias/ponder/pull/118) [`84b4ca0`](https://github.com/0xOlias/ponder/commit/84b4ca0b7e3b4e73ff6daa8c317b48a22b4ca652) Thanks [@0xOlias](https://github.com/0xOlias)! - Added support for a path alias `ponder:registry` in Ponder project `src` files.
3128
+
3129
+ ```ts
3130
+ // src/SomeContract.ts
3131
+ import { ponder } from "ponder:registry";
3132
+
3133
+ ponder.on(...)
3134
+ ```
3135
+
3136
+ ```ts
3137
+ // src/nested/AnotherContract.ts
3138
+ import { ponder } from "ponder:registry";
3139
+
3140
+ ponder.on(...)
3141
+
3142
+ ```
3143
+
3144
+ ## 0.0.37
3145
+
3146
+ ### Patch Changes
3147
+
3148
+ - [#114](https://github.com/0xOlias/ponder/pull/114) [`857f099`](https://github.com/0xOlias/ponder/commit/857f0997263e9c816bc6ad2695d9a03bcf269672) Thanks [@0xOlias](https://github.com/0xOlias)! - Refactored @ponder/core internals and updated `ponder dev` logs
3149
+
3150
+ ## 0.0.36
3151
+
3152
+ ### Patch Changes
3153
+
3154
+ - [#110](https://github.com/0xOlias/ponder/pull/110) [`754f8dd`](https://github.com/0xOlias/ponder/commit/754f8dd019039dfe306a2b3796621089de5d39c7) Thanks [@0xOlias](https://github.com/0xOlias)! - Updated schema definition to allow `Bytes` and `String` types for entity `id` fields
3155
+
3156
+ ## 0.0.35
3157
+
3158
+ ### Patch Changes
3159
+
3160
+ - [#109](https://github.com/0xOlias/ponder/pull/109) [`1563946`](https://github.com/0xOlias/ponder/commit/15639465d68082bde7eb6a8be0f86cd0a9858d5b) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed zero downtime deployment bug
3161
+
3162
+ - [`73bd492`](https://github.com/0xOlias/ponder/commit/73bd4927b570b38ede61f63ea075b2811089a68e) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed schema type generation bugs
3163
+
3164
+ ## 0.0.34
3165
+
3166
+ ### Patch Changes
3167
+
3168
+ - [#104](https://github.com/0xOlias/ponder/pull/104) [`d36fcd8`](https://github.com/0xOlias/ponder/commit/d36fcd882745a0769f1723306ae913fedc278973) Thanks [@0xOlias](https://github.com/0xOlias)! - Added a health check path at `/health` to enable zero-downtime deployments
3169
+
3170
+ ## 0.0.33
3171
+
3172
+ ### Patch Changes
3173
+
3174
+ - [`4d98b5d`](https://github.com/0xOlias/ponder/commit/4d98b5d9c710c5c2f872521016cf1b3e2151f299) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed bug where postgres would throw an error if no handlers were registered
3175
+
3176
+ ## 0.0.32
3177
+
3178
+ ### Patch Changes
3179
+
3180
+ - [#101](https://github.com/0xOlias/ponder/pull/101) [`08d5157`](https://github.com/0xOlias/ponder/commit/08d515796b8a737a9f5c4210aefcc89e879a8a7e) Thanks [@0xOlias](https://github.com/0xOlias)! - Removed notion of plugins
3181
+
3182
+ Moved HTTP server from `@ponder/graphql` to `@ponder/core`
3183
+
3184
+ **BREAKING**. Ponder apps no longer depend on `@ponder/graphql` and do not need to include the `plugins` key in `ponder.config.ts`.
3185
+
3186
+ For now, this also means that the only way to configure the server port is through the $port environment variable.
3187
+
3188
+ ```diff
3189
+ // package.json
3190
+
3191
+ {
3192
+ "private": true,
3193
+ "scripts": {
3194
+ "dev": "ponder dev",
3195
+ "start": "ponder start",
3196
+ "codegen": "ponder codegen"
3197
+ },
3198
+ "dependencies": {
3199
+ "@ponder/core": "^0.0.32",
3200
+ - "@ponder/graphql": "latest"
3201
+ },
3202
+ "devDependencies": {
3203
+ "@types/node": "^18.11.18",
3204
+ "ethers": "^5.6.9"
3205
+ },
3206
+ "engines": {
3207
+ "node": ">=16.0.0 <19.0.0"
3208
+ }
3209
+ }
3210
+ ```
3211
+
3212
+ ```diff
3213
+ // ponder.config.ts
3214
+
3215
+ import type { Config } from "@ponder/core";
3216
+ - import { graphqlPlugin } from "@ponder/graphql";
3217
+
3218
+ export const config: Config = {
3219
+ networks: [
3220
+ {
3221
+ name: "mainnet",
3222
+ chainId: 1,
3223
+ rpcUrl: process.env.PONDER_RPC_URL_1
3224
+ }
3225
+ ],
3226
+ sources: [
3227
+ {
3228
+ name: "ArtGobblers",
3229
+ network: "mainnet",
3230
+ abi: "./abis/ArtGobblers.json",
3231
+ address: "0x60bb1e2aa1c9acafb4d34f71585d7e959f387769",
3232
+ startBlock: 15863321
3233
+ }
3234
+ ],
3235
+ - plugins: [graphqlPlugin({ port: 8080 })]
3236
+ };
3237
+ ```
3238
+
3239
+ ## 0.0.31
3240
+
3241
+ ### Patch Changes
3242
+
3243
+ - [#97](https://github.com/0xOlias/ponder/pull/97) [`7fd75cc`](https://github.com/0xOlias/ponder/commit/7fd75cc148040ed868983f1e2cb73efccda27bcf) Thanks [@0xOlias](https://github.com/0xOlias)! - Improve stack traces
3244
+
3245
+ - [#100](https://github.com/0xOlias/ponder/pull/100) [`e754315`](https://github.com/0xOlias/ponder/commit/e7543152a8d17b41317eb2b823c1f198cc97c7f3) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed bug where unhandled logs would be fetched from the cache store, also bumped cache store to v2
3246
+
3247
+ ## 0.0.30
3248
+
3249
+ ### Patch Changes
3250
+
3251
+ - [#91](https://github.com/0xOlias/ponder/pull/91) [`555888f`](https://github.com/0xOlias/ponder/commit/555888f1f9a5ba91ca1f1da8529aab3c7f52b87b) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed inserting and deleting individual entities when using postgres
3252
+
3253
+ ## 0.0.29
3254
+
3255
+ ### Patch Changes
3256
+
3257
+ - [#89](https://github.com/0xOlias/ponder/pull/89) [`e3ba756`](https://github.com/0xOlias/ponder/commit/e3ba756eed30aa7c4427d2ff6b22b5f07152bcc3) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed bug where array types could not be persisted
3258
+
3259
+ ## 0.0.28
3260
+
3261
+ ### Patch Changes
3262
+
3263
+ - [`b33e538`](https://github.com/0xOlias/ponder/commit/b33e538b518a4fc0b8615ed684acb9bcafaca616) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed RPC response parsing for Optimism
3264
+
3265
+ ## 0.0.27
3266
+
3267
+ ### Patch Changes
3268
+
3269
+ - [#79](https://github.com/0xOlias/ponder/pull/79) [`6222818`](https://github.com/0xOlias/ponder/commit/622281822df281246c305b0e165fffc5dfd93fe5) Thanks [@0xOlias](https://github.com/0xOlias)! - Fix file watching on linux
3270
+
3271
+ ## 0.0.26
3272
+
3273
+ ### Patch Changes
3274
+
3275
+ - [`a0a7132`](https://github.com/0xOlias/ponder/commit/a0a713271dbcc6ce2f63f34595b85d63f474f30b) Thanks [@0xOlias](https://github.com/0xOlias)! - Fix leading zeroes in hex values in rpc request params
3276
+
3277
+ ## 0.0.25
3278
+
3279
+ ### Patch Changes
3280
+
3281
+ - [#69](https://github.com/0xOlias/ponder/pull/69) [`1d6b777`](https://github.com/0xOlias/ponder/commit/1d6b77778d4004946ca4aafcdbac1aff1f6453a0) Thanks [@0xOlias](https://github.com/0xOlias)! - **BREAKING** Changed the way Ponder expects handlers to be registered.
3282
+
3283
+ 1. Source files must be located in `src/` instead of `handlers/`
3284
+ 2. Handlers are registered using an `EventEmitter`-like pattern (see below)
3285
+ 3. Any `*.ts` file inside `src/` can register event handlers this way. Small projects might only need one file in `src` (e.g. `src/app.ts` or `src/{SourceName}.ts`)
3286
+
3287
+ ```ts
3288
+ import { ponder } from "../generated";
3289
+
3290
+ ponder.on("SourceName:EventName", async ({ event, context }) => {
3291
+ // same handler function body as before!
3292
+ });
3293
+
3294
+ ponder.on("SourceName:EventName2", async ({ event, context }) => {
3295
+ // ...
3296
+ });
3297
+
3298
+ ponder.on("AnotherSourceName:EventName", async ({ event, context }) => {
3299
+ // ...
3300
+ });
3301
+ ```
3302
+
3303
+ Updated `create-ponder` to use this pattern for newly generated projects
3304
+
3305
+ - [#71](https://github.com/0xOlias/ponder/pull/71) [`e90c241`](https://github.com/0xOlias/ponder/commit/e90c2410a33ea61a05d24f82c8aa2bafb0696612) Thanks [@0xOlias](https://github.com/0xOlias)! - Added two options to Source (in ponder.ts): `source.endBlock` and `source.isIndexed`.
3306
+
3307
+ `source.endBlock` is an optional field (default: undefined). If specified, Ponder will only fetch & process events up to the provided block number. Alongside `source.startBlock`, it can be used to only index a specific block range for a contract.
3308
+
3309
+ `source.isIndexed` is an optional field (default: `true`). If `false`, **Ponder will not fetch any events for this contract**, and the user will not be able to define event handlers for events coming from this contract. This contract will still be available on `context.contracts` for other event handlers in your project. Use this field if you're only using a contract to call it, and don't care about processing events emitted by it.
3310
+
3311
+ - [#72](https://github.com/0xOlias/ponder/pull/72) [`df3ec60`](https://github.com/0xOlias/ponder/commit/df3ec601852556be788335c016c99710c4277487) Thanks [@0xOlias](https://github.com/0xOlias)! - **BREAKING** Changes ponder config naming.
3312
+
3313
+ 1. The ponder config file was changed (back) to `ponder.config.ts`.
3314
+ 2. The `sources` field in `ponder.config.ts` was changes to `contracts`.
3315
+
3316
+ ## 0.0.24
3317
+
3318
+ ### Patch Changes
3319
+
3320
+ - [#63](https://github.com/0xOlias/ponder/pull/63) [`46c72f0`](https://github.com/0xOlias/ponder/commit/46c72f0f66364098eb2ea2c328259c46f78735d4) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed bug where handler functions would fail if an event was fetched but not present in the ABI. This means partial ABIs are now supported.
3321
+
3322
+ ## 0.0.23
3323
+
3324
+ ### Patch Changes
3325
+
3326
+ - [#57](https://github.com/0xOlias/ponder/pull/57) [`3f358dd`](https://github.com/0xOlias/ponder/commit/3f358dddbcb4c0f7dfe427a9db847bd2388be019) Thanks [@0xOlias](https://github.com/0xOlias)! - BREAKING! Updated ponder config to support typescript and to be called `ponder.ts` by default. `ponder.ts` must export a variable named `config` that is of the type `import { Config } from "@ponder/core"`. The `database` field in ponder config is now optional. By default, it uses `SQLite` with a filename of `./.ponder/cache.db`. If the environment variable `DATABASE_URL` is detected, it uses `Postgres` with that value as the `connectionString`.
3327
+
3328
+ New sample `ponder.ts` file:
3329
+
3330
+ ```ts
3331
+ // ponder.ts
3332
+
3333
+ import type { Config } from "@ponder/core";
3334
+ import { graphqlPlugin } from "@ponder/graphql";
3335
+
3336
+ export const config: Config = {
3337
+ networks: [
3338
+ {
3339
+ name: "mainnet",
3340
+ chainId: 1,
3341
+ rpcUrl: process.env.PONDER_RPC_URL_1,
3342
+ },
3343
+ ],
3344
+ sources: [
3345
+ {
3346
+ name: "ArtGobblers",
3347
+ network: "mainnet",
3348
+ abi: "./abis/ArtGobblers.json",
3349
+ address: "0x60bb1e2aa1c9acafb4d34f71585d7e959f387769",
3350
+ startBlock: 15863321,
3351
+ },
3352
+ ],
3353
+ plugins: [graphqlPlugin()],
3354
+ };
3355
+ ```
3356
+
3357
+ The exported value can also be a function, and it can return a Promise:
3358
+
3359
+ ```ts
3360
+ // ponder.ts
3361
+
3362
+ import type { Config } from "@ponder/core";
3363
+
3364
+ export const config: Config = async () => {
3365
+ return {
3366
+ networks: [
3367
+ /* ... */
3368
+ ],
3369
+ sources: [
3370
+ /* ... */
3371
+ ],
3372
+ };
3373
+ };
3374
+ ```
3375
+
3376
+ ## 0.0.22
3377
+
3378
+ ### Patch Changes
3379
+
3380
+ - [#52](https://github.com/0xOlias/ponder/pull/52) [`39b3e00`](https://github.com/0xOlias/ponder/commit/39b3e00ea29142e1b893ca2170116b9988e8f623) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed bug where string array arguments to filter fields raised SQLite error
3381
+
3382
+ ## 0.0.21
3383
+
3384
+ ### Patch Changes
3385
+
3386
+ - [#50](https://github.com/0xOlias/ponder/pull/50) [`b26b0e4`](https://github.com/0xOlias/ponder/commit/b26b0e456674c2170bf23e84f79246f1a56e82d9) Thanks [@0xOlias](https://github.com/0xOlias)! - Changed PonderPlugin interface and setup pattern. Ponder plugins are now classes. The public API (in ponder.config.js) remains the same.