@mikeatlast/ponder 0.16.1-fork.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 (619) hide show
  1. package/CHANGELOG.md +3415 -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 +223 -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 +745 -0
  28. package/dist/esm/build/config.js.map +1 -0
  29. package/dist/esm/build/factory.js +82 -0
  30. package/dist/esm/build/factory.js.map +1 -0
  31. package/dist/esm/build/index.js +567 -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 +83 -0
  36. package/dist/esm/build/pre.js.map +1 -0
  37. package/dist/esm/build/schema.js +202 -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 +604 -0
  54. package/dist/esm/database/index.js.map +1 -0
  55. package/dist/esm/database/queryBuilder.js +314 -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 +28 -0
  64. package/dist/esm/drizzle/index.js.map +1 -0
  65. package/dist/esm/drizzle/json.js +123 -0
  66. package/dist/esm/drizzle/json.js.map +1 -0
  67. package/dist/esm/drizzle/kit/index.js +927 -0
  68. package/dist/esm/drizzle/kit/index.js.map +1 -0
  69. package/dist/esm/drizzle/onchain.js +184 -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 +934 -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 +83 -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 +663 -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 +666 -0
  92. package/dist/esm/indexing-store/cache.js.map +1 -0
  93. package/dist/esm/indexing-store/index.js +461 -0
  94. package/dist/esm/indexing-store/index.js.map +1 -0
  95. package/dist/esm/indexing-store/profile.js +428 -0
  96. package/dist/esm/indexing-store/profile.js.map +1 -0
  97. package/dist/esm/indexing-store/utils.js +111 -0
  98. package/dist/esm/indexing-store/utils.js.map +1 -0
  99. package/dist/esm/internal/common.js +2 -0
  100. package/dist/esm/internal/common.js.map +1 -0
  101. package/dist/esm/internal/errors.js +300 -0
  102. package/dist/esm/internal/errors.js.map +1 -0
  103. package/dist/esm/internal/logger.js +178 -0
  104. package/dist/esm/internal/logger.js.map +1 -0
  105. package/dist/esm/internal/metrics.js +1049 -0
  106. package/dist/esm/internal/metrics.js.map +1 -0
  107. package/dist/esm/internal/options.js +73 -0
  108. package/dist/esm/internal/options.js.map +1 -0
  109. package/dist/esm/internal/shutdown.js +24 -0
  110. package/dist/esm/internal/shutdown.js.map +1 -0
  111. package/dist/esm/internal/telemetry.js +200 -0
  112. package/dist/esm/internal/telemetry.js.map +1 -0
  113. package/dist/esm/internal/types.js +2 -0
  114. package/dist/esm/internal/types.js.map +1 -0
  115. package/dist/esm/rpc/actions.js +988 -0
  116. package/dist/esm/rpc/actions.js.map +1 -0
  117. package/dist/esm/rpc/http.js +130 -0
  118. package/dist/esm/rpc/http.js.map +1 -0
  119. package/dist/esm/rpc/index.js +749 -0
  120. package/dist/esm/rpc/index.js.map +1 -0
  121. package/dist/esm/runtime/events.js +664 -0
  122. package/dist/esm/runtime/events.js.map +1 -0
  123. package/dist/esm/runtime/filter.js +476 -0
  124. package/dist/esm/runtime/filter.js.map +1 -0
  125. package/dist/esm/runtime/fragments.js +478 -0
  126. package/dist/esm/runtime/fragments.js.map +1 -0
  127. package/dist/esm/runtime/historical.js +954 -0
  128. package/dist/esm/runtime/historical.js.map +1 -0
  129. package/dist/esm/runtime/index.js +316 -0
  130. package/dist/esm/runtime/index.js.map +1 -0
  131. package/dist/esm/runtime/init.js +12 -0
  132. package/dist/esm/runtime/init.js.map +1 -0
  133. package/dist/esm/runtime/isolated.js +464 -0
  134. package/dist/esm/runtime/isolated.js.map +1 -0
  135. package/dist/esm/runtime/multichain.js +511 -0
  136. package/dist/esm/runtime/multichain.js.map +1 -0
  137. package/dist/esm/runtime/omnichain.js +546 -0
  138. package/dist/esm/runtime/omnichain.js.map +1 -0
  139. package/dist/esm/runtime/realtime.js +722 -0
  140. package/dist/esm/runtime/realtime.js.map +1 -0
  141. package/dist/esm/server/error.js +56 -0
  142. package/dist/esm/server/error.js.map +1 -0
  143. package/dist/esm/server/index.js +121 -0
  144. package/dist/esm/server/index.js.map +1 -0
  145. package/dist/esm/sync-historical/index.js +703 -0
  146. package/dist/esm/sync-historical/index.js.map +1 -0
  147. package/dist/esm/sync-realtime/bloom.js +76 -0
  148. package/dist/esm/sync-realtime/bloom.js.map +1 -0
  149. package/dist/esm/sync-realtime/index.js +918 -0
  150. package/dist/esm/sync-realtime/index.js.map +1 -0
  151. package/dist/esm/sync-store/encode.js +105 -0
  152. package/dist/esm/sync-store/encode.js.map +1 -0
  153. package/dist/esm/sync-store/index.js +885 -0
  154. package/dist/esm/sync-store/index.js.map +1 -0
  155. package/dist/esm/sync-store/migrations.js +1595 -0
  156. package/dist/esm/sync-store/migrations.js.map +1 -0
  157. package/dist/esm/sync-store/schema.js +181 -0
  158. package/dist/esm/sync-store/schema.js.map +1 -0
  159. package/dist/esm/types/db.js +2 -0
  160. package/dist/esm/types/db.js.map +1 -0
  161. package/dist/esm/types/eth.js +2 -0
  162. package/dist/esm/types/eth.js.map +1 -0
  163. package/dist/esm/types/utils.js +2 -0
  164. package/dist/esm/types/utils.js.map +1 -0
  165. package/dist/esm/types/virtual.js +2 -0
  166. package/dist/esm/types/virtual.js.map +1 -0
  167. package/dist/esm/ui/app.js +157 -0
  168. package/dist/esm/ui/app.js.map +1 -0
  169. package/dist/esm/ui/index.js +29 -0
  170. package/dist/esm/ui/index.js.map +1 -0
  171. package/dist/esm/ui/patch.js +140 -0
  172. package/dist/esm/ui/patch.js.map +1 -0
  173. package/dist/esm/utils/abi.js +55 -0
  174. package/dist/esm/utils/abi.js.map +1 -0
  175. package/dist/esm/utils/bigint.js +37 -0
  176. package/dist/esm/utils/bigint.js.map +1 -0
  177. package/dist/esm/utils/chains.js +21 -0
  178. package/dist/esm/utils/chains.js.map +1 -0
  179. package/dist/esm/utils/checkpoint.js +139 -0
  180. package/dist/esm/utils/checkpoint.js.map +1 -0
  181. package/dist/esm/utils/chunk.js +8 -0
  182. package/dist/esm/utils/chunk.js.map +1 -0
  183. package/dist/esm/utils/copy.js +129 -0
  184. package/dist/esm/utils/copy.js.map +1 -0
  185. package/dist/esm/utils/date.js +27 -0
  186. package/dist/esm/utils/date.js.map +1 -0
  187. package/dist/esm/utils/debug.js +2 -0
  188. package/dist/esm/utils/debug.js.map +1 -0
  189. package/dist/esm/utils/decodeAbiParameters.js +290 -0
  190. package/dist/esm/utils/decodeAbiParameters.js.map +1 -0
  191. package/dist/esm/utils/decodeEventLog.js +75 -0
  192. package/dist/esm/utils/decodeEventLog.js.map +1 -0
  193. package/dist/esm/utils/dedupe.js +29 -0
  194. package/dist/esm/utils/dedupe.js.map +1 -0
  195. package/dist/esm/utils/duplicates.js +19 -0
  196. package/dist/esm/utils/duplicates.js.map +1 -0
  197. package/dist/esm/utils/estimate.js +6 -0
  198. package/dist/esm/utils/estimate.js.map +1 -0
  199. package/dist/esm/utils/finality.js +38 -0
  200. package/dist/esm/utils/finality.js.map +1 -0
  201. package/dist/esm/utils/format.js +20 -0
  202. package/dist/esm/utils/format.js.map +1 -0
  203. package/dist/esm/utils/generators.js +121 -0
  204. package/dist/esm/utils/generators.js.map +1 -0
  205. package/dist/esm/utils/hash.js +11 -0
  206. package/dist/esm/utils/hash.js.map +1 -0
  207. package/dist/esm/utils/interval.js +171 -0
  208. package/dist/esm/utils/interval.js.map +1 -0
  209. package/dist/esm/utils/lowercase.js +7 -0
  210. package/dist/esm/utils/lowercase.js.map +1 -0
  211. package/dist/esm/utils/mutex.js +26 -0
  212. package/dist/esm/utils/mutex.js.map +1 -0
  213. package/dist/esm/utils/never.js +4 -0
  214. package/dist/esm/utils/never.js.map +1 -0
  215. package/dist/esm/utils/offset.js +101 -0
  216. package/dist/esm/utils/offset.js.map +1 -0
  217. package/dist/esm/utils/order.js +18 -0
  218. package/dist/esm/utils/order.js.map +1 -0
  219. package/dist/esm/utils/partition.js +46 -0
  220. package/dist/esm/utils/partition.js.map +1 -0
  221. package/dist/esm/utils/pg.js +175 -0
  222. package/dist/esm/utils/pg.js.map +1 -0
  223. package/dist/esm/utils/pglite.js +80 -0
  224. package/dist/esm/utils/pglite.js.map +1 -0
  225. package/dist/esm/utils/port.js +30 -0
  226. package/dist/esm/utils/port.js.map +1 -0
  227. package/dist/esm/utils/print.js +23 -0
  228. package/dist/esm/utils/print.js.map +1 -0
  229. package/dist/esm/utils/promiseAllSettledWithThrow.js +19 -0
  230. package/dist/esm/utils/promiseAllSettledWithThrow.js.map +1 -0
  231. package/dist/esm/utils/promiseWithResolvers.js +13 -0
  232. package/dist/esm/utils/promiseWithResolvers.js.map +1 -0
  233. package/dist/esm/utils/queue.js +150 -0
  234. package/dist/esm/utils/queue.js.map +1 -0
  235. package/dist/esm/utils/range.js +8 -0
  236. package/dist/esm/utils/range.js.map +1 -0
  237. package/dist/esm/utils/result.js +10 -0
  238. package/dist/esm/utils/result.js.map +1 -0
  239. package/dist/esm/utils/sql-parse.js +1326 -0
  240. package/dist/esm/utils/sql-parse.js.map +1 -0
  241. package/dist/esm/utils/timer.js +9 -0
  242. package/dist/esm/utils/timer.js.map +1 -0
  243. package/dist/esm/utils/truncate.js +15 -0
  244. package/dist/esm/utils/truncate.js.map +1 -0
  245. package/dist/esm/utils/wait.js +10 -0
  246. package/dist/esm/utils/wait.js.map +1 -0
  247. package/dist/esm/utils/zipper.js +67 -0
  248. package/dist/esm/utils/zipper.js.map +1 -0
  249. package/dist/types/bin/commands/codegen.d.ts +5 -0
  250. package/dist/types/bin/commands/codegen.d.ts.map +1 -0
  251. package/dist/types/bin/commands/createViews.d.ts +8 -0
  252. package/dist/types/bin/commands/createViews.d.ts.map +1 -0
  253. package/dist/types/bin/commands/dev.d.ts +5 -0
  254. package/dist/types/bin/commands/dev.d.ts.map +1 -0
  255. package/dist/types/bin/commands/list.d.ts +5 -0
  256. package/dist/types/bin/commands/list.d.ts.map +1 -0
  257. package/dist/types/bin/commands/prune.d.ts +5 -0
  258. package/dist/types/bin/commands/prune.d.ts.map +1 -0
  259. package/dist/types/bin/commands/serve.d.ts +5 -0
  260. package/dist/types/bin/commands/serve.d.ts.map +1 -0
  261. package/dist/types/bin/commands/start.d.ts +19 -0
  262. package/dist/types/bin/commands/start.d.ts.map +1 -0
  263. package/dist/types/bin/isolatedController.d.ts +13 -0
  264. package/dist/types/bin/isolatedController.d.ts.map +1 -0
  265. package/dist/types/bin/isolatedWorker.d.ts +9 -0
  266. package/dist/types/bin/isolatedWorker.d.ts.map +1 -0
  267. package/dist/types/bin/ponder.d.ts +37 -0
  268. package/dist/types/bin/ponder.d.ts.map +1 -0
  269. package/dist/types/bin/utils/codegen.d.ts +6 -0
  270. package/dist/types/bin/utils/codegen.d.ts.map +1 -0
  271. package/dist/types/bin/utils/exit.d.ts +10 -0
  272. package/dist/types/bin/utils/exit.d.ts.map +1 -0
  273. package/dist/types/build/config.d.ts +97 -0
  274. package/dist/types/build/config.d.ts.map +1 -0
  275. package/dist/types/build/factory.d.ts +15 -0
  276. package/dist/types/build/factory.d.ts.map +1 -0
  277. package/dist/types/build/index.d.ts +84 -0
  278. package/dist/types/build/index.d.ts.map +1 -0
  279. package/dist/types/build/plugin.d.ts +4 -0
  280. package/dist/types/build/plugin.d.ts.map +1 -0
  281. package/dist/types/build/pre.d.ts +29 -0
  282. package/dist/types/build/pre.d.ts.map +1 -0
  283. package/dist/types/build/schema.d.ts +20 -0
  284. package/dist/types/build/schema.d.ts.map +1 -0
  285. package/dist/types/build/stacktrace.d.ts +13 -0
  286. package/dist/types/build/stacktrace.d.ts.map +1 -0
  287. package/dist/types/client/index.d.ts +27 -0
  288. package/dist/types/client/index.d.ts.map +1 -0
  289. package/dist/types/config/address.d.ts +34 -0
  290. package/dist/types/config/address.d.ts.map +1 -0
  291. package/dist/types/config/eventFilter.d.ts +18 -0
  292. package/dist/types/config/eventFilter.d.ts.map +1 -0
  293. package/dist/types/config/index.d.ts +144 -0
  294. package/dist/types/config/index.d.ts.map +1 -0
  295. package/dist/types/config/utilityTypes.d.ts +43 -0
  296. package/dist/types/config/utilityTypes.d.ts.map +1 -0
  297. package/dist/types/database/actions.d.ts +99 -0
  298. package/dist/types/database/actions.d.ts.map +1 -0
  299. package/dist/types/database/index.d.ts +493 -0
  300. package/dist/types/database/index.d.ts.map +1 -0
  301. package/dist/types/database/queryBuilder.d.ts +65 -0
  302. package/dist/types/database/queryBuilder.d.ts.map +1 -0
  303. package/dist/types/drizzle/bigint.d.ts +25 -0
  304. package/dist/types/drizzle/bigint.d.ts.map +1 -0
  305. package/dist/types/drizzle/bytes.d.ts +31 -0
  306. package/dist/types/drizzle/bytes.d.ts.map +1 -0
  307. package/dist/types/drizzle/hex.d.ts +25 -0
  308. package/dist/types/drizzle/hex.d.ts.map +1 -0
  309. package/dist/types/drizzle/index.d.ts +6 -0
  310. package/dist/types/drizzle/index.d.ts.map +1 -0
  311. package/dist/types/drizzle/json.d.ts +51 -0
  312. package/dist/types/drizzle/json.d.ts.map +1 -0
  313. package/dist/types/drizzle/kit/index.d.ts +187 -0
  314. package/dist/types/drizzle/kit/index.d.ts.map +1 -0
  315. package/dist/types/drizzle/onchain.d.ts +298 -0
  316. package/dist/types/drizzle/onchain.d.ts.map +1 -0
  317. package/dist/types/drizzle/text.d.ts +29 -0
  318. package/dist/types/drizzle/text.d.ts.map +1 -0
  319. package/dist/types/graphql/graphiql.html.d.ts +2 -0
  320. package/dist/types/graphql/graphiql.html.d.ts.map +1 -0
  321. package/dist/types/graphql/index.d.ts +12 -0
  322. package/dist/types/graphql/index.d.ts.map +1 -0
  323. package/dist/types/graphql/json.d.ts +3 -0
  324. package/dist/types/graphql/json.d.ts.map +1 -0
  325. package/dist/types/graphql/middleware.d.ts +29 -0
  326. package/dist/types/graphql/middleware.d.ts.map +1 -0
  327. package/dist/types/index.d.ts +23 -0
  328. package/dist/types/index.d.ts.map +1 -0
  329. package/dist/types/indexing/addStackTrace.d.ts +3 -0
  330. package/dist/types/indexing/addStackTrace.d.ts.map +1 -0
  331. package/dist/types/indexing/client.d.ts +154 -0
  332. package/dist/types/indexing/client.d.ts.map +1 -0
  333. package/dist/types/indexing/index.d.ts +72 -0
  334. package/dist/types/indexing/index.d.ts.map +1 -0
  335. package/dist/types/indexing/profile.d.ts +16 -0
  336. package/dist/types/indexing/profile.d.ts.map +1 -0
  337. package/dist/types/indexing-store/cache.d.ts +115 -0
  338. package/dist/types/indexing-store/cache.d.ts.map +1 -0
  339. package/dist/types/indexing-store/index.d.ts +24 -0
  340. package/dist/types/indexing-store/index.d.ts.map +1 -0
  341. package/dist/types/indexing-store/profile.d.ts +7 -0
  342. package/dist/types/indexing-store/profile.d.ts.map +1 -0
  343. package/dist/types/indexing-store/utils.d.ts +19 -0
  344. package/dist/types/indexing-store/utils.d.ts.map +1 -0
  345. package/dist/types/internal/common.d.ts +15 -0
  346. package/dist/types/internal/common.d.ts.map +1 -0
  347. package/dist/types/internal/errors.d.ts +101 -0
  348. package/dist/types/internal/errors.d.ts.map +1 -0
  349. package/dist/types/internal/logger.d.ts +37 -0
  350. package/dist/types/internal/logger.d.ts.map +1 -0
  351. package/dist/types/internal/metrics.d.ts +120 -0
  352. package/dist/types/internal/metrics.d.ts.map +1 -0
  353. package/dist/types/internal/options.d.ts +62 -0
  354. package/dist/types/internal/options.d.ts.map +1 -0
  355. package/dist/types/internal/shutdown.d.ts +8 -0
  356. package/dist/types/internal/shutdown.d.ts.map +1 -0
  357. package/dist/types/internal/telemetry.d.ts +43 -0
  358. package/dist/types/internal/telemetry.d.ts.map +1 -0
  359. package/dist/types/internal/types.d.ts +443 -0
  360. package/dist/types/internal/types.d.ts.map +1 -0
  361. package/dist/types/rpc/actions.d.ts +360 -0
  362. package/dist/types/rpc/actions.d.ts.map +1 -0
  363. package/dist/types/rpc/http.d.ts +17 -0
  364. package/dist/types/rpc/http.d.ts.map +1 -0
  365. package/dist/types/rpc/index.d.ts +43 -0
  366. package/dist/types/rpc/index.d.ts.map +1 -0
  367. package/dist/types/runtime/events.d.ts +40 -0
  368. package/dist/types/runtime/events.d.ts.map +1 -0
  369. package/dist/types/runtime/filter.d.ts +96 -0
  370. package/dist/types/runtime/filter.d.ts.map +1 -0
  371. package/dist/types/runtime/fragments.d.ts +30 -0
  372. package/dist/types/runtime/fragments.d.ts.map +1 -0
  373. package/dist/types/runtime/historical.d.ts +123 -0
  374. package/dist/types/runtime/historical.d.ts.map +1 -0
  375. package/dist/types/runtime/index.d.ts +89 -0
  376. package/dist/types/runtime/index.d.ts.map +1 -0
  377. package/dist/types/runtime/init.d.ts +28 -0
  378. package/dist/types/runtime/init.d.ts.map +1 -0
  379. package/dist/types/runtime/isolated.d.ts +14 -0
  380. package/dist/types/runtime/isolated.d.ts.map +1 -0
  381. package/dist/types/runtime/multichain.d.ts +13 -0
  382. package/dist/types/runtime/multichain.d.ts.map +1 -0
  383. package/dist/types/runtime/omnichain.d.ts +23 -0
  384. package/dist/types/runtime/omnichain.d.ts.map +1 -0
  385. package/dist/types/runtime/realtime.d.ts +93 -0
  386. package/dist/types/runtime/realtime.d.ts.map +1 -0
  387. package/dist/types/server/error.d.ts +5 -0
  388. package/dist/types/server/error.d.ts.map +1 -0
  389. package/dist/types/server/index.d.ts +13 -0
  390. package/dist/types/server/index.d.ts.map +1 -0
  391. package/dist/types/sync-historical/index.d.ts +36 -0
  392. package/dist/types/sync-historical/index.d.ts.map +1 -0
  393. package/dist/types/sync-realtime/bloom.d.ts +18 -0
  394. package/dist/types/sync-realtime/bloom.d.ts.map +1 -0
  395. package/dist/types/sync-realtime/index.d.ts +48 -0
  396. package/dist/types/sync-realtime/index.d.ts.map +1 -0
  397. package/dist/types/sync-store/encode.d.ts +25 -0
  398. package/dist/types/sync-store/encode.d.ts.map +1 -0
  399. package/dist/types/sync-store/index.d.ts +135 -0
  400. package/dist/types/sync-store/index.d.ts.map +1 -0
  401. package/dist/types/sync-store/migrations.d.ts +8 -0
  402. package/dist/types/sync-store/migrations.d.ts.map +1 -0
  403. package/dist/types/sync-store/schema.d.ts +1828 -0
  404. package/dist/types/sync-store/schema.d.ts.map +1 -0
  405. package/dist/types/types/db.d.ts +213 -0
  406. package/dist/types/types/db.d.ts.map +1 -0
  407. package/dist/types/types/eth.d.ts +196 -0
  408. package/dist/types/types/eth.d.ts.map +1 -0
  409. package/dist/types/types/utils.d.ts +38 -0
  410. package/dist/types/types/utils.d.ts.map +1 -0
  411. package/dist/types/types/virtual.d.ts +99 -0
  412. package/dist/types/types/virtual.d.ts.map +1 -0
  413. package/dist/types/ui/app.d.ts +22 -0
  414. package/dist/types/ui/app.d.ts.map +1 -0
  415. package/dist/types/ui/index.d.ts +5 -0
  416. package/dist/types/ui/index.d.ts.map +1 -0
  417. package/dist/types/ui/patch.d.ts +7 -0
  418. package/dist/types/ui/patch.d.ts.map +1 -0
  419. package/dist/types/utils/abi.d.ts +23 -0
  420. package/dist/types/utils/abi.d.ts.map +1 -0
  421. package/dist/types/utils/bigint.d.ts +15 -0
  422. package/dist/types/utils/bigint.d.ts.map +1 -0
  423. package/dist/types/utils/chains.d.ts +42 -0
  424. package/dist/types/utils/chains.d.ts.map +1 -0
  425. package/dist/types/utils/checkpoint.d.ts +52 -0
  426. package/dist/types/utils/checkpoint.d.ts.map +1 -0
  427. package/dist/types/utils/chunk.d.ts +2 -0
  428. package/dist/types/utils/chunk.d.ts.map +1 -0
  429. package/dist/types/utils/copy.d.ts +16 -0
  430. package/dist/types/utils/copy.d.ts.map +1 -0
  431. package/dist/types/utils/date.d.ts +7 -0
  432. package/dist/types/utils/date.d.ts.map +1 -0
  433. package/dist/types/utils/debug.d.ts +105 -0
  434. package/dist/types/utils/debug.d.ts.map +1 -0
  435. package/dist/types/utils/decodeAbiParameters.d.ts +28 -0
  436. package/dist/types/utils/decodeAbiParameters.d.ts.map +1 -0
  437. package/dist/types/utils/decodeEventLog.d.ts +12 -0
  438. package/dist/types/utils/decodeEventLog.d.ts.map +1 -0
  439. package/dist/types/utils/dedupe.d.ts +20 -0
  440. package/dist/types/utils/dedupe.d.ts.map +1 -0
  441. package/dist/types/utils/duplicates.d.ts +7 -0
  442. package/dist/types/utils/duplicates.d.ts.map +1 -0
  443. package/dist/types/utils/estimate.d.ts +11 -0
  444. package/dist/types/utils/estimate.d.ts.map +1 -0
  445. package/dist/types/utils/finality.d.ts +12 -0
  446. package/dist/types/utils/finality.d.ts.map +1 -0
  447. package/dist/types/utils/format.d.ts +3 -0
  448. package/dist/types/utils/format.d.ts.map +1 -0
  449. package/dist/types/utils/generators.d.ts +42 -0
  450. package/dist/types/utils/generators.d.ts.map +1 -0
  451. package/dist/types/utils/hash.d.ts +11 -0
  452. package/dist/types/utils/hash.d.ts.map +1 -0
  453. package/dist/types/utils/interval.d.ts +53 -0
  454. package/dist/types/utils/interval.d.ts.map +1 -0
  455. package/dist/types/utils/lowercase.d.ts +5 -0
  456. package/dist/types/utils/lowercase.d.ts.map +1 -0
  457. package/dist/types/utils/mutex.d.ts +5 -0
  458. package/dist/types/utils/mutex.d.ts.map +1 -0
  459. package/dist/types/utils/never.d.ts +2 -0
  460. package/dist/types/utils/never.d.ts.map +1 -0
  461. package/dist/types/utils/offset.d.ts +8 -0
  462. package/dist/types/utils/offset.d.ts.map +1 -0
  463. package/dist/types/utils/order.d.ts +2 -0
  464. package/dist/types/utils/order.d.ts.map +1 -0
  465. package/dist/types/utils/partition.d.ts +22 -0
  466. package/dist/types/utils/partition.d.ts.map +1 -0
  467. package/dist/types/utils/pg.d.ts +8 -0
  468. package/dist/types/utils/pg.d.ts.map +1 -0
  469. package/dist/types/utils/pglite.d.ts +25 -0
  470. package/dist/types/utils/pglite.d.ts.map +1 -0
  471. package/dist/types/utils/port.d.ts +5 -0
  472. package/dist/types/utils/port.d.ts.map +1 -0
  473. package/dist/types/utils/print.d.ts +2 -0
  474. package/dist/types/utils/print.d.ts.map +1 -0
  475. package/dist/types/utils/promiseAllSettledWithThrow.d.ts +8 -0
  476. package/dist/types/utils/promiseAllSettledWithThrow.d.ts.map +1 -0
  477. package/dist/types/utils/promiseWithResolvers.d.ts +10 -0
  478. package/dist/types/utils/promiseWithResolvers.d.ts.map +1 -0
  479. package/dist/types/utils/queue.d.ts +33 -0
  480. package/dist/types/utils/queue.d.ts.map +1 -0
  481. package/dist/types/utils/range.d.ts +8 -0
  482. package/dist/types/utils/range.d.ts.map +1 -0
  483. package/dist/types/utils/result.d.ts +17 -0
  484. package/dist/types/utils/result.d.ts.map +1 -0
  485. package/dist/types/utils/sql-parse.d.ts +21 -0
  486. package/dist/types/utils/sql-parse.d.ts.map +1 -0
  487. package/dist/types/utils/timer.d.ts +6 -0
  488. package/dist/types/utils/timer.d.ts.map +1 -0
  489. package/dist/types/utils/truncate.d.ts +9 -0
  490. package/dist/types/utils/truncate.d.ts.map +1 -0
  491. package/dist/types/utils/wait.d.ts +6 -0
  492. package/dist/types/utils/wait.d.ts.map +1 -0
  493. package/dist/types/utils/zipper.d.ts +36 -0
  494. package/dist/types/utils/zipper.d.ts.map +1 -0
  495. package/package.json +114 -0
  496. package/src/bin/commands/codegen.ts +56 -0
  497. package/src/bin/commands/createViews.ts +318 -0
  498. package/src/bin/commands/dev.ts +490 -0
  499. package/src/bin/commands/list.ts +208 -0
  500. package/src/bin/commands/prune.ts +322 -0
  501. package/src/bin/commands/serve.ts +236 -0
  502. package/src/bin/commands/start.ts +319 -0
  503. package/src/bin/isolatedController.ts +300 -0
  504. package/src/bin/isolatedWorker.ts +192 -0
  505. package/src/bin/ponder.ts +208 -0
  506. package/src/bin/utils/codegen.ts +32 -0
  507. package/src/bin/utils/exit.ts +112 -0
  508. package/src/build/config.ts +1141 -0
  509. package/src/build/factory.ts +147 -0
  510. package/src/build/index.ts +790 -0
  511. package/src/build/plugin.ts +58 -0
  512. package/src/build/pre.ts +114 -0
  513. package/src/build/schema.ts +358 -0
  514. package/src/build/stacktrace.ts +137 -0
  515. package/src/client/index.ts +551 -0
  516. package/src/config/address.ts +45 -0
  517. package/src/config/eventFilter.ts +33 -0
  518. package/src/config/index.ts +240 -0
  519. package/src/config/utilityTypes.ts +152 -0
  520. package/src/database/actions.ts +873 -0
  521. package/src/database/index.ts +1029 -0
  522. package/src/database/queryBuilder.ts +537 -0
  523. package/src/drizzle/bigint.ts +57 -0
  524. package/src/drizzle/bytes.ts +68 -0
  525. package/src/drizzle/hex.ts +58 -0
  526. package/src/drizzle/index.ts +40 -0
  527. package/src/drizzle/json.ts +159 -0
  528. package/src/drizzle/kit/index.ts +1348 -0
  529. package/src/drizzle/onchain.ts +476 -0
  530. package/src/drizzle/text.ts +77 -0
  531. package/src/graphql/graphiql.html.ts +59 -0
  532. package/src/graphql/index.ts +1351 -0
  533. package/src/graphql/json.ts +62 -0
  534. package/src/graphql/middleware.ts +115 -0
  535. package/src/index.ts +139 -0
  536. package/src/indexing/addStackTrace.ts +69 -0
  537. package/src/indexing/client.ts +1184 -0
  538. package/src/indexing/index.ts +976 -0
  539. package/src/indexing/profile.ts +771 -0
  540. package/src/indexing-store/cache.ts +1057 -0
  541. package/src/indexing-store/index.ts +628 -0
  542. package/src/indexing-store/profile.ts +557 -0
  543. package/src/indexing-store/utils.ts +162 -0
  544. package/src/internal/common.ts +15 -0
  545. package/src/internal/errors.ts +228 -0
  546. package/src/internal/logger.ts +252 -0
  547. package/src/internal/metrics.ts +1030 -0
  548. package/src/internal/options.ts +130 -0
  549. package/src/internal/shutdown.ts +32 -0
  550. package/src/internal/telemetry.ts +303 -0
  551. package/src/internal/types.ts +611 -0
  552. package/src/rpc/actions.ts +1344 -0
  553. package/src/rpc/http.ts +164 -0
  554. package/src/rpc/index.ts +959 -0
  555. package/src/runtime/events.ts +875 -0
  556. package/src/runtime/filter.ts +705 -0
  557. package/src/runtime/fragments.ts +674 -0
  558. package/src/runtime/historical.ts +1522 -0
  559. package/src/runtime/index.ts +569 -0
  560. package/src/runtime/init.ts +49 -0
  561. package/src/runtime/isolated.ts +775 -0
  562. package/src/runtime/multichain.ts +860 -0
  563. package/src/runtime/omnichain.ts +920 -0
  564. package/src/runtime/realtime.ts +1164 -0
  565. package/src/server/error.ts +68 -0
  566. package/src/server/index.ts +173 -0
  567. package/src/sync-historical/index.ts +1065 -0
  568. package/src/sync-realtime/bloom.ts +102 -0
  569. package/src/sync-realtime/index.ts +1304 -0
  570. package/src/sync-store/encode.ts +153 -0
  571. package/src/sync-store/index.ts +1633 -0
  572. package/src/sync-store/migrations.ts +1801 -0
  573. package/src/sync-store/schema.ts +248 -0
  574. package/src/types/db.ts +292 -0
  575. package/src/types/eth.ts +216 -0
  576. package/src/types/utils.ts +47 -0
  577. package/src/types/virtual.ts +244 -0
  578. package/src/types.d.ts +38 -0
  579. package/src/ui/app.ts +207 -0
  580. package/src/ui/index.ts +37 -0
  581. package/src/ui/patch.ts +204 -0
  582. package/src/utils/abi.ts +103 -0
  583. package/src/utils/bigint.ts +41 -0
  584. package/src/utils/chains.ts +22 -0
  585. package/src/utils/checkpoint.ts +203 -0
  586. package/src/utils/chunk.ts +7 -0
  587. package/src/utils/copy.ts +151 -0
  588. package/src/utils/date.ts +26 -0
  589. package/src/utils/debug.ts +110 -0
  590. package/src/utils/decodeAbiParameters.ts +428 -0
  591. package/src/utils/decodeEventLog.ts +100 -0
  592. package/src/utils/dedupe.ts +32 -0
  593. package/src/utils/duplicates.ts +19 -0
  594. package/src/utils/estimate.ts +27 -0
  595. package/src/utils/finality.ts +40 -0
  596. package/src/utils/format.ts +22 -0
  597. package/src/utils/generators.ts +157 -0
  598. package/src/utils/hash.ts +22 -0
  599. package/src/utils/interval.ts +212 -0
  600. package/src/utils/lowercase.ts +6 -0
  601. package/src/utils/mutex.ts +33 -0
  602. package/src/utils/never.ts +3 -0
  603. package/src/utils/offset.ts +133 -0
  604. package/src/utils/order.ts +16 -0
  605. package/src/utils/partition.ts +53 -0
  606. package/src/utils/pg.ts +230 -0
  607. package/src/utils/pglite.ts +97 -0
  608. package/src/utils/port.ts +34 -0
  609. package/src/utils/print.ts +31 -0
  610. package/src/utils/promiseAllSettledWithThrow.ts +27 -0
  611. package/src/utils/promiseWithResolvers.ts +20 -0
  612. package/src/utils/queue.ts +258 -0
  613. package/src/utils/range.ts +8 -0
  614. package/src/utils/result.ts +26 -0
  615. package/src/utils/sql-parse.ts +1477 -0
  616. package/src/utils/timer.ts +8 -0
  617. package/src/utils/truncate.ts +15 -0
  618. package/src/utils/wait.ts +8 -0
  619. package/src/utils/zipper.ts +80 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,3415 @@
