bponder 0.0.0-stage → 1.0.0

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 (758) hide show
  1. package/CHANGELOG.md +3773 -0
  2. package/LICENSE +21 -0
  3. package/README.md +180 -2
  4. package/dist/esm/app/ponder.js +8 -0
  5. package/dist/esm/app/ponder.js.map +1 -0
  6. package/dist/esm/bin/commands/codegen.js +30 -0
  7. package/dist/esm/bin/commands/codegen.js.map +1 -0
  8. package/dist/esm/bin/commands/createViews.js +162 -0
  9. package/dist/esm/bin/commands/createViews.js.map +1 -0
  10. package/dist/esm/bin/commands/dev.js +410 -0
  11. package/dist/esm/bin/commands/dev.js.map +1 -0
  12. package/dist/esm/bin/commands/list.js +135 -0
  13. package/dist/esm/bin/commands/list.js.map +1 -0
  14. package/dist/esm/bin/commands/prune.js +210 -0
  15. package/dist/esm/bin/commands/prune.js.map +1 -0
  16. package/dist/esm/bin/commands/serve.js +181 -0
  17. package/dist/esm/bin/commands/serve.js.map +1 -0
  18. package/dist/esm/bin/commands/start.js +235 -0
  19. package/dist/esm/bin/commands/start.js.map +1 -0
  20. package/dist/esm/bin/isolatedController.js +210 -0
  21. package/dist/esm/bin/isolatedController.js.map +1 -0
  22. package/dist/esm/bin/isolatedWorker.bun.js +131 -0
  23. package/dist/esm/bin/isolatedWorker.bun.js.map +1 -0
  24. package/dist/esm/bin/isolatedWorker.js +141 -0
  25. package/dist/esm/bin/isolatedWorker.js.map +1 -0
  26. package/dist/esm/bin/ponder.js +138 -0
  27. package/dist/esm/bin/ponder.js.map +1 -0
  28. package/dist/esm/bin/utils/assertBun.js +19 -0
  29. package/dist/esm/bin/utils/assertBun.js.map +1 -0
  30. package/dist/esm/bin/utils/bunNativeApp.js +389 -0
  31. package/dist/esm/bin/utils/bunNativeApp.js.map +1 -0
  32. package/dist/esm/bin/utils/bunNativeDevReload.js +160 -0
  33. package/dist/esm/bin/utils/bunNativeDevReload.js.map +1 -0
  34. package/dist/esm/bin/utils/bunNativeServe.js +92 -0
  35. package/dist/esm/bin/utils/bunNativeServe.js.map +1 -0
  36. package/dist/esm/bin/utils/codegen.js +25 -0
  37. package/dist/esm/bin/utils/codegen.js.map +1 -0
  38. package/dist/esm/bin/utils/exit.js +96 -0
  39. package/dist/esm/bin/utils/exit.js.map +1 -0
  40. package/dist/esm/bin/utils/indexingWorker.js +65 -0
  41. package/dist/esm/bin/utils/indexingWorker.js.map +1 -0
  42. package/dist/esm/build/bunDatabaseDiagnostic.js +97 -0
  43. package/dist/esm/build/bunDatabaseDiagnostic.js.map +1 -0
  44. package/dist/esm/build/bunLoader.js +59 -0
  45. package/dist/esm/build/bunLoader.js.map +1 -0
  46. package/dist/esm/build/bunNativeBuild.js +390 -0
  47. package/dist/esm/build/bunNativeBuild.js.map +1 -0
  48. package/dist/esm/build/config.js +759 -0
  49. package/dist/esm/build/config.js.map +1 -0
  50. package/dist/esm/build/factory.js +82 -0
  51. package/dist/esm/build/factory.js.map +1 -0
  52. package/dist/esm/build/index.js +589 -0
  53. package/dist/esm/build/index.js.map +1 -0
  54. package/dist/esm/build/plugin.js +62 -0
  55. package/dist/esm/build/plugin.js.map +1 -0
  56. package/dist/esm/build/pre.js +86 -0
  57. package/dist/esm/build/pre.js.map +1 -0
  58. package/dist/esm/build/schema.js +195 -0
  59. package/dist/esm/build/schema.js.map +1 -0
  60. package/dist/esm/build/stacktrace.js +94 -0
  61. package/dist/esm/build/stacktrace.js.map +1 -0
  62. package/dist/esm/client/index.js +525 -0
  63. package/dist/esm/client/index.js.map +1 -0
  64. package/dist/esm/config/address.js +2 -0
  65. package/dist/esm/config/address.js.map +1 -0
  66. package/dist/esm/config/defineConfig.js +2 -0
  67. package/dist/esm/config/defineConfig.js.map +1 -0
  68. package/dist/esm/config/eventFilter.js +2 -0
  69. package/dist/esm/config/eventFilter.js.map +1 -0
  70. package/dist/esm/config/index.js +2 -0
  71. package/dist/esm/config/index.js.map +1 -0
  72. package/dist/esm/config/utilityTypes.js +2 -0
  73. package/dist/esm/config/utilityTypes.js.map +1 -0
  74. package/dist/esm/database/actions.js +396 -0
  75. package/dist/esm/database/actions.js.map +1 -0
  76. package/dist/esm/database/bunSql.js +66 -0
  77. package/dist/esm/database/bunSql.js.map +1 -0
  78. package/dist/esm/database/bunSqlDriver.js +66 -0
  79. package/dist/esm/database/bunSqlDriver.js.map +1 -0
  80. package/dist/esm/database/bunSqlDrizzle.js +16 -0
  81. package/dist/esm/database/bunSqlDrizzle.js.map +1 -0
  82. package/dist/esm/database/index.js +756 -0
  83. package/dist/esm/database/index.js.map +1 -0
  84. package/dist/esm/database/jsonb.js +22 -0
  85. package/dist/esm/database/jsonb.js.map +1 -0
  86. package/dist/esm/database/migrateUser.js +3 -0
  87. package/dist/esm/database/migrateUser.js.map +1 -0
  88. package/dist/esm/database/queryBuilder.js +312 -0
  89. package/dist/esm/database/queryBuilder.js.map +1 -0
  90. package/dist/esm/drizzle/bigint.js +36 -0
  91. package/dist/esm/drizzle/bigint.js.map +1 -0
  92. package/dist/esm/drizzle/bytes.js +45 -0
  93. package/dist/esm/drizzle/bytes.js.map +1 -0
  94. package/dist/esm/drizzle/hex.js +38 -0
  95. package/dist/esm/drizzle/hex.js.map +1 -0
  96. package/dist/esm/drizzle/index.js +28 -0
  97. package/dist/esm/drizzle/index.js.map +1 -0
  98. package/dist/esm/drizzle/json.js +111 -0
  99. package/dist/esm/drizzle/json.js.map +1 -0
  100. package/dist/esm/drizzle/kit/index.js +913 -0
  101. package/dist/esm/drizzle/kit/index.js.map +1 -0
  102. package/dist/esm/drizzle/onchain.js +226 -0
  103. package/dist/esm/drizzle/onchain.js.map +1 -0
  104. package/dist/esm/drizzle/text.js +59 -0
  105. package/dist/esm/drizzle/text.js.map +1 -0
  106. package/dist/esm/graphql/graphiql.html.js +59 -0
  107. package/dist/esm/graphql/graphiql.html.js.map +1 -0
  108. package/dist/esm/graphql/index.js +1039 -0
  109. package/dist/esm/graphql/index.js.map +1 -0
  110. package/dist/esm/graphql/json.js +42 -0
  111. package/dist/esm/graphql/json.js.map +1 -0
  112. package/dist/esm/graphql/middleware.js +83 -0
  113. package/dist/esm/graphql/middleware.js.map +1 -0
  114. package/dist/esm/graphql/plugin.js +58 -0
  115. package/dist/esm/graphql/plugin.js.map +1 -0
  116. package/dist/esm/index.js +19 -0
  117. package/dist/esm/index.js.map +1 -0
  118. package/dist/esm/indexing/addStackTrace.js +54 -0
  119. package/dist/esm/indexing/addStackTrace.js.map +1 -0
  120. package/dist/esm/indexing/client.js +686 -0
  121. package/dist/esm/indexing/client.js.map +1 -0
  122. package/dist/esm/indexing/index.js +667 -0
  123. package/dist/esm/indexing/index.js.map +1 -0
  124. package/dist/esm/indexing/profile.js +600 -0
  125. package/dist/esm/indexing/profile.js.map +1 -0
  126. package/dist/esm/indexing-store/cache.js +681 -0
  127. package/dist/esm/indexing-store/cache.js.map +1 -0
  128. package/dist/esm/indexing-store/index.js +470 -0
  129. package/dist/esm/indexing-store/index.js.map +1 -0
  130. package/dist/esm/indexing-store/profile.js +436 -0
  131. package/dist/esm/indexing-store/profile.js.map +1 -0
  132. package/dist/esm/indexing-store/utils.js +169 -0
  133. package/dist/esm/indexing-store/utils.js.map +1 -0
  134. package/dist/esm/internal/common.js +2 -0
  135. package/dist/esm/internal/common.js.map +1 -0
  136. package/dist/esm/internal/errors.js +300 -0
  137. package/dist/esm/internal/errors.js.map +1 -0
  138. package/dist/esm/internal/logger.js +178 -0
  139. package/dist/esm/internal/logger.js.map +1 -0
  140. package/dist/esm/internal/metrics.js +1117 -0
  141. package/dist/esm/internal/metrics.js.map +1 -0
  142. package/dist/esm/internal/options.js +70 -0
  143. package/dist/esm/internal/options.js.map +1 -0
  144. package/dist/esm/internal/shutdown.js +24 -0
  145. package/dist/esm/internal/shutdown.js.map +1 -0
  146. package/dist/esm/internal/types.js +2 -0
  147. package/dist/esm/internal/types.js.map +1 -0
  148. package/dist/esm/rpc/actions.js +1061 -0
  149. package/dist/esm/rpc/actions.js.map +1 -0
  150. package/dist/esm/rpc/http.js +134 -0
  151. package/dist/esm/rpc/http.js.map +1 -0
  152. package/dist/esm/rpc/index.js +765 -0
  153. package/dist/esm/rpc/index.js.map +1 -0
  154. package/dist/esm/runtime/bunHistoricalSlice.js +64 -0
  155. package/dist/esm/runtime/bunHistoricalSlice.js.map +1 -0
  156. package/dist/esm/runtime/bunIsolatedWorker.js +20 -0
  157. package/dist/esm/runtime/bunIsolatedWorker.js.map +1 -0
  158. package/dist/esm/runtime/bunIsolatedWorkers.js +142 -0
  159. package/dist/esm/runtime/bunIsolatedWorkers.js.map +1 -0
  160. package/dist/esm/runtime/bunOrderingSlice.js +118 -0
  161. package/dist/esm/runtime/bunOrderingSlice.js.map +1 -0
  162. package/dist/esm/runtime/bunRealtimeSlice.js +24 -0
  163. package/dist/esm/runtime/bunRealtimeSlice.js.map +1 -0
  164. package/dist/esm/runtime/events.js +697 -0
  165. package/dist/esm/runtime/events.js.map +1 -0
  166. package/dist/esm/runtime/filter.js +612 -0
  167. package/dist/esm/runtime/filter.js.map +1 -0
  168. package/dist/esm/runtime/fragments.js +504 -0
  169. package/dist/esm/runtime/fragments.js.map +1 -0
  170. package/dist/esm/runtime/historical.js +1098 -0
  171. package/dist/esm/runtime/historical.js.map +1 -0
  172. package/dist/esm/runtime/index.js +312 -0
  173. package/dist/esm/runtime/index.js.map +1 -0
  174. package/dist/esm/runtime/isolated.js +472 -0
  175. package/dist/esm/runtime/isolated.js.map +1 -0
  176. package/dist/esm/runtime/multichain.js +520 -0
  177. package/dist/esm/runtime/multichain.js.map +1 -0
  178. package/dist/esm/runtime/omnichain.js +555 -0
  179. package/dist/esm/runtime/omnichain.js.map +1 -0
  180. package/dist/esm/runtime/realtime.js +738 -0
  181. package/dist/esm/runtime/realtime.js.map +1 -0
  182. package/dist/esm/server/bunNativeHttp.js +71 -0
  183. package/dist/esm/server/bunNativeHttp.js.map +1 -0
  184. package/dist/esm/server/bunNativeHttpOps.js +25 -0
  185. package/dist/esm/server/bunNativeHttpOps.js.map +1 -0
  186. package/dist/esm/server/bunServe.js +37 -0
  187. package/dist/esm/server/bunServe.js.map +1 -0
  188. package/dist/esm/server/bunV1Api.js +168 -0
  189. package/dist/esm/server/bunV1Api.js.map +1 -0
  190. package/dist/esm/server/bunV1Readonly.js +47 -0
  191. package/dist/esm/server/bunV1Readonly.js.map +1 -0
  192. package/dist/esm/server/error.js +56 -0
  193. package/dist/esm/server/error.js.map +1 -0
  194. package/dist/esm/server/index.js +104 -0
  195. package/dist/esm/server/index.js.map +1 -0
  196. package/dist/esm/sync-historical/in-memory.js +538 -0
  197. package/dist/esm/sync-historical/in-memory.js.map +1 -0
  198. package/dist/esm/sync-historical/index.js +558 -0
  199. package/dist/esm/sync-historical/index.js.map +1 -0
  200. package/dist/esm/sync-realtime/bloom.js +84 -0
  201. package/dist/esm/sync-realtime/bloom.js.map +1 -0
  202. package/dist/esm/sync-realtime/index.js +930 -0
  203. package/dist/esm/sync-realtime/index.js.map +1 -0
  204. package/dist/esm/sync-store/encode.js +100 -0
  205. package/dist/esm/sync-store/encode.js.map +1 -0
  206. package/dist/esm/sync-store/index.js +887 -0
  207. package/dist/esm/sync-store/index.js.map +1 -0
  208. package/dist/esm/sync-store/schema.js +189 -0
  209. package/dist/esm/sync-store/schema.js.map +1 -0
  210. package/dist/esm/sync-store/sql/ponder_rpc_cache_1/copy.sql +23 -0
  211. package/dist/esm/sync-store/sql/ponder_rpc_cache_1/create.sql +130 -0
  212. package/dist/esm/types/db.js +2 -0
  213. package/dist/esm/types/db.js.map +1 -0
  214. package/dist/esm/types/eth.js +2 -0
  215. package/dist/esm/types/eth.js.map +1 -0
  216. package/dist/esm/types/utils.js +2 -0
  217. package/dist/esm/types/utils.js.map +1 -0
  218. package/dist/esm/types/virtual.js +2 -0
  219. package/dist/esm/types/virtual.js.map +1 -0
  220. package/dist/esm/types/vite-plugin.js +2 -0
  221. package/dist/esm/types/vite-plugin.js.map +1 -0
  222. package/dist/esm/ui/app.js +157 -0
  223. package/dist/esm/ui/app.js.map +1 -0
  224. package/dist/esm/ui/index.js +29 -0
  225. package/dist/esm/ui/index.js.map +1 -0
  226. package/dist/esm/ui/patch.js +139 -0
  227. package/dist/esm/ui/patch.js.map +1 -0
  228. package/dist/esm/utils/abi.js +55 -0
  229. package/dist/esm/utils/abi.js.map +1 -0
  230. package/dist/esm/utils/bigint.js +37 -0
  231. package/dist/esm/utils/bigint.js.map +1 -0
  232. package/dist/esm/utils/chains.js +21 -0
  233. package/dist/esm/utils/chains.js.map +1 -0
  234. package/dist/esm/utils/checkpoint.js +139 -0
  235. package/dist/esm/utils/checkpoint.js.map +1 -0
  236. package/dist/esm/utils/chunk.js +8 -0
  237. package/dist/esm/utils/chunk.js.map +1 -0
  238. package/dist/esm/utils/copy.js +161 -0
  239. package/dist/esm/utils/copy.js.map +1 -0
  240. package/dist/esm/utils/date.js +27 -0
  241. package/dist/esm/utils/date.js.map +1 -0
  242. package/dist/esm/utils/debug.js +2 -0
  243. package/dist/esm/utils/debug.js.map +1 -0
  244. package/dist/esm/utils/decodeAbiParameters.js +280 -0
  245. package/dist/esm/utils/decodeAbiParameters.js.map +1 -0
  246. package/dist/esm/utils/decodeEventLog.js +89 -0
  247. package/dist/esm/utils/decodeEventLog.js.map +1 -0
  248. package/dist/esm/utils/dedupe.js +29 -0
  249. package/dist/esm/utils/dedupe.js.map +1 -0
  250. package/dist/esm/utils/duplicates.js +19 -0
  251. package/dist/esm/utils/duplicates.js.map +1 -0
  252. package/dist/esm/utils/estimate.js +6 -0
  253. package/dist/esm/utils/estimate.js.map +1 -0
  254. package/dist/esm/utils/finality.js +51 -0
  255. package/dist/esm/utils/finality.js.map +1 -0
  256. package/dist/esm/utils/format.js +20 -0
  257. package/dist/esm/utils/format.js.map +1 -0
  258. package/dist/esm/utils/generators.js +121 -0
  259. package/dist/esm/utils/generators.js.map +1 -0
  260. package/dist/esm/utils/hash.js +11 -0
  261. package/dist/esm/utils/hash.js.map +1 -0
  262. package/dist/esm/utils/interval.js +171 -0
  263. package/dist/esm/utils/interval.js.map +1 -0
  264. package/dist/esm/utils/loadOptional.js +30 -0
  265. package/dist/esm/utils/loadOptional.js.map +1 -0
  266. package/dist/esm/utils/lowercase.js +7 -0
  267. package/dist/esm/utils/lowercase.js.map +1 -0
  268. package/dist/esm/utils/mutex.js +26 -0
  269. package/dist/esm/utils/mutex.js.map +1 -0
  270. package/dist/esm/utils/never.js +4 -0
  271. package/dist/esm/utils/never.js.map +1 -0
  272. package/dist/esm/utils/offset.js +101 -0
  273. package/dist/esm/utils/offset.js.map +1 -0
  274. package/dist/esm/utils/order.js +18 -0
  275. package/dist/esm/utils/order.js.map +1 -0
  276. package/dist/esm/utils/partition.js +46 -0
  277. package/dist/esm/utils/partition.js.map +1 -0
  278. package/dist/esm/utils/pg.js +209 -0
  279. package/dist/esm/utils/pg.js.map +1 -0
  280. package/dist/esm/utils/pglite.js +13 -0
  281. package/dist/esm/utils/pglite.js.map +1 -0
  282. package/dist/esm/utils/port.js +30 -0
  283. package/dist/esm/utils/port.js.map +1 -0
  284. package/dist/esm/utils/print.js +24 -0
  285. package/dist/esm/utils/print.js.map +1 -0
  286. package/dist/esm/utils/promiseAllSettledWithThrow.js +19 -0
  287. package/dist/esm/utils/promiseAllSettledWithThrow.js.map +1 -0
  288. package/dist/esm/utils/promiseWithResolvers.js +13 -0
  289. package/dist/esm/utils/promiseWithResolvers.js.map +1 -0
  290. package/dist/esm/utils/queue.js +158 -0
  291. package/dist/esm/utils/queue.js.map +1 -0
  292. package/dist/esm/utils/range.js +8 -0
  293. package/dist/esm/utils/range.js.map +1 -0
  294. package/dist/esm/utils/result.js +10 -0
  295. package/dist/esm/utils/result.js.map +1 -0
  296. package/dist/esm/utils/sql-parse.js +1336 -0
  297. package/dist/esm/utils/sql-parse.js.map +1 -0
  298. package/dist/esm/utils/timer.js +9 -0
  299. package/dist/esm/utils/timer.js.map +1 -0
  300. package/dist/esm/utils/truncate.js +15 -0
  301. package/dist/esm/utils/truncate.js.map +1 -0
  302. package/dist/esm/utils/wait.js +10 -0
  303. package/dist/esm/utils/wait.js.map +1 -0
  304. package/dist/esm/utils/zipper.js +67 -0
  305. package/dist/esm/utils/zipper.js.map +1 -0
  306. package/dist/types/app/ponder.d.ts +11 -0
  307. package/dist/types/app/ponder.d.ts.map +1 -0
  308. package/dist/types/bin/commands/codegen.d.ts +5 -0
  309. package/dist/types/bin/commands/codegen.d.ts.map +1 -0
  310. package/dist/types/bin/commands/createViews.d.ts +8 -0
  311. package/dist/types/bin/commands/createViews.d.ts.map +1 -0
  312. package/dist/types/bin/commands/dev.d.ts +5 -0
  313. package/dist/types/bin/commands/dev.d.ts.map +1 -0
  314. package/dist/types/bin/commands/list.d.ts +5 -0
  315. package/dist/types/bin/commands/list.d.ts.map +1 -0
  316. package/dist/types/bin/commands/prune.d.ts +5 -0
  317. package/dist/types/bin/commands/prune.d.ts.map +1 -0
  318. package/dist/types/bin/commands/serve.d.ts +5 -0
  319. package/dist/types/bin/commands/serve.d.ts.map +1 -0
  320. package/dist/types/bin/commands/start.d.ts +19 -0
  321. package/dist/types/bin/commands/start.d.ts.map +1 -0
  322. package/dist/types/bin/isolatedController.d.ts +13 -0
  323. package/dist/types/bin/isolatedController.d.ts.map +1 -0
  324. package/dist/types/bin/isolatedWorker.bun.d.ts +13 -0
  325. package/dist/types/bin/isolatedWorker.bun.d.ts.map +1 -0
  326. package/dist/types/bin/isolatedWorker.d.ts +9 -0
  327. package/dist/types/bin/isolatedWorker.d.ts.map +1 -0
  328. package/dist/types/bin/ponder.d.ts +40 -0
  329. package/dist/types/bin/ponder.d.ts.map +1 -0
  330. package/dist/types/bin/utils/assertBun.d.ts +8 -0
  331. package/dist/types/bin/utils/assertBun.d.ts.map +1 -0
  332. package/dist/types/bin/utils/bunNativeApp.d.ts +16 -0
  333. package/dist/types/bin/utils/bunNativeApp.d.ts.map +1 -0
  334. package/dist/types/bin/utils/bunNativeDevReload.d.ts +55 -0
  335. package/dist/types/bin/utils/bunNativeDevReload.d.ts.map +1 -0
  336. package/dist/types/bin/utils/bunNativeServe.d.ts +51 -0
  337. package/dist/types/bin/utils/bunNativeServe.d.ts.map +1 -0
  338. package/dist/types/bin/utils/codegen.d.ts +6 -0
  339. package/dist/types/bin/utils/codegen.d.ts.map +1 -0
  340. package/dist/types/bin/utils/exit.d.ts +10 -0
  341. package/dist/types/bin/utils/exit.d.ts.map +1 -0
  342. package/dist/types/bin/utils/indexingWorker.d.ts +13 -0
  343. package/dist/types/bin/utils/indexingWorker.d.ts.map +1 -0
  344. package/dist/types/build/bunDatabaseDiagnostic.d.ts +9 -0
  345. package/dist/types/build/bunDatabaseDiagnostic.d.ts.map +1 -0
  346. package/dist/types/build/bunLoader.d.ts +10 -0
  347. package/dist/types/build/bunLoader.d.ts.map +1 -0
  348. package/dist/types/build/bunNativeBuild.d.ts +59 -0
  349. package/dist/types/build/bunNativeBuild.d.ts.map +1 -0
  350. package/dist/types/build/config.d.ts +97 -0
  351. package/dist/types/build/config.d.ts.map +1 -0
  352. package/dist/types/build/factory.d.ts +9 -0
  353. package/dist/types/build/factory.d.ts.map +1 -0
  354. package/dist/types/build/index.d.ts +84 -0
  355. package/dist/types/build/index.d.ts.map +1 -0
  356. package/dist/types/build/plugin.d.ts +4 -0
  357. package/dist/types/build/plugin.d.ts.map +1 -0
  358. package/dist/types/build/pre.d.ts +29 -0
  359. package/dist/types/build/pre.d.ts.map +1 -0
  360. package/dist/types/build/schema.d.ts +20 -0
  361. package/dist/types/build/schema.d.ts.map +1 -0
  362. package/dist/types/build/stacktrace.d.ts +2 -0
  363. package/dist/types/build/stacktrace.d.ts.map +1 -0
  364. package/dist/types/client/index.d.ts +27 -0
  365. package/dist/types/client/index.d.ts.map +1 -0
  366. package/dist/types/config/address.d.ts +35 -0
  367. package/dist/types/config/address.d.ts.map +1 -0
  368. package/dist/types/config/defineConfig.d.ts +9 -0
  369. package/dist/types/config/defineConfig.d.ts.map +1 -0
  370. package/dist/types/config/eventFilter.d.ts +18 -0
  371. package/dist/types/config/eventFilter.d.ts.map +1 -0
  372. package/dist/types/config/index.d.ts +155 -0
  373. package/dist/types/config/index.d.ts.map +1 -0
  374. package/dist/types/config/utilityTypes.d.ts +43 -0
  375. package/dist/types/config/utilityTypes.d.ts.map +1 -0
  376. package/dist/types/database/actions.d.ts +99 -0
  377. package/dist/types/database/actions.d.ts.map +1 -0
  378. package/dist/types/database/bunSql.d.ts +23 -0
  379. package/dist/types/database/bunSql.d.ts.map +1 -0
  380. package/dist/types/database/bunSqlDriver.d.ts +46 -0
  381. package/dist/types/database/bunSqlDriver.d.ts.map +1 -0
  382. package/dist/types/database/bunSqlDrizzle.d.ts +17 -0
  383. package/dist/types/database/bunSqlDrizzle.d.ts.map +1 -0
  384. package/dist/types/database/index.d.ts +505 -0
  385. package/dist/types/database/index.d.ts.map +1 -0
  386. package/dist/types/database/jsonb.d.ts +18 -0
  387. package/dist/types/database/jsonb.d.ts.map +1 -0
  388. package/dist/types/database/migrateUser.d.ts +5 -0
  389. package/dist/types/database/migrateUser.d.ts.map +1 -0
  390. package/dist/types/database/queryBuilder.d.ts +67 -0
  391. package/dist/types/database/queryBuilder.d.ts.map +1 -0
  392. package/dist/types/drizzle/bigint.d.ts +25 -0
  393. package/dist/types/drizzle/bigint.d.ts.map +1 -0
  394. package/dist/types/drizzle/bytes.d.ts +32 -0
  395. package/dist/types/drizzle/bytes.d.ts.map +1 -0
  396. package/dist/types/drizzle/hex.d.ts +25 -0
  397. package/dist/types/drizzle/hex.d.ts.map +1 -0
  398. package/dist/types/drizzle/index.d.ts +6 -0
  399. package/dist/types/drizzle/index.d.ts.map +1 -0
  400. package/dist/types/drizzle/json.d.ts +51 -0
  401. package/dist/types/drizzle/json.d.ts.map +1 -0
  402. package/dist/types/drizzle/kit/index.d.ts +187 -0
  403. package/dist/types/drizzle/kit/index.d.ts.map +1 -0
  404. package/dist/types/drizzle/onchain.d.ts +302 -0
  405. package/dist/types/drizzle/onchain.d.ts.map +1 -0
  406. package/dist/types/drizzle/text.d.ts +29 -0
  407. package/dist/types/drizzle/text.d.ts.map +1 -0
  408. package/dist/types/graphql/graphiql.html.d.ts +2 -0
  409. package/dist/types/graphql/graphiql.html.d.ts.map +1 -0
  410. package/dist/types/graphql/index.d.ts +12 -0
  411. package/dist/types/graphql/index.d.ts.map +1 -0
  412. package/dist/types/graphql/json.d.ts +3 -0
  413. package/dist/types/graphql/json.d.ts.map +1 -0
  414. package/dist/types/graphql/middleware.d.ts +29 -0
  415. package/dist/types/graphql/middleware.d.ts.map +1 -0
  416. package/dist/types/graphql/plugin.d.ts +14 -0
  417. package/dist/types/graphql/plugin.d.ts.map +1 -0
  418. package/dist/types/index.d.ts +33 -0
  419. package/dist/types/index.d.ts.map +1 -0
  420. package/dist/types/indexing/addStackTrace.d.ts +3 -0
  421. package/dist/types/indexing/addStackTrace.d.ts.map +1 -0
  422. package/dist/types/indexing/client.d.ts +153 -0
  423. package/dist/types/indexing/client.d.ts.map +1 -0
  424. package/dist/types/indexing/index.d.ts +72 -0
  425. package/dist/types/indexing/index.d.ts.map +1 -0
  426. package/dist/types/indexing/profile.d.ts +16 -0
  427. package/dist/types/indexing/profile.d.ts.map +1 -0
  428. package/dist/types/indexing-store/cache.d.ts +115 -0
  429. package/dist/types/indexing-store/cache.d.ts.map +1 -0
  430. package/dist/types/indexing-store/index.d.ts +23 -0
  431. package/dist/types/indexing-store/index.d.ts.map +1 -0
  432. package/dist/types/indexing-store/profile.d.ts +7 -0
  433. package/dist/types/indexing-store/profile.d.ts.map +1 -0
  434. package/dist/types/indexing-store/utils.d.ts +24 -0
  435. package/dist/types/indexing-store/utils.d.ts.map +1 -0
  436. package/dist/types/internal/common.d.ts +13 -0
  437. package/dist/types/internal/common.d.ts.map +1 -0
  438. package/dist/types/internal/errors.d.ts +101 -0
  439. package/dist/types/internal/errors.d.ts.map +1 -0
  440. package/dist/types/internal/logger.d.ts +37 -0
  441. package/dist/types/internal/logger.d.ts.map +1 -0
  442. package/dist/types/internal/metrics.d.ts +133 -0
  443. package/dist/types/internal/metrics.d.ts.map +1 -0
  444. package/dist/types/internal/options.d.ts +56 -0
  445. package/dist/types/internal/options.d.ts.map +1 -0
  446. package/dist/types/internal/shutdown.d.ts +8 -0
  447. package/dist/types/internal/shutdown.d.ts.map +1 -0
  448. package/dist/types/internal/types.d.ts +426 -0
  449. package/dist/types/internal/types.d.ts.map +1 -0
  450. package/dist/types/rpc/actions.d.ts +390 -0
  451. package/dist/types/rpc/actions.d.ts.map +1 -0
  452. package/dist/types/rpc/http.d.ts +17 -0
  453. package/dist/types/rpc/http.d.ts.map +1 -0
  454. package/dist/types/rpc/index.d.ts +44 -0
  455. package/dist/types/rpc/index.d.ts.map +1 -0
  456. package/dist/types/runtime/bunHistoricalSlice.d.ts +22 -0
  457. package/dist/types/runtime/bunHistoricalSlice.d.ts.map +1 -0
  458. package/dist/types/runtime/bunIsolatedWorker.d.ts +2 -0
  459. package/dist/types/runtime/bunIsolatedWorker.d.ts.map +1 -0
  460. package/dist/types/runtime/bunIsolatedWorkers.d.ts +45 -0
  461. package/dist/types/runtime/bunIsolatedWorkers.d.ts.map +1 -0
  462. package/dist/types/runtime/bunOrderingSlice.d.ts +49 -0
  463. package/dist/types/runtime/bunOrderingSlice.d.ts.map +1 -0
  464. package/dist/types/runtime/bunRealtimeSlice.d.ts +36 -0
  465. package/dist/types/runtime/bunRealtimeSlice.d.ts.map +1 -0
  466. package/dist/types/runtime/events.d.ts +40 -0
  467. package/dist/types/runtime/events.d.ts.map +1 -0
  468. package/dist/types/runtime/filter.d.ts +142 -0
  469. package/dist/types/runtime/filter.d.ts.map +1 -0
  470. package/dist/types/runtime/fragments.d.ts +38 -0
  471. package/dist/types/runtime/fragments.d.ts.map +1 -0
  472. package/dist/types/runtime/historical.d.ts +140 -0
  473. package/dist/types/runtime/historical.d.ts.map +1 -0
  474. package/dist/types/runtime/index.d.ts +89 -0
  475. package/dist/types/runtime/index.d.ts.map +1 -0
  476. package/dist/types/runtime/isolated.d.ts +14 -0
  477. package/dist/types/runtime/isolated.d.ts.map +1 -0
  478. package/dist/types/runtime/multichain.d.ts +13 -0
  479. package/dist/types/runtime/multichain.d.ts.map +1 -0
  480. package/dist/types/runtime/omnichain.d.ts +23 -0
  481. package/dist/types/runtime/omnichain.d.ts.map +1 -0
  482. package/dist/types/runtime/realtime.d.ts +93 -0
  483. package/dist/types/runtime/realtime.d.ts.map +1 -0
  484. package/dist/types/server/bunNativeHttp.d.ts +24 -0
  485. package/dist/types/server/bunNativeHttp.d.ts.map +1 -0
  486. package/dist/types/server/bunNativeHttpOps.d.ts +9 -0
  487. package/dist/types/server/bunNativeHttpOps.d.ts.map +1 -0
  488. package/dist/types/server/bunServe.d.ts +14 -0
  489. package/dist/types/server/bunServe.d.ts.map +1 -0
  490. package/dist/types/server/bunV1Api.d.ts +19 -0
  491. package/dist/types/server/bunV1Api.d.ts.map +1 -0
  492. package/dist/types/server/bunV1Readonly.d.ts +5 -0
  493. package/dist/types/server/bunV1Readonly.d.ts.map +1 -0
  494. package/dist/types/server/error.d.ts +5 -0
  495. package/dist/types/server/error.d.ts.map +1 -0
  496. package/dist/types/server/index.d.ts +13 -0
  497. package/dist/types/server/index.d.ts.map +1 -0
  498. package/dist/types/sync-historical/in-memory.d.ts +24 -0
  499. package/dist/types/sync-historical/in-memory.d.ts.map +1 -0
  500. package/dist/types/sync-historical/index.d.ts +37 -0
  501. package/dist/types/sync-historical/index.d.ts.map +1 -0
  502. package/dist/types/sync-realtime/bloom.d.ts +62 -0
  503. package/dist/types/sync-realtime/bloom.d.ts.map +1 -0
  504. package/dist/types/sync-realtime/index.d.ts +48 -0
  505. package/dist/types/sync-realtime/index.d.ts.map +1 -0
  506. package/dist/types/sync-store/encode.d.ts +25 -0
  507. package/dist/types/sync-store/encode.d.ts.map +1 -0
  508. package/dist/types/sync-store/index.d.ts +146 -0
  509. package/dist/types/sync-store/index.d.ts.map +1 -0
  510. package/dist/types/sync-store/schema.d.ts +1793 -0
  511. package/dist/types/sync-store/schema.d.ts.map +1 -0
  512. package/dist/types/types/db.d.ts +214 -0
  513. package/dist/types/types/db.d.ts.map +1 -0
  514. package/dist/types/types/eth.d.ts +190 -0
  515. package/dist/types/types/eth.d.ts.map +1 -0
  516. package/dist/types/types/utils.d.ts +38 -0
  517. package/dist/types/types/utils.d.ts.map +1 -0
  518. package/dist/types/types/virtual.d.ts +99 -0
  519. package/dist/types/types/virtual.d.ts.map +1 -0
  520. package/dist/types/types/vite-plugin.d.ts +11 -0
  521. package/dist/types/types/vite-plugin.d.ts.map +1 -0
  522. package/dist/types/ui/app.d.ts +22 -0
  523. package/dist/types/ui/app.d.ts.map +1 -0
  524. package/dist/types/ui/index.d.ts +5 -0
  525. package/dist/types/ui/index.d.ts.map +1 -0
  526. package/dist/types/ui/patch.d.ts +7 -0
  527. package/dist/types/ui/patch.d.ts.map +1 -0
  528. package/dist/types/utils/abi.d.ts +23 -0
  529. package/dist/types/utils/abi.d.ts.map +1 -0
  530. package/dist/types/utils/bigint.d.ts +15 -0
  531. package/dist/types/utils/bigint.d.ts.map +1 -0
  532. package/dist/types/utils/chains.d.ts +44 -0
  533. package/dist/types/utils/chains.d.ts.map +1 -0
  534. package/dist/types/utils/checkpoint.d.ts +52 -0
  535. package/dist/types/utils/checkpoint.d.ts.map +1 -0
  536. package/dist/types/utils/chunk.d.ts +2 -0
  537. package/dist/types/utils/chunk.d.ts.map +1 -0
  538. package/dist/types/utils/copy.d.ts +24 -0
  539. package/dist/types/utils/copy.d.ts.map +1 -0
  540. package/dist/types/utils/date.d.ts +7 -0
  541. package/dist/types/utils/date.d.ts.map +1 -0
  542. package/dist/types/utils/debug.d.ts +105 -0
  543. package/dist/types/utils/debug.d.ts.map +1 -0
  544. package/dist/types/utils/decodeAbiParameters.d.ts +28 -0
  545. package/dist/types/utils/decodeAbiParameters.d.ts.map +1 -0
  546. package/dist/types/utils/decodeEventLog.d.ts +12 -0
  547. package/dist/types/utils/decodeEventLog.d.ts.map +1 -0
  548. package/dist/types/utils/dedupe.d.ts +20 -0
  549. package/dist/types/utils/dedupe.d.ts.map +1 -0
  550. package/dist/types/utils/duplicates.d.ts +7 -0
  551. package/dist/types/utils/duplicates.d.ts.map +1 -0
  552. package/dist/types/utils/estimate.d.ts +11 -0
  553. package/dist/types/utils/estimate.d.ts.map +1 -0
  554. package/dist/types/utils/finality.d.ts +16 -0
  555. package/dist/types/utils/finality.d.ts.map +1 -0
  556. package/dist/types/utils/format.d.ts +3 -0
  557. package/dist/types/utils/format.d.ts.map +1 -0
  558. package/dist/types/utils/generators.d.ts +42 -0
  559. package/dist/types/utils/generators.d.ts.map +1 -0
  560. package/dist/types/utils/hash.d.ts +11 -0
  561. package/dist/types/utils/hash.d.ts.map +1 -0
  562. package/dist/types/utils/interval.d.ts +53 -0
  563. package/dist/types/utils/interval.d.ts.map +1 -0
  564. package/dist/types/utils/loadOptional.d.ts +8 -0
  565. package/dist/types/utils/loadOptional.d.ts.map +1 -0
  566. package/dist/types/utils/lowercase.d.ts +5 -0
  567. package/dist/types/utils/lowercase.d.ts.map +1 -0
  568. package/dist/types/utils/mutex.d.ts +5 -0
  569. package/dist/types/utils/mutex.d.ts.map +1 -0
  570. package/dist/types/utils/never.d.ts +2 -0
  571. package/dist/types/utils/never.d.ts.map +1 -0
  572. package/dist/types/utils/offset.d.ts +8 -0
  573. package/dist/types/utils/offset.d.ts.map +1 -0
  574. package/dist/types/utils/order.d.ts +2 -0
  575. package/dist/types/utils/order.d.ts.map +1 -0
  576. package/dist/types/utils/partition.d.ts +22 -0
  577. package/dist/types/utils/partition.d.ts.map +1 -0
  578. package/dist/types/utils/pg.d.ts +9 -0
  579. package/dist/types/utils/pg.d.ts.map +1 -0
  580. package/dist/types/utils/pglite.d.ts +7 -0
  581. package/dist/types/utils/pglite.d.ts.map +1 -0
  582. package/dist/types/utils/port.d.ts +5 -0
  583. package/dist/types/utils/port.d.ts.map +1 -0
  584. package/dist/types/utils/print.d.ts +4 -0
  585. package/dist/types/utils/print.d.ts.map +1 -0
  586. package/dist/types/utils/promiseAllSettledWithThrow.d.ts +8 -0
  587. package/dist/types/utils/promiseAllSettledWithThrow.d.ts.map +1 -0
  588. package/dist/types/utils/promiseWithResolvers.d.ts +10 -0
  589. package/dist/types/utils/promiseWithResolvers.d.ts.map +1 -0
  590. package/dist/types/utils/queue.d.ts +33 -0
  591. package/dist/types/utils/queue.d.ts.map +1 -0
  592. package/dist/types/utils/range.d.ts +8 -0
  593. package/dist/types/utils/range.d.ts.map +1 -0
  594. package/dist/types/utils/result.d.ts +17 -0
  595. package/dist/types/utils/result.d.ts.map +1 -0
  596. package/dist/types/utils/sql-parse.d.ts +21 -0
  597. package/dist/types/utils/sql-parse.d.ts.map +1 -0
  598. package/dist/types/utils/timer.d.ts +6 -0
  599. package/dist/types/utils/timer.d.ts.map +1 -0
  600. package/dist/types/utils/truncate.d.ts +9 -0
  601. package/dist/types/utils/truncate.d.ts.map +1 -0
  602. package/dist/types/utils/wait.d.ts +6 -0
  603. package/dist/types/utils/wait.d.ts.map +1 -0
  604. package/dist/types/utils/zipper.d.ts +36 -0
  605. package/dist/types/utils/zipper.d.ts.map +1 -0
  606. package/package.json +118 -4
  607. package/src/app/ponder.ts +15 -0
  608. package/src/bin/commands/codegen.ts +38 -0
  609. package/src/bin/commands/createViews.ts +283 -0
  610. package/src/bin/commands/dev.ts +469 -0
  611. package/src/bin/commands/list.ts +193 -0
  612. package/src/bin/commands/prune.ts +307 -0
  613. package/src/bin/commands/serve.ts +219 -0
  614. package/src/bin/commands/start.ts +301 -0
  615. package/src/bin/isolatedController.ts +316 -0
  616. package/src/bin/isolatedWorker.bun.ts +180 -0
  617. package/src/bin/isolatedWorker.ts +186 -0
  618. package/src/bin/ponder.ts +216 -0
  619. package/src/bin/utils/assertBun.ts +24 -0
  620. package/src/bin/utils/bunNativeApp.ts +490 -0
  621. package/src/bin/utils/bunNativeDevReload.ts +249 -0
  622. package/src/bin/utils/bunNativeServe.ts +152 -0
  623. package/src/bin/utils/codegen.ts +32 -0
  624. package/src/bin/utils/exit.ts +104 -0
  625. package/src/bin/utils/indexingWorker.ts +98 -0
  626. package/src/build/bunDatabaseDiagnostic.ts +124 -0
  627. package/src/build/bunLoader.ts +81 -0
  628. package/src/build/bunNativeBuild.ts +564 -0
  629. package/src/build/config.ts +1166 -0
  630. package/src/build/factory.ts +125 -0
  631. package/src/build/index.ts +826 -0
  632. package/src/build/plugin.ts +64 -0
  633. package/src/build/pre.ts +122 -0
  634. package/src/build/schema.ts +353 -0
  635. package/src/build/stacktrace.ts +110 -0
  636. package/src/client/index.ts +659 -0
  637. package/src/config/address.ts +46 -0
  638. package/src/config/defineConfig.ts +11 -0
  639. package/src/config/eventFilter.ts +33 -0
  640. package/src/config/index.ts +250 -0
  641. package/src/config/utilityTypes.ts +152 -0
  642. package/src/database/actions.ts +821 -0
  643. package/src/database/bunSql.ts +113 -0
  644. package/src/database/bunSqlDriver.ts +125 -0
  645. package/src/database/bunSqlDrizzle.ts +27 -0
  646. package/src/database/index.ts +1278 -0
  647. package/src/database/jsonb.ts +25 -0
  648. package/src/database/migrateUser.ts +5 -0
  649. package/src/database/queryBuilder.ts +529 -0
  650. package/src/drizzle/bigint.ts +57 -0
  651. package/src/drizzle/bytes.ts +68 -0
  652. package/src/drizzle/hex.ts +58 -0
  653. package/src/drizzle/index.ts +40 -0
  654. package/src/drizzle/json.ts +152 -0
  655. package/src/drizzle/kit/index.ts +1334 -0
  656. package/src/drizzle/onchain.ts +528 -0
  657. package/src/drizzle/text.ts +77 -0
  658. package/src/graphql/graphiql.html.ts +59 -0
  659. package/src/graphql/index.ts +1491 -0
  660. package/src/graphql/json.ts +62 -0
  661. package/src/graphql/middleware.ts +117 -0
  662. package/src/graphql/plugin.ts +94 -0
  663. package/src/index.ts +169 -0
  664. package/src/indexing/addStackTrace.ts +69 -0
  665. package/src/indexing/client.ts +1203 -0
  666. package/src/indexing/index.ts +979 -0
  667. package/src/indexing/profile.ts +791 -0
  668. package/src/indexing-store/cache.ts +1094 -0
  669. package/src/indexing-store/index.ts +680 -0
  670. package/src/indexing-store/profile.ts +567 -0
  671. package/src/indexing-store/utils.ts +239 -0
  672. package/src/internal/common.ts +13 -0
  673. package/src/internal/errors.ts +228 -0
  674. package/src/internal/logger.ts +255 -0
  675. package/src/internal/metrics.ts +1111 -0
  676. package/src/internal/options.ts +122 -0
  677. package/src/internal/shutdown.ts +32 -0
  678. package/src/internal/types.ts +594 -0
  679. package/src/rpc/actions.ts +1481 -0
  680. package/src/rpc/http.ts +168 -0
  681. package/src/rpc/index.ts +984 -0
  682. package/src/runtime/bunHistoricalSlice.ts +121 -0
  683. package/src/runtime/bunIsolatedWorker.ts +31 -0
  684. package/src/runtime/bunIsolatedWorkers.ts +248 -0
  685. package/src/runtime/bunOrderingSlice.ts +220 -0
  686. package/src/runtime/bunRealtimeSlice.ts +57 -0
  687. package/src/runtime/events.ts +918 -0
  688. package/src/runtime/filter.ts +910 -0
  689. package/src/runtime/fragments.ts +718 -0
  690. package/src/runtime/historical.ts +1736 -0
  691. package/src/runtime/index.ts +584 -0
  692. package/src/runtime/isolated.ts +786 -0
  693. package/src/runtime/multichain.ts +869 -0
  694. package/src/runtime/omnichain.ts +929 -0
  695. package/src/runtime/realtime.ts +1177 -0
  696. package/src/server/bunNativeHttp.ts +104 -0
  697. package/src/server/bunNativeHttpOps.ts +46 -0
  698. package/src/server/bunServe.ts +69 -0
  699. package/src/server/bunV1Api.ts +221 -0
  700. package/src/server/bunV1Readonly.ts +69 -0
  701. package/src/server/error.ts +68 -0
  702. package/src/server/index.ts +151 -0
  703. package/src/sync-historical/in-memory.ts +832 -0
  704. package/src/sync-historical/index.ts +873 -0
  705. package/src/sync-realtime/bloom.ts +152 -0
  706. package/src/sync-realtime/index.ts +1290 -0
  707. package/src/sync-store/encode.ts +148 -0
  708. package/src/sync-store/index.ts +1636 -0
  709. package/src/sync-store/schema.ts +245 -0
  710. package/src/types/db.ts +290 -0
  711. package/src/types/eth.ts +210 -0
  712. package/src/types/utils.ts +47 -0
  713. package/src/types/virtual.ts +244 -0
  714. package/src/types/vite-plugin.ts +15 -0
  715. package/src/types.d.ts +40 -0
  716. package/src/ui/app.ts +207 -0
  717. package/src/ui/index.ts +37 -0
  718. package/src/ui/patch.ts +203 -0
  719. package/src/utils/abi.ts +106 -0
  720. package/src/utils/bigint.ts +41 -0
  721. package/src/utils/chains.ts +22 -0
  722. package/src/utils/checkpoint.ts +203 -0
  723. package/src/utils/chunk.ts +7 -0
  724. package/src/utils/copy.ts +184 -0
  725. package/src/utils/date.ts +26 -0
  726. package/src/utils/debug.ts +110 -0
  727. package/src/utils/decodeAbiParameters.ts +415 -0
  728. package/src/utils/decodeEventLog.ts +122 -0
  729. package/src/utils/dedupe.ts +32 -0
  730. package/src/utils/duplicates.ts +19 -0
  731. package/src/utils/estimate.ts +27 -0
  732. package/src/utils/finality.ts +79 -0
  733. package/src/utils/format.ts +22 -0
  734. package/src/utils/generators.ts +157 -0
  735. package/src/utils/hash.ts +22 -0
  736. package/src/utils/interval.ts +212 -0
  737. package/src/utils/loadOptional.ts +42 -0
  738. package/src/utils/lowercase.ts +6 -0
  739. package/src/utils/mutex.ts +33 -0
  740. package/src/utils/never.ts +3 -0
  741. package/src/utils/offset.ts +133 -0
  742. package/src/utils/order.ts +16 -0
  743. package/src/utils/partition.ts +53 -0
  744. package/src/utils/pg.ts +279 -0
  745. package/src/utils/pglite.ts +17 -0
  746. package/src/utils/port.ts +34 -0
  747. package/src/utils/print.ts +34 -0
  748. package/src/utils/promiseAllSettledWithThrow.ts +27 -0
  749. package/src/utils/promiseWithResolvers.ts +20 -0
  750. package/src/utils/queue.ts +266 -0
  751. package/src/utils/range.ts +8 -0
  752. package/src/utils/result.ts +26 -0
  753. package/src/utils/sql-parse.ts +1500 -0
  754. package/src/utils/timer.ts +8 -0
  755. package/src/utils/truncate.ts +15 -0
  756. package/src/utils/wait.ts +8 -0
  757. package/src/utils/zipper.ts +80 -0
  758. package/tsconfig.json +12 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,3773 @@
1
+ # ponder
2
+
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`77ff658`](https://github.com/chy3xyz/bponder/commit/77ff6585ad1541c7a897be57bcb72b7a21935765) - Required Bun (`engines.bun: ">=1.4.0"`) and dropped Node as a supported runtime. The CLI now exits unless it is running on Bun.
8
+
9
+ Added a Bun.serve HTTP stack with `GET /v1/status`, readonly `POST /v1/sql`, and `GET /v1/live` SSE. Under Bun, `ponder start`, `ponder dev`, and `ponder serve` use the Bun-native path by default (`PONDER_USE_VITE=1` restores Vite).
10
+
11
+ Rewrote `bponder-client` and `bponder-react` against the `/v1` contract (`createClient({ url })`, `sql`/`query`, `getStatus`, and live SSE). Existing client and hook call sites for the previous SQL-over-HTTP API are breaking.
12
+
13
+ Updated `create-bponder` to scaffold Bun-only apps with `ponder …` scripts and Bun as the default package manager.
14
+
15
+ Under Bun, `createDatabase` defaults to Bun.SQL via `drizzle-orm/bun-sql` (`PONDER_DATABASE_DRIVER=pg` restores node-postgres). PGlite remains available for tests. Vite remains an escape hatch (`PONDER_USE_VITE=1`).
16
+
17
+ - Renamed published packages from `ponder` / `@ponder/*` / `create-ponder` to `bponder` / `@bponder/*` / `create-bponder`. Virtual modules are now `bponder:registry`, `bponder:schema`, and `bponder:api`, and the CLI binary is `bponder`.
18
+
19
+ - Renamed scoped packages `@bponder/*` to unscoped `bponder-client`, `bponder-react`, `bponder-utils`, and `bponder-schema` for npm publishing without an organization scope.
20
+
21
+ ### Patch Changes
22
+
23
+ - [`bef2029`](https://github.com/chy3xyz/bponder/commit/bef2029d77019cb6cb5bb91ca1298d5a0b683c05) - Completed `client()` middleware support under Bun.SQL: `/sql/db` now executes via drizzle `prepareQuery` (normalizing row-array results), and live query invalidation uses `Bun.SQL.listen` instead of returning `501`.
24
+
25
+ - [`e0d8647`](https://github.com/chy3xyz/bponder/commit/e0d86474bb92e1dc473b286b9d568bb3b63622ba) - Fixed a crash that caused Bun-native apps using `client()` in `src/api` to fail at startup under Bun.SQL. The middleware now returns `501` and points callers to `POST /v1/sql` (or `PONDER_DATABASE_DRIVER=pg`).
26
+
27
+ - [`3b8e3ed`](https://github.com/chy3xyz/bponder/commit/3b8e3ed5db2da4dcc2ff8937a05b09fab9582f25) - Removed Node version gates from the CLI and required Bun at startup. Dropped `pg-copy-streams` and the `ws` package in favor of Drizzle insert fallbacks and the global `WebSocket`.
28
+
29
+ - [`b43fb48`](https://github.com/chy3xyz/bponder/commit/b43fb485631daa60eb6260c3a7e3f975e577db7e) - Added an opt-in Bun GraphQL fetch handler at `POST /graphql`. Default `createBunV1ApiFetch` and `startBunServer` do not mount GraphQL.
30
+
31
+ - [`e981900`](https://github.com/chy3xyz/bponder/commit/e98190084172681adafcfe43389917fd0562e17a) - Fixed a bug that caused `Validation failed: Found 0 registered indexing functions` when Bun reloaded the same indexing files (ESM cache skipped re-running `ponder.on`).
32
+
33
+ - [`57a0103`](https://github.com/chy3xyz/bponder/commit/57a0103f2315c5751687d905399f99c7484fc585) - Made Bun-native indexing the default for `ponder start` and `ponder dev` when running on Bun. Set `PONDER_USE_VITE=1` to use the classic Vite path. `ponder serve` still requires `--native` or `PONDER_BUN_NATIVE=1` for the Bun-native `/v1` stack.
34
+
35
+ - [`e9d9e39`](https://github.com/chy3xyz/bponder/commit/e9d9e39f5e363641e3e494df452712c512c1f284) - Added Hono `src/api` support on the default Bun-native `ponder start` / `ponder dev` path. `Bun.serve` still owns `/health` and `/v1/*`, then falls through to the Hono app.
36
+
37
+ - [`d9d4fc5`](https://github.com/chy3xyz/bponder/commit/d9d4fc5fd978c5f1ab049246fc0d0ce318990b79) - Improved Bun-native `ponder serve` to mount Hono from `src/api` like `start` / `dev`, and added `/ready`, `/metrics`, and `/status` on the Bun-native HTTP path. Native `ponder dev` remounts the Hono API when `src/api` changes.
38
+
39
+ - [`d32b1a6`](https://github.com/chy3xyz/bponder/commit/d32b1a6ed83d4252869c83c9698de09ebb6f0767) - Added `ponder serve --native` (and `PONDER_BUN_NATIVE=1`) to start the Bun-native `/v1` HTTP server without the Vite/Hono API.
40
+
41
+ `ponder serve --native` now exits with an error when `--schema` or `DATABASE_SCHEMA` is set to a value other than `public`, because that path does not apply the schema yet.
42
+
43
+ - [`f7d04a0`](https://github.com/chy3xyz/bponder/commit/f7d04a0d231f02e825d046a2794bacd8d7dfef08) - Updated `ponder start --native` to load indexing functions through a Bun plugin (`bponder:registry`, `bponder:schema`), compile with the production build helpers, migrate the database, and run omnichain or multichain indexing. `ordering: "experimental_isolated"` now errors and asks for classic `ponder start`. Classic `ponder start` without `--native` is unchanged.
44
+
45
+ - [`e7912e1`](https://github.com/chy3xyz/bponder/commit/e7912e114280b08e0b6b8be4ea65d26966f589b0) - Added `ponder start --native` (and `PONDER_BUN_NATIVE=1`) to load `ponder.config.ts` and `ponder.schema.ts` with Bun `import()` instead of Vite. When `DATABASE_URL` is set, the command starts the Bun-native `/v1` HTTP server and applies `migrateUser` for identifiable `onchainTable` exports.
46
+
47
+ - [`b0a59dc`](https://github.com/chy3xyz/bponder/commit/b0a59dc3368efd0a18f999e5303cd2b1357df206) - Fixed a bug that caused `ponder start --native` to serve `/v1` from a separate Bun.SQL connection, so queries could not see rows written by indexing. `/v1` now reads the same `createDatabase` instance through `readonlyQB`. `ponder dev --native` (and `PONDER_BUN_NATIVE=1`) uses the same path.
48
+
49
+ - [`aef5bb8`](https://github.com/chy3xyz/bponder/commit/aef5bb82ca56d69ab31ac3885a88c9965142653c) - Fixed a Bun.SQL bug that stored `json` / `jsonb` column values as JSON string scalars, which caused errors such as `cannot set path in scalar` when updating `_ponder_meta` (heartbeat / ready). Under Bun, Ponder's `json()` and `jsonb()` columns now pass objects through to the driver; node-postgres and PGlite still receive `JSON.stringify` output.
50
+
51
+ - [`a119a3f`](https://github.com/chy3xyz/bponder/commit/a119a3fb766007ca345ab0e3dd8d53c81cebdb5b) - Added a Bun-native `/v1` HTTP contract with `GET /v1/status`, readonly `POST /v1/sql`, and `GET /v1/live` SSE.
52
+
53
+ - [`24d3ae9`](https://github.com/chy3xyz/bponder/commit/24d3ae9592b9d3b33112669aab43fb4d3490bc47) - Fixed a bug that caused Postgres `flush()` error recovery to throw `copy is not a function` instead of the original constraint error, such as `duplicate key value violates unique constraint`, after `pg-copy-streams` was removed. Large inserts without COPY now chunk by `databaseMaxQueryParameters`.
54
+
55
+ - [`d9d4fc5`](https://github.com/chy3xyz/bponder/commit/d9d4fc5fd978c5f1ab049246fc0d0ce318990b79) - Made `vite`, `pg`, and `pg-connection-string` optional peer dependencies. Bun-native indexing no longer requires them; install them only for `PONDER_USE_VITE=1` or `PONDER_DATABASE_DRIVER=pg`.
56
+
57
+ - [`028481b`](https://github.com/chy3xyz/bponder/commit/028481bf6f0b001c8741676e77b7da7d60606b63) - Added Bun-native database, historical indexing, and status server APIs.
58
+
59
+ ## 0.18.9
60
+
61
+ ### Patch Changes
62
+
63
+ - [#2510](https://github.com/ponder-sh/ponder/pull/2510) [`f055683`](https://github.com/ponder-sh/ponder/commit/f055683c630ea168809848b0a454127630167243) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved isolation and query validations for SQL client.
64
+
65
+ ## 0.18.8
66
+
67
+ ### Patch Changes
68
+
69
+ - [#2508](https://github.com/ponder-sh/ponder/pull/2508) [`df5502e`](https://github.com/ponder-sh/ponder/commit/df5502ed485403303f20f4596ca49196362430b3) Thanks [@kyscott18](https://github.com/kyscott18)! - Reduced the memory usage of live indexing with a single chain.
70
+
71
+ ## 0.18.7
72
+
73
+ ### Patch Changes
74
+
75
+ - [#2476](https://github.com/ponder-sh/ponder/pull/2476) [`bef15af`](https://github.com/ponder-sh/ponder/commit/bef15af57b5603bbf6a238195d3e23fbe2de6f24) Thanks [@mkzung](https://github.com/mkzung)! - Fixed a bug that caused GraphQL queries with `where: null` to fail with `Cannot convert undefined or null to object`, and queries with `AND: null` or `OR: null` to fail with `Invalid query: Expected an array`. These values are now ignored.
76
+
77
+ - [#2482](https://github.com/ponder-sh/ponder/pull/2482) [`5d005a2`](https://github.com/ponder-sh/ponder/commit/5d005a27a0a7f012e74358cbf486add6fb953ae8) Thanks [@kyscott18](https://github.com/kyscott18)! - Removed the GraphQL filter options `{column}_has` and `{column}_not_has` for `p.bytes()` columns, which always failed with a database error.
78
+
79
+ - [#2483](https://github.com/ponder-sh/ponder/pull/2483) [`415225b`](https://github.com/ponder-sh/ponder/commit/415225bd5dd19abb1af848e389fbc1676534002d) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused the GraphQL error `arrayContains requires at least one value` when filtering an array column with an empty list, such as `{column}: []` or `{column}_not: []`.
80
+
81
+ - [#2487](https://github.com/ponder-sh/ponder/pull/2487) [`522ef20`](https://github.com/ponder-sh/ponder/commit/522ef20e0731e51d07002e07980ce113c86b537e) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused GraphQL string filters on `p.hex()` columns, such as `{column}_starts_with` and `{column}_contains`, to be case-sensitive.
82
+
83
+ - [#2482](https://github.com/ponder-sh/ponder/pull/2482) [`5d005a2`](https://github.com/ponder-sh/ponder/commit/5d005a27a0a7f012e74358cbf486add6fb953ae8) Thanks [@kyscott18](https://github.com/kyscott18)! - Removed GraphQL filter options for arrays of `p.json()` columns, which always failed with a database error.
84
+
85
+ - [#2486](https://github.com/ponder-sh/ponder/pull/2486) [`a9d77f6`](https://github.com/ponder-sh/ponder/commit/a9d77f6e892d82142bcc2f75d93fd259bb984113) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused GraphQL string filters such as `{column}_contains` and `{column}_starts_with` to treat `%` and `_` in the filter value as wildcards. These characters are now matched literally.
86
+
87
+ - [#2468](https://github.com/ponder-sh/ponder/pull/2468) [`d6720b0`](https://github.com/ponder-sh/ponder/commit/d6720b01afbc4cb0eb0bd2df546e2d497941736d) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused GraphQL cursor pagination to skip rows or return an incorrect `hasNextPage` or `hasPreviousPage` when the row referenced by the `after` or `before` cursor had been deleted or no longer matched the `where` filter.
88
+
89
+ - [#2466](https://github.com/ponder-sh/ponder/pull/2466) [`7d53829`](https://github.com/ponder-sh/ponder/commit/7d53829d5954059e11315c34e91f49743b03edcc) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused a negative `limit` argument in GraphQL plural queries to return every matching row, bypassing the 1000-row maximum. Negative `limit` and `offset` values now return a validation error.
90
+
91
+ - [#2480](https://github.com/ponder-sh/ponder/pull/2480) [`656438b`](https://github.com/ponder-sh/ponder/commit/656438be42753f46586993e3ad7f3e7e8fbcf9c4) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused GraphQL cursor pagination to stop early and skip rows when the `orderBy` column contained `NULL` values.
92
+
93
+ - [#2469](https://github.com/ponder-sh/ponder/pull/2469) [`8dde803`](https://github.com/ponder-sh/ponder/commit/8dde8032a86c3627065aae2d97860f1f9c65145a) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused GraphQL queries with an `offset` to return `hasPreviousPage: true` for an empty page.
94
+
95
+ - [#2484](https://github.com/ponder-sh/ponder/pull/2484) [`c22f07a`](https://github.com/ponder-sh/ponder/commit/c22f07a6c996c8378d7512db0e8a36ec1325cf78) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused a GraphQL `one` relation field with a `null` value to not always return `null`.
96
+
97
+ - [#2475](https://github.com/ponder-sh/ponder/pull/2475) [`6257549`](https://github.com/ponder-sh/ponder/commit/62575498838891f6bc51582d151b7967c03aaa89) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused GraphQL queries with `orderBy` set to a `json` column to fail with the database error `could not identify an ordering operator for type json`. These queries now return a validation error. `jsonb` columns can still be used with `orderBy`.
98
+
99
+ - [#2473](https://github.com/ponder-sh/ponder/pull/2473) [`282ca74`](https://github.com/ponder-sh/ponder/commit/282ca7499847b590178aec8b268d647bcf868b9f) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused the GraphQL error `Unknown column "null" used in orderBy argument` when the `orderBy` argument was `null`.
100
+
101
+ - [#2470](https://github.com/ponder-sh/ponder/pull/2470) [`df3daf5`](https://github.com/ponder-sh/ponder/commit/df3daf5c190c587ad996c951b2cc73aa555f2a4b) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused GraphQL queries with `orderDirection: "ASC"` (or any value other than `"asc"`) to sort in descending order. `orderDirection` is now case-insensitive, and invalid values return a validation error.
102
+
103
+ - [#2471](https://github.com/ponder-sh/ponder/pull/2471) [`0bd4a22`](https://github.com/ponder-sh/ponder/commit/0bd4a220ada823c2c5dbe61aa99b8e389b3aaf94) Thanks [@kyscott18](https://github.com/kyscott18)! - Removed the string filter options (such as `{column}_contains` and `{column}_starts_with`) from GraphQL filters for non-text columns, including `timestamp`, `date`, and `uuid` columns. These filters always failed with an error like `operator does not exist: timestamp without time zone ~~ unknown`.
104
+
105
+ - [#2467](https://github.com/ponder-sh/ponder/pull/2467) [`4574041`](https://github.com/ponder-sh/ponder/commit/457404157f3dd2306b78a21e1781dbe6ed54d143) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused the GraphQL error `Cannot return null for non-nullable field <table>Page.totalCount.` when `totalCount` was selected through an inline fragment or fragment spread.
106
+
107
+ - [#2476](https://github.com/ponder-sh/ponder/pull/2476) [`bef15af`](https://github.com/ponder-sh/ponder/commit/bef15af57b5603bbf6a238195d3e23fbe2de6f24) Thanks [@mkzung](https://github.com/mkzung)! - Fixed a bug that caused `{column}: null` and `{column}_not: null` GraphQL filters on array columns to match no rows. They now match `NULL` and non-`NULL` values.
108
+
109
+ - [#2476](https://github.com/ponder-sh/ponder/pull/2476) [`bef15af`](https://github.com/ponder-sh/ponder/commit/bef15af57b5603bbf6a238195d3e23fbe2de6f24) Thanks [@mkzung](https://github.com/mkzung)! - Fixed a bug that caused a `null` value for GraphQL filter operators other than `{column}` and `{column}_not`, such as `{column}_gt`, `{column}_in`, or `{column}_contains`, to fail with a SQL syntax error or match the wrong rows. These filters are now ignored.
110
+
111
+ - [#2476](https://github.com/ponder-sh/ponder/pull/2476) [`bef15af`](https://github.com/ponder-sh/ponder/commit/bef15af57b5603bbf6a238195d3e23fbe2de6f24) Thanks [@mkzung](https://github.com/mkzung)! - Fixed a bug that caused GraphQL filter lists containing `null`, such as `{column}_in: [1, null]` or `OR: [null]`, to fail with `Cannot convert undefined or null to object` or match the wrong rows. These queries now return the error `Invalid query: {key} cannot contain null`.
112
+
113
+ - [#2448](https://github.com/ponder-sh/ponder/pull/2448) [`bfe2c41`](https://github.com/ponder-sh/ponder/commit/bfe2c41f674f03ac52f47795f746233eb5af84d4) Thanks [@WillXing](https://github.com/WillXing)! - Fixed a bug that caused GraphQL OR filters to match extra rows when a branch contained multiple fields.
114
+
115
+ ## 0.18.6
116
+
117
+ ### Patch Changes
118
+
119
+ - [#2450](https://github.com/ponder-sh/ponder/pull/2450) [`98a50b5`](https://github.com/ponder-sh/ponder/commit/98a50b5f050f5df92a8fb9efb8cca0548a814f41) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused a log that failed to decode to change how later logs of the same event were decoded when the event has an array parameter.
120
+
121
+ - [#2456](https://github.com/ponder-sh/ponder/pull/2456) [`9a20a02`](https://github.com/ponder-sh/ponder/commit/9a20a0263d64f64214d14197a8a4a8e01954e755) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused a `p.json()` or `p.jsonb()` column value that is a string containing JSON, such as `"1"`, `"true"`, or `'{"a":1}'`, to be returned parsed by GraphQL, `bponder-client`, and database reads, while the indexing cache returned the string.
122
+
123
+ - [#2459](https://github.com/ponder-sh/ponder/pull/2459) [`d6a876a`](https://github.com/ponder-sh/ponder/commit/d6a876a7b35e6ef90d0ffeee2079e33a5c608159) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused some `context.db` and `context.client` calls to fail with `TypeError: Cannot read properties of undefined` in indexing functions of logs without a transaction, such as on ZKsync.
124
+
125
+ - [#2455](https://github.com/ponder-sh/ponder/pull/2455) [`d35fabe`](https://github.com/ponder-sh/ponder/commit/d35fabe8973ccf8b09929c522fd9ad1b54d8f003) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused the error `TypeError: undefined is not an object (evaluating 'event.event')` (or `Cannot read properties of undefined (reading 'event')`) during the backfill when a chain with `cacheRpcRequests: false` was indexed, and an indexing function read an event property for the first time.
126
+
127
+ - [#2452](https://github.com/ponder-sh/ponder/pull/2452) [`ac01f82`](https://github.com/ponder-sh/ponder/commit/ac01f827aa28775fc2c9aecb2052b4b9175483b0) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused indexing to fail with `InvalidEventAccessError` when an indexing function read a property of `event.transaction` that belongs to another transaction type, such as `gasPrice` on an EIP-1559 transaction. This affected live indexing and chains with `cacheRpcRequests: false`. These properties are now `undefined`.
128
+
129
+ - [#2453](https://github.com/ponder-sh/ponder/pull/2453) [`6e1b286`](https://github.com/ponder-sh/ponder/commit/6e1b2862edca8663562773fde200025233bb23b7) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused indexing to fail with `InvalidEventAccessError` when an indexing function read `gasPrice`, `accessList`, `maxFeePerGas`, or `maxPriorityFeePerGas` of a transaction with a type other than legacy, EIP-2930, EIP-1559, or deposit, such as a blob or EIP-7702 transaction. This affected live indexing and chains with `cacheRpcRequests: false`.
130
+
131
+ - [#2451](https://github.com/ponder-sh/ponder/pull/2451) [`ef9aaf8`](https://github.com/ponder-sh/ponder/commit/ef9aaf8925fb9f9e1035bcb4ddd11f76b44dc6e1) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused `context.db.update()` and `onConflictDoUpdate()` to ignore columns defined with `.$onUpdateFn()`. These columns are now set to the value returned by the function when the update doesn't set them.
132
+
133
+ ## 0.18.5
134
+
135
+ ### Patch Changes
136
+
137
+ - [#2447](https://github.com/ponder-sh/ponder/pull/2447) [`f900797`](https://github.com/ponder-sh/ponder/commit/f9007977e5960ffac670670cac4e6da2ba9d07fc) Thanks [@cruzdanilo](https://github.com/cruzdanilo)! - Improved backfill speed for block ranges with many blocks and sparse events.
138
+ - Updated dependencies [[`f900797`](https://github.com/ponder-sh/ponder/commit/f9007977e5960ffac670670cac4e6da2ba9d07fc)]:
139
+ - bponder-utils@0.3.1
140
+
141
+ ## 0.18.4
142
+
143
+ ### Patch Changes
144
+
145
+ - [#2427](https://github.com/ponder-sh/ponder/pull/2427) [`16fc227`](https://github.com/ponder-sh/ponder/commit/16fc227d692202adb498839d36963b202b9d784e) Thanks [@tremarkley](https://github.com/tremarkley)! - Fixed a bug that caused Postgres queries to hang or fail with `timeout exceeded when trying to connect` after a database restart or failover until Ponder was restarted.
146
+
147
+ ## 0.18.3
148
+
149
+ No changes in this release.
150
+
151
+ ## 0.18.2
152
+
153
+ ### Patch Changes
154
+
155
+ - [#2420](https://github.com/ponder-sh/ponder/pull/2420) [`fe6be0c`](https://github.com/ponder-sh/ponder/commit/fe6be0cbe5207253fb272d95061e3e28c8b54418) Thanks [@kyscott18](https://github.com/kyscott18)! - Updated `eth_getLogs` requests in live indexing to include `address` and `topics` filters.
156
+
157
+ - [#2420](https://github.com/ponder-sh/ponder/pull/2420) [`fe6be0c`](https://github.com/ponder-sh/ponder/commit/fe6be0cbe5207253fb272d95061e3e28c8b54418) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused live indexing to miss factory child addresses when the factory was only used by call trace or account sources.
158
+
159
+ ## 0.18.1
160
+
161
+ ### Patch Changes
162
+
163
+ - [#2406](https://github.com/ponder-sh/ponder/pull/2406) [`d3f03c7`](https://github.com/ponder-sh/ponder/commit/d3f03c74ac7ef4adefdb0c183af3761e253ccd69) Thanks [@kyscott18](https://github.com/kyscott18)! - Reduced memory allocation and peak memory usage during backfill indexing.
164
+
165
+ - [#2407](https://github.com/ponder-sh/ponder/pull/2407) [`ab1aecd`](https://github.com/ponder-sh/ponder/commit/ab1aecda878c351a8f6bb80f729dc6f964cdc719) Thanks [@kyscott18](https://github.com/kyscott18)! - Reduced CPU usage and memory allocation of logs bloom checks during live indexing.
166
+
167
+ ## 0.18.0
168
+
169
+ ### Minor Changes
170
+
171
+ - [#2383](https://github.com/ponder-sh/ponder/pull/2383) [`1f4bd97`](https://github.com/ponder-sh/ponder/commit/1f4bd97a4d9606b922020ae8e2d97cbed78a872f) Thanks [@kyscott18](https://github.com/kyscott18)! - Released `0.18`. Visit the [migration guide](https://ponder.sh/docs/migration-guide#018) for details.
172
+
173
+ ### Patch Changes
174
+
175
+ - [#2383](https://github.com/ponder-sh/ponder/pull/2383) [`1f4bd97`](https://github.com/ponder-sh/ponder/commit/1f4bd97a4d9606b922020ae8e2d97cbed78a872f) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with `ordering: "omnichain"` that caused backfill events to be ordered incorrectly or skipped.
176
+
177
+ - [#2383](https://github.com/ponder-sh/ponder/pull/2383) [`1f4bd97`](https://github.com/ponder-sh/ponder/commit/1f4bd97a4d9606b922020ae8e2d97cbed78a872f) Thanks [@kyscott18](https://github.com/kyscott18)! - Exported the `encodeCheckpoint` and `decodeCheckpoint` utilities and the `Checkpoint` type from `ponder`.
178
+
179
+ - [#2383](https://github.com/ponder-sh/ponder/pull/2383) [`1f4bd97`](https://github.com/ponder-sh/ponder/commit/1f4bd97a4d9606b922020ae8e2d97cbed78a872f) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused Ponder to load a `vite.config.ts` file from the project root.
180
+
181
+ - [#2383](https://github.com/ponder-sh/ponder/pull/2383) [`1f4bd97`](https://github.com/ponder-sh/ponder/commit/1f4bd97a4d9606b922020ae8e2d97cbed78a872f) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved startup performance by loading the `ponder` package without transforming it with Vite.
182
+
183
+ - [#2383](https://github.com/ponder-sh/ponder/pull/2383) [`1f4bd97`](https://github.com/ponder-sh/ponder/commit/1f4bd97a4d9606b922020ae8e2d97cbed78a872f) Thanks [@kyscott18](https://github.com/kyscott18)! - Updated `ponder dev` to not watch the `.ponder` and `generated` directories.
184
+
185
+ - [#2383](https://github.com/ponder-sh/ponder/pull/2383) [`1f4bd97`](https://github.com/ponder-sh/ponder/commit/1f4bd97a4d9606b922020ae8e2d97cbed78a872f) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that could cause an account `transaction` event to receive the transaction receipt of a different transaction in the same block.
186
+
187
+ ## 0.17.12
188
+
189
+ ### Patch Changes
190
+
191
+ - [#2395](https://github.com/ponder-sh/ponder/pull/2395) [`b744cb1`](https://github.com/ponder-sh/ponder/commit/b744cb1678285df9e9a45e4e5ec704eaabb2f4ee) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with `context.client` prediction.
192
+
193
+ - [#2397](https://github.com/ponder-sh/ponder/pull/2397) [`0ee6c25`](https://github.com/ponder-sh/ponder/commit/0ee6c251ddcd82df4ae7eaac219401bef0b5f774) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused changes to a row returned by `context.db` to be lost when the row was passed back to `context.db.insert()` or `context.db.update()`. The original values were written instead.
194
+
195
+ - [#2398](https://github.com/ponder-sh/ponder/pull/2398) [`f9859e7`](https://github.com/ponder-sh/ponder/commit/f9859e786d28e73672574623827a654515516d7b) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused a callback passed to `.then()` on `context.db.insert()` to run twice.
196
+
197
+ ## 0.17.11
198
+
199
+ ### Patch Changes
200
+
201
+ - [#2390](https://github.com/ponder-sh/ponder/pull/2390) [`eefc29d`](https://github.com/ponder-sh/ponder/commit/eefc29d77fb42c3d0e7edec8e422ad2d330f33e8) Thanks [@JamieLivi](https://github.com/JamieLivi)! - Fixed a bug that caused live indexing on Avalanche C-Chain after the Helicon upgrade to skip logs. Fixed incorrect RPC inconsistency errors and bloom warnings on Avalanche and Monad.
202
+
203
+ ## 0.17.10
204
+
205
+ ### Patch Changes
206
+
207
+ - [#2380](https://github.com/ponder-sh/ponder/pull/2380) [`1cb59b9`](https://github.com/ponder-sh/ponder/commit/1cb59b997009fe9cf465bfd8aa7fc0ddd066b89d) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed an issue in SQL-over-HTTP validation that could incorrectly reuse validation results for different queries with colliding cache keys.
208
+
209
+ ## 0.17.9
210
+
211
+ ### Patch Changes
212
+
213
+ - [#2377](https://github.com/ponder-sh/ponder/pull/2377) [`f0f413d`](https://github.com/ponder-sh/ponder/commit/f0f413da6144eab9c48824c4130c7582229bfaa4) Thanks [@DicksonWu654](https://github.com/DicksonWu654)! - Fixed a bug that caused SQL-over-HTTP cache invalidation and live updates to use the wrong table dependencies.
214
+
215
+ - [#2378](https://github.com/ponder-sh/ponder/pull/2378) [`25b6697`](https://github.com/ponder-sh/ponder/commit/25b66975cec9fe52f95032092c51a915faee3348) Thanks [@DicksonWu654](https://github.com/DicksonWu654)! - Fixed a bug that caused crash recovery to fail with `Finalized block for chain "<id>" cannot move backwards` in `ordering: "multichain"` apps with empty schemas.
216
+
217
+ - [#2376](https://github.com/ponder-sh/ponder/pull/2376) [`3e092e2`](https://github.com/ponder-sh/ponder/commit/3e092e28eee8c7e4e1cc24a1977f4570ff7af779) Thanks [@DicksonWu654](https://github.com/DicksonWu654)! - Fixed a bug that caused failed `/sql/live` requests to exhaust the live query limit.
218
+
219
+ ## 0.17.8
220
+
221
+ ### Patch Changes
222
+
223
+ - [#2366](https://github.com/ponder-sh/ponder/pull/2366) [`bbcaa43`](https://github.com/ponder-sh/ponder/commit/bbcaa43982b92cbfd1d4b91f66a0b4ae824c3d43) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved backfill sync performance by merging more compatible JSON-RPC `eth_getLogs` requests.
224
+
225
+ ## 0.17.7
226
+
227
+ ### Patch Changes
228
+
229
+ - [#2370](https://github.com/ponder-sh/ponder/pull/2370) [`e60a608`](https://github.com/ponder-sh/ponder/commit/e60a608b8a001511a6d62e825db73269a2ee669e) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed the error `TypeError: Cannot read properties of undefined (reading 'getSelectedFields')` that occurred during startup.
230
+
231
+ ## 0.17.6
232
+
233
+ ### Patch Changes
234
+
235
+ - [#2364](https://github.com/ponder-sh/ponder/pull/2364) [`6eab09f`](https://github.com/ponder-sh/ponder/commit/6eab09f5edb2b9f8a9a8ca370da4ed34d45ca3d5) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved backfill sync performance by combining compatible JSON-RPC `eth_getLogs` requests.
236
+
237
+ - [#2362](https://github.com/ponder-sh/ponder/pull/2362) [`34d930a`](https://github.com/ponder-sh/ponder/commit/34d930a3326ab53c746823a5cc221394bec29f03) Thanks [@kyscott18](https://github.com/kyscott18)! - Added validation for `address: []` in `ponder.config.ts`.
238
+
239
+ ## 0.17.5
240
+
241
+ ### Patch Changes
242
+
243
+ - [#2360](https://github.com/ponder-sh/ponder/pull/2360) [`ae44b25`](https://github.com/ponder-sh/ponder/commit/ae44b258f9d9b901f5a0498f5f589e33ed9cf1b9) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused historical sync to request transaction receipts for logs with a zero transaction hash when `includeTransactionReceipts` was enabled.
244
+
245
+ ## 0.17.4
246
+
247
+ ### Patch Changes
248
+
249
+ - [#2353](https://github.com/ponder-sh/ponder/pull/2353) [`a0a91c3`](https://github.com/ponder-sh/ponder/commit/a0a91c33039ec4d29173af22f59394cfc2c346c2) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved indexing performance by batching internal metrics updates.
250
+
251
+ - [#2356](https://github.com/ponder-sh/ponder/pull/2356) [`13d34ee`](https://github.com/ponder-sh/ponder/commit/13d34ee70f45117636a4dfa7e7a74e3a7d195462) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved indexing performance by using schema-aware copying.
252
+
253
+ - [#2355](https://github.com/ponder-sh/ponder/pull/2355) [`d34cf7e`](https://github.com/ponder-sh/ponder/commit/d34cf7e56579001ec1a814a974444a11f18adb1b) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved indexing performance by normalizing only changed row fields during updates.
254
+
255
+ - [#2352](https://github.com/ponder-sh/ponder/pull/2352) [`0183ecc`](https://github.com/ponder-sh/ponder/commit/0183eccf50e72be5ad5a321a0ad436649d5fbb50) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved indexing performance by reducing copy-on-write row memory usage.
256
+
257
+ ## 0.17.3
258
+
259
+ ### Patch Changes
260
+
261
+ - [#2350](https://github.com/ponder-sh/ponder/pull/2350) [`80dd936`](https://github.com/ponder-sh/ponder/commit/80dd936636c65ed199202ae2dd3e2bc81c33e252) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused realtime sync to retain unfiltered block transactions in memory until finalization. Memory usage for live indexing improved >10%.
262
+
263
+ ## 0.17.2
264
+
265
+ ### Patch Changes
266
+
267
+ - [#2341](https://github.com/ponder-sh/ponder/pull/2341) [`702d406`](https://github.com/ponder-sh/ponder/commit/702d406aa612bd0867e83fab3be5743ce5f0fdeb) Thanks [@hellowodl](https://github.com/hellowodl)! - Fixed a bug that caused rows returned by `context.db.find()`, `context.db.insert()`, and `context.db.update()` to be mutated by subsequent writes to the same row.
268
+
269
+ - [#2347](https://github.com/ponder-sh/ponder/pull/2347) [`55643fd`](https://github.com/ponder-sh/ponder/commit/55643fd33fb965fc795d27965184841128c648e7) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused realtime-discovered factory child addresses to be omitted from `ponder_sync.factory_addresses` when a factory was shared across multiple event handlers.
270
+
271
+ ## 0.17.1
272
+
273
+ ### Patch Changes
274
+
275
+ - [#2338](https://github.com/ponder-sh/ponder/pull/2338) [`1aedab8`](https://github.com/ponder-sh/ponder/commit/1aedab815eb4e304b9c0a928e014307c5d71e333) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved sync performance by removing redundant block range constraints from event queries.
276
+
277
+ ## 0.17.0
278
+
279
+ ### Minor Changes
280
+
281
+ - [#2332](https://github.com/ponder-sh/ponder/pull/2332) [`5075dc1`](https://github.com/ponder-sh/ponder/commit/5075dc1251f1253457c60ad8c9a722229a19cd30) Thanks [@kyscott18](https://github.com/kyscott18)! - Updated the minimum supported `viem` version to `2.35.0` for ENSv2 Universal Resolver support.
282
+
283
+ - [#2332](https://github.com/ponder-sh/ponder/pull/2332) [`5075dc1`](https://github.com/ponder-sh/ponder/commit/5075dc1251f1253457c60ad8c9a722229a19cd30) Thanks [@kyscott18](https://github.com/kyscott18)! - Added support for co-located test files in the indexing directory. Files matching `*.test.{ts,js,mts,mjs}` and `*.spec.{ts,js,mts,mjs}` are now ignored when loading indexing functions.
284
+
285
+ - [#2332](https://github.com/ponder-sh/ponder/pull/2332) [`5075dc1`](https://github.com/ponder-sh/ponder/commit/5075dc1251f1253457c60ad8c9a722229a19cd30) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that caused apps with factories to miss historical events after updating factory config. Affected apps that updated from `v0.14` will refetch block data automatically.
286
+
287
+ - [#2332](https://github.com/ponder-sh/ponder/pull/2332) [`5075dc1`](https://github.com/ponder-sh/ponder/commit/5075dc1251f1253457c60ad8c9a722229a19cd30) Thanks [@kyscott18](https://github.com/kyscott18)! - Updated the minimum supported TypeScript version to `5.4.0`. Newly created Ponder projects now use TypeScript `5.4.0`.
288
+
289
+ - [#2332](https://github.com/ponder-sh/ponder/pull/2332) [`5075dc1`](https://github.com/ponder-sh/ponder/commit/5075dc1251f1253457c60ad8c9a722229a19cd30) Thanks [@kyscott18](https://github.com/kyscott18)! - Updated the minimum required Node.js version from `18.14` to `22`. Running `ponder dev`, `ponder start`, `ponder serve`, `ponder codegen`, or `create-bponder` on older Node.js versions now exits with the error `Invalid Node.js version`.
290
+
291
+ ### Patch Changes
292
+
293
+ - [#2332](https://github.com/ponder-sh/ponder/pull/2332) [`5075dc1`](https://github.com/ponder-sh/ponder/commit/5075dc1251f1253457c60ad8c9a722229a19cd30) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that mutated the PGlite `dataDir` option when using the in-memory database.
294
+
295
+ - [#2332](https://github.com/ponder-sh/ponder/pull/2332) [`5075dc1`](https://github.com/ponder-sh/ponder/commit/5075dc1251f1253457c60ad8c9a722229a19cd30) Thanks [@kyscott18](https://github.com/kyscott18)! - Removed anonymous telemetry collection from Ponder.
296
+
297
+ - Updated dependencies [[`5075dc1`](https://github.com/ponder-sh/ponder/commit/5075dc1251f1253457c60ad8c9a722229a19cd30), [`5075dc1`](https://github.com/ponder-sh/ponder/commit/5075dc1251f1253457c60ad8c9a722229a19cd30)]:
298
+ - bponder-utils@0.3.0
299
+
300
+ ## 0.16.10
301
+
302
+ ### Patch Changes
303
+
304
+ - [#2325](https://github.com/ponder-sh/ponder/pull/2325) [`18b2bb2`](https://github.com/ponder-sh/ponder/commit/18b2bb2371c2236a724cef1eecd6e6469635b3ac) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug that could cause incorrect indexed data when a database error occurs during live indexing.
305
+
306
+ ## 0.16.9
307
+
308
+ ### Patch Changes
309
+
310
+ - [#2323](https://github.com/ponder-sh/ponder/pull/2323) [`dee28aa`](https://github.com/ponder-sh/ponder/commit/dee28aa570cc457737a29508c9e7ded4d2431f5e) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed a bug with `p.bytes()` bytea encoding when flushing rows to Postgres with COPY that caused `DelayedInsertError: invalid byte sequence for encoding "UTF8": 0x00`.
311
+
312
+ ## 0.16.8
313
+
314
+ ### Patch Changes
315
+
316
+ - [#2317](https://github.com/ponder-sh/ponder/pull/2317) [`00b5073`](https://github.com/ponder-sh/ponder/commit/00b5073531ed439c505a907e88277fa0c7848b26) Thanks [@kyscott18](https://github.com/kyscott18)! - Fix realtime log syncing on async-execution chains with stale logs blooms.
317
+
318
+ ## 0.16.7
319
+
320
+ ### Patch Changes
321
+
322
+ - [#2314](https://github.com/ponder-sh/ponder/pull/2314) [`6ad8b87`](https://github.com/ponder-sh/ponder/commit/6ad8b8709872fc7482e8710b9302c8e0061f588d) Thanks [@kyscott18](https://github.com/kyscott18)! - Updated live query notification to support more than 100 tables. Table count limit (100) is no longer enforced.
323
+
324
+ ## 0.16.6
325
+
326
+ ### Patch Changes
327
+
328
+ - [#2247](https://github.com/ponder-sh/ponder/pull/2247) [`51f9978`](https://github.com/ponder-sh/ponder/commit/51f99780cdaa8b33cc9def84607fb7a704fcac3c) Thanks [@typedarray](https://github.com/typedarray)! - Fixed an issue where string values would sometimes be truncated in critical error messages.
329
+
330
+ - [#2290](https://github.com/ponder-sh/ponder/pull/2290) [`eeeae47`](https://github.com/ponder-sh/ponder/commit/eeeae472d698fa313711e393250c1b20cb22b3ee) Thanks [@kyscott18](https://github.com/kyscott18)! - Added case-insensitive GraphQL string filters: `contains_nocase`, `not_contains_nocase`,
331
+ `starts_with_nocase`, `not_starts_with_nocase`, `ends_with_nocase`, and
332
+ `not_ends_with_nocase`.
333
+
334
+ ## 0.16.5
335
+
336
+ ### Patch Changes
337
+
338
+ - [#2287](https://github.com/ponder-sh/ponder/pull/2287) [`b7a0a0b`](https://github.com/ponder-sh/ponder/commit/b7a0a0b8d41f84dcaedcc4696618c5e209440072) Thanks [@kyscott18](https://github.com/kyscott18)! - Include `tsconfig.json` as part of NPM payload.
339
+
340
+ - Updated dependencies [[`b7a0a0b`](https://github.com/ponder-sh/ponder/commit/b7a0a0b8d41f84dcaedcc4696618c5e209440072)]:
341
+ - bponder-utils@0.2.18
342
+
343
+ ## 0.16.4
344
+
345
+ ### Patch Changes
346
+
347
+ - [#2283](https://github.com/ponder-sh/ponder/pull/2283) [`df46917`](https://github.com/ponder-sh/ponder/commit/df469170c804ec023f0ba5fdb6614671831893ef) Thanks [@kyscott18](https://github.com/kyscott18)! - Added `location` as a low-level alternative to `parameter` in factory config for specifying the child address position in the event.
348
+
349
+ ## 0.16.3
350
+
351
+ ### Patch Changes
352
+
353
+ - [#2260](https://github.com/ponder-sh/ponder/pull/2260) [`a859d3f`](https://github.com/ponder-sh/ponder/commit/a859d3f424f52c44b720be8fe1f85633671bd713) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed type exports for `factory`.
354
+
355
+ ## 0.16.2
356
+
357
+ ### Patch Changes
358
+
359
+ - [#2255](https://github.com/ponder-sh/ponder/pull/2255) [`dbd82e3`](https://github.com/ponder-sh/ponder/commit/dbd82e38f0c88ed48a84d802b788d5186e3e3008) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved handling of large `eth_getLogs` responses. Fixed "Maximum call stack size exceeded".
360
+
361
+ ## 0.16.1
362
+
363
+ ### Patch Changes
364
+
365
+ - [#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).
366
+
367
+ ## 0.16.0
368
+
369
+ ### Minor Changes
370
+
371
+ - [#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.
372
+
373
+ ### Patch Changes
374
+
375
+ - [#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`.
376
+
377
+ - [#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.
378
+
379
+ - [#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`.
380
+
381
+ ## 0.15.18
382
+
383
+ ### Patch Changes
384
+
385
+ - [#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`.
386
+
387
+ - Updated dependencies [[`9c36e5e`](https://github.com/ponder-sh/ponder/commit/9c36e5ef3c39f9d8ec2debf10fa2a04aacc7841f)]:
388
+ - bponder-utils@0.2.17
389
+
390
+ ## 0.15.17
391
+
392
+ ### Patch Changes
393
+
394
+ - [#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.
395
+
396
+ ## 0.15.16
397
+
398
+ ### Patch Changes
399
+
400
+ - [#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`.
401
+
402
+ ## 0.15.15
403
+
404
+ ### Patch Changes
405
+
406
+ - [#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)`.
407
+
408
+ ## 0.15.14
409
+
410
+ ### Patch Changes
411
+
412
+ - [#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.
413
+
414
+ ## 0.15.13
415
+
416
+ ### Patch Changes
417
+
418
+ - [#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`.
419
+
420
+ ## 0.15.12
421
+
422
+ ### Patch Changes
423
+
424
+ - [`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.
425
+
426
+ ## 0.15.11
427
+
428
+ ### Patch Changes
429
+
430
+ - [#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`.
431
+
432
+ ## 0.15.10
433
+
434
+ ### Patch Changes
435
+
436
+ - [#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.
437
+
438
+ ## 0.15.9
439
+
440
+ ### Patch Changes
441
+
442
+ - [#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`.
443
+
444
+ ## 0.15.8
445
+
446
+ ### Patch Changes
447
+
448
+ - [#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"`.
449
+
450
+ ## 0.15.7
451
+
452
+ ### Patch Changes
453
+
454
+ - [#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.
455
+
456
+ ## 0.15.6
457
+
458
+ ## 0.15.5
459
+
460
+ ### Patch Changes
461
+
462
+ - [`2d1b0af`](https://github.com/ponder-sh/ponder/commit/2d1b0af849dcb3347239e86bb684f042cc9081f0) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved JSON-RPC response validation errors.
463
+
464
+ ## 0.15.4
465
+
466
+ ### Patch Changes
467
+
468
+ - [#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`.
469
+
470
+ ## 0.15.3
471
+
472
+ ### Patch Changes
473
+
474
+ - [#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.
475
+
476
+ - [#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"`.
477
+
478
+ - [#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.
479
+
480
+ - [#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"`.
481
+
482
+ ## 0.15.2
483
+
484
+ ### Patch Changes
485
+
486
+ - [#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).
487
+
488
+ ## 0.15.1
489
+
490
+ ### Patch Changes
491
+
492
+ - Updated dependencies [[`ecd8bff`](https://github.com/ponder-sh/ponder/commit/ecd8bff9c42463be84a27cc64bcbb09eff8359c7)]:
493
+ - bponder-utils@0.2.16
494
+
495
+ ## 0.15.0
496
+
497
+ ### Minor Changes
498
+
499
+ - [#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.
500
+
501
+ ### Patch Changes
502
+
503
+ - [#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.
504
+
505
+ - [#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.
506
+
507
+ - [#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.
508
+
509
+ - [#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.
510
+
511
+ ## 0.14.13
512
+
513
+ ### Patch Changes
514
+
515
+ - [#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.
516
+
517
+ ## 0.14.12
518
+
519
+ ### Patch Changes
520
+
521
+ - [#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`.
522
+
523
+ ## 0.14.11
524
+
525
+ ### Patch Changes
526
+
527
+ - Updated dependencies [[`ac518fc`](https://github.com/ponder-sh/ponder/commit/ac518fc3ed32a7d41f7b6e625eb72d2a8b665f7b)]:
528
+ - bponder-utils@0.2.15
529
+
530
+ ## 0.14.10
531
+
532
+ ### Patch Changes
533
+
534
+ - [#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.
535
+
536
+ ## 0.14.9
537
+
538
+ ### Patch Changes
539
+
540
+ - [#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`.
541
+
542
+ ## 0.14.8
543
+
544
+ ### Patch Changes
545
+
546
+ - [#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`.
547
+
548
+ ## 0.14.7
549
+
550
+ ### Patch Changes
551
+
552
+ - [#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`.
553
+
554
+ ## 0.14.6
555
+
556
+ ### Patch Changes
557
+
558
+ - [#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.
559
+
560
+ - [#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.
561
+
562
+ ## 0.14.5
563
+
564
+ ### Patch Changes
565
+
566
+ - [#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.
567
+
568
+ ## 0.14.4
569
+
570
+ ### Patch Changes
571
+
572
+ - [#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`.
573
+
574
+ ## 0.14.3
575
+
576
+ ### Patch Changes
577
+
578
+ - [#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.
579
+
580
+ ## 0.14.2
581
+
582
+ ### Patch Changes
583
+
584
+ - [`3b6901f`](https://github.com/ponder-sh/ponder/commit/3b6901fc0601a60a235382728447bf0c7e3a61ee) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed `ponder_realtime_latency` metric.
585
+
586
+ - [`3b6901f`](https://github.com/ponder-sh/ponder/commit/3b6901fc0601a60a235382728447bf0c7e3a61ee) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved performance of live indexing.
587
+
588
+ - [#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 `bponder-client` query parsing.
589
+
590
+ - [`3b6901f`](https://github.com/ponder-sh/ponder/commit/3b6901fc0601a60a235382728447bf0c7e3a61ee) Thanks [@kyscott18](https://github.com/kyscott18)! - Added query caching for `client` middleware.
591
+
592
+ - [#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.
593
+
594
+ ## 0.14.1
595
+
596
+ ### Patch Changes
597
+
598
+ - [#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')`.
599
+
600
+ - [#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`.
601
+
602
+ ## 0.14.0
603
+
604
+ ### Minor Changes
605
+
606
+ - [#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.
607
+
608
+ ### Patch Changes
609
+
610
+ - [#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.
611
+
612
+ - [#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.
613
+
614
+ - [#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.
615
+
616
+ ## 0.13.14
617
+
618
+ ### Patch Changes
619
+
620
+ - [#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"`.
621
+
622
+ ## 0.13.13
623
+
624
+ ### Patch Changes
625
+
626
+ - [#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.
627
+
628
+ ## 0.13.12
629
+
630
+ ### Patch Changes
631
+
632
+ - [#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.
633
+
634
+ ## 0.13.11
635
+
636
+ ### Patch Changes
637
+
638
+ - [#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`.
639
+
640
+ - [#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.
641
+
642
+ ## 0.13.10
643
+
644
+ ### Patch Changes
645
+
646
+ - Updated dependencies [[`9cdb708`](https://github.com/ponder-sh/ponder/commit/9cdb70825814cca82cb0a9b4e4d36a4701b74516)]:
647
+ - bponder-utils@0.2.14
648
+
649
+ ## 0.13.9
650
+
651
+ ### Patch Changes
652
+
653
+ - [#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.
654
+
655
+ ## 0.13.8
656
+
657
+ ### Patch Changes
658
+
659
+ - [#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.
660
+
661
+ - [#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.
662
+
663
+ - [#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.
664
+
665
+ - [#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`.
666
+
667
+ - [`3021a91`](https://github.com/ponder-sh/ponder/commit/3021a91887d0a1afdfc840ca8b8ff3862361303e) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved `client.db` reliability.
668
+
669
+ ## 0.13.7
670
+
671
+ ### Patch Changes
672
+
673
+ - [#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]`.
674
+
675
+ ## 0.13.6
676
+
677
+ ### Patch Changes
678
+
679
+ - [#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.
680
+
681
+ ## 0.13.5
682
+
683
+ ### Patch Changes
684
+
685
+ - [`54e56d2`](https://github.com/ponder-sh/ponder/commit/54e56d2f4ad24ef7e4e3b81882884e514b19bf60) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved realtime sync error handling.
686
+
687
+ ## 0.13.4
688
+
689
+ ### Patch Changes
690
+
691
+ - [#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.
692
+
693
+ ## 0.13.3
694
+
695
+ ### Patch Changes
696
+
697
+ - [#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.
698
+
699
+ ## 0.13.2
700
+
701
+ ### Patch Changes
702
+
703
+ - Updated dependencies [[`3176395`](https://github.com/ponder-sh/ponder/commit/3176395493a702b34e42ec5fe16895afb7cef8ae)]:
704
+ - bponder-utils@0.2.13
705
+
706
+ ## 0.13.1
707
+
708
+ ### Patch Changes
709
+
710
+ - [#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.
711
+
712
+ ## 0.13.0
713
+
714
+ ### Minor Changes
715
+
716
+ - [#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.
717
+
718
+ ## 0.12.26
719
+
720
+ ### Patch Changes
721
+
722
+ - [#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"`.
723
+
724
+ ## 0.12.25
725
+
726
+ ### Patch Changes
727
+
728
+ - [#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`.
729
+
730
+ ## 0.12.24
731
+
732
+ ### Patch Changes
733
+
734
+ - [#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"`.
735
+
736
+ ## 0.12.23
737
+
738
+ ### Patch Changes
739
+
740
+ - [#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 ")"`.
741
+
742
+ ## 0.12.22
743
+
744
+ ### Patch Changes
745
+
746
+ - [#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`.
747
+
748
+ ## 0.12.21
749
+
750
+ ### Patch Changes
751
+
752
+ - [#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.
753
+
754
+ ## 0.12.20
755
+
756
+ ### Patch Changes
757
+
758
+ - [#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.
759
+
760
+ ## 0.12.19
761
+
762
+ ### Patch Changes
763
+
764
+ - [#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`.
765
+
766
+ ## 0.12.18
767
+
768
+ ### Patch Changes
769
+
770
+ - Updated dependencies [[`5de9cc0`](https://github.com/ponder-sh/ponder/commit/5de9cc0de28711b3e1d1e36a7ae60c83eb7fed39)]:
771
+ - bponder-utils@0.2.12
772
+
773
+ ## 0.12.17
774
+
775
+ ### Patch Changes
776
+
777
+ - [#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 `bponder-client` query allow list.
778
+
779
+ ## 0.12.16
780
+
781
+ ### Patch Changes
782
+
783
+ - [#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 `bponder-client` queries with window defintions. Fixed the error `WindowDef not supported`.
784
+
785
+ ## 0.12.15
786
+
787
+ ### Patch Changes
788
+
789
+ - [#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.
790
+
791
+ ## 0.12.14
792
+
793
+ ### Patch Changes
794
+
795
+ - [#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.
796
+
797
+ ## 0.12.13
798
+
799
+ ### Patch Changes
800
+
801
+ - [#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.
802
+
803
+ ## 0.12.12
804
+
805
+ ### Patch Changes
806
+
807
+ - [#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.
808
+
809
+ - [#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.
810
+
811
+ ## 0.12.11
812
+
813
+ ### Patch Changes
814
+
815
+ - [`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.
816
+
817
+ ## 0.12.10
818
+
819
+ ### Patch Changes
820
+
821
+ - [`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.
822
+
823
+ ## 0.12.9
824
+
825
+ ### Patch Changes
826
+
827
+ - [#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`.
828
+
829
+ ## 0.12.8
830
+
831
+ ### Patch Changes
832
+
833
+ - Updated dependencies [[`5e6f338`](https://github.com/ponder-sh/ponder/commit/5e6f3380a6a78b800dd4c31dd3e3ddc6cc772eab)]:
834
+ - bponder-utils@0.2.11
835
+
836
+ ## 0.12.7
837
+
838
+ ### Patch Changes
839
+
840
+ - [#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.
841
+
842
+ ## 0.12.6
843
+
844
+ ### Patch Changes
845
+
846
+ - [#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.
847
+
848
+ ## 0.12.5
849
+
850
+ ### Patch Changes
851
+
852
+ - [#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.
853
+
854
+ ## 0.12.4
855
+
856
+ ### Patch Changes
857
+
858
+ - [#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.
859
+
860
+ - [#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"`.
861
+
862
+ ## 0.12.3
863
+
864
+ ### Patch Changes
865
+
866
+ - [#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`.
867
+
868
+ ## 0.12.2
869
+
870
+ ### Patch Changes
871
+
872
+ - [#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`.
873
+
874
+ ## 0.12.1
875
+
876
+ ### Patch Changes
877
+
878
+ - [#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.
879
+
880
+ ## 0.12.0
881
+
882
+ ### Minor Changes
883
+
884
+ - [#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.
885
+
886
+ ### Patch Changes
887
+
888
+ - [#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.
889
+
890
+ ## 0.11.43
891
+
892
+ ### Patch Changes
893
+
894
+ - Updated dependencies [[`f1df991`](https://github.com/ponder-sh/ponder/commit/f1df991ca83d934568289fc6c117c650d60066ad)]:
895
+ - bponder-utils@0.2.10
896
+
897
+ ## 0.11.42
898
+
899
+ ### Patch Changes
900
+
901
+ - [#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`.
902
+
903
+ ## 0.11.41
904
+
905
+ ### Patch Changes
906
+
907
+ - [`2b26106`](https://github.com/ponder-sh/ponder/commit/2b261068233b9652408557b53183d65a9a134062) Thanks [@typedarray](https://github.com/typedarray)! - Improved reliability for WebSocket RPC requests.
908
+
909
+ ## 0.11.40
910
+
911
+ ### Patch Changes
912
+
913
+ - [#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`.
914
+
915
+ - [#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.
916
+
917
+ ## 0.11.39
918
+
919
+ ### Patch Changes
920
+
921
+ - [#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`.
922
+
923
+ ## 0.11.38
924
+
925
+ ### Patch Changes
926
+
927
+ - [#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 `bponder-client` to use the `/status` path with a "GET" request.
928
+
929
+ ## 0.11.37
930
+
931
+ ### Patch Changes
932
+
933
+ - [#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.
934
+
935
+ ## 0.11.36
936
+
937
+ ### Patch Changes
938
+
939
+ - [#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()`.
940
+
941
+ This option specifies whether to retry the action if the response is empty. Default to `true`.
942
+
943
+ ## 0.11.35
944
+
945
+ ### Patch Changes
946
+
947
+ - [#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`.
948
+
949
+ - [#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.
950
+
951
+ ## 0.11.34
952
+
953
+ ### Patch Changes
954
+
955
+ - [#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.
956
+
957
+ To remove incorrect cached rpc respones, run the SQL statement: `DELETE FROM ponder_sync.rpc_request_results WHERE result = 'null'`;
958
+
959
+ ## 0.11.33
960
+
961
+ ### Patch Changes
962
+
963
+ - [#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).
964
+
965
+ ## 0.11.32
966
+
967
+ ### Patch Changes
968
+
969
+ - [#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.
970
+
971
+ ## 0.11.31
972
+
973
+ ### Patch Changes
974
+
975
+ - [#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`.
976
+
977
+ ## 0.11.30
978
+
979
+ ## 0.11.29
980
+
981
+ ### Patch Changes
982
+
983
+ - [#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`.
984
+
985
+ ## 0.11.28
986
+
987
+ ### Patch Changes
988
+
989
+ - [#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.
990
+
991
+ - [#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.
992
+
993
+ ## 0.11.27
994
+
995
+ ### Patch Changes
996
+
997
+ - Updated dependencies [[`9d9c4b9`](https://github.com/ponder-sh/ponder/commit/9d9c4b9ca8516388874a246d7b9d179ab0fd861f)]:
998
+ - bponder-utils@0.2.9
999
+
1000
+ ## 0.11.26
1001
+
1002
+ ### Patch Changes
1003
+
1004
+ - [#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
1005
+
1006
+ ## 0.11.25
1007
+
1008
+ ### Patch Changes
1009
+
1010
+ - [#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.
1011
+
1012
+ ## 0.11.24
1013
+
1014
+ ### Patch Changes
1015
+
1016
+ - [#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.
1017
+
1018
+ - [#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.
1019
+
1020
+ - [#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.
1021
+
1022
+ - [#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.
1023
+
1024
+ ## 0.11.23
1025
+
1026
+ ### Patch Changes
1027
+
1028
+ - [#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
1029
+
1030
+ ## 0.11.22
1031
+
1032
+ ### Patch Changes
1033
+
1034
+ - [#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.
1035
+
1036
+ ## 0.11.21
1037
+
1038
+ ### Patch Changes
1039
+
1040
+ - [#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.
1041
+
1042
+ - [#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.
1043
+
1044
+ ## 0.11.20
1045
+
1046
+ ### Patch Changes
1047
+
1048
+ - [#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`.
1049
+
1050
+ ## 0.11.19
1051
+
1052
+ ### Patch Changes
1053
+
1054
+ - [#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 `bponder-client` and `bponder-react` introduced in `v0.11.0`.
1055
+
1056
+ ## 0.11.18
1057
+
1058
+ ### Patch Changes
1059
+
1060
+ - [#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.
1061
+
1062
+ ## 0.11.17
1063
+
1064
+ ### Patch Changes
1065
+
1066
+ - [#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.
1067
+
1068
+ ## 0.11.16
1069
+
1070
+ ### Patch Changes
1071
+
1072
+ - [#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.
1073
+
1074
+ ## 0.11.15
1075
+
1076
+ ### Patch Changes
1077
+
1078
+ - [#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.
1079
+
1080
+ - [#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.
1081
+
1082
+ - [#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.
1083
+
1084
+ ## 0.11.14
1085
+
1086
+ ### Patch Changes
1087
+
1088
+ - [#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.
1089
+
1090
+ ## 0.11.13
1091
+
1092
+ ### Patch Changes
1093
+
1094
+ - [#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]""`.
1095
+
1096
+ ## 0.11.12
1097
+
1098
+ ### Patch Changes
1099
+
1100
+ - [#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`.
1101
+
1102
+ - [`cd73809`](https://github.com/ponder-sh/ponder/commit/cd738099818d186c72b13cd8d5fc5d64016b0600) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved `db.sql` performance.
1103
+
1104
+ - [#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.
1105
+
1106
+ - [#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.
1107
+
1108
+ - [#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`.
1109
+
1110
+ - [#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.
1111
+
1112
+ ## 0.11.11
1113
+
1114
+ ### Patch Changes
1115
+
1116
+ - [#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.
1117
+
1118
+ - [#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.
1119
+
1120
+ ## 0.11.10
1121
+
1122
+ ### Patch Changes
1123
+
1124
+ - Updated dependencies [[`58cb1c5`](https://github.com/ponder-sh/ponder/commit/58cb1c5ab6c867bbf8e86b28cb8848607282166b)]:
1125
+ - bponder-utils@0.2.8
1126
+
1127
+ ## 0.11.9
1128
+
1129
+ ### Patch Changes
1130
+
1131
+ - [#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()`.
1132
+
1133
+ - [#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.
1134
+
1135
+ - [#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.
1136
+
1137
+ ## 0.11.8
1138
+
1139
+ ### Patch Changes
1140
+
1141
+ - [#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.
1142
+
1143
+ ## 0.11.7
1144
+
1145
+ ### Patch Changes
1146
+
1147
+ - [#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.
1148
+
1149
+ - [#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.
1150
+
1151
+ - [#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.
1152
+
1153
+ - [#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.
1154
+
1155
+ - [#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.
1156
+
1157
+ ## 0.11.6
1158
+
1159
+ ### Patch Changes
1160
+
1161
+ - [#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.
1162
+
1163
+ - [#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.
1164
+
1165
+ ## 0.11.5
1166
+
1167
+ ### Patch Changes
1168
+
1169
+ - [#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.
1170
+
1171
+ ## 0.11.4
1172
+
1173
+ ### Patch Changes
1174
+
1175
+ - [#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`.
1176
+
1177
+ ## 0.11.3
1178
+
1179
+ ### Patch Changes
1180
+
1181
+ - [#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`.
1182
+
1183
+ ## 0.11.2
1184
+
1185
+ ### Patch Changes
1186
+
1187
+ - [#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.
1188
+
1189
+ ## 0.11.1
1190
+
1191
+ ### Patch Changes
1192
+
1193
+ - Updated dependencies [[`5507be933867f74b16db6e842897b6545f2e7567`](https://github.com/ponder-sh/ponder/commit/5507be933867f74b16db6e842897b6545f2e7567)]:
1194
+ - bponder-utils@0.2.7
1195
+
1196
+ ## 0.11.0
1197
+
1198
+ ### Minor Changes
1199
+
1200
+ - [#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.
1201
+
1202
+ ## 0.10.27
1203
+
1204
+ ### Patch Changes
1205
+
1206
+ - [#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".
1207
+
1208
+ ## 0.10.26
1209
+
1210
+ ### Patch Changes
1211
+
1212
+ - [#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.
1213
+
1214
+ ## 0.10.25
1215
+
1216
+ ### Patch Changes
1217
+
1218
+ - [#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.
1219
+
1220
+ ## 0.10.24
1221
+
1222
+ ### Patch Changes
1223
+
1224
+ - [#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.
1225
+
1226
+ ## 0.10.23
1227
+
1228
+ ### Patch Changes
1229
+
1230
+ - [#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.
1231
+
1232
+ Any users that were affected by this bug can removed corrupted `ponder_sync` rows with the query:
1233
+
1234
+ ```sql
1235
+ DELETE FROM ponder_sync.intervals WHERE fragment_id like '%offset%' OR fragment_id like '%topic%';
1236
+ ```
1237
+
1238
+ - [#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.
1239
+
1240
+ - [#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.
1241
+
1242
+ ## 0.10.22
1243
+
1244
+ ### Patch Changes
1245
+
1246
+ - Updated dependencies [[`27886fef0788e7ee1c25221087ecd6af05ea6197`](https://github.com/ponder-sh/ponder/commit/27886fef0788e7ee1c25221087ecd6af05ea6197)]:
1247
+ - bponder-utils@0.2.6
1248
+
1249
+ ## 0.10.21
1250
+
1251
+ ### Patch Changes
1252
+
1253
+ - Updated dependencies [[`e9b0fb99772baff7d3008a9dd1c8383e6182df59`](https://github.com/ponder-sh/ponder/commit/e9b0fb99772baff7d3008a9dd1c8383e6182df59)]:
1254
+ - bponder-utils@0.2.5
1255
+
1256
+ ## 0.10.20
1257
+
1258
+ ### Patch Changes
1259
+
1260
+ - [#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 `bponder-client` queries using `findMany` or `findFirst` that include the `with` option (relational queries).
1261
+
1262
+ - Updated dependencies [[`4157106917d81df2809616a19297c7e80a70f1f5`](https://github.com/ponder-sh/ponder/commit/4157106917d81df2809616a19297c7e80a70f1f5)]:
1263
+ - bponder-utils@0.2.4
1264
+
1265
+ ## 0.10.19
1266
+
1267
+ ### Patch Changes
1268
+
1269
+ - [#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`.
1270
+
1271
+ ## 0.10.18
1272
+
1273
+ ### Patch Changes
1274
+
1275
+ - [#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.
1276
+
1277
+ - [#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.
1278
+
1279
+ ## 0.10.17
1280
+
1281
+ ### Patch Changes
1282
+
1283
+ - [#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.
1284
+
1285
+ - [#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`.
1286
+
1287
+ ## 0.10.16
1288
+
1289
+ ### Patch Changes
1290
+
1291
+ - [`6b8cc2d5bdcbc0c7f2fe048cac4353eed79f180a`](https://github.com/ponder-sh/ponder/commit/6b8cc2d5bdcbc0c7f2fe048cac4353eed79f180a) Thanks [@kyscott18](https://github.com/kyscott18)! - Improved realtime sync robustness against unrecoverable reorgs.
1292
+
1293
+ ## 0.10.15
1294
+
1295
+ ### Patch Changes
1296
+
1297
+ - [#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.
1298
+
1299
+ - [#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.
1300
+
1301
+ - [#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.
1302
+
1303
+ - [#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.
1304
+
1305
+ ## 0.10.14
1306
+
1307
+ ### Patch Changes
1308
+
1309
+ - [#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".
1310
+
1311
+ ## 0.10.13
1312
+
1313
+ ### Patch Changes
1314
+
1315
+ - [#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.
1316
+
1317
+ ## 0.10.12
1318
+
1319
+ ### Patch Changes
1320
+
1321
+ - [#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"}"`.
1322
+
1323
+ ## 0.10.11
1324
+
1325
+ ### Patch Changes
1326
+
1327
+ - [#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.
1328
+
1329
+ ## 0.10.10
1330
+
1331
+ ### Patch Changes
1332
+
1333
+ - [#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.
1334
+
1335
+ ## 0.10.9
1336
+
1337
+ ### Patch Changes
1338
+
1339
+ - [#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".
1340
+
1341
+ - [#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.
1342
+
1343
+ ## 0.10.8
1344
+
1345
+ ### Patch Changes
1346
+
1347
+ - [#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.
1348
+
1349
+ ## 0.10.7
1350
+
1351
+ ### Patch Changes
1352
+
1353
+ - [#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.
1354
+
1355
+ - [#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.
1356
+
1357
+ ## 0.10.6
1358
+
1359
+ ### Patch Changes
1360
+
1361
+ - [#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.
1362
+
1363
+ - [#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.
1364
+
1365
+ - [#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.
1366
+
1367
+ ## 0.10.5
1368
+
1369
+ ### Patch Changes
1370
+
1371
+ - [#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()`.
1372
+
1373
+ ## 0.10.4
1374
+
1375
+ ### Patch Changes
1376
+
1377
+ - [#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.
1378
+
1379
+ - [#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.
1380
+
1381
+ ## 0.10.3
1382
+
1383
+ ### Patch Changes
1384
+
1385
+ - [#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.
1386
+
1387
+ - [#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.
1388
+
1389
+ - [#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.
1390
+
1391
+ ## 0.10.2
1392
+
1393
+ ### Patch Changes
1394
+
1395
+ - [#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.
1396
+
1397
+ ## 0.10.1
1398
+
1399
+ ### Patch Changes
1400
+
1401
+ - [#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.
1402
+
1403
+ ## 0.10.0
1404
+
1405
+ ### Minor Changes
1406
+
1407
+ - [#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.
1408
+
1409
+ ### Patch Changes
1410
+
1411
+ - [#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.
1412
+
1413
+ - [#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.
1414
+
1415
+ - [#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.
1416
+
1417
+ ## 0.9.28
1418
+
1419
+ ### Patch Changes
1420
+
1421
+ - [#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.
1422
+
1423
+ - [#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.
1424
+
1425
+ ## 0.9.27
1426
+
1427
+ ### Patch Changes
1428
+
1429
+ - [#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.
1430
+
1431
+ ## 0.9.26
1432
+
1433
+ ### Patch Changes
1434
+
1435
+ - [#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.
1436
+
1437
+ - [#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.
1438
+
1439
+ ## 0.9.25
1440
+
1441
+ ### Patch Changes
1442
+
1443
+ - [#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.
1444
+
1445
+ ## 0.9.24
1446
+
1447
+ ### Patch Changes
1448
+
1449
+ - [#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.
1450
+
1451
+ ## 0.9.23
1452
+
1453
+ ### Patch Changes
1454
+
1455
+ - [#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.
1456
+
1457
+ - [#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 `bponder-client` in browser environments.
1458
+
1459
+ ## 0.9.22
1460
+
1461
+ ### Patch Changes
1462
+
1463
+ - [#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.
1464
+
1465
+ ## 0.9.21
1466
+
1467
+ ### Patch Changes
1468
+
1469
+ - [#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"`.
1470
+
1471
+ - [#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.
1472
+
1473
+ - [#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.
1474
+
1475
+ ## 0.9.20
1476
+
1477
+ ### Patch Changes
1478
+
1479
+ - [#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.
1480
+
1481
+ - [#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.
1482
+
1483
+ ## 0.9.19
1484
+
1485
+ ### Patch Changes
1486
+
1487
+ - [#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.
1488
+
1489
+ ## 0.9.18
1490
+
1491
+ ### Patch Changes
1492
+
1493
+ - [#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.
1494
+
1495
+ - [#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.
1496
+
1497
+ ## 0.9.17
1498
+
1499
+ ### Patch Changes
1500
+
1501
+ - [#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.
1502
+
1503
+ ## 0.9.16
1504
+
1505
+ ### Patch Changes
1506
+
1507
+ - [#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.
1508
+
1509
+ ## 0.9.15
1510
+
1511
+ ### Patch Changes
1512
+
1513
+ - [#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.
1514
+
1515
+ ## 0.9.14
1516
+
1517
+ ### Patch Changes
1518
+
1519
+ - [#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.
1520
+
1521
+ - [#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.
1522
+
1523
+ ## 0.9.13
1524
+
1525
+ ### Patch Changes
1526
+
1527
+ - [#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.
1528
+
1529
+ ## 0.9.12
1530
+
1531
+ ### Patch Changes
1532
+
1533
+ - [#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()`.
1534
+
1535
+ ## 0.9.11
1536
+
1537
+ ### Patch Changes
1538
+
1539
+ - [#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.
1540
+
1541
+ - [#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 `bponder-client` and `bponder-react`.
1542
+
1543
+ ## 0.9.10
1544
+
1545
+ ### Patch Changes
1546
+
1547
+ - [#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.
1548
+
1549
+ ## 0.9.9
1550
+
1551
+ ### Patch Changes
1552
+
1553
+ - [#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.
1554
+
1555
+ ## 0.9.8
1556
+
1557
+ ### Patch Changes
1558
+
1559
+ - [#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.
1560
+
1561
+ - [#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`.
1562
+
1563
+ ## 0.9.7
1564
+
1565
+ ### Patch Changes
1566
+
1567
+ - [#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.
1568
+
1569
+ ## 0.9.6
1570
+
1571
+ ### Patch Changes
1572
+
1573
+ - [#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.
1574
+
1575
+ ## 0.9.5
1576
+
1577
+ ### Patch Changes
1578
+
1579
+ - [#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`.
1580
+
1581
+ - [#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.
1582
+
1583
+ ## 0.9.4
1584
+
1585
+ ### Patch Changes
1586
+
1587
+ - [#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.
1588
+
1589
+ ## 0.9.3
1590
+
1591
+ ### Patch Changes
1592
+
1593
+ - [#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`.
1594
+
1595
+ - [#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.
1596
+
1597
+ - [#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.
1598
+
1599
+ - [#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).
1600
+
1601
+ ## 0.9.2
1602
+
1603
+ ### Patch Changes
1604
+
1605
+ - [#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`.
1606
+
1607
+ - [`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.
1608
+
1609
+ - [#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.
1610
+
1611
+ ## 0.9.1
1612
+
1613
+ ### Patch Changes
1614
+
1615
+ - [#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`.
1616
+
1617
+ ## 0.9.0
1618
+
1619
+ ### Minor Changes
1620
+
1621
+ - [#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.
1622
+
1623
+ ## 0.8.33
1624
+
1625
+ ### Patch Changes
1626
+
1627
+ - [#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.
1628
+
1629
+ ## 0.8.32
1630
+
1631
+ ### Patch Changes
1632
+
1633
+ - [#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.
1634
+
1635
+ ## 0.8.31
1636
+
1637
+ ### Patch Changes
1638
+
1639
+ - [#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')`.
1640
+
1641
+ ## 0.8.30
1642
+
1643
+ ### Patch Changes
1644
+
1645
+ - [#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.
1646
+
1647
+ ## 0.8.29
1648
+
1649
+ ### Patch Changes
1650
+
1651
+ - [#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.
1652
+
1653
+ ## 0.8.28
1654
+
1655
+ ### Patch Changes
1656
+
1657
+ - [#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.
1658
+
1659
+ ## 0.8.27
1660
+
1661
+ ### Patch Changes
1662
+
1663
+ - [#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.
1664
+
1665
+ ## 0.8.26
1666
+
1667
+ ### Patch Changes
1668
+
1669
+ - [#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.
1670
+
1671
+ ## 0.8.25
1672
+
1673
+ ### Patch Changes
1674
+
1675
+ - [#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.
1676
+
1677
+ ## 0.8.24
1678
+
1679
+ ### Patch Changes
1680
+
1681
+ - [#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.
1682
+
1683
+ ## 0.8.23
1684
+
1685
+ ### Patch Changes
1686
+
1687
+ - [#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 (...)`.
1688
+
1689
+ ## 0.8.22
1690
+
1691
+ ### Patch Changes
1692
+
1693
+ - [#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.
1694
+
1695
+ ## 0.8.21
1696
+
1697
+ ### Patch Changes
1698
+
1699
+ - [#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.
1700
+
1701
+ ## 0.8.20
1702
+
1703
+ ### Patch Changes
1704
+
1705
+ - [`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.
1706
+
1707
+ - [#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.
1708
+
1709
+ ## 0.8.19
1710
+
1711
+ ### Patch Changes
1712
+
1713
+ - [#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`.
1714
+
1715
+ ## 0.8.18
1716
+
1717
+ ### Patch Changes
1718
+
1719
+ - [#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.
1720
+
1721
+ ## 0.8.17
1722
+
1723
+ ### Patch Changes
1724
+
1725
+ - [#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' (...)`.
1726
+
1727
+ ## 0.8.16
1728
+
1729
+ ### Patch Changes
1730
+
1731
+ - [#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 bponder: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://".
1732
+
1733
+ ## 0.8.15
1734
+
1735
+ ### Patch Changes
1736
+
1737
+ - [#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.
1738
+
1739
+ ## 0.8.14
1740
+
1741
+ ### Patch Changes
1742
+
1743
+ - [#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.
1744
+
1745
+ ## 0.8.13
1746
+
1747
+ ### Patch Changes
1748
+
1749
+ - [#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`.
1750
+
1751
+ ## 0.8.12
1752
+
1753
+ ### Patch Changes
1754
+
1755
+ - [#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.
1756
+
1757
+ ## 0.8.11
1758
+
1759
+ ### Patch Changes
1760
+
1761
+ - [#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.
1762
+
1763
+ ## 0.8.10
1764
+
1765
+ ### Patch Changes
1766
+
1767
+ - [#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.
1768
+
1769
+ ## 0.8.9
1770
+
1771
+ ### Patch Changes
1772
+
1773
+ - [#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.
1774
+
1775
+ - [#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.
1776
+
1777
+ ## 0.8.8
1778
+
1779
+ ### Patch Changes
1780
+
1781
+ - [#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.
1782
+
1783
+ ## 0.8.7
1784
+
1785
+ ### Patch Changes
1786
+
1787
+ - [#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.
1788
+
1789
+ ## 0.8.6
1790
+
1791
+ ### Patch Changes
1792
+
1793
+ - [#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.
1794
+
1795
+ ## 0.8.5
1796
+
1797
+ ### Patch Changes
1798
+
1799
+ - [#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.
1800
+
1801
+ ## 0.8.4
1802
+
1803
+ ### Patch Changes
1804
+
1805
+ - [#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.
1806
+
1807
+ ## 0.8.3
1808
+
1809
+ ### Patch Changes
1810
+
1811
+ - [#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.
1812
+
1813
+ ## 0.8.2
1814
+
1815
+ ### Patch Changes
1816
+
1817
+ - [#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.
1818
+
1819
+ ## 0.8.1
1820
+
1821
+ ### Patch Changes
1822
+
1823
+ - [#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`.
1824
+
1825
+ ## 0.8.0
1826
+
1827
+ ### Minor Changes
1828
+
1829
+ - [#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.
1830
+
1831
+ ## 0.7.17
1832
+
1833
+ ### Patch Changes
1834
+
1835
+ - [#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.
1836
+
1837
+ ## 0.7.16
1838
+
1839
+ ### Patch Changes
1840
+
1841
+ - [`df699d14b75bf65fd4be9d9587f8192f3b3c9271`](https://github.com/ponder-sh/ponder/commit/df699d14b75bf65fd4be9d9587f8192f3b3c9271) Thanks [@typedarray](https://github.com/typedarray)! - Reset latest tag.
1842
+
1843
+ ## 0.7.15
1844
+
1845
+ ### Patch Changes
1846
+
1847
+ - [#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`.
1848
+
1849
+ ## 0.7.14
1850
+
1851
+ ### Patch Changes
1852
+
1853
+ - [#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()`.
1854
+
1855
+ ## 0.7.13
1856
+
1857
+ ### Patch Changes
1858
+
1859
+ - [#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.
1860
+
1861
+ ## 0.7.12
1862
+
1863
+ ### Patch Changes
1864
+
1865
+ - [#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.
1866
+
1867
+ ## 0.7.11
1868
+
1869
+ ### Patch Changes
1870
+
1871
+ - [#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.
1872
+
1873
+ - [#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.
1874
+
1875
+ - Updated dependencies [[`0bb76fdc10bdf4f88980ed99d06c0e672094dce7`](https://github.com/ponder-sh/ponder/commit/0bb76fdc10bdf4f88980ed99d06c0e672094dce7)]:
1876
+ - bponder-utils@0.2.3
1877
+
1878
+ ## 0.7.10
1879
+
1880
+ ### Patch Changes
1881
+
1882
+ - [#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.
1883
+
1884
+ ## 0.7.9
1885
+
1886
+ ### Patch Changes
1887
+
1888
+ - [#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.
1889
+
1890
+ - [#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.
1891
+
1892
+ - [#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.
1893
+
1894
+ ## 0.7.8
1895
+
1896
+ ### Patch Changes
1897
+
1898
+ - [#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.
1899
+
1900
+ ## 0.7.7
1901
+
1902
+ ### Patch Changes
1903
+
1904
+ - [#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`.
1905
+
1906
+ - [#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).
1907
+
1908
+ ## 0.7.6
1909
+
1910
+ ### Patch Changes
1911
+
1912
+ - [#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.
1913
+
1914
+ - [#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.
1915
+
1916
+ ## 0.7.5
1917
+
1918
+ ### Patch Changes
1919
+
1920
+ - [#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()`.
1921
+
1922
+ ## 0.7.4
1923
+
1924
+ ### Patch Changes
1925
+
1926
+ - [#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.
1927
+
1928
+ - [#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.
1929
+
1930
+ ## 0.7.3
1931
+
1932
+ ### Patch Changes
1933
+
1934
+ - [#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.
1935
+
1936
+ ## 0.7.2
1937
+
1938
+ ### Patch Changes
1939
+
1940
+ - [#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`.
1941
+
1942
+ - [#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.
1943
+
1944
+ ## 0.7.1
1945
+
1946
+ ### Patch Changes
1947
+
1948
+ - [#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.
1949
+
1950
+ ## 0.7.0
1951
+
1952
+ ### Minor Changes
1953
+
1954
+ - [#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.
1955
+
1956
+ ## 0.6.25
1957
+
1958
+ ### Patch Changes
1959
+
1960
+ - [#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.
1961
+
1962
+ ## 0.6.24
1963
+
1964
+ ### Patch Changes
1965
+
1966
+ - [#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.
1967
+
1968
+ ## 0.6.23
1969
+
1970
+ ### Patch Changes
1971
+
1972
+ - [#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`.
1973
+
1974
+ ## 0.6.22
1975
+
1976
+ ### Patch Changes
1977
+
1978
+ - Updated dependencies [[`0cbdf01f85f4180a62d0de671c7adc299b704104`](https://github.com/ponder-sh/ponder/commit/0cbdf01f85f4180a62d0de671c7adc299b704104)]:
1979
+ - bponder-utils@0.2.2
1980
+
1981
+ ## 0.6.21
1982
+
1983
+ ### Patch Changes
1984
+
1985
+ - [#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.
1986
+
1987
+ ## 0.6.20
1988
+
1989
+ ### Patch Changes
1990
+
1991
+ - [#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.
1992
+
1993
+ ## 0.6.19
1994
+
1995
+ ### Patch Changes
1996
+
1997
+ - [#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()`.
1998
+
1999
+ ## 0.6.18
2000
+
2001
+ ### Patch Changes
2002
+
2003
+ - [#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.
2004
+
2005
+ ## 0.6.17
2006
+
2007
+ ### Patch Changes
2008
+
2009
+ - [#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.
2010
+
2011
+ ## 0.6.16
2012
+
2013
+ ### Patch Changes
2014
+
2015
+ - [#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`.
2016
+
2017
+ - [#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.
2018
+
2019
+ ## 0.6.15
2020
+
2021
+ ### Patch Changes
2022
+
2023
+ - [#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.
2024
+
2025
+ ## 0.6.13
2026
+
2027
+ ### Patch Changes
2028
+
2029
+ - [#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.
2030
+
2031
+ ## 0.6.12
2032
+
2033
+ ### Patch Changes
2034
+
2035
+ - [#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.
2036
+
2037
+ ## 0.6.11
2038
+
2039
+ ### Patch Changes
2040
+
2041
+ - [#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.
2042
+
2043
+ ## 0.6.10
2044
+
2045
+ ### Patch Changes
2046
+
2047
+ - [#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.
2048
+
2049
+ ## 0.6.9
2050
+
2051
+ ### Patch Changes
2052
+
2053
+ - [#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.
2054
+
2055
+ ## 0.6.8
2056
+
2057
+ ### Patch Changes
2058
+
2059
+ - [#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`.
2060
+
2061
+ ## 0.6.7
2062
+
2063
+ ### Patch Changes
2064
+
2065
+ - [#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.
2066
+
2067
+ ## 0.6.6
2068
+
2069
+ ### Patch Changes
2070
+
2071
+ - [#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.
2072
+
2073
+ ## 0.6.5
2074
+
2075
+ ### Patch Changes
2076
+
2077
+ - [#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.
2078
+
2079
+ Any users that were affected by this bug and want to reduce the database size can do so with the query:
2080
+
2081
+ ```sql
2082
+ DELETE FROM ponder_sync.transactions WHERE
2083
+ hash NOT IN (SELECT "transactionHash" FROM ponder_sync.logs)
2084
+ AND
2085
+ hash NOT IN (SELECT "transactionHash" FROM ponder_sync."callTraces");
2086
+ ```
2087
+
2088
+ ## 0.6.4
2089
+
2090
+ ### Patch Changes
2091
+
2092
+ - [#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.
2093
+
2094
+ ## 0.6.3
2095
+
2096
+ ### Patch Changes
2097
+
2098
+ - [#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.
2099
+
2100
+ - [#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.
2101
+
2102
+ ## 0.6.2
2103
+
2104
+ ### Patch Changes
2105
+
2106
+ - [#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.
2107
+
2108
+ ## 0.6.1
2109
+
2110
+ ### Patch Changes
2111
+
2112
+ - Updated dependencies [[`6a5c8a54b9d976fa760c863512044d82702d0bb7`](https://github.com/ponder-sh/ponder/commit/6a5c8a54b9d976fa760c863512044d82702d0bb7)]:
2113
+ - bponder-utils@0.2.1
2114
+
2115
+ ## 0.6.0
2116
+
2117
+ ### Minor Changes
2118
+
2119
+ - [#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`.
2120
+
2121
+ - [#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`.
2122
+
2123
+ - [#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.
2124
+
2125
+ - [#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.
2126
+
2127
+ - [#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`.
2128
+
2129
+ - [#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.
2130
+
2131
+ - [#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.
2132
+
2133
+ ### Patch Changes
2134
+
2135
+ - Updated dependencies [[`d9656a9af390f6c0a375cbbabfc85f90f510b13f`](https://github.com/ponder-sh/ponder/commit/d9656a9af390f6c0a375cbbabfc85f90f510b13f), [`d9656a9af390f6c0a375cbbabfc85f90f510b13f`](https://github.com/ponder-sh/ponder/commit/d9656a9af390f6c0a375cbbabfc85f90f510b13f)]:
2136
+ - bponder-utils@0.2.0
2137
+
2138
+ ## 0.5.24
2139
+
2140
+ ### Patch Changes
2141
+
2142
+ - [#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).
2143
+
2144
+ - [#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.
2145
+
2146
+ ## 0.5.23
2147
+
2148
+ ### Patch Changes
2149
+
2150
+ - [#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.
2151
+
2152
+ - [#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.
2153
+
2154
+ ## 0.5.22
2155
+
2156
+ ### Patch Changes
2157
+
2158
+ - [#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.
2159
+
2160
+ ## 0.5.21
2161
+
2162
+ ### Patch Changes
2163
+
2164
+ - [#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.
2165
+
2166
+ - [#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.
2167
+
2168
+ ## 0.5.20
2169
+
2170
+ ### Patch Changes
2171
+
2172
+ - [#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.
2173
+
2174
+ - [#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.
2175
+
2176
+ - [#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.
2177
+
2178
+ - Updated dependencies [[`7c17ff32e8907b4a38d74cea2a431b689236048c`](https://github.com/ponder-sh/ponder/commit/7c17ff32e8907b4a38d74cea2a431b689236048c)]:
2179
+ - bponder-utils@0.1.8
2180
+
2181
+ ## 0.5.19
2182
+
2183
+ ### Patch Changes
2184
+
2185
+ - [#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.
2186
+
2187
+ ## 0.5.18
2188
+
2189
+ ### Patch Changes
2190
+
2191
+ - [#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.
2192
+
2193
+ ## 0.5.17
2194
+
2195
+ ### Patch Changes
2196
+
2197
+ - [#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`).
2198
+
2199
+ - [#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`.
2200
+
2201
+ ## 0.5.16
2202
+
2203
+ ### Patch Changes
2204
+
2205
+ - [#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.
2206
+
2207
+ ## 0.5.15
2208
+
2209
+ ### Patch Changes
2210
+
2211
+ - [#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.
2212
+
2213
+ ## 0.5.14
2214
+
2215
+ ### Patch Changes
2216
+
2217
+ - [#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.
2218
+
2219
+ ## 0.5.13
2220
+
2221
+ ### Patch Changes
2222
+
2223
+ - [#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.
2224
+
2225
+ ## 0.5.12
2226
+
2227
+ ### Patch Changes
2228
+
2229
+ - [#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.
2230
+
2231
+ ## 0.5.11
2232
+
2233
+ ### Patch Changes
2234
+
2235
+ - [#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
2236
+
2237
+ ## 0.5.10
2238
+
2239
+ ### Patch Changes
2240
+
2241
+ - [#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.
2242
+
2243
+ - [#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.
2244
+
2245
+ - [#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.
2246
+
2247
+ - [#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.
2248
+
2249
+ - [#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.
2250
+
2251
+ - [#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
2252
+
2253
+ ## 0.5.9
2254
+
2255
+ ### Patch Changes
2256
+
2257
+ - [#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.
2258
+
2259
+ - [#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.
2260
+
2261
+ ## 0.5.8
2262
+
2263
+ ### Patch Changes
2264
+
2265
+ - [#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.
2266
+
2267
+ - [#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
2268
+
2269
+ ## 0.5.7
2270
+
2271
+ ### Patch Changes
2272
+
2273
+ - [#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.
2274
+
2275
+ ## 0.5.6
2276
+
2277
+ ### Patch Changes
2278
+
2279
+ - [#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.
2280
+
2281
+ ## 0.5.5
2282
+
2283
+ ### Patch Changes
2284
+
2285
+ - [`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.
2286
+
2287
+ ## 0.5.4
2288
+
2289
+ ### Patch Changes
2290
+
2291
+ - [#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.
2292
+
2293
+ ## 0.5.3
2294
+
2295
+ ### Patch Changes
2296
+
2297
+ - [#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.
2298
+
2299
+ ## 0.5.2
2300
+
2301
+ ### Patch Changes
2302
+
2303
+ - [#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.
2304
+
2305
+ ## 0.5.1
2306
+
2307
+ ### Patch Changes
2308
+
2309
+ - [#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.
2310
+
2311
+ - [#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.
2312
+
2313
+ - [#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.
2314
+
2315
+ ## 0.5.0
2316
+
2317
+ ### Minor Changes
2318
+
2319
+ - [#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.
2320
+
2321
+ ## 0.4.43
2322
+
2323
+ ### Patch Changes
2324
+
2325
+ - [#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.
2326
+
2327
+ ## 0.4.42
2328
+
2329
+ ### Patch Changes
2330
+
2331
+ - [#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.
2332
+
2333
+ - [#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).
2334
+
2335
+ - Updated dependencies [[`e82e385b777cf6fccaf779fe8b12151b56456b68`](https://github.com/ponder-sh/ponder/commit/e82e385b777cf6fccaf779fe8b12151b56456b68)]:
2336
+ - bponder-utils@0.1.7
2337
+
2338
+ ## 0.4.41
2339
+
2340
+ ### Patch Changes
2341
+
2342
+ - [#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.
2343
+
2344
+ ## 0.4.40
2345
+
2346
+ ### Patch Changes
2347
+
2348
+ - [#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.
2349
+
2350
+ ## 0.4.39
2351
+
2352
+ ### Patch Changes
2353
+
2354
+ - [#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.
2355
+
2356
+ ## 0.4.38
2357
+
2358
+ ### Patch Changes
2359
+
2360
+ - [#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.
2361
+
2362
+ ## 0.4.37
2363
+
2364
+ ### Patch Changes
2365
+
2366
+ - [#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.
2367
+
2368
+ - [#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.
2369
+
2370
+ ## 0.4.36
2371
+
2372
+ ### Patch Changes
2373
+
2374
+ - [#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.
2375
+
2376
+ ## 0.4.35
2377
+
2378
+ ### Patch Changes
2379
+
2380
+ - [`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).
2381
+
2382
+ - [#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.
2383
+
2384
+ ## 0.4.34
2385
+
2386
+ ### Patch Changes
2387
+
2388
+ - [#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.
2389
+
2390
+ ## 0.4.33
2391
+
2392
+ ### Patch Changes
2393
+
2394
+ - [`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).
2395
+
2396
+ - [#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.
2397
+
2398
+ - [#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.
2399
+
2400
+ - [#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.
2401
+
2402
+ ## 0.4.32
2403
+
2404
+ ### Patch Changes
2405
+
2406
+ - [`4ef2d6212e59b4c4ba0723e78a1c204db3d94542`](https://github.com/ponder-sh/ponder/commit/4ef2d6212e59b4c4ba0723e78a1c204db3d94542) Thanks [@0xOlias](https://github.com/0xOlias)! - Added `replaceBigInts` utility function to `bponder-utils` (re-exported from `@ponder/core`). [Read more](https://ponder.sh/docs/utilities/replace-bigints).
2407
+
2408
+ - Updated dependencies [[`4ef2d6212e59b4c4ba0723e78a1c204db3d94542`](https://github.com/ponder-sh/ponder/commit/4ef2d6212e59b4c4ba0723e78a1c204db3d94542)]:
2409
+ - bponder-utils@0.1.6
2410
+
2411
+ ## 0.4.31
2412
+
2413
+ ### Patch Changes
2414
+
2415
+ - [#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.
2416
+
2417
+ ## 0.4.30
2418
+
2419
+ ### Patch Changes
2420
+
2421
+ - [#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`.
2422
+
2423
+ ## 0.4.29
2424
+
2425
+ ### Patch Changes
2426
+
2427
+ - [`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.
2428
+
2429
+ - [`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).
2430
+
2431
+ ## 0.4.28
2432
+
2433
+ ### Patch Changes
2434
+
2435
+ - [#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.
2436
+
2437
+ - [#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`.
2438
+
2439
+ - [#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.
2440
+
2441
+ ## 0.4.27
2442
+
2443
+ ### Patch Changes
2444
+
2445
+ - [#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()`.
2446
+
2447
+ - Updated dependencies [[`9d64a31a527914145c86b0c8e43b9d185e35a1e1`](https://github.com/ponder-sh/ponder/commit/9d64a31a527914145c86b0c8e43b9d185e35a1e1)]:
2448
+ - bponder-utils@0.1.5
2449
+
2450
+ ## 0.4.26
2451
+
2452
+ ### Patch Changes
2453
+
2454
+ - [#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.
2455
+
2456
+ ## 0.4.25
2457
+
2458
+ ### Patch Changes
2459
+
2460
+ - [#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).
2461
+
2462
+ ## 0.4.24
2463
+
2464
+ ### Patch Changes
2465
+
2466
+ - [`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.
2467
+
2468
+ ## 0.4.23
2469
+
2470
+ ### Patch Changes
2471
+
2472
+ - [#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.
2473
+
2474
+ ## 0.4.22
2475
+
2476
+ ### Patch Changes
2477
+
2478
+ - [`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`.
2479
+
2480
+ - [#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.
2481
+
2482
+ ## 0.4.21
2483
+
2484
+ ### Patch Changes
2485
+
2486
+ - [#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).
2487
+
2488
+ ## 0.4.20
2489
+
2490
+ ### Patch Changes
2491
+
2492
+ - [#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.
2493
+
2494
+ - [#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.
2495
+
2496
+ - [#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).
2497
+
2498
+ ## 0.4.19
2499
+
2500
+ ### Patch Changes
2501
+
2502
+ - [#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).
2503
+
2504
+ - [#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).
2505
+
2506
+ ## 0.4.18
2507
+
2508
+ ### Patch Changes
2509
+
2510
+ - [#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.
2511
+
2512
+ ## 0.4.17
2513
+
2514
+ ### Patch Changes
2515
+
2516
+ - [#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".
2517
+
2518
+ ## 0.4.16
2519
+
2520
+ ### Patch Changes
2521
+
2522
+ - [#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).
2523
+
2524
+ ## 0.4.15
2525
+
2526
+ ### Patch Changes
2527
+
2528
+ - [#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.
2529
+
2530
+ ## 0.4.14
2531
+
2532
+ ### Patch Changes
2533
+
2534
+ - [`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.
2535
+
2536
+ - [#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.
2537
+
2538
+ - [#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.
2539
+
2540
+ ## 0.4.13
2541
+
2542
+ ### Patch Changes
2543
+
2544
+ - [#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.
2545
+
2546
+ ## 0.4.12
2547
+
2548
+ ### Patch Changes
2549
+
2550
+ - [#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.
2551
+
2552
+ ## 0.4.11
2553
+
2554
+ ### Patch Changes
2555
+
2556
+ - [#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.
2557
+
2558
+ ## 0.4.10
2559
+
2560
+ ### Patch Changes
2561
+
2562
+ - [#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.
2563
+
2564
+ - [#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).
2565
+
2566
+ ## 0.4.9
2567
+
2568
+ ### Patch Changes
2569
+
2570
+ - [#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).
2571
+
2572
+ - [#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.
2573
+
2574
+ - [#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.
2575
+
2576
+ ## 0.4.8
2577
+
2578
+ ### Patch Changes
2579
+
2580
+ - [#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".
2581
+
2582
+ ## 0.4.7
2583
+
2584
+ ### Patch Changes
2585
+
2586
+ - [#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).
2587
+
2588
+ - Updated dependencies [[`2d9fcbae895b1c7388683fec5c0f36999ead29ce`](https://github.com/ponder-sh/ponder/commit/2d9fcbae895b1c7388683fec5c0f36999ead29ce)]:
2589
+ - bponder-utils@0.1.4
2590
+
2591
+ ## 0.4.6
2592
+
2593
+ ### Patch Changes
2594
+
2595
+ - Updated dependencies [[`db106f5ffc302f1a02dcb54f31432420fae3c3cc`](https://github.com/ponder-sh/ponder/commit/db106f5ffc302f1a02dcb54f31432420fae3c3cc)]:
2596
+ - bponder-utils@0.1.3
2597
+
2598
+ ## 0.4.5
2599
+
2600
+ ### Patch Changes
2601
+
2602
+ - [#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.
2603
+
2604
+ - [#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.
2605
+
2606
+ ## 0.4.4
2607
+
2608
+ ### Patch Changes
2609
+
2610
+ - [`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.
2611
+
2612
+ ## 0.4.3
2613
+
2614
+ ### Patch Changes
2615
+
2616
+ - [#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.
2617
+
2618
+ ## 0.4.2
2619
+
2620
+ ### Patch Changes
2621
+
2622
+ - [#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.
2623
+
2624
+ - [#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.
2625
+
2626
+ - [#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.
2627
+
2628
+ ## 0.4.1
2629
+
2630
+ ### Patch Changes
2631
+
2632
+ - [#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.
2633
+
2634
+ ## 0.4.0
2635
+
2636
+ ### Minor Changes
2637
+
2638
+ - [#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.
2639
+
2640
+ - [#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.
2641
+
2642
+ ### Patch Changes
2643
+
2644
+ - [#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.
2645
+
2646
+ - [#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.
2647
+
2648
+ ## 0.3.11
2649
+
2650
+ ### Patch Changes
2651
+
2652
+ - [#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".
2653
+
2654
+ ## 0.3.10
2655
+
2656
+ ### Patch Changes
2657
+
2658
+ - [#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`.
2659
+
2660
+ ## 0.3.9
2661
+
2662
+ ### Patch Changes
2663
+
2664
+ - [#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.
2665
+
2666
+ - [#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.
2667
+
2668
+ ## 0.3.8
2669
+
2670
+ ## 0.3.7
2671
+
2672
+ ### Patch Changes
2673
+
2674
+ - [#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.
2675
+
2676
+ ## 0.3.6
2677
+
2678
+ ### Patch Changes
2679
+
2680
+ - [#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.
2681
+
2682
+ - [#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.
2683
+
2684
+ ## 0.3.5
2685
+
2686
+ ### Patch Changes
2687
+
2688
+ - [#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).
2689
+
2690
+ - [#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.
2691
+
2692
+ - [#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.
2693
+
2694
+ - Updated dependencies [[`464a98f1500815739a3384e6b34eb05aaf0c0253`](https://github.com/ponder-sh/ponder/commit/464a98f1500815739a3384e6b34eb05aaf0c0253)]:
2695
+ - bponder-utils@0.1.2
2696
+
2697
+ ## 0.3.4
2698
+
2699
+ ### Patch Changes
2700
+
2701
+ - [#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.
2702
+
2703
+ - [#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.
2704
+
2705
+ - [#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
2706
+
2707
+ - Updated dependencies [[`fe99c31a100acfc602cc511a15b1f625e034c29e`](https://github.com/ponder-sh/ponder/commit/fe99c31a100acfc602cc511a15b1f625e034c29e)]:
2708
+ - bponder-utils@0.1.1
2709
+
2710
+ ## 0.3.3
2711
+
2712
+ ### Patch Changes
2713
+
2714
+ - [#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
2715
+
2716
+ - [#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.
2717
+
2718
+ - [#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.
2719
+
2720
+ - [#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.
2721
+
2722
+ - [#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.
2723
+
2724
+ - [#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.
2725
+
2726
+ ## 0.3.2
2727
+
2728
+ ### Patch Changes
2729
+
2730
+ - [#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 `bponder-utils`.
2731
+
2732
+ - Updated dependencies [[`5d6b541dd4a3bda979d26bb38754b77209674a98`](https://github.com/ponder-sh/ponder/commit/5d6b541dd4a3bda979d26bb38754b77209674a98)]:
2733
+ - bponder-utils@0.1.0
2734
+
2735
+ ## 0.3.1
2736
+
2737
+ ### Patch Changes
2738
+
2739
+ - [#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.
2740
+
2741
+ ## 0.3.0
2742
+
2743
+ ### Minor Changes
2744
+
2745
+ - [#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).
2746
+
2747
+ ### Patch Changes
2748
+
2749
+ - [#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.
2750
+
2751
+ ## 0.2.18
2752
+
2753
+ ### Patch Changes
2754
+
2755
+ - [#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.
2756
+
2757
+ ## 0.2.17
2758
+
2759
+ ### Patch Changes
2760
+
2761
+ - [#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.
2762
+
2763
+ - [#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.
2764
+
2765
+ - [#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`.
2766
+
2767
+ - [#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.
2768
+
2769
+ ## 0.2.16
2770
+
2771
+ ### Patch Changes
2772
+
2773
+ - [#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 `bponder-utils` package. Moved `eth_getLogs` retry helper from `@ponder/core` to `bponder-utils`.
2774
+
2775
+ - [#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.
2776
+
2777
+ - Updated dependencies [[`2a1842e1db2329b1c88c613b0a64ff8c7695e829`](https://github.com/ponder-sh/ponder/commit/2a1842e1db2329b1c88c613b0a64ff8c7695e829)]:
2778
+ - bponder-utils@0.0.1
2779
+
2780
+ ## 0.2.15
2781
+
2782
+ ### Patch Changes
2783
+
2784
+ - [#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.
2785
+
2786
+ ## 0.2.14
2787
+
2788
+ ### Patch Changes
2789
+
2790
+ - [#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.
2791
+
2792
+ ## 0.2.13
2793
+
2794
+ ### Patch Changes
2795
+
2796
+ - [#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.
2797
+
2798
+ ## 0.2.12
2799
+
2800
+ ### Patch Changes
2801
+
2802
+ - [#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.
2803
+
2804
+ ## 0.2.11
2805
+
2806
+ ### Patch Changes
2807
+
2808
+ - [#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.
2809
+
2810
+ - [#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.
2811
+
2812
+ ## 0.2.10
2813
+
2814
+ ### Patch Changes
2815
+
2816
+ - [#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.
2817
+
2818
+ - [#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.
2819
+
2820
+ - [#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.
2821
+
2822
+ - [#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.
2823
+
2824
+ ## 0.2.9
2825
+
2826
+ ## 0.2.8
2827
+
2828
+ ### Patch Changes
2829
+
2830
+ - [#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.
2831
+
2832
+ ## 0.2.7
2833
+
2834
+ ### Patch Changes
2835
+
2836
+ - [#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.
2837
+
2838
+ - [#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.
2839
+
2840
+ ## 0.2.6
2841
+
2842
+ ### Patch Changes
2843
+
2844
+ - [#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
2845
+
2846
+ - [#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.
2847
+
2848
+ ## 0.2.5
2849
+
2850
+ ### Patch Changes
2851
+
2852
+ - [#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
2853
+
2854
+ ## 0.2.4
2855
+
2856
+ ### Patch Changes
2857
+
2858
+ - [#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.
2859
+
2860
+ - [#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`.
2861
+
2862
+ ## 0.2.3
2863
+
2864
+ ### Patch Changes
2865
+
2866
+ - [#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.
2867
+
2868
+ - [#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.
2869
+
2870
+ - [#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`.
2871
+
2872
+ - [#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.
2873
+
2874
+ ## 0.2.2
2875
+
2876
+ ### Patch Changes
2877
+
2878
+ - [#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`.
2879
+
2880
+ ## 0.2.1
2881
+
2882
+ ### Patch Changes
2883
+
2884
+ - [#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`.
2885
+
2886
+ - [#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.
2887
+
2888
+ ## 0.2.0
2889
+
2890
+ ### Minor Changes
2891
+
2892
+ - [#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`).
2893
+
2894
+ - [#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.
2895
+
2896
+ - [#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.
2897
+
2898
+ ```graphql
2899
+ # Before
2900
+ query {
2901
+ users(offset: 10, limit: 10) {
2902
+ id
2903
+ name
2904
+ }
2905
+ }
2906
+ # After
2907
+ query {
2908
+ users(after: "MTA=", limit: 10) {
2909
+ items {
2910
+ id
2911
+ name
2912
+ }
2913
+ pageInfo {
2914
+ hasPreviousPage
2915
+ hasNextPage
2916
+ starCursor
2917
+ endCursor
2918
+ }
2919
+ }
2920
+ }
2921
+ ```
2922
+
2923
+ ## 0.1.9
2924
+
2925
+ ### Patch Changes
2926
+
2927
+ - [`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.
2928
+
2929
+ ## 0.1.8
2930
+
2931
+ ### Patch Changes
2932
+
2933
+ - [#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`.
2934
+
2935
+ ## 0.1.7
2936
+
2937
+ ### Patch Changes
2938
+
2939
+ - [#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.
2940
+
2941
+ - [#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
2942
+
2943
+ ## 0.1.6
2944
+
2945
+ ### Patch Changes
2946
+
2947
+ - [#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.
2948
+
2949
+ ## 0.1.5
2950
+
2951
+ ### Patch Changes
2952
+
2953
+ - [#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.
2954
+
2955
+ - [#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`.
2956
+
2957
+ - [#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.
2958
+
2959
+ ## 0.1.4
2960
+
2961
+ ### Patch Changes
2962
+
2963
+ - [#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.
2964
+
2965
+ - [#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`.
2966
+
2967
+ ## 0.1.3
2968
+
2969
+ ### Patch Changes
2970
+
2971
+ - [#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`.
2972
+
2973
+ - [#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.
2974
+
2975
+ - [#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.
2976
+
2977
+ - [#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
2978
+
2979
+ ## 0.1.2
2980
+
2981
+ ### Patch Changes
2982
+
2983
+ - [#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
2984
+
2985
+ - [#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
2986
+
2987
+ - [#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
2988
+
2989
+ - More intuitive errors, specifically from realtime and historical sync services
2990
+ - Free up listeners from the queue more rapidly
2991
+
2992
+ ## 0.1.1
2993
+
2994
+ ### Patch Changes
2995
+
2996
+ - [#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
2997
+
2998
+ ## 0.1.0
2999
+
3000
+ ### Minor Changes
3001
+
3002
+ - [#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).
3003
+
3004
+ ## 0.0.95
3005
+
3006
+ ### Patch Changes
3007
+
3008
+ - [#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.
3009
+
3010
+ - [#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.
3011
+
3012
+ ## 0.0.94
3013
+
3014
+ ### Patch Changes
3015
+
3016
+ - [#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.
3017
+
3018
+ Added support for factory contracts. Please see the [documentation](https://ponder.sh/docs/contracts#factory-contracts) for a complete guide & API reference.
3019
+
3020
+ - [#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.
3021
+
3022
+ ## 0.0.93
3023
+
3024
+ ### Patch Changes
3025
+
3026
+ - [#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
3027
+
3028
+ ## 0.0.92
3029
+
3030
+ ### Patch Changes
3031
+
3032
+ - [#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.
3033
+
3034
+ - [#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.
3035
+
3036
+ - [#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.
3037
+
3038
+ 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.
3039
+
3040
+ Prior to this update, Ponder used an HTTP transport internally. To upgrade with no change in behavior:
3041
+
3042
+ ```diff
3043
+ + import { http } from "viem";
3044
+
3045
+ export const config = {
3046
+ networks: [
3047
+ {
3048
+ name: "mainnet",
3049
+ chainId: 1,
3050
+ - rpcUrl: "https://eth-mainnet.g.alchemy.com/v2/...",
3051
+ + transport: http("https://eth-mainnet.g.alchemy.com/v2/..."),
3052
+ },
3053
+ ],
3054
+ contracts: [
3055
+ {
3056
+ name: "BaseRegistrar",
3057
+ network: "mainnet",
3058
+ abi: "./abis/BaseRegistrar.json",
3059
+ address: "0x57f1887a8BF19b14fC0dF6Fd9B2acc9Af147eA85",
3060
+ startBlock: 9380410,
3061
+ },
3062
+ ],
3063
+ };
3064
+ ```
3065
+
3066
+ ## 0.0.91
3067
+
3068
+ ### Patch Changes
3069
+
3070
+ - [#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.
3071
+
3072
+ ## 0.0.90
3073
+
3074
+ ### Patch Changes
3075
+
3076
+ - [#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.
3077
+
3078
+ ## 0.0.89
3079
+
3080
+ ### Patch Changes
3081
+
3082
+ - [#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.
3083
+
3084
+ - [#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`.
3085
+
3086
+ ## 0.0.88
3087
+
3088
+ ### Patch Changes
3089
+
3090
+ - [#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.
3091
+
3092
+ ## 0.0.87
3093
+
3094
+ ### Patch Changes
3095
+
3096
+ - [#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.
3097
+
3098
+ ## 0.0.86
3099
+
3100
+ ### Patch Changes
3101
+
3102
+ - [#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.
3103
+
3104
+ - [#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.
3105
+
3106
+ - [#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.
3107
+
3108
+ ## 0.0.85
3109
+
3110
+ ### Patch Changes
3111
+
3112
+ - [#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.
3113
+
3114
+ ## 0.0.84
3115
+
3116
+ ## 0.0.83
3117
+
3118
+ ## 0.0.82
3119
+
3120
+ ### Patch Changes
3121
+
3122
+ - [#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`.
3123
+
3124
+ ## 0.0.81
3125
+
3126
+ ### Patch Changes
3127
+
3128
+ - [#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`.
3129
+
3130
+ ```ts filename="src/index.ts"
3131
+ ponder.on("ERC20:Transfer", async ({ event, context }) => {
3132
+ const { Account } = context.entities;
3133
+
3134
+ const recipient = await Account.update({
3135
+ id: event.params.to,
3136
+ data: ({ current }) => ({
3137
+ balance: current.balance + event.params.value,
3138
+ }),
3139
+ });
3140
+ // { id: "0x5D92..", balance: 11800000005n }
3141
+ });
3142
+ ```
3143
+
3144
+ ## 0.0.80
3145
+
3146
+ ### Patch Changes
3147
+
3148
+ - [#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.
3149
+
3150
+ ## 0.0.79
3151
+
3152
+ ### Patch Changes
3153
+
3154
+ - [#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`.
3155
+
3156
+ ## 0.0.78
3157
+
3158
+ ### Patch Changes
3159
+
3160
+ - [#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.
3161
+
3162
+ ## 0.0.77
3163
+
3164
+ ### Patch Changes
3165
+
3166
+ - [#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.
3167
+
3168
+ - [#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.
3169
+
3170
+ - [#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.
3171
+
3172
+ - [#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.
3173
+
3174
+ ## 0.0.76
3175
+
3176
+ ### Patch Changes
3177
+
3178
+ - [#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 "bponder:registry"`
3179
+
3180
+ ## 0.0.75
3181
+
3182
+ ### Patch Changes
3183
+
3184
+ - [#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.
3185
+
3186
+ - [#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.
3187
+
3188
+ - [#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`.
3189
+
3190
+ ## 0.0.74
3191
+
3192
+ ### Patch Changes
3193
+
3194
+ - [#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.
3195
+
3196
+ ## 0.0.73
3197
+
3198
+ ### Patch Changes
3199
+
3200
+ - [#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.
3201
+
3202
+ - [#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)", ...)`.
3203
+
3204
+ - [#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.
3205
+
3206
+ ## 0.0.72
3207
+
3208
+ ### Patch Changes
3209
+
3210
+ - [#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`.
3211
+
3212
+ ## 0.0.71
3213
+
3214
+ ### Patch Changes
3215
+
3216
+ - [#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`).
3217
+
3218
+ - [#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.
3219
+
3220
+ ## 0.0.70
3221
+
3222
+ ### Patch Changes
3223
+
3224
+ - [#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.
3225
+
3226
+ ## 0.0.69
3227
+
3228
+ ### Patch Changes
3229
+
3230
+ - [#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`.
3231
+
3232
+ - [#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`.
3233
+
3234
+ ## 0.0.68
3235
+
3236
+ ### Patch Changes
3237
+
3238
+ - [#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.
3239
+
3240
+ ## 0.0.67
3241
+
3242
+ ### Patch Changes
3243
+
3244
+ - [#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
3245
+
3246
+ - [#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.
3247
+
3248
+ - [#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.
3249
+
3250
+ ## 0.0.66
3251
+
3252
+ ### Patch Changes
3253
+
3254
+ - [#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).
3255
+
3256
+ - [#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.
3257
+
3258
+ - [#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.
3259
+
3260
+ ## 0.0.65
3261
+
3262
+ ### Patch Changes
3263
+
3264
+ - [#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.
3265
+
3266
+ ## 0.0.64
3267
+
3268
+ ### Patch Changes
3269
+
3270
+ - [#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`.
3271
+
3272
+ ## 0.0.63
3273
+
3274
+ ### Patch Changes
3275
+
3276
+ - [#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.
3277
+
3278
+ ## 0.0.62
3279
+
3280
+ ### Patch Changes
3281
+
3282
+ - [#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.
3283
+
3284
+ - [#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
3285
+
3286
+ - [#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.
3287
+
3288
+ ## 0.0.61
3289
+
3290
+ ### Patch Changes
3291
+
3292
+ - [#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.
3293
+
3294
+ ## 0.0.60
3295
+
3296
+ ### Patch Changes
3297
+
3298
+ - [#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.
3299
+
3300
+ ## 0.0.59
3301
+
3302
+ ### Patch Changes
3303
+
3304
+ - [`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
3305
+
3306
+ ## 0.0.58
3307
+
3308
+ ### Patch Changes
3309
+
3310
+ - [#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.
3311
+
3312
+ ## 0.0.57
3313
+
3314
+ ### Patch Changes
3315
+
3316
+ - [#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.
3317
+
3318
+ ## 0.0.56
3319
+
3320
+ ### Patch Changes
3321
+
3322
+ - [#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`.
3323
+
3324
+ ## 0.0.55
3325
+
3326
+ ## 0.0.54
3327
+
3328
+ ### Patch Changes
3329
+
3330
+ - [#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.
3331
+
3332
+ ## 0.0.53
3333
+
3334
+ ### Patch Changes
3335
+
3336
+ - [#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.
3337
+
3338
+ ```ts
3339
+ // ponder.config.ts
3340
+ import type { Config } from "@ponder/core";
3341
+ import { parseAbiItem } from "abitype";
3342
+
3343
+ export const config: Config = {
3344
+ networks: [
3345
+ /* ... */
3346
+ ],
3347
+ contracts: [
3348
+ {
3349
+ name: "AllTransfers",
3350
+ network: "mainnet",
3351
+ abi: "./abis/ERC20.json",
3352
+ filter: {
3353
+ event: parseAbiItem(
3354
+ "event Transfer(address indexed, address indexed, uint256)"
3355
+ )
3356
+ }
3357
+ fromBlock: 17030328
3358
+ }
3359
+ ]
3360
+ };
3361
+ ```
3362
+
3363
+ - [#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`.
3364
+
3365
+ ```diff
3366
+ // ponder.config.ts
3367
+ import type { Config } from "@ponder/core";
3368
+ export const config: Config = {
3369
+ networks: [ /* ... */ ],
3370
+ contracts: [
3371
+ {
3372
+ name: "Contract",
3373
+ network: "mainnet",
3374
+ abi: "./abis/ArtGobblers.json",
3375
+ address: "0x60bb1e2aa1c9acafb4d34f71585d7e959f387769",
3376
+ - blockLimit: 50,
3377
+ + maxBlockRange: 50,
3378
+ },
3379
+ {
3380
+ name: "StaticReadOnlyContract",
3381
+ network: "mainnet",
3382
+ abi: "./abis/ArtGobblers.json",
3383
+ address: "0x60bb1e2aa1c9acafb4d34f71585d7e959f387769",
3384
+ - isIndexed: false,
3385
+ + isLogEventSource: false,
3386
+ }
3387
+ ],
3388
+ };
3389
+ ```
3390
+
3391
+ ## 0.0.52
3392
+
3393
+ ### Patch Changes
3394
+
3395
+ - [#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`
3396
+
3397
+ ## 0.0.51
3398
+
3399
+ ### Patch Changes
3400
+
3401
+ - [#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 `/`
3402
+
3403
+ - [#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:
3404
+
3405
+ ```ts
3406
+ import { ponder } from "bponder:registry";
3407
+
3408
+ ponder.on("setup", async ({ context }) => {
3409
+ const { MyEntity } = context.entities;
3410
+
3411
+ const setupData = await fetch("https://...");
3412
+
3413
+ await MyEntity.create({
3414
+ id: setupData.id,
3415
+ data: { ...setupData },
3416
+ });
3417
+ });
3418
+ ```
3419
+
3420
+ ## 0.0.50
3421
+
3422
+ ### Patch Changes
3423
+
3424
+ - [#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`
3425
+
3426
+ - [#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
3427
+
3428
+ - [#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
3429
+
3430
+ ## 0.0.49
3431
+
3432
+ ### Patch Changes
3433
+
3434
+ - [#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`
3435
+
3436
+ ## 0.0.48
3437
+
3438
+ ### Patch Changes
3439
+
3440
+ - [#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.
3441
+
3442
+ ## 0.0.47
3443
+
3444
+ ### Patch Changes
3445
+
3446
+ - [#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.
3447
+
3448
+ ## 0.0.46
3449
+
3450
+ ### Patch Changes
3451
+
3452
+ - [#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`
3453
+
3454
+ - [#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
3455
+
3456
+ - [#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
3457
+
3458
+ ## 0.0.45
3459
+
3460
+ ### Patch Changes
3461
+
3462
+ - [#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`.
3463
+
3464
+ 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`.
3465
+
3466
+ - [`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`
3467
+
3468
+ - [#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
3469
+
3470
+ ## 0.0.44
3471
+
3472
+ ### Patch Changes
3473
+
3474
+ - [`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
3475
+
3476
+ ## 0.0.43
3477
+
3478
+ ### Patch Changes
3479
+
3480
+ - [`7833912`](https://github.com/0xOlias/ponder/commit/78339121197d861b7d03f733b7c935a0063f0e33) Thanks [@0xOlias](https://github.com/0xOlias)! - Fix baseFeePerGas bug on optimism/postgres
3481
+
3482
+ ## 0.0.42
3483
+
3484
+ ### Patch Changes
3485
+
3486
+ - [#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.
3487
+
3488
+ ## 0.0.41
3489
+
3490
+ ### Patch Changes
3491
+
3492
+ - [`c5abf10`](https://github.com/0xOlias/ponder/commit/c5abf10dcb3d172d029daae76b735cee9eb39d9e) Thanks [@0xOlias](https://github.com/0xOlias)! - Bumped viem to fix event decoding bug
3493
+
3494
+ ## 0.0.40
3495
+
3496
+ ### Patch Changes
3497
+
3498
+ - [#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:
3499
+
3500
+ Ponder projects must now use **Node 18** or a fetch polyfill (see [viem docs](https://viem.sh/docs/compatibility)).
3501
+
3502
+ 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.
3503
+
3504
+ Projects should remove `ethers` as a dependency, and will need to add dev dependencies on `viem`, `abitype`, and `typescript`.
3505
+
3506
+ ## 0.0.39
3507
+
3508
+ ## 0.0.38
3509
+
3510
+ ### Patch Changes
3511
+
3512
+ - [#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
3513
+
3514
+ - [#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 `bponder:registry` in Ponder project `src` files.
3515
+
3516
+ ```ts
3517
+ // src/SomeContract.ts
3518
+ import { ponder } from "bponder:registry";
3519
+
3520
+ ponder.on(...)
3521
+ ```
3522
+
3523
+ ```ts
3524
+ // src/nested/AnotherContract.ts
3525
+ import { ponder } from "bponder:registry";
3526
+
3527
+ ponder.on(...)
3528
+
3529
+ ```
3530
+
3531
+ ## 0.0.37
3532
+
3533
+ ### Patch Changes
3534
+
3535
+ - [#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
3536
+
3537
+ ## 0.0.36
3538
+
3539
+ ### Patch Changes
3540
+
3541
+ - [#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
3542
+
3543
+ ## 0.0.35
3544
+
3545
+ ### Patch Changes
3546
+
3547
+ - [#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
3548
+
3549
+ - [`73bd492`](https://github.com/0xOlias/ponder/commit/73bd4927b570b38ede61f63ea075b2811089a68e) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed schema type generation bugs
3550
+
3551
+ ## 0.0.34
3552
+
3553
+ ### Patch Changes
3554
+
3555
+ - [#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
3556
+
3557
+ ## 0.0.33
3558
+
3559
+ ### Patch Changes
3560
+
3561
+ - [`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
3562
+
3563
+ ## 0.0.32
3564
+
3565
+ ### Patch Changes
3566
+
3567
+ - [#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
3568
+
3569
+ Moved HTTP server from `@ponder/graphql` to `@ponder/core`
3570
+
3571
+ **BREAKING**. Ponder apps no longer depend on `@ponder/graphql` and do not need to include the `plugins` key in `ponder.config.ts`.
3572
+
3573
+ For now, this also means that the only way to configure the server port is through the $port environment variable.
3574
+
3575
+ ```diff
3576
+ // package.json
3577
+
3578
+ {
3579
+ "private": true,
3580
+ "scripts": {
3581
+ "dev": "ponder dev",
3582
+ "start": "ponder start",
3583
+ "codegen": "ponder codegen"
3584
+ },
3585
+ "dependencies": {
3586
+ "@ponder/core": "^0.0.32",
3587
+ - "@ponder/graphql": "latest"
3588
+ },
3589
+ "devDependencies": {
3590
+ "@types/node": "^18.11.18",
3591
+ "ethers": "^5.6.9"
3592
+ },
3593
+ "engines": {
3594
+ "node": ">=16.0.0 <19.0.0"
3595
+ }
3596
+ }
3597
+ ```
3598
+
3599
+ ```diff
3600
+ // ponder.config.ts
3601
+
3602
+ import type { Config } from "@ponder/core";
3603
+ - import { graphqlPlugin } from "@ponder/graphql";
3604
+
3605
+ export const config: Config = {
3606
+ networks: [
3607
+ {
3608
+ name: "mainnet",
3609
+ chainId: 1,
3610
+ rpcUrl: process.env.PONDER_RPC_URL_1
3611
+ }
3612
+ ],
3613
+ sources: [
3614
+ {
3615
+ name: "ArtGobblers",
3616
+ network: "mainnet",
3617
+ abi: "./abis/ArtGobblers.json",
3618
+ address: "0x60bb1e2aa1c9acafb4d34f71585d7e959f387769",
3619
+ startBlock: 15863321
3620
+ }
3621
+ ],
3622
+ - plugins: [graphqlPlugin({ port: 8080 })]
3623
+ };
3624
+ ```
3625
+
3626
+ ## 0.0.31
3627
+
3628
+ ### Patch Changes
3629
+
3630
+ - [#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
3631
+
3632
+ - [#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
3633
+
3634
+ ## 0.0.30
3635
+
3636
+ ### Patch Changes
3637
+
3638
+ - [#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
3639
+
3640
+ ## 0.0.29
3641
+
3642
+ ### Patch Changes
3643
+
3644
+ - [#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
3645
+
3646
+ ## 0.0.28
3647
+
3648
+ ### Patch Changes
3649
+
3650
+ - [`b33e538`](https://github.com/0xOlias/ponder/commit/b33e538b518a4fc0b8615ed684acb9bcafaca616) Thanks [@0xOlias](https://github.com/0xOlias)! - Fixed RPC response parsing for Optimism
3651
+
3652
+ ## 0.0.27
3653
+
3654
+ ### Patch Changes
3655
+
3656
+ - [#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
3657
+
3658
+ ## 0.0.26
3659
+
3660
+ ### Patch Changes
3661
+
3662
+ - [`a0a7132`](https://github.com/0xOlias/ponder/commit/a0a713271dbcc6ce2f63f34595b85d63f474f30b) Thanks [@0xOlias](https://github.com/0xOlias)! - Fix leading zeroes in hex values in rpc request params
3663
+
3664
+ ## 0.0.25
3665
+
3666
+ ### Patch Changes
3667
+
3668
+ - [#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.
3669
+
3670
+ 1. Source files must be located in `src/` instead of `handlers/`
3671
+ 2. Handlers are registered using an `EventEmitter`-like pattern (see below)
3672
+ 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`)
3673
+
3674
+ ```ts
3675
+ import { ponder } from "../generated";
3676
+
3677
+ ponder.on("SourceName:EventName", async ({ event, context }) => {
3678
+ // same handler function body as before!
3679
+ });
3680
+
3681
+ ponder.on("SourceName:EventName2", async ({ event, context }) => {
3682
+ // ...
3683
+ });
3684
+
3685
+ ponder.on("AnotherSourceName:EventName", async ({ event, context }) => {
3686
+ // ...
3687
+ });
3688
+ ```
3689
+
3690
+ Updated `create-bponder` to use this pattern for newly generated projects
3691
+
3692
+ - [#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`.
3693
+
3694
+ `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.
3695
+
3696
+ `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.
3697
+
3698
+ - [#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.
3699
+
3700
+ 1. The ponder config file was changed (back) to `ponder.config.ts`.
3701
+ 2. The `sources` field in `ponder.config.ts` was changes to `contracts`.
3702
+
3703
+ ## 0.0.24
3704
+
3705
+ ### Patch Changes
3706
+
3707
+ - [#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.
3708
+
3709
+ ## 0.0.23
3710
+
3711
+ ### Patch Changes
3712
+
3713
+ - [#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`.
3714
+
3715
+ New sample `ponder.ts` file:
3716
+
3717
+ ```ts
3718
+ // ponder.ts
3719
+
3720
+ import type { Config } from "@ponder/core";
3721
+ import { graphqlPlugin } from "@ponder/graphql";
3722
+
3723
+ export const config: Config = {
3724
+ networks: [
3725
+ {
3726
+ name: "mainnet",
3727
+ chainId: 1,
3728
+ rpcUrl: process.env.PONDER_RPC_URL_1,
3729
+ },
3730
+ ],
3731
+ sources: [
3732
+ {
3733
+ name: "ArtGobblers",
3734
+ network: "mainnet",
3735
+ abi: "./abis/ArtGobblers.json",
3736
+ address: "0x60bb1e2aa1c9acafb4d34f71585d7e959f387769",
3737
+ startBlock: 15863321,
3738
+ },
3739
+ ],
3740
+ plugins: [graphqlPlugin()],
3741
+ };
3742
+ ```
3743
+
3744
+ The exported value can also be a function, and it can return a Promise:
3745
+
3746
+ ```ts
3747
+ // ponder.ts
3748
+
3749
+ import type { Config } from "@ponder/core";
3750
+
3751
+ export const config: Config = async () => {
3752
+ return {
3753
+ networks: [
3754
+ /* ... */
3755
+ ],
3756
+ sources: [
3757
+ /* ... */
3758
+ ],
3759
+ };
3760
+ };
3761
+ ```
3762
+
3763
+ ## 0.0.22
3764
+
3765
+ ### Patch Changes
3766
+
3767
+ - [#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
3768
+
3769
+ ## 0.0.21
3770
+
3771
+ ### Patch Changes
3772
+
3773
+ - [#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.