1
+ # ponder
2
+
3
+ ## 0.16.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2248](https://github.com/ponder-sh/ponder/pull/2248) [`ff29984`](https://github.com/ponder-sh/ponder/commit/ff2998452aead6f0accc039aae9aa24903935064) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed GraphQL filtering for `int8()` and `numeric()` column types. Previously these column types were using string filter conditions (contains, starts_with, ends_with), now they use numeric filter conditions (gt, gte, lt, lte).
8
+
9
+ ## 0.16.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#2229](https://github.com/ponder-sh/ponder/pull/2229) [`a021354`](https://github.com/ponder-sh/ponder/commit/a0213549e279580ab48877b25a1a8a046ff3afe8) Thanks [@kyscott18](https://github.com/kyscott18)! - Released `0.16`. Visit the [migration guide](https://ponder.sh/docs/migration-guide#016) for details.
14
+
15
+ ### Patch Changes
16
+
17
+ - [#2229](https://github.com/ponder-sh/ponder/pull/2229) [`a021354`](https://github.com/ponder-sh/ponder/commit/a0213549e279580ab48877b25a1a8a046ff3afe8) Thanks [@kyscott18](https://github.com/kyscott18)! - Updated internal database object names. Fixed `error: channel name too long`.
18
+
19
+ - [#2229](https://github.com/ponder-sh/ponder/pull/2229) [`a021354`](https://github.com/ponder-sh/ponder/commit/a0213549e279580ab48877b25a1a8a046ff3afe8) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved backfill indexing performance.
20
+
21
+ - [#2229](https://github.com/ponder-sh/ponder/pull/2229) [`a021354`](https://github.com/ponder-sh/ponder/commit/a0213549e279580ab48877b25a1a8a046ff3afe8) Thanks [@kyscott18](https://github.com/kyscott18)! - Exposed full node-postgres poolConfig in `ponder.config.ts`.
22
+
23
+ ## 0.15.18
24
+
25
+ ### Patch Changes
26
+
27
+ - [#2241](https://github.com/ponder-sh/ponder/pull/2241) [`d3839fb`](https://github.com/ponder-sh/ponder/commit/d3839fbeb2270bc27de864055e6026e9fc581e63) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with `ponder db list` that caused `TypeError: leftSelect.getSelectedFields is not a function`.
28
+
29
+ - Updated dependencies [[`9c36e5e`](https://github.com/ponder-sh/ponder/commit/9c36e5ef3c39f9d8ec2debf10fa2a04aacc7841f)]:
30
+ - @ponder/utils@0.2.17
31
+
32
+ ## 0.15.17
33
+
34
+ ### Patch Changes
35
+
36
+ - [#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.
37
+
38
+ ## 0.15.16
39
+
40
+ ### Patch Changes
41
+
42
+ - [#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`.
43
+
44
+ ## 0.15.15
45
+
46
+ ### Patch Changes
47
+
48
+ - [#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)`.
49
+
50
+ ## 0.15.14
51
+
52
+ ### Patch Changes
53
+
54
+ - [#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.
55
+
56
+ ## 0.15.13
57
+
58
+ ### Patch Changes
59
+
60
+ - [#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`.
61
+
62
+ ## 0.15.12
63
+
64
+ ### Patch Changes
65
+
66
+ - [`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.
67
+
68
+ ## 0.15.11
69
+
70
+ ### Patch Changes
71
+
72
+ - [#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`.
73
+
74
+ ## 0.15.10
75
+
76
+ ### Patch Changes
77
+
78
+ - [#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.
79
+
80
+ ## 0.15.9
81
+
82
+ ### Patch Changes
83
+
84
+ - [#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`.
85
+
86
+ ## 0.15.8
87
+
88
+ ### Patch Changes
89
+
90
+ - [#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"`.
91
+
92
+ ## 0.15.7
93
+
94
+ ### Patch Changes
95
+
96
+ - [#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.
97
+
98
+ ## 0.15.6
99
+
100
+ ## 0.15.5
101
+
102
+ ### Patch Changes
103
+
104
+ - [`2d1b0af`](https://github.com/ponder-sh/ponder/commit/2d1b0af849dcb3347239e86bb684f042cc9081f0) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved JSON-RPC response validation errors.
105
+
106
+ ## 0.15.4
107
+
108
+ ### Patch Changes
109
+
110
+ - [#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`.
111
+
112
+ ## 0.15.3
113
+
114
+ ### Patch Changes
115
+
116
+ - [#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.
117
+
118
+ - [#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"`.
119
+
120
+ - [#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.
121
+
122
+ - [#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"`.
123
+
124
+ ## 0.15.2
125
+
126
+ ### Patch Changes
127
+
128
+ - [#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).
129
+
130
+ ## 0.15.1
131
+
132
+ ### Patch Changes
133
+
134
+ - Updated dependencies [[`ecd8bff`](https://github.com/ponder-sh/ponder/commit/ecd8bff9c42463be84a27cc64bcbb09eff8359c7)]:
135
+ - @ponder/utils@0.2.16
136
+
137
+ ## 0.15.0
138
+
139
+ ### Minor Changes
140
+
141
+ - [#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.
142
+
143
+ ### Patch Changes
144
+
145
+ - [#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.
146
+
147
+ - [#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.
148
+
149
+ - [#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.
150
+
151
+ - [#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.
152
+
153
+ ## 0.14.13
154
+
155
+ ### Patch Changes
156
+
157
+ - [#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.
158
+
159
+ ## 0.14.12
160
+
161
+ ### Patch Changes
162
+
163
+ - [#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`.
164
+
165
+ ## 0.14.11
166
+
167
+ ### Patch Changes
168
+
169
+ - Updated dependencies [[`ac518fc`](https://github.com/ponder-sh/ponder/commit/ac518fc3ed32a7d41f7b6e625eb72d2a8b665f7b)]:
170
+ - @ponder/utils@0.2.15
171
+
172
+ ## 0.14.10
173
+
174
+ ### Patch Changes
175
+
176
+ - [#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.
177
+
178
+ ## 0.14.9
179
+
180
+ ### Patch Changes
181
+
182
+ - [#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`.
183
+
184
+ ## 0.14.8
185
+
186
+ ### Patch Changes
187
+
188
+ - [#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`.
189
+
190
+ ## 0.14.7
191
+
192
+ ### Patch Changes
193
+
194
+ - [#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`.
195
+
196
+ ## 0.14.6
197
+
198
+ ### Patch Changes
199
+
200
+ - [#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.
201
+
202
+ - [#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.
203
+
204
+ ## 0.14.5
205
+
206
+ ### Patch Changes
207
+
208
+ - [#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.
209
+
210
+ ## 0.14.4
211
+
212
+ ### Patch Changes
213
+
214
+ - [#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`.
215
+
216
+ ## 0.14.3
217
+
218
+ ### Patch Changes
219
+
220
+ - [#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.
221
+
222
+ ## 0.14.2
223
+
224
+ ### Patch Changes
225
+
226
+ - [`3b6901f`](https://github.com/ponder-sh/ponder/commit/3b6901fc0601a60a235382728447bf0c7e3a61ee) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed `ponder_realtime_latency` metric.
227
+
228
+ - [`3b6901f`](https://github.com/ponder-sh/ponder/commit/3b6901fc0601a60a235382728447bf0c7e3a61ee) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved performance of live indexing.
229
+
230
+ - [#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.
231
+
232
+ - [`3b6901f`](https://github.com/ponder-sh/ponder/commit/3b6901fc0601a60a235382728447bf0c7e3a61ee) Thanks [@kyscott18](https://github.com/kyscott18)! - Added query caching for `client` middleware.
233
+
234
+ - [#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.
235
+
236
+ ## 0.14.1
237
+
238
+ ### Patch Changes
239
+
240
+ - [#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')`.
241
+
242
+ - [#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`.
243
+
244
+ ## 0.14.0
245
+
246
+ ### Minor Changes
247
+
248
+ - [#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.
249
+
250
+ ### Patch Changes
251
+
252
+ - [#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.
253
+
254
+ - [#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.
255
+
256
+ - [#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.
257
+
258
+ ## 0.13.14
259
+
260
+ ### Patch Changes
261
+
262
+ - [#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"`.
263
+
264
+ ## 0.13.13
265
+
266
+ ### Patch Changes
267
+
268
+ - [#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.
269
+
270
+ ## 0.13.12
271
+
272
+ ### Patch Changes
273
+
274
+ - [#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.
275
+
276
+ ## 0.13.11
277
+
278
+ ### Patch Changes
279
+
280
+ - [#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`.
281
+
282
+ - [#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.
283
+
284
+ ## 0.13.10
285
+
286
+ ### Patch Changes
287
+
288
+ - Updated dependencies [[`9cdb708`](https://github.com/ponder-sh/ponder/commit/9cdb70825814cca82cb0a9b4e4d36a4701b74516)]:
289
+ - @ponder/utils@0.2.14
290
+
291
+ ## 0.13.9
292
+
293
+ ### Patch Changes
294
+
295
+ - [#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.
296
+
297
+ ## 0.13.8
298
+
299
+ ### Patch Changes
300
+
301
+ - [#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.
302
+
303
+ - [#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.
304
+
305
+ - [#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.
306
+
307
+ - [#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`.
308
+
309
+ - [`3021a91`](https://github.com/ponder-sh/ponder/commit/3021a91887d0a1afdfc840ca8b8ff3862361303e) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved `client.db` reliability.
310
+
311
+ ## 0.13.7
312
+
313
+ ### Patch Changes
314
+
315
+ - [#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]`.
316
+
317
+ ## 0.13.6
318
+
319
+ ### Patch Changes
320
+
321
+ - [#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.
322
+
323
+ ## 0.13.5
324
+
325
+ ### Patch Changes
326
+
327
+ - [`54e56d2`](https://github.com/ponder-sh/ponder/commit/54e56d2f4ad24ef7e4e3b81882884e514b19bf60) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved realtime sync error handling.
328
+
329
+ ## 0.13.4
330
+
331
+ ### Patch Changes
332
+
333
+ - [#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.
334
+
335
+ ## 0.13.3
336
+
337
+ ### Patch Changes
338
+
339
+ - [#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.
340
+
341
+ ## 0.13.2
342
+
343
+ ### Patch Changes
344
+
345
+ - Updated dependencies [[`3176395`](https://github.com/ponder-sh/ponder/commit/3176395493a702b34e42ec5fe16895afb7cef8ae)]:
346
+ - @ponder/utils@0.2.13
347
+
348
+ ## 0.13.1
349
+
350
+ ### Patch Changes
351
+
352
+ - [#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.
353
+
354
+ ## 0.13.0
355
+
356
+ ### Minor Changes
357
+
358
+ - [#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.
359
+
360
+ ## 0.12.26
361
+
362
+ ### Patch Changes
363
+
364
+ - [#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"`.
365
+
366
+ ## 0.12.25
367
+
368
+ ### Patch Changes
369
+
370
+ - [#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`.
371
+
372
+ ## 0.12.24
373
+
374
+ ### Patch Changes
375
+
376
+ - [#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"`.
377
+
378
+ ## 0.12.23
379
+
380
+ ### Patch Changes
381
+
382
+ - [#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 ")"`.
383
+
384
+ ## 0.12.22
385
+
386
+ ### Patch Changes
387
+
388
+ - [#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`.
389
+
390
+ ## 0.12.21
391
+
392
+ ### Patch Changes
393
+
394
+ - [#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.
395
+
396
+ ## 0.12.20
397
+
398
+ ### Patch Changes
399
+
400
+ - [#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.
401
+
402
+ ## 0.12.19
403
+
404
+ ### Patch Changes
405
+
406
+ - [#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`.
407
+
408
+ ## 0.12.18
409
+
410
+ ### Patch Changes
411
+
412
+ - Updated dependencies [[`5de9cc0`](https://github.com/ponder-sh/ponder/commit/5de9cc0de28711b3e1d1e36a7ae60c83eb7fed39)]:
413
+ - @ponder/utils@0.2.12
414
+
415
+ ## 0.12.17
416
+
417
+ ### Patch Changes
418
+
419
+ - [#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.
420
+
421
+ ## 0.12.16
422
+
423
+ ### Patch Changes
424
+
425
+ - [#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`.
426
+
427
+ ## 0.12.15
428
+
429
+ ### Patch Changes
430
+
431
+ - [#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.
432
+
433
+ ## 0.12.14
434
+
435
+ ### Patch Changes
436
+
437
+ - [#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.
438
+
439
+ ## 0.12.13
440
+
441
+ ### Patch Changes
442
+
443
+ - [#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.
444
+
445
+ ## 0.12.12
446
+
447
+ ### Patch Changes
448
+
449
+ - [#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.
450
+
451
+ - [#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.
452
+
453
+ ## 0.12.11
454
+
455
+ ### Patch Changes
456
+
457
+ - [`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.
458
+
459
+ ## 0.12.10
460
+
461
+ ### Patch Changes
462
+
463
+ - [`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.
464
+
465
+ ## 0.12.9
466
+
467
+ ### Patch Changes
468
+
469
+ - [#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`.
470
+
471
+ ## 0.12.8
472
+
473
+ ### Patch Changes
474
+
475
+ - Updated dependencies [[`5e6f338`](https://github.com/ponder-sh/ponder/commit/5e6f3380a6a78b800dd4c31dd3e3ddc6cc772eab)]:
476
+ - @ponder/utils@0.2.11
477
+
478
+ ## 0.12.7
479
+
480
+ ### Patch Changes
481
+
482
+ - [#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.
483
+
484
+ ## 0.12.6
485
+
486
+ ### Patch Changes
487
+
488
+ - [#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.
489
+
490
+ ## 0.12.5
491
+
492
+ ### Patch Changes
493
+
494
+ - [#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.
495
+
496
+ ## 0.12.4
497
+
498
+ ### Patch Changes
499
+
500
+ - [#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.
501
+
502
+ - [#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"`.
503
+
504
+ ## 0.12.3
505
+
506
+ ### Patch Changes
507
+
508
+ - [#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`.
509
+
510
+ ## 0.12.2
511
+
512
+ ### Patch Changes
513
+
514
+ - [#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`.
515
+
516
+ ## 0.12.1
517
+
518
+ ### Patch Changes
519
+
520
+ - [#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.
521
+
522
+ ## 0.12.0
523
+
524
+ ### Minor Changes
525
+
526
+ - [#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.
527
+
528
+ ### Patch Changes
529
+
530
+ - [#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.
531
+
532
+ ## 0.11.43
533
+
534
+ ### Patch Changes
535
+
536
+ - Updated dependencies [[`f1df991`](https://github.com/ponder-sh/ponder/commit/f1df991ca83d934568289fc6c117c650d60066ad)]:
537
+ - @ponder/utils@0.2.10
538
+
539
+ ## 0.11.42
540
+
541
+ ### Patch Changes
542
+
543
+ - [#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`.
544
+
545
+ ## 0.11.41
546
+
547
+ ### Patch Changes
548
+
549
+ - [`2b26106`](https://github.com/ponder-sh/ponder/commit/2b261068233b9652408557b53183d65a9a134062) Thanks [@typedarray](https://github.com/typedarray)! - Improved reliability for WebSocket RPC requests.
550
+
551
+ ## 0.11.40
552
+
553
+ ### Patch Changes
554
+
555
+ - [#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`.
556
+
557
+ - [#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.
558
+
559
+ ## 0.11.39
560
+
561
+ ### Patch Changes
562
+
563
+ - [#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`.
564
+
565
+ ## 0.11.38
566
+
567
+ ### Patch Changes
568
+
569
+ - [#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.
570
+
571
+ ## 0.11.37
572
+
573
+ ### Patch Changes
574
+
575
+ - [#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.
576
+
577
+ ## 0.11.36
578
+
579
+ ### Patch Changes
580
+
581
+ - [#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()`.
582
+
583
+ This option specifies whether to retry the action if the response is empty. Default to `true`.
584
+
585
+ ## 0.11.35
586
+
587
+ ### Patch Changes
588
+
589
+ - [#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`.
590
+
591
+ - [#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.
592
+
593
+ ## 0.11.34
594
+
595
+ ### Patch Changes
596
+
597
+ - [#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.
598
+
599
+ To remove incorrect cached rpc respones, run the SQL statement: `DELETE FROM ponder_sync.rpc_request_results WHERE result = 'null'`;
600
+
601
+ ## 0.11.33
602
+
603
+ ### Patch Changes
604
+
605
+ - [#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).
606
+
607
+ ## 0.11.32
608
+
609
+ ### Patch Changes
610
+
611
+ - [#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.
612
+
613
+ ## 0.11.31
614
+
615
+ ### Patch Changes
616
+
617
+ - [#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`.
618
+
619
+ ## 0.11.30
620
+
621
+ ## 0.11.29
622
+
623
+ ### Patch Changes
624
+
625
+ - [#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`.
626
+
627
+ ## 0.11.28
628
+
629
+ ### Patch Changes
630
+
631
+ - [#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.
632
+
633
+ - [#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.
634
+
635
+ ## 0.11.27
636
+
637
+ ### Patch Changes
638
+
639
+ - Updated dependencies [[`9d9c4b9`](https://github.com/ponder-sh/ponder/commit/9d9c4b9ca8516388874a246d7b9d179ab0fd861f)]:
640
+ - @ponder/utils@0.2.9
641
+
642
+ ## 0.11.26
643
+
644
+ ### Patch Changes
645
+
646
+ - [#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
647
+
648
+ ## 0.11.25
649
+
650
+ ### Patch Changes
651
+
652
+ - [#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.
653
+
654
+ ## 0.11.24
655
+
656
+ ### Patch Changes
657
+
658
+ - [#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.
659
+
660
+ - [#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.
661
+
662
+ - [#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.
663
+
664
+ - [#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.
665
+
666
+ ## 0.11.23
667
+
668
+ ### Patch Changes
669
+
670
+ - [#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
671
+
672
+ ## 0.11.22
673
+
674
+ ### Patch Changes
675
+
676
+ - [#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.
677
+
678
+ ## 0.11.21
679
+
680
+ ### Patch Changes
681
+
682
+ - [#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.
683
+
684
+ - [#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.
685
+
686
+ ## 0.11.20
687
+
688
+ ### Patch Changes
689
+
690
+ - [#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`.
691
+
692
+ ## 0.11.19
693
+
694
+ ### Patch Changes
695
+
696
+ - [#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`.
697
+
698
+ ## 0.11.18
699
+
700
+ ### Patch Changes
701
+
702
+ - [#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.
703
+
704
+ ## 0.11.17
705
+
706
+ ### Patch Changes
707
+
708
+ - [#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.
709
+
710
+ ## 0.11.16
711
+
712
+ ### Patch Changes
713
+
714
+ - [#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.
715
+
716
+ ## 0.11.15
717
+
718
+ ### Patch Changes
719
+
720
+ - [#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.
721
+
722
+ - [#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.
723
+
724
+ - [#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.
725
+
726
+ ## 0.11.14
727
+
728
+ ### Patch Changes
729
+
730
+ - [#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.
731
+
732
+ ## 0.11.13
733
+
734
+ ### Patch Changes
735
+
736
+ - [#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]""`.
737
+
738
+ ## 0.11.12
739
+
740
+ ### Patch Changes
741
+
742
+ - [#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`.
743
+
744
+ - [`cd73809`](https://github.com/ponder-sh/ponder/commit/cd738099818d186c72b13cd8d5fc5d64016b0600) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved `db.sql` performance.
745
+
746
+ - [#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.
747
+
748
+ - [#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.
749
+
750
+ - [#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`.
751
+
752
+ - [#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.
753
+
754
+ ## 0.11.11
755
+
756
+ ### Patch Changes
757
+
758
+ - [#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.
759
+
760
+ - [#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.
761
+
762
+ ## 0.11.10
763
+
764
+ ### Patch Changes
765
+
766
+ - Updated dependencies [[`58cb1c5`](https://github.com/ponder-sh/ponder/commit/58cb1c5ab6c867bbf8e86b28cb8848607282166b)]:
767
+ - @ponder/utils@0.2.8
768
+
769
+ ## 0.11.9
770
+
771
+ ### Patch Changes
772
+
773
+ - [#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()`.
774
+
775
+ - [#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.
776
+
777
+ - [#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.
778
+
779
+ ## 0.11.8
780
+
781
+ ### Patch Changes
782
+
783
+ - [#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.
784
+
785
+ ## 0.11.7
786
+
787
+ ### Patch Changes
788
+
789
+ - [#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.
790
+
791
+ - [#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.
792
+
793
+ - [#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.
794
+
795
+ - [#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.
796
+
797
+ - [#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.
798
+
799
+ ## 0.11.6
800
+
801
+ ### Patch Changes
802
+
803
+ - [#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.
804
+
805
+ - [#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.
806
+
807
+ ## 0.11.5
808
+
809
+ ### Patch Changes
810
+
811
+ - [#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.
812
+
813
+ ## 0.11.4
814
+
815
+ ### Patch Changes
816
+
817
+ - [#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`.
818
+
819
+ ## 0.11.3
820
+
821
+ ### Patch Changes
822
+
823
+ - [#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`.
824
+
825
+ ## 0.11.2
826
+
827
+ ### Patch Changes
828
+
829
+ - [#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.
830
+
831
+ ## 0.11.1
832
+
833
+ ### Patch Changes
834
+
835
+ - Updated dependencies [[`5507be933867f74b16db6e842897b6545f2e7567`](https://github.com/ponder-sh/ponder/commit/5507be933867f74b16db6e842897b6545f2e7567)]:
836
+ - @ponder/utils@0.2.7
837
+
838
+ ## 0.11.0
839
+
840
+ ### Minor Changes
841
+
842
+ - [#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.
843
+
844
+ ## 0.10.27
845
+
846
+ ### Patch Changes
847
+
848
+ - [#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".
849
+
850
+ ## 0.10.26
851
+
852
+ ### Patch Changes
853
+
854
+ - [#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.
855
+
856
+ ## 0.10.25
857
+
858
+ ### Patch Changes
859
+
860
+ - [#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.
861
+
862
+ ## 0.10.24
863
+
864
+ ### Patch Changes
865
+
866
+ - [#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.
867
+
868
+ ## 0.10.23
869
+
870
+ ### Patch Changes
871
+
872
+ - [#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.
873
+
874
+ Any users that were affected by this bug can removed corrupted `ponder_sync` rows with the query:
875
+
876
+ ```sql
877
+ DELETE FROM ponder_sync.intervals WHERE fragment_id like '%offset%' OR fragment_id like '%topic%';
878
+ ```
879
+
880
+ - [#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.
881
+
882
+ - [#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.
883
+
884
+ ## 0.10.22
885
+
886
+ ### Patch Changes
887
+
888
+ - Updated dependencies [[`27886fef0788e7ee1c25221087ecd6af05ea6197`](https://github.com/ponder-sh/ponder/commit/27886fef0788e7ee1c25221087ecd6af05ea6197)]:
889
+ - @ponder/utils@0.2.6
890
+
891
+ ## 0.10.21
892
+
893
+ ### Patch Changes
894
+
895
+ - Updated dependencies [[`e9b0fb99772baff7d3008a9dd1c8383e6182df59`](https://github.com/ponder-sh/ponder/commit/e9b0fb99772baff7d3008a9dd1c8383e6182df59)]:
896
+ - @ponder/utils@0.2.5
897
+
898
+ ## 0.10.20
899
+
900
+ ### Patch Changes
901
+
902
+ - [#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).
903
+
904
+ - Updated dependencies [[`4157106917d81df2809616a19297c7e80a70f1f5`](https://github.com/ponder-sh/ponder/commit/4157106917d81df2809616a19297c7e80a70f1f5)]:
905
+ - @ponder/utils@0.2.4
906
+
907
+ ## 0.10.19
908
+
909
+ ### Patch Changes
910
+
911
+ - [#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`.
912
+
913
+ ## 0.10.18
914
+
915
+ ### Patch Changes
916
+
917
+ - [#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.
918
+
919
+ - [#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.
920
+
921
+ ## 0.10.17
922
+
923
+ ### Patch Changes
924
+
925
+ - [#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.
926
+
927
+ - [#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`.
928
+
929
+ ## 0.10.16
930
+
931
+ ### Patch Changes
932
+
933
+ - [`6b8cc2d5bdcbc0c7f2fe048cac4353eed79f180a`](https://github.com/ponder-sh/ponder/commit/6b8cc2d5bdcbc0c7f2fe048cac4353eed79f180a) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved realtime sync robustness against unrecoverable reorgs.
934
+
935
+ ## 0.10.15
936
+
937
+ ### Patch Changes
938
+
939
+ - [#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.
940
+
941
+ - [#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.
942
+
943
+ - [#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.
944
+
945
+ - [#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.
946
+
947
+ ## 0.10.14
948
+
949
+ ### Patch Changes
950
+
951
+ - [#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".
952
+
953
+ ## 0.10.13
954
+
955
+ ### Patch Changes
956
+
957
+ - [#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.
958
+
959
+ ## 0.10.12
960
+
961
+ ### Patch Changes
962
+
963
+ - [#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"}"`.
964
+
965
+ ## 0.10.11
966
+
967
+ ### Patch Changes
968
+
969
+ - [#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.
970
+
971
+ ## 0.10.10
972
+
973
+ ### Patch Changes
974
+
975
+ - [#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.
976
+
977
+ ## 0.10.9
978
+
979
+ ### Patch Changes
980
+
981
+ - [#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".
982
+
983
+ - [#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.
984
+
985
+ ## 0.10.8
986
+
987
+ ### Patch Changes
988
+
989
+ - [#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.
990
+
991
+ ## 0.10.7
992
+
993
+ ### Patch Changes
994
+
995
+ - [#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.
996
+
997
+ - [#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.
998
+
999
+ ## 0.10.6
1000
+
1001
+ ### Patch Changes
1002
+
1003
+ - [#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.
1004
+
1005
+ - [#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.
1006
+
1007
+ - [#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.
1008
+
1009
+ ## 0.10.5
1010
+
1011
+ ### Patch Changes
1012
+
1013
+ - [#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()`.
1014
+
1015
+ ## 0.10.4
1016
+
1017
+ ### Patch Changes
1018
+
1019
+ - [#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.
1020
+
1021
+ - [#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.
1022
+
1023
+ ## 0.10.3
1024
+
1025
+ ### Patch Changes
1026
+
1027
+ - [#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.
1028
+
1029
+ - [#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.
1030
+
1031
+ - [#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.
1032
+
1033
+ ## 0.10.2
1034
+
1035
+ ### Patch Changes
1036
+
1037
+ - [#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.
1038
+
1039
+ ## 0.10.1
1040
+
1041
+ ### Patch Changes
1042
+
1043
+ - [#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.
1044
+
1045
+ ## 0.10.0
1046
+
1047
+ ### Minor Changes
1048
+
1049
+ - [#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.
1050
+
1051
+ ### Patch Changes
1052
+
1053
+ - [#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.
1054
+
1055
+ - [#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.
1056
+
1057
+ - [#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.
1058
+
1059
+ ## 0.9.28
1060
+
1061
+ ### Patch Changes
1062
+
1063
+ - [#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.
1064
+
1065
+ - [#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.
1066
+
1067
+ ## 0.9.27
1068
+
1069
+ ### Patch Changes
1070
+
1071
+ - [#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.
1072
+
1073
+ ## 0.9.26
1074
+
1075
+ ### Patch Changes
1076
+
1077
+ - [#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.
1078
+
1079
+ - [#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.
1080
+
1081
+ ## 0.9.25
1082
+
1083
+ ### Patch Changes
1084
+
1085
+ - [#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.
1086
+
1087
+ ## 0.9.24
1088
+
1089
+ ### Patch Changes
1090
+
1091
+ - [#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.
1092
+
1093
+ ## 0.9.23
1094
+
1095
+ ### Patch Changes
1096
+
1097
+ - [#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.
1098
+
1099
+ - [#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.
1100
+
1101
+ ## 0.9.22
1102
+
1103
+ ### Patch Changes
1104
+
1105
+ - [#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.
1106
+
1107
+ ## 0.9.21
1108
+
1109
+ ### Patch Changes
1110
+
1111
+ - [#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"`.
1112
+
1113
+ - [#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.
1114
+
1115
+ - [#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.
1116
+
1117
+ ## 0.9.20
1118
+
1119
+ ### Patch Changes
1120
+
1121
+ - [#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.
1122
+
1123
+ - [#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.
1124
+
1125
+ ## 0.9.19
1126
+
1127
+ ### Patch Changes
1128
+
1129
+ - [#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.
1130
+
1131
+ ## 0.9.18
1132
+
1133
+ ### Patch Changes
1134
+
1135
+ - [#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.
1136
+
1137
+ - [#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.
1138
+
1139
+ ## 0.9.17
1140
+
1141
+ ### Patch Changes
1142
+
1143
+ - [#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.
1144
+
1145
+ ## 0.9.16
1146
+
1147
+ ### Patch Changes
1148
+
1149
+ - [#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.
1150
+
1151
+ ## 0.9.15
1152
+
1153
+ ### Patch Changes
1154
+
1155
+ - [#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.
1156
+
1157
+ ## 0.9.14
1158
+
1159
+ ### Patch Changes
1160
+
1161
+ - [#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.
1162
+
1163
+ - [#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.
1164
+
1165
+ ## 0.9.13
1166
+
1167
+ ### Patch Changes
1168
+
1169
+ - [#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.
1170
+
1171
+ ## 0.9.12
1172
+
1173
+ ### Patch Changes
1174
+
1175
+ - [#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()`.
1176
+
1177
+ ## 0.9.11
1178
+
1179
+ ### Patch Changes
1180
+
1181
+ - [#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.
1182
+
1183
+ - [#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`.
1184
+
1185
+ ## 0.9.10
1186
+
1187
+ ### Patch Changes
1188
+
1189
+ - [#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.
1190
+
1191
+ ## 0.9.9
1192
+
1193
+ ### Patch Changes
1194
+
1195
+ - [#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.
1196
+
1197
+ ## 0.9.8
1198
+
1199
+ ### Patch Changes
1200
+
1201
+ - [#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.
1202
+
1203
+ - [#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`.
1204
+
1205
+ ## 0.9.7
1206
+
1207
+ ### Patch Changes
1208
+
1209
+ - [#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.
1210
+
1211
+ ## 0.9.6
1212
+
1213
+ ### Patch Changes
1214
+
1215
+ - [#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.
1216
+
1217
+ ## 0.9.5
1218
+
1219
+ ### Patch Changes
1220
+
1221
+ - [#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`.
1222
+
1223
+ - [#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.
1224
+
1225
+ ## 0.9.4
1226
+
1227
+ ### Patch Changes
1228
+
1229
+ - [#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.
1230
+
1231
+ ## 0.9.3
1232
+
1233
+ ### Patch Changes
1234
+
1235
+ - [#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`.
1236
+
1237
+ - [#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.
1238
+
1239
+ - [#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.
1240
+
1241
+ - [#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).
1242
+
1243
+ ## 0.9.2
1244
+
1245
+ ### Patch Changes
1246
+
1247
+ - [#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`.
1248
+
1249
+ - [`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.
1250
+
1251
+ - [#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.
1252
+
1253
+ ## 0.9.1
1254
+
1255
+ ### Patch Changes
1256
+
1257
+ - [#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`.
1258
+
1259
+ ## 0.9.0
1260
+
1261
+ ### Minor Changes
1262
+
1263
+ - [#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.
1264
+
1265
+ ## 0.8.33
1266
+
1267
+ ### Patch Changes
1268
+
1269
+ - [#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.
1270
+
1271
+ ## 0.8.32
1272
+
1273
+ ### Patch Changes
1274
+
1275
+ - [#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.
1276
+
1277
+ ## 0.8.31
1278
+
1279
+ ### Patch Changes
1280
+
1281
+ - [#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')`.
1282
+
1283
+ ## 0.8.30
1284
+
1285
+ ### Patch Changes
1286
+
1287
+ - [#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.
1288
+
1289
+ ## 0.8.29
1290
+
1291
+ ### Patch Changes
1292
+
1293
+ - [#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.
1294
+
1295
+ ## 0.8.28
1296
+
1297
+ ### Patch Changes
1298
+
1299
+ - [#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.
1300
+
1301
+ ## 0.8.27
1302
+
1303
+ ### Patch Changes
1304
+
1305
+ - [#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.
1306
+
1307
+ ## 0.8.26
1308
+
1309
+ ### Patch Changes
1310
+
1311
+ - [#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.
1312
+
1313
+ ## 0.8.25
1314
+
1315
+ ### Patch Changes
1316
+
1317
+ - [#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.
1318
+
1319
+ ## 0.8.24
1320
+
1321
+ ### Patch Changes
1322
+
1323
+ - [#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.
1324
+
1325
+ ## 0.8.23
1326
+
1327
+ ### Patch Changes
1328
+
1329
+ - [#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 (...)`.
1330
+
1331
+ ## 0.8.22
1332
+
1333
+ ### Patch Changes
1334
+
1335
+ - [#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.
1336
+
1337
+ ## 0.8.21
1338
+
1339
+ ### Patch Changes
1340
+
1341
+ - [#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.
1342
+
1343
+ ## 0.8.20
1344
+
1345
+ ### Patch Changes
1346
+
1347
+ - [`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.
1348
+
1349
+ - [#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.
1350
+
1351
+ ## 0.8.19
1352
+
1353
+ ### Patch Changes
1354
+
1355
+ - [#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`.
1356
+
1357
+ ## 0.8.18
1358
+
1359
+ ### Patch Changes
1360
+
1361
+ - [#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.
1362
+
1363
+ ## 0.8.17
1364
+
1365
+ ### Patch Changes
1366
+
1367
+ - [#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' (...)`.
1368
+
1369
+ ## 0.8.16
1370
+
1371
+ ### Patch Changes
1372
+
1373
+ - [#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://".
1374
+
1375
+ ## 0.8.15
1376
+
1377
+ ### Patch Changes
1378
+
1379
+ - [#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.
1380
+
1381
+ ## 0.8.14
1382
+
1383
+ ### Patch Changes
1384
+
1385
+ - [#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.
1386
+
1387
+ ## 0.8.13
1388
+
1389
+ ### Patch Changes
1390
+
1391
+ - [#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`.
1392
+
1393
+ ## 0.8.12
1394
+
1395
+ ### Patch Changes
1396
+
1397
+ - [#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.
1398
+
1399
+ ## 0.8.11
1400
+
1401
+ ### Patch Changes
1402
+
1403
+ - [#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.
1404
+
1405
+ ## 0.8.10
1406
+
1407
+ ### Patch Changes
1408
+
1409
+ - [#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.
1410
+
1411
+ ## 0.8.9
1412
+
1413
+ ### Patch Changes
1414
+
1415
+ - [#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.
1416
+
1417
+ - [#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.
1418
+
1419
+ ## 0.8.8
1420
+
1421
+ ### Patch Changes
1422
+
1423
+ - [#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.
1424
+
1425
+ ## 0.8.7
1426
+
1427
+ ### Patch Changes
1428
+
1429
+ - [#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.
1430
+
1431
+ ## 0.8.6
1432
+
1433
+ ### Patch Changes
1434
+
1435
+ - [#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.
1436
+
1437
+ ## 0.8.5
1438
+
1439
+ ### Patch Changes
1440
+
1441
+ - [#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.
1442
+
1443
+ ## 0.8.4
1444
+
1445
+ ### Patch Changes
1446
+
1447
+ - [#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.
1448
+
1449
+ ## 0.8.3
1450
+
1451
+ ### Patch Changes
1452
+
1453
+ - [#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.
1454
+
1455
+ ## 0.8.2
1456
+
1457
+ ### Patch Changes
1458
+
1459
+ - [#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.
1460
+
1461
+ ## 0.8.1
1462
+
1463
+ ### Patch Changes
1464
+
1465
+ - [#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`.
1466
+
1467
+ ## 0.8.0
1468
+
1469
+ ### Minor Changes
1470
+
1471
+ - [#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.
1472
+
1473
+ ## 0.7.17
1474
+
1475
+ ### Patch Changes
1476
+
1477
+ - [#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.
1478
+
1479
+ ## 0.7.16
1480
+
1481
+ ### Patch Changes
1482
+
1483
+ - [`df699d14b75bf65fd4be9d9587f8192f3b3c9271`](https://github.com/ponder-sh/ponder/commit/df699d14b75bf65fd4be9d9587f8192f3b3c9271) Thanks [@typedarray](https://github.com/typedarray)! - Reset latest tag.
1484
+
1485
+ ## 0.7.15
1486
+
1487
+ ### Patch Changes
1488
+
1489
+ - [#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`.
1490
+
1491
+ ## 0.7.14
1492
+
1493
+ ### Patch Changes
1494
+
1495
+ - [#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()`.
1496
+
1497
+ ## 0.7.13
1498
+
1499
+ ### Patch Changes
1500
+
1501
+ - [#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.
1502
+
1503
+ ## 0.7.12
1504
+
1505
+ ### Patch Changes
1506
+
1507
+ - [#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.
1508
+
1509
+ ## 0.7.11
1510
+
1511
+ ### Patch Changes
1512
+
1513
+ - [#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.
1514
+
1515
+ - [#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.
1516
+
1517
+ - Updated dependencies [[`0bb76fdc10bdf4f88980ed99d06c0e672094dce7`](https://github.com/ponder-sh/ponder/commit/0bb76fdc10bdf4f88980ed99d06c0e672094dce7)]:
1518
+ - @ponder/utils@0.2.3
1519
+
1520
+ ## 0.7.10
1521
+
1522
+ ### Patch Changes
1523
+
1524
+ - [#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.
1525
+
1526
+ ## 0.7.9
1527
+
1528
+ ### Patch Changes
1529
+
1530
+ - [#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.
1531
+
1532
+ - [#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.
1533
+
1534
+ - [#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.
1535
+
1536
+ ## 0.7.8
1537
+
1538
+ ### Patch Changes
1539
+
1540
+ - [#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.
1541
+
1542
+ ## 0.7.7
1543
+
1544
+ ### Patch Changes
1545
+
1546
+ - [#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`.
1547
+
1548
+ - [#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).
1549
+
1550
+ ## 0.7.6
1551
+
1552
+ ### Patch Changes
1553
+
1554
+ - [#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.
1555
+
1556
+ - [#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.
1557
+
1558
+ ## 0.7.5
1559
+
1560
+ ### Patch Changes
1561
+
1562
+ - [#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()`.
1563
+
1564
+ ## 0.7.4
1565
+
1566
+ ### Patch Changes
1567
+
1568
+ - [#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.
1569
+
1570
+ - [#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.
1571
+
1572
+ ## 0.7.3
1573
+
1574
+ ### Patch Changes
1575
+
1576
+ - [#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.
1577
+
1578
+ ## 0.7.2
1579
+
1580
+ ### Patch Changes
1581
+
1582
+ - [#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`.
1583
+
1584
+ - [#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.
1585
+
1586
+ ## 0.7.1
1587
+
1588
+ ### Patch Changes
1589
+
1590
+ - [#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.
1591
+
1592
+ ## 0.7.0
1593
+
1594
+ ### Minor Changes
1595
+
1596
+ - [#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.
1597
+
1598
+ ## 0.6.25
1599
+
1600
+ ### Patch Changes
1601
+
1602
+ - [#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.
1603
+
1604
+ ## 0.6.24
1605
+
1606
+ ### Patch Changes
1607
+
1608
+ - [#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.
1609
+
1610
+ ## 0.6.23
1611
+
1612
+ ### Patch Changes
1613
+
1614
+ - [#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`.
1615
+
1616
+ ## 0.6.22
1617
+
1618
+ ### Patch Changes
1619
+
1620
+ - Updated dependencies [[`0cbdf01f85f4180a62d0de671c7adc299b704104`](https://github.com/ponder-sh/ponder/commit/0cbdf01f85f4180a62d0de671c7adc299b704104)]:
1621
+ - @ponder/utils@0.2.2
1622
+
1623
+ ## 0.6.21
1624
+
1625
+ ### Patch Changes
1626
+
1627
+ - [#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.
1628
+
1629
+ ## 0.6.20
1630
+
1631
+ ### Patch Changes
1632
+
1633
+ - [#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.
1634
+
1635
+ ## 0.6.19
1636
+
1637
+ ### Patch Changes
1638
+
1639
+ - [#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()`.
1640
+
1641
+ ## 0.6.18
1642
+
1643
+ ### Patch Changes
1644
+
1645
+ - [#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.
1646
+
1647
+ ## 0.6.17
1648
+
1649
+ ### Patch Changes
1650
+
1651
+ - [#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.
1652
+
1653
+ ## 0.6.16
1654
+
1655
+ ### Patch Changes
1656
+
1657
+ - [#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`.
1658
+
1659
+ - [#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.
1660
+
1661
+ ## 0.6.15
1662
+
1663
+ ### Patch Changes
1664
+
1665
+ - [#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.
1666
+
1667
+ ## 0.6.13
1668
+
1669
+ ### Patch Changes
1670
+
1671
+ - [#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.
1672
+
1673
+ ## 0.6.12
1674
+
1675
+ ### Patch Changes
1676
+
1677
+ - [#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.
1678
+
1679
+ ## 0.6.11
1680
+
1681
+ ### Patch Changes
1682
+
1683
+ - [#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.
1684
+
1685
+ ## 0.6.10
1686
+
1687
+ ### Patch Changes
1688
+
1689
+ - [#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.
1690
+
1691
+ ## 0.6.9
1692
+
1693
+ ### Patch Changes
1694
+
1695
+ - [#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.
1696
+
1697
+ ## 0.6.8
1698
+
1699
+ ### Patch Changes
1700
+
1701
+ - [#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`.
1702
+
1703
+ ## 0.6.7
1704
+
1705
+ ### Patch Changes
1706
+
1707
+ - [#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.
1708
+
1709
+ ## 0.6.6
1710
+
1711
+ ### Patch Changes
1712
+
1713
+ - [#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.
1714
+
1715
+ ## 0.6.5
1716
+
1717
+ ### Patch Changes
1718
+
1719
+ - [#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.
1720
+
1721
+ Any users that were affected by this bug and want to reduce the database size can do so with the query:
1722
+
1723
+ ```sql
1724
+ DELETE FROM ponder_sync.transactions WHERE
1725
+ hash NOT IN (SELECT "transactionHash" FROM ponder_sync.logs)
1726
+ AND
1727
+ hash NOT IN (SELECT "transactionHash" FROM ponder_sync."callTraces");
1728
+ ```
1729
+
1730
+ ## 0.6.4
1731
+
1732
+ ### Patch Changes
1733
+
1734
+ - [#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.
1735
+
1736
+ ## 0.6.3
1737
+
1738
+ ### Patch Changes
1739
+
1740
+ - [#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.
1741
+
1742
+ - [#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.
1743
+
1744
+ ## 0.6.2
1745
+
1746
+ ### Patch Changes
1747
+
1748
+ - [#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.
1749
+
1750
+ ## 0.6.1
1751
+
1752
+ ### Patch Changes
1753
+
1754
+ - Updated dependencies [[`6a5c8a54b9d976fa760c863512044d82702d0bb7`](https://github.com/ponder-sh/ponder/commit/6a5c8a54b9d976fa760c863512044d82702d0bb7)]:
1755
+ - @ponder/utils@0.2.1
1756
+
1757
+ ## 0.6.0
1758
+
1759
+ ### Minor Changes
1760
+
1761
+ - [#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`.
1762
+
1763
+ - [#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`.
1764
+
1765
+ - [#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.
1766
+
1767
+ - [#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.
1768
+
1769
+ - [#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`.
1770
+
1771
+ - [#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.
1772
+
1773
+ - [#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.
1774
+
1775
+ ### Patch Changes
1776
+
1777
+ - Updated dependencies [[`d9656a9af390f6c0a375cbbabfc85f90f510b13f`](https://github.com/ponder-sh/ponder/commit/d9656a9af390f6c0a375cbbabfc85f90f510b13f), [`d9656a9af390f6c0a375cbbabfc85f90f510b13f`](https://github.com/ponder-sh/ponder/commit/d9656a9af390f6c0a375cbbabfc85f90f510b13f)]:
1778
+ - @ponder/utils@0.2.0
1779
+
1780
+ ## 0.5.24
1781
+
1782
+ ### Patch Changes
1783
+
1784
+ - [#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).
1785
+
1786
+ - [#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.
1787
+
1788
+ ## 0.5.23
1789
+
1790
+ ### Patch Changes
1791
+
1792
+ - [#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.
1793
+
1794
+ - [#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.
1795
+
1796
+ ## 0.5.22
1797
+
1798
+ ### Patch Changes
1799
+
1800
+ - [#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.
1801
+
1802
+ ## 0.5.21
1803
+
1804
+ ### Patch Changes
1805
+
1806
+ - [#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.
1807
+
1808
+ - [#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.
1809
+
1810
+ ## 0.5.20
1811
+
1812
+ ### Patch Changes
1813
+
1814
+ - [#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.
1815
+
1816
+ - [#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.
1817
+
1818
+ - [#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.
1819
+
1820
+ - Updated dependencies [[`7c17ff32e8907b4a38d74cea2a431b689236048c`](https://github.com/ponder-sh/ponder/commit/7c17ff32e8907b4a38d74cea2a431b689236048c)]:
1821
+ - @ponder/utils@0.1.8
1822
+
1823
+ ## 0.5.19
1824
+
1825
+ ### Patch Changes
1826
+
1827
+ - [#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.
1828
+
1829
+ ## 0.5.18
1830
+
1831
+ ### Patch Changes
1832
+
1833
+ - [#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.
1834
+
1835
+ ## 0.5.17
1836
+
1837
+ ### Patch Changes
1838
+
1839
+ - [#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`).
1840
+
1841
+ - [#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`.
1842
+
1843
+ ## 0.5.16
1844
+
1845
+ ### Patch Changes
1846
+
1847
+ - [#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.
1848
+
1849
+ ## 0.5.15
1850
+
1851
+ ### Patch Changes
1852
+
1853
+ - [#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.
1854
+
1855
+ ## 0.5.14
1856
+
1857
+ ### Patch Changes
1858
+
1859
+ - [#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.
1860
+
1861
+ ## 0.5.13
1862
+
1863
+ ### Patch Changes
1864
+
1865
+ - [#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.
1866
+
1867
+ ## 0.5.12
1868
+
1869
+ ### Patch Changes
1870
+
1871
+ - [#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.
1872
+
1873
+ ## 0.5.11
1874
+
1875
+ ### Patch Changes
1876
+
1877
+ - [#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
1878
+
1879
+ ## 0.5.10
1880
+
1881
+ ### Patch Changes
1882
+
1883
+ - [#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.
1884
+
1885
+ - [#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.
1886
+
1887
+ - [#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.
1888
+
1889
+ - [#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.
1890
+
1891
+ - [#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.
1892
+
1893
+ - [#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
1894
+
1895
+ ## 0.5.9
1896
+
1897
+ ### Patch Changes
1898
+
1899
+ - [#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.
1900
+
1901
+ - [#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.
1902
+
1903
+ ## 0.5.8
1904
+
1905
+ ### Patch Changes
1906
+
1907
+ - [#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.
1908
+
1909
+ - [#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
1910
+
1911
+ ## 0.5.7
1912
+
1913
+ ### Patch Changes
1914
+
1915
+ - [#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.
1916
+
1917
+ ## 0.5.6
1918
+
1919
+ ### Patch Changes
1920
+
1921
+ - [#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.
1922
+
1923
+ ## 0.5.5
1924
+
1925
+ ### Patch Changes
1926
+
1927
+ - [`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.
1928
+
1929
+ ## 0.5.4
1930
+
1931
+ ### Patch Changes
1932
+
1933
+ - [#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.
1934
+
1935
+ ## 0.5.3
1936
+
1937
+ ### Patch Changes
1938
+
1939
+ - [#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.
1940
+
1941
+ ## 0.5.2
1942
+
1943
+ ### Patch Changes
1944
+
1945
+ - [#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.
1946
+
1947
+ ## 0.5.1
1948
+
1949
+ ### Patch Changes
1950
+
1951
+ - [#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.
1952
+
1953
+ - [#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.
1954
+
1955
+ - [#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.
1956
+
1957
+ ## 0.5.0
1958
+
1959
+ ### Minor Changes
1960
+
1961
+ - [#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.
1962
+
1963
+ ## 0.4.43
1964
+
1965
+ ### Patch Changes
1966
+
1967
+ - [#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.
1968
+
1969
+ ## 0.4.42
1970
+
1971
+ ### Patch Changes
1972
+
1973
+ - [#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.
1974
+
1975
+ - [#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).
1976
+
1977
+ - Updated dependencies [[`e82e385b777cf6fccaf779fe8b12151b56456b68`](https://github.com/ponder-sh/ponder/commit/e82e385b777cf6fccaf779fe8b12151b56456b68)]:
1978
+ - @ponder/utils@0.1.7
1979
+
1980
+ ## 0.4.41
1981
+
1982
+ ### Patch Changes
1983
+
1984
+ - [#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.
1985
+
1986
+ ## 0.4.40
1987
+
1988
+ ### Patch Changes
1989
+
1990
+ - [#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.
1991
+
1992
+ ## 0.4.39
1993
+
1994
+ ### Patch Changes
1995
+
1996
+ - [#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.
1997
+
1998
+ ## 0.4.38
1999
+
2000
+ ### Patch Changes
2001
+
2002
+ - [#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.
2003
+
2004
+ ## 0.4.37
2005
+
2006
+ ### Patch Changes
2007
+
2008
+ - [#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.
2009
+
2010
+ - [#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.
2011
+
2012
+ ## 0.4.36
2013
+
2014
+ ### Patch Changes
2015
+
2016
+ - [#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.
2017
+
2018
+ ## 0.4.35
2019
+
2020
+ ### Patch Changes
2021
+
2022
+ - [`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).
2023
+
2024
+ - [#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.
2025
+
2026
+ ## 0.4.34
2027
+
2028
+ ### Patch Changes
2029
+
2030
+ - [#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.
2031
+
2032
+ ## 0.4.33
2033
+
2034
+ ### Patch Changes
2035
+
2036
+ - [`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).
2037
+
2038
+ - [#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.
2039
+
2040
+ - [#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.
2041
+
2042
+ - [#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.
2043
+
2044
+ ## 0.4.32
2045
+
2046
+ ### Patch Changes
2047
+
2048
+ - [`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).
2049
+
2050
+ - Updated dependencies [[`4ef2d6212e59b4c4ba0723e78a1c204db3d94542`](https://github.com/ponder-sh/ponder/commit/4ef2d6212e59b4c4ba0723e78a1c204db3d94542)]:
2051
+ - @ponder/utils@0.1.6
2052
+
2053
+ ## 0.4.31
2054
+
2055
+ ### Patch Changes
2056
+
2057
+ - [#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.
2058
+
2059
+ ## 0.4.30
2060
+
2061
+ ### Patch Changes
2062
+
2063
+ - [#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`.
2064
+
2065
+ ## 0.4.29
2066
+
2067
+ ### Patch Changes
2068
+
2069
+ - [`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.
2070
+
2071
+ - [`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).
2072
+
2073
+ ## 0.4.28
2074
+
2075
+ ### Patch Changes
2076
+
2077
+ - [#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.
2078
+
2079
+ - [#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`.
2080
+
2081
+ - [#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.
2082
+
2083
+ ## 0.4.27
2084
+
2085
+ ### Patch Changes
2086
+
2087
+ - [#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()`.
2088
+
2089
+ - Updated dependencies [[`9d64a31a527914145c86b0c8e43b9d185e35a1e1`](https://github.com/ponder-sh/ponder/commit/9d64a31a527914145c86b0c8e43b9d185e35a1e1)]:
2090
+ - @ponder/utils@0.1.5
2091
+
2092
+ ## 0.4.26
2093
+
2094
+ ### Patch Changes
2095
+
2096
+ - [#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.
2097
+
2098
+ ## 0.4.25
2099
+
2100
+ ### Patch Changes
2101
+
2102
+ - [#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).
2103
+
2104
+ ## 0.4.24
2105
+
2106
+ ### Patch Changes
2107
+
2108
+ - [`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.
2109
+
2110
+ ## 0.4.23
2111
+
2112
+ ### Patch Changes
2113
+
2114
+ - [#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.
2115
+
2116
+ ## 0.4.22
2117
+
2118
+ ### Patch Changes
2119
+
2120
+ - [`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`.
2121
+
2122
+ - [#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.
2123
+
2124
+ ## 0.4.21
2125
+
2126
+ ### Patch Changes
2127
+
2128
+ - [#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).
2129
+
2130
+ ## 0.4.20
2131
+
2132
+ ### Patch Changes
2133
+
2134
+ - [#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.
2135
+
2136
+ - [#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.
2137
+
2138
+ - [#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).
2139
+
2140
+ ## 0.4.19
2141
+
2142
+ ### Patch Changes
2143
+
2144
+ - [#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).
2145
+
2146
+ - [#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).
2147
+
2148
+ ## 0.4.18
2149
+
2150
+ ### Patch Changes
2151
+
2152
+ - [#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.
2153
+
2154
+ ## 0.4.17
2155
+
2156
+ ### Patch Changes
2157
+
2158
+ - [#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".
2159
+
2160
+ ## 0.4.16
2161
+
2162
+ ### Patch Changes
2163
+
2164
+ - [#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).
2165
+
2166
+ ## 0.4.15
2167
+
2168
+ ### Patch Changes
2169
+
2170
+ - [#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.
2171
+
2172
+ ## 0.4.14
2173
+
2174
+ ### Patch Changes
2175
+
2176
+ - [`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.
2177
+
2178
+ - [#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.
2179
+
2180
+ - [#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.
2181
+
2182
+ ## 0.4.13
2183
+
2184
+ ### Patch Changes
2185
+
2186
+ - [#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.
2187
+
2188
+ ## 0.4.12
2189
+
2190
+ ### Patch Changes
2191
+
2192
+ - [#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.
2193
+
2194
+ ## 0.4.11
2195
+
2196
+ ### Patch Changes
2197
+
2198
+ - [#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.
2199
+
2200
+ ## 0.4.10
2201
+
2202
+ ### Patch Changes
2203
+
2204
+ - [#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.
2205
+
2206
+ - [#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).
2207
+
2208
+ ## 0.4.9
2209
+
2210
+ ### Patch Changes
2211
+
2212
+ - [#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).
2213
+
2214
+ - [#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.
2215
+
2216
+ - [#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.
2217
+
2218
+ ## 0.4.8
2219
+
2220
+ ### Patch Changes
2221
+
2222
+ - [#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".
2223
+
2224
+ ## 0.4.7
2225
+
2226
+ ### Patch Changes
2227
+
2228
+ - [#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).
2229
+
2230
+ - Updated dependencies [[`2d9fcbae895b1c7388683fec5c0f36999ead29ce`](https://github.com/ponder-sh/ponder/commit/2d9fcbae895b1c7388683fec5c0f36999ead29ce)]:
2231
+ - @ponder/utils@0.1.4
2232
+
2233
+ ## 0.4.6
2234
+
2235
+ ### Patch Changes
2236
+
2237
+ - Updated dependencies [[`db106f5ffc302f1a02dcb54f31432420fae3c3cc`](https://github.com/ponder-sh/ponder/commit/db106f5ffc302f1a02dcb54f31432420fae3c3cc)]:
2238
+ - @ponder/utils@0.1.3
2239
+
2240
+ ## 0.4.5
2241
+
2242
+ ### Patch Changes
2243
+
2244
+ - [#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.
2245
+
2246
+ - [#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.
2247
+
2248
+ ## 0.4.4
2249
+
2250
+ ### Patch Changes
2251
+
2252
+ - [`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.
2253
+
2254
+ ## 0.4.3
2255
+
2256
+ ### Patch Changes
2257
+
2258
+ - [#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.
2259
+
2260
+ ## 0.4.2
2261
+
2262
+ ### Patch Changes
2263
+
2264
+ - [#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.
2265
+
2266
+ - [#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.
2267
+
2268
+ - [#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.
2269
+
2270
+ ## 0.4.1
2271
+
2272
+ ### Patch Changes
2273
+
2274
+ - [#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.
2275
+
2276
+ ## 0.4.0
2277
+
2278
+ ### Minor Changes
2279
+
2280
+ - [#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.
2281
+
2282
+ - [#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.
2283
+
2284
+ ### Patch Changes
2285
+
2286
+ - [#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.
2287
+
2288
+ - [#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.
2289
+
2290
+ ## 0.3.11
2291
+
2292
+ ### Patch Changes
2293
+
2294
+ - [#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".
2295
+
2296
+ ## 0.3.10
2297
+
2298
+ ### Patch Changes
2299
+
2300
+ - [#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`.
2301
+
2302
+ ## 0.3.9
2303
+
2304
+ ### Patch Changes
2305
+
2306
+ - [#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.
2307
+
2308
+ - [#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.
2309
+
2310
+ ## 0.3.8
2311
+
2312
+ ## 0.3.7
2313
+
2314
+ ### Patch Changes
2315
+
2316
+ - [#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.
2317
+
2318
+ ## 0.3.6
2319
+
2320
+ ### Patch Changes
2321
+
2322
+ - [#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.
2323
+
2324
+ - [#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.
2325
+
2326
+ ## 0.3.5
2327
+
2328
+ ### Patch Changes
2329
+
2330
+ - [#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).
2331
+
2332
+ - [#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.
2333
+
2334
+ - [#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.
2335
+
2336
+ - Updated dependencies [[`464a98f1500815739a3384e6b34eb05aaf0c0253`](https://github.com/ponder-sh/ponder/commit/464a98f1500815739a3384e6b34eb05aaf0c0253)]:
2337
+ - @ponder/utils@0.1.2
2338
+
2339
+ ## 0.3.4
2340
+
2341
+ ### Patch Changes
2342
+
2343
+ - [#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.
2344
+
2345
+ - [#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.
2346
+
2347
+ - [#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
2348
+
2349
+ - Updated dependencies [[`fe99c31a100acfc602cc511a15b1f625e034c29e`](https://github.com/ponder-sh/ponder/commit/fe99c31a100acfc602cc511a15b1f625e034c29e)]:
2350
+ - @ponder/utils@0.1.1
2351
+
2352
+ ## 0.3.3
2353
+
2354
+ ### Patch Changes
2355
+
2356
+ - [#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
2357
+
2358
+ - [#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.
2359
+
2360
+ - [#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.
2361
+
2362
+ - [#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.
2363
+
2364
+ - [#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.
2365
+
2366
+ - [#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.
2367
+
2368
+ ## 0.3.2
2369
+
2370
+ ### Patch Changes
2371
+
2372
+ - [#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`.
2373
+
2374
+ - Updated dependencies [[`5d6b541dd4a3bda979d26bb38754b77209674a98`](https://github.com/ponder-sh/ponder/commit/5d6b541dd4a3bda979d26bb38754b77209674a98)]:
2375
+ - @ponder/utils@0.1.0
2376
+
2377
+ ## 0.3.1
2378
+
2379
+ ### Patch Changes
2380
+
2381
+ - [#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.
2382
+
2383
+ ## 0.3.0
2384
+
2385
+ ### Minor Changes
2386
+
2387
+ - [#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).
2388
+
2389
+ ### Patch Changes
2390
+
2391
+ - [#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.
2392
+
2393
+ ## 0.2.18
2394
+
2395
+ ### Patch Changes
2396
+
2397
+ - [#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.
2398
+
2399
+ ## 0.2.17
2400
+
2401
+ ### Patch Changes
2402
+
2403
+ - [#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.
2404
+
2405
+ - [#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.
2406
+
2407
+ - [#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`.
2408
+
2409
+ - [#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.
2410
+
2411
+ ## 0.2.16
2412
+
2413
+ ### Patch Changes
2414
+
2415
+ - [#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`.
2416
+
2417
+ - [#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.
2418
+
2419
+ - Updated dependencies [[`2a1842e1db2329b1c88c613b0a64ff8c7695e829`](https://github.com/ponder-sh/ponder/commit/2a1842e1db2329b1c88c613b0a64ff8c7695e829)]:
2420
+ - @ponder/utils@0.0.1
2421
+
2422
+ ## 0.2.15
2423
+
2424
+ ### Patch Changes
2425
+
2426
+ - [#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.
2427
+
2428
+ ## 0.2.14
2429
+
2430
+ ### Patch Changes
2431
+
2432
+ - [#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.
2433
+
2434
+ ## 0.2.13
2435
+
2436
+ ### Patch Changes
2437
+
2438
+ - [#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.
2439
+
2440
+ ## 0.2.12
2441
+
2442
+ ### Patch Changes
2443
+
2444
+ - [#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.
2445
+
2446
+ ## 0.2.11
2447
+
2448
+ ### Patch Changes
2449
+
2450
+ - [#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.
2451
+
2452
+ - [#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.
2453
+
2454
+ ## 0.2.10
2455
+
2456
+ ### Patch Changes
2457
+
2458
+ - [#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.
2459
+
2460
+ - [#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.
2461
+
2462
+ - [#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.
2463
+
2464
+ - [#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.
2465
+
2466
+ ## 0.2.9
2467
+
2468
+ ## 0.2.8
2469
+
2470
+ ### Patch Changes
2471
+
2472
+ - [#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.
2473
+
2474
+ ## 0.2.7
2475
+
2476
+ ### Patch Changes
2477
+
2478
+ - [#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.
2479
+
2480
+ - [#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.
2481
+
2482
+ ## 0.2.6
2483
+
2484
+ ### Patch Changes
2485
+
2486
+ - [#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
2487
+
2488
+ - [#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.
2489
+
2490
+ ## 0.2.5
2491
+
2492
+ ### Patch Changes
2493
+
2494
+ - [#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
2495
+
2496
+ ## 0.2.4
2497
+
2498
+ ### Patch Changes
2499
+
2500
+ - [#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.
2501
+
2502
+ - [#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`.
2503
+
2504
+ ## 0.2.3
2505
+
2506
+ ### Patch Changes
2507
+
2508
+ - [#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.
2509
+
2510
+ - [#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.
2511
+
2512
+ - [#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`.
2513
+
2514
+ - [#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.
2515
+
2516
+ ## 0.2.2
2517
+
2518
+ ### Patch Changes
2519
+
2520
+ - [#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`.
2521
+
2522
+ ## 0.2.1
2523
+
2524
+ ### Patch Changes
2525
+
2526
+ - [#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`.
2527
+
2528
+ - [#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.
2529
+
2530
+ ## 0.2.0
2531
+
2532
+ ### Minor Changes
2533
+
2534
+ - [#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`).
2535
+
2536
+ - [#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.
2537
+
2538
+ - [#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.
2539
+
2540
+ ```graphql
2541
+ # Before
2542
+ query {
2543
+ users(offset: 10, limit: 10) {
2544
+ id
2545
+ name
2546
+ }
2547
+ }
2548
+ # After
2549
+ query {
2550
+ users(after: "MTA=", limit: 10) {
2551
+ items {
2552
+ id
2553
+ name
2554
+ }
2555
+ pageInfo {
2556
+ hasPreviousPage
2557
+ hasNextPage
2558
+ starCursor
2559
+ endCursor
2560
+ }
2561
+ }
2562
+ }
2563
+ ```
2564
+
2565
+ ## 0.1.9
2566
+
2567
+ ### Patch Changes
2568
+
2569
+ - [`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.
2570
+
2571
+ ## 0.1.8
2572
+
2573
+ ### Patch Changes
2574
+
2575
+ - [#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`.
2576
+
2577
+ ## 0.1.7
2578
+
2579
+ ### Patch Changes
2580
+
2581
+ - [#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.
2582
+
2583
+ - [#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
2584
+
2585
+ ## 0.1.6
2586
+
2587
+ ### Patch Changes
2588
+
2589
+ - [#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.
2590
+
2591
+ ## 0.1.5
2592
+
2593
+ ### Patch Changes
2594
+
2595
+ - [#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.
2596
+
2597
+ - [#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`.
2598
+
2599
+ - [#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.
2600
+
2601
+ ## 0.1.4
2602
+
2603
+ ### Patch Changes
2604
+
2605
+ - [#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.
2606
+
2607
+ - [#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`.
2608
+
2609
+ ## 0.1.3
2610
+
2611
+ ### Patch Changes
2612
+
2613
+ - [#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`.
2614
+
2615
+ - [#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.
2616
+
2617
+ - [#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.
2618
+
2619
+ - [#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
2620
+
2621
+ ## 0.1.2
2622
+
2623
+ ### Patch Changes
2624
+
2625
+ - [#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
2626
+
2627
+ - [#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
2628
+
2629
+ - [#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
2630
+
2631
+ - More intuitive errors, specifically from realtime and historical sync services
2632
+ - Free up listeners from the queue more rapidly
2633
+
2634
+ ## 0.1.1
2635
+
2636
+ ### Patch Changes
2637
+
2638
+ - [#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
2639
+
2640
+ ## 0.1.0
2641
+
2642
+ ### Minor Changes
2643
+
2644
+ - [#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).
2645
+
2646
+ ## 0.0.95
2647
+
2648
+ ### Patch Changes
2649
+
2650
+ - [#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.
2651
+
2652
+ - [#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.
2653
+
2654
+ ## 0.0.94
2655
+
2656
+ ### Patch Changes
2657
+
2658
+ - [#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.
2659
+
2660
+ Added support for factory contracts. Please see the [documentation](https://ponder.sh/docs/contracts#factory-contracts) for a complete guide & API reference.
2661
+
2662
+ - [#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.
2663
+
2664
+ ## 0.0.93
2665
+
2666
+ ### Patch Changes
2667
+
2668
+ - [#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
2669
+
2670
+ ## 0.0.92
2671
+
2672
+ ### Patch Changes
2673
+
2674
+ - [#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.
2675
+
2676
+ - [#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.
2677
+
2678
+ - [#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.
2679
+
2680
+ 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.
2681
+
2682
+ Prior to this update, Ponder used an HTTP transport internally. To upgrade with no change in behavior:
2683
+
2684
+ ```diff
2685
+ + import { http } from "viem";
2686
+
2687
+ export const config = {
2688
+ networks: [
2689
+ {
2690
+ name: "mainnet",
2691
+ chainId: 1,
2692
+ - rpcUrl: "https://eth-mainnet.g.alchemy.com/v2/...",
2693
+ + transport: http("https://eth-mainnet.g.alchemy.com/v2/..."),
2694
+ },
2695
+ ],
2696
+ contracts: [
2697
+ {
2698
+ name: "BaseRegistrar",
2699
+ network: "mainnet",
2700
+ abi: "./abis/BaseRegistrar.json",
2701
+ address: "0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85",
2702
+ startBlock: 9380410,
2703
+ },
2704
+ ],
2705
+ };
2706
+ ```
2707
+
2708
+ ## 0.0.91
2709
+
2710
+ ### Patch Changes
2711
+
2712
+ - [#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.
2713
+
2714
+ ## 0.0.90
2715
+
2716
+ ### Patch Changes
2717
+
2718
+ - [#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.
2719
+
2720
+ ## 0.0.89
2721
+
2722
+ ### Patch Changes
2723
+
2724
+ - [#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.
2725
+
2726
+ - [#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`.
2727
+
2728
+ ## 0.0.88
2729
+
2730
+ ### Patch Changes
2731
+
2732
+ - [#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.
2733
+
2734
+ ## 0.0.87
2735
+
2736
+ ### Patch Changes
2737
+
2738
+ - [#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.
2739
+
2740
+ ## 0.0.86
2741
+
2742
+ ### Patch Changes
2743
+
2744
+ - [#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.
2745
+
2746
+ - [#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.
2747
+
2748
+ - [#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.
2749
+
2750
+ ## 0.0.85
2751
+
2752
+ ### Patch Changes
2753
+
2754
+ - [#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.
2755
+
2756
+ ## 0.0.84
2757
+
2758
+ ## 0.0.83
2759
+
2760
+ ## 0.0.82
2761
+
2762
+ ### Patch Changes
2763
+
2764
+ - [#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`.
2765
+
2766
+ ## 0.0.81
2767
+
2768
+ ### Patch Changes
2769
+
2770
+ - [#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`.
2771
+
2772
+ ```ts filename="src/index.ts"
2773
+ ponder.on("ERC20:Transfer", async ({ event, context }) => {
2774
+ const { Account } = context.entities;
2775
+
2776
+ const recipient = await Account.update({
2777
+ id: event.params.to,
2778
+ data: ({ current }) => ({
2779
+ balance: current.balance + event.params.value,
2780
+ }),
2781
+ });
2782
+ // { id: "0x5D92..", balance: 11800000005n }
2783
+ });
2784
+ ```
2785
+
2786
+ ## 0.0.80
2787
+
2788
+ ### Patch Changes
2789
+
2790
+ - [#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.
2791
+
2792
+ ## 0.0.79
2793
+
2794
+ ### Patch Changes
2795
+
2796
+ - [#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`.
2797
+
2798
+ ## 0.0.78
2799
+
2800
+ ### Patch Changes
2801
+
2802
+ - [#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.
2803
+
2804
+ ## 0.0.77
2805
+
2806
+ ### Patch Changes
2807
+
2808
+ - [#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.
2809
+
2810
+ - [#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.
2811
+
2812
+ - [#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.
2813
+
2814
+ - [#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.
2815
+
2816
+ ## 0.0.76
2817
+
2818
+ ### Patch Changes
2819
+
2820
+ - [#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"`
2821
+
2822
+ ## 0.0.75
2823
+
2824
+ ### Patch Changes
2825
+
2826
+ - [#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.
2827
+
2828
+ - [#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.
2829
+
2830
+ - [#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`.
2831
+
2832
+ ## 0.0.74
2833
+
2834
+ ### Patch Changes
2835
+
2836
+ - [#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.
2837
+
2838
+ ## 0.0.73
2839
+
2840
+ ### Patch Changes
2841
+
2842
+ - [#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.
2843
+
2844
+ - [#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)", ...)`.
2845
+
2846
+ - [#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.
2847
+
2848
+ ## 0.0.72
2849
+
2850
+ ### Patch Changes
2851
+
2852
+ - [#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`.
2853
+
2854
+ ## 0.0.71
2855
+
2856
+ ### Patch Changes
2857
+
2858
+ - [#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`).
2859
+
2860
+ - [#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.
2861
+
2862
+ ## 0.0.70
2863
+
2864
+ ### Patch Changes
2865
+
2866
+ - [#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.
2867
+
2868
+ ## 0.0.69
2869
+
2870
+ ### Patch Changes
2871
+
2872
+ - [#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`.
2873
+
2874
+ - [#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`.
2875
+
2876
+ ## 0.0.68
2877
+
2878
+ ### Patch Changes
2879
+
2880
+ - [#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.
2881
+
2882
+ ## 0.0.67
2883
+
2884
+ ### Patch Changes
2885
+
2886
+ - [#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
2887
+
2888
+ - [#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.
2889
+
2890
+ - [#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.
2891
+
2892
+ ## 0.0.66
2893
+
2894
+ ### Patch Changes
2895
+
2896
+ - [#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).
2897
+
2898
+ - [#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.
2899
+
2900
+ - [#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.
2901
+
2902
+ ## 0.0.65
2903
+
2904
+ ### Patch Changes
2905
+
2906
+ - [#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.
2907
+
2908
+ ## 0.0.64
2909
+
2910
+ ### Patch Changes
2911
+
2912
+ - [#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`.
2913
+
2914
+ ## 0.0.63
2915
+
2916
+ ### Patch Changes
2917
+
2918
+ - [#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.
2919
+
2920
+ ## 0.0.62
2921
+
2922
+ ### Patch Changes
2923
+
2924
+ - [#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.
2925
+
2926
+ - [#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
2927
+
2928
+ - [#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.
2929
+
2930
+ ## 0.0.61
2931
+
2932
+ ### Patch Changes
2933
+
2934
+ - [#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.
2935
+
2936
+ ## 0.0.60
2937
+
2938
+ ### Patch Changes
2939
+
2940
+ - [#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.
2941
+
2942
+ ## 0.0.59
2943
+
2944
+ ### Patch Changes
2945
+
2946
+ - [`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
2947
+
2948
+ ## 0.0.58
2949
+
2950
+ ### Patch Changes
2951
+
2952
+ - [#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.
2953
+
2954
+ ## 0.0.57
2955
+
2956
+ ### Patch Changes
2957
+
2958
+ - [#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.
2959
+
2960
+ ## 0.0.56
2961
+
2962
+ ### Patch Changes
2963
+
2964
+ - [#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`.
2965
+
2966
+ ## 0.0.55
2967
+
2968
+ ## 0.0.54
2969
+
2970
+ ### Patch Changes
2971
+
2972
+ - [#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.
2973
+
2974
+ ## 0.0.53
2975
+
2976
+ ### Patch Changes
2977
+
2978
+ - [#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.
2979
+
2980
+ ```ts
2981
+ // ponder.config.ts
2982
+ import type { Config } from "@ponder/core";
2983
+ import { parseAbiItem } from "abitype";
2984
+
2985
+ export const config: Config = {
2986
+ networks: [
2987
+ /* ... */
2988
+ ],
2989
+ contracts: [
2990
+ {
2991
+ name: "AllTransfers",
2992
+ network: "mainnet",
2993
+ abi: "./abis/ERC20.json",
2994
+ filter: {
2995
+ event: parseAbiItem(
2996
+ "event Transfer(address indexed, address indexed, uint256)"
2997
+ )
2998
+ }
2999
+ fromBlock: 17030328
3000
+ }
3001
+ ]
3002
+ };
3003
+ ```
3004
+
3005
+ - [#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`.
3006
+
3007
+ ```diff
3008
+ // ponder.config.ts
3009
+ import type { Config } from "@ponder/core";
3010
+ export const config: Config = {
3011
+ networks: [ /* ... */ ],
3012
+ contracts: [
3013
+ {
3014
+ name: "Contract",
3015
+ network: "mainnet",
3016
+ abi: "./abis/ArtGobblers.json",
3017
+ address: "0x60bb1e2aa1c9acafb4d34f71585d7e959f387769",
3018
+ - blockLimit: 50,
3019
+ + maxBlockRange: 50,
3020
+ },
3021
+ {
3022
+ name: "StaticReadOnlyContract",
3023
+ network: "mainnet",
3024
+ abi: "./abis/ArtGobblers.json",
3025
+ address: "0x60bb1e2aa1c9acafb4d34f71585d7e959f387769",
3026
+ - isIndexed: false,
3027
+ + isLogEventSource: false,
3028
+ }
3029
+ ],
3030
+ };
3031
+ ```
3032
+
3033
+ ## 0.0.52
3034
+
3035
+ ### Patch Changes
3036
+
3037
+ - [#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`
3038
+
3039
+ ## 0.0.51
3040
+
3041
+ ### Patch Changes
3042
+
3043
+ - [#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 `/`
3044
+
3045
+ - [#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:
3046
+
3047
+ ```ts
3048
+ import { ponder } from "ponder:registry";
3049
+
3050
+ ponder.on("setup", async ({ context }) => {
3051
+ const { MyEntity } = context.entities;
3052
+
3053
+ const setupData = await fetch("https://...");
3054
+
3055
+ await MyEntity.create({
3056
+ id: setupData.id,
3057
+ data: { ...setupData },
3058
+ });
3059
+ });
3060
+ ```
3061
+
3062
+ ## 0.0.50
3063
+
3064
+ ### Patch Changes
3065
+
3066
+ - [#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`
3067
+
3068
+ - [#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
3069
+
3070
+ - [#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
3071
+
3072
+ ## 0.0.49
3073
+
3074
+ ### Patch Changes
3075
+
3076
+ - [#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`
3077
+
3078
+ ## 0.0.48
3079
+
3080
+ ### Patch Changes
3081
+
3082
+ - [#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.
3083
+
3084
+ ## 0.0.47
3085
+
3086
+ ### Patch Changes
3087
+
3088
+ - [#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.
3089
+
3090
+ ## 0.0.46
3091
+
3092
+ ### Patch Changes
3093
+
3094
+ - [#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`
3095
+
3096
+ - [#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
3097
+
3098
+ - [#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
3099
+
3100
+ ## 0.0.45
3101
+
3102
+ ### Patch Changes
3103
+
3104
+ - [#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`.
3105
+
3106
+ 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`.
3107
+
3108
+ - [`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`
3109
+
3110
+ - [#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
3111
+
3112
+ ## 0.0.44
3113
+
3114
+ ### Patch Changes
3115
+
3116
+ - [`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
3117
+
3118
+ ## 0.0.43
3119
+
3120
+ ### Patch Changes
3121
+
3122
+ - [`7833912`](https://github.com/0xOlias/ponder/commit/78339121197d861b7d03f733b7c935a0063f0e33) Thanks [@0xOlias](https://github.com/0xOlias)! - Fix baseFeePerGas bug on optimism/postgres
3123
+
3124
+ ## 0.0.42
3125
+
3126
+ ### Patch Changes
3127
+
3128
+ - [#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.
3129
+
3130
+ ## 0.0.41
3131
+
3132
+ ### Patch Changes
3133
+
3134
+ - [`c5abf10`](https://github.com/0xOlias/ponder/commit/c5abf10dcb3d172d029daae76b735cee9eb39d9e) Thanks [@0xOlias](https://github.com/0xOlias)! - Bumped viem to fix event decoding bug
3135
+
3136
+ ## 0.0.40
3137
+
3138
+ ### Patch Changes
3139
+
3140
+ - [#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:
3141
+
3142
+ Ponder projects must now use **Node 18** or a fetch polyfill (see [viem docs](https://viem.sh/docs/compatibility)).
3143
+
3144
+ 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.
3145
+
3146
+ Projects should remove `ethers` as a dependency, and will need to add dev dependencies on `viem`, `abitype`, and `typescript`.
3147
+
3148
+ ## 0.0.39
3149
+
3150
+ ## 0.0.38
3151
+
3152
+ ### Patch Changes
3153
+
3154
+ - [#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
3155
+
3156
+ - [#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.
3157
+
3158
+ ```ts
3159
+ // src/SomeContract.ts
3160
+ import { ponder } from "ponder:registry";
3161
+
3162
+ ponder.on(...)
3163
+ ```
3164
+
3165
+ ```ts
3166
+ // src/nested/AnotherContract.ts
3167
+ import { ponder } from "ponder:registry";
3168
+
3169
+ ponder.on(...)
3170
+
3171
+ ```
3172
+
3173
+ ## 0.0.37
3174
+
3175
+ ### Patch Changes
3176
+
3177
+ - [#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
3178
+
3179
+ ## 0.0.36
3180
+
3181
+ ### Patch Changes
3182
+
3183
+ - [#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
3184
+
3185
+ ## 0.0.35
3186
+
3187
+ ### Patch Changes
3188
+
3189
+ - [#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
3190
+
3191
+ - [`73bd492`](https://github.com/0xOlias/ponder/commit/73bd4927b570b38ede61f63ea075b2811089a68e) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed schema type generation bugs
3192
+
3193
+ ## 0.0.34
3194
+
3195
+ ### Patch Changes
3196
+
3197
+ - [#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
3198
+
3199
+ ## 0.0.33
3200
+
3201
+ ### Patch Changes
3202
+
3203
+ - [`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
3204
+
3205
+ ## 0.0.32
3206
+
3207
+ ### Patch Changes
3208
+
3209
+ - [#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
3210
+
3211
+ Moved HTTP server from `@ponder/graphql` to `@ponder/core`
3212
+
3213
+ **BREAKING**. Ponder apps no longer depend on `@ponder/graphql` and do not need to include the `plugins` key in `ponder.config.ts`.
3214
+
3215
+ For now, this also means that the only way to configure the server port is through the $port environment variable.
3216
+
3217
+ ```diff
3218
+ // package.json
3219
+
3220
+ {
3221
+ "private": true,
3222
+ "scripts": {
3223
+ "dev": "ponder dev",
3224
+ "start": "ponder start",
3225
+ "codegen": "ponder codegen"
3226
+ },
3227
+ "dependencies": {
3228
+ "@ponder/core": "^0.0.32",
3229
+ - "@ponder/graphql": "latest"
3230
+ },
3231
+ "devDependencies": {
3232
+ "@types/node": "^18.11.18",
3233
+ "ethers": "^5.6.9"
3234
+ },
3235
+ "engines": {
3236
+ "node": ">=16.0.0 <19.0.0"
3237
+ }
3238
+ }
3239
+ ```
3240
+
3241
+ ```diff
3242
+ // ponder.config.ts
3243
+
3244
+ import type { Config } from "@ponder/core";
3245
+ - import { graphqlPlugin } from "@ponder/graphql";
3246
+
3247
+ export const config: Config = {
3248
+ networks: [
3249
+ {
3250
+ name: "mainnet",
3251
+ chainId: 1,
3252
+ rpcUrl: process.env.PONDER_RPC_URL_1
3253
+ }
3254
+ ],
3255
+ sources: [
3256
+ {
3257
+ name: "ArtGobblers",
3258
+ network: "mainnet",
3259
+ abi: "./abis/ArtGobblers.json",
3260
+ address: "0x60bb1e2aa1c9acafb4d34f71585d7e959f387769",
3261
+ startBlock: 15863321
3262
+ }
3263
+ ],
3264
+ - plugins: [graphqlPlugin({ port: 8080 })]
3265
+ };
3266
+ ```
3267
+
3268
+ ## 0.0.31
3269
+
3270
+ ### Patch Changes
3271
+
3272
+ - [#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
3273
+
3274
+ - [#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
3275
+
3276
+ ## 0.0.30
3277
+
3278
+ ### Patch Changes
3279
+
3280
+ - [#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
3281
+
3282
+ ## 0.0.29
3283
+
3284
+ ### Patch Changes
3285
+
3286
+ - [#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
3287
+
3288
+ ## 0.0.28
3289
+
3290
+ ### Patch Changes
3291
+
3292
+ - [`b33e538`](https://github.com/0xOlias/ponder/commit/b33e538b518a4fc0b8615ed684acb9bcafaca616) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed RPC response parsing for Optimism
3293
+
3294
+ ## 0.0.27
3295
+
3296
+ ### Patch Changes
3297
+
3298
+ - [#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
3299
+
3300
+ ## 0.0.26
3301
+
3302
+ ### Patch Changes
3303
+
3304
+ - [`a0a7132`](https://github.com/0xOlias/ponder/commit/a0a713271dbcc6ce2f63f34595b85d63f474f30b) Thanks [@0xOlias](https://github.com/0xOlias)! - Fix leading zeroes in hex values in rpc request params
3305
+
3306
+ ## 0.0.25
3307
+
3308
+ ### Patch Changes
3309
+
3310
+ - [#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.
3311
+
3312
+ 1. Source files must be located in `src/` instead of `handlers/`
3313
+ 2. Handlers are registered using an `EventEmitter`-like pattern (see below)
3314
+ 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`)
3315
+
3316
+ ```ts
3317
+ import { ponder } from "../generated";
3318
+
3319
+ ponder.on("SourceName:EventName", async ({ event, context }) => {
3320
+ // same handler function body as before!
3321
+ });
3322
+
3323
+ ponder.on("SourceName:EventName2", async ({ event, context }) => {
3324
+ // ...
3325
+ });
3326
+
3327
+ ponder.on("AnotherSourceName:EventName", async ({ event, context }) => {
3328
+ // ...
3329
+ });
3330
+ ```
3331
+
3332
+ Updated `create-ponder` to use this pattern for newly generated projects
3333
+
3334
+ - [#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`.
3335
+
3336
+ `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.
3337
+
3338
+ `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.
3339
+
3340
+ - [#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.
3341
+
3342
+ 1. The ponder config file was changed (back) to `ponder.config.ts`.
3343
+ 2. The `sources` field in `ponder.config.ts` was changes to `contracts`.
3344
+
3345
+ ## 0.0.24
3346
+
3347
+ ### Patch Changes
3348
+
3349
+ - [#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.
3350
+
3351
+ ## 0.0.23
3352
+
3353
+ ### Patch Changes
3354
+
3355
+ - [#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`.
3356
+
3357
+ New sample `ponder.ts` file:
3358
+
3359
+ ```ts
3360
+ // ponder.ts
3361
+
3362
+ import type { Config } from "@ponder/core";
3363
+ import { graphqlPlugin } from "@ponder/graphql";
3364
+
3365
+ export const config: Config = {
3366
+ networks: [
3367
+ {
3368
+ name: "mainnet",
3369
+ chainId: 1,
3370
+ rpcUrl: process.env.PONDER_RPC_URL_1,
3371
+ },
3372
+ ],
3373
+ sources: [
3374
+ {
3375
+ name: "ArtGobblers",
3376
+ network: "mainnet",
3377
+ abi: "./abis/ArtGobblers.json",
3378
+ address: "0x60bb1e2aa1c9acafb4d34f71585d7e959f387769",
3379
+ startBlock: 15863321,
3380
+ },
3381
+ ],
3382
+ plugins: [graphqlPlugin()],
3383
+ };
3384
+ ```
3385
+
3386
+ The exported value can also be a function, and it can return a Promise:
3387
+
3388
+ ```ts
3389
+ // ponder.ts
3390
+
3391
+ import type { Config } from "@ponder/core";
3392
+
3393
+ export const config: Config = async () => {
3394
+ return {
3395
+ networks: [
3396
+ /* ... */
3397
+ ],
3398
+ sources: [
3399
+ /* ... */
3400
+ ],
3401
+ };
3402
+ };
3403
+ ```
3404
+
3405
+ ## 0.0.22
3406
+
3407
+ ### Patch Changes
3408
+
3409
+ - [#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
3410
+
3411
+ ## 0.0.21
3412
+
3413
+ ### Patch Changes
3414
+
3415
+ - [#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.