Releases: hirosystems/chainhook
Releases · hirosystems/chainhook
v1.2.0
1.2.0 (2024-01-25)
Features
- add bad request support (7abe4f6)
- add inscription transfer destination schema (526de7a)
- add jubilee support for inscription_revealed schemas (#470) (823f430)
- add Wallet Descriptor Support for Transaction Indexing (959da29)
- broadcast ObserverEvent::BitcoinPredicateTriggered on successful requests (6407e2c)
- broadcast ObserverEvent::BitcoinPredicateTriggered on successful requests (a6164ea)
- introduce signet mode (549c775)
Bug Fixes
v1.1.1
v1.1.0
v1.1.0 (2023-10-10)
Thanks for using Chainhook! See our README for instructions on installing the latest version. If you're running your own node, be sure to check out this note on updating to the latest version. Also, thank you to our first-time contributor @qustavo, who fixed how op_return
predicates are evaluated!
✨ New Features ✨
feat: allow matching with regex for stacks print_event (#380)
This PR introduces the ability to match on a print_event
's values with a regex string rather than just with the previous contains
field.
This allows the following new if_this
condition for a stacks predicate:
{
"scope": "print_event",
"contract_identifier": "ST3AXH4EBHD63FCFPTZ8GR29TNTVWDYPGY0KDY5E5.loan-data",
"regex": "... some regex to match on the event data"
}
Fixes #348
feat: augment predicate status returned by GET/LIST endpoints (#397)
This PR:
- renames/adds/removes predicate statuses according to the flowchart in docs/images/predicate-status-flowchart/PredicateStatusFlowchart.png
- adds more context to errors returned in Interrupted status
- adds status data to
GET /v1/chainhooks
endpoint - fixes bug in chainhook service where block streaming continued past
end_block
- Improves how we handle a restart of
chainhook service
while predicates are scanning/streaming.- Predicates that were in
scanning
status when Chainhook was terminated will resume scanning starting from theirlast_evaluated_block_height
. Note: because we only save predicate status every 10 scans, we could end up re-emiting matches on a resetart
- Predicates that were in
- Predicates that were in
new
status when Chainhook was terminated will start scanning at the predicate'sstart_block
- Predicates that were in
streaming
status will return to ascanning
status, starting atlast_evaluated_block_height
to catch up on the missed blocks. Note, thenumber_of_blocks_to_scan
is set to 0 for this temporary catch-up, as it's difficult to compute the number of remaining blocks in the context of this change - If predicates were passed in at startup, we also register those to begin scanning, which previously didn't happen
- We now allow passing in a predicate at startup and registering additional predicates with the predicate registration server. This means that if you use the same startup predicate repeatedly, it will already be saved in redis and not be reloaded.
Fixes #396, #324, #298, #390, #402, and #403
Bug Fixes 🐛
- introduce "data_handler_tx" (ee486f3)
- chainhook not being registered (5a809c6)
- ensure that the parent block was previously received. else, fetch it (2755266)
- migrate to finer zmq lib (4eb5a07)
- prevent panic when scanning from genesis block (#408) (1868a06)
- remove event_handlers (6fecfd2)
- retrieve blocks until tip (5213f5f)
- revisit approach (67a34dc)
- use crossbeam channels (ea33553)
- workflow (d434c93)
v1.0.0
What's Changed
- feat: ordinal support by @lgalabru in #202
- chore: dependencies reconciliation by @lgalabru in #203
- feat: implement and document new development flow by @lgalabru in #204
- chore: bump versions by @lgalabru in #205
- fix: hard coded dev-dependency by @lgalabru in #206
- Close the loop on scans, better errors by @lgalabru in #213
- fix: deployer predicate wildcard by @lgalabru in #214
- feat: support for inscription transfers events and reorg resistance by @lgalabru in #222
- feat: focus on developer experience by @lgalabru in #223
- feat: wrap up hord developer experience by @lgalabru in #227
- feat: speed up hord by @lgalabru in #228
- feat: scan ordinals by @lgalabru in #229
- feat: scan inscription revealed by @lgalabru in #230
- feat: re-approach stacks block commit schema by @lgalabru in #231
- feat: improve service mode + fixes by @lgalabru in #232
hord
related adjustments by @lgalabru in #236- Chainhooks documentation by @LakshmiLavanyaKasturi in #239
- Updated stacks commands and improved formatting for consistency by @LakshmiLavanyaKasturi in #240
- Updated overview heading for consistency by @LakshmiLavanyaKasturi in #241
- use direct link instead of relative for openapi.json by @LakshmiLavanyaKasturi in #242
- Corrected config flag to config-path by @LakshmiLavanyaKasturi in #237
- Wrap-up hord v1 implementation by @lgalabru in #243
- Myriad of fixes and improvements by @lgalabru in #246
- fix: ordinals transfer tracking by @lgalabru in #250
- fix: myriad of fixes and optimizations by @lgalabru in #253
- Fixed minor formatting issues by @LakshmiLavanyaKasturi in #254
- feat: hord db optimizations by @lgalabru in #258
- Fix: stacks forking handling by @lgalabru in #262
- feat: add typescript client with types and event server by @rafaelcr in #245
- feat: attempt to support cursed inscriptions by @lgalabru in #266
- fix: export all types on chainhook ts client by @rafaelcr in #272
- chore: bump ts client version to v1.0.2 by @rafaelcr in #275
- Feat/stacks storage by @lgalabru in #271
- 0.14: additional adjustments by @lgalabru in #280
- Stabilizing streaming / scanning transition by @lgalabru in #282
- Fixes on cursed inscriptions by @lgalabru in #284
- Update title for overview by @LakshmiLavanyaKasturi in #291
- fix: myriad of adjustments by @lgalabru in #296
- feat: support cursed inscriptions in chainhook client by @rafaelcr in #293
- chore: add zmq url to default chainhook config by @MicaiahReid in #299
- chore: remove unused struct & import by @MicaiahReid in #300
- feat: add metrics to
/ping
response of event observer server by @MicaiahReid in #297 - feat: align docs and code on predicates syntax, introduce predicates check command by @lgalabru in #305
- feat: upgrade typescript client by @rafaelcr in #302
- fix: update/pin dependencies by @MicaiahReid in #311
- feat: update inscription transfer schemas by @rafaelcr in #309
- fix: transfer refactor by @lgalabru in #307
- fix: update bitcoin output ts client types by @rafaelcr in #315
- fix: stx_event predicate schema by @rafaelcr in #321
- fix: add more details to 422 errors for
POST /v1/chainhooks
route by @MicaiahReid in #326 - refactor: moving hord to its own repo by @lgalabru in #312
- fix: update chainhook-sdk by @MicaiahReid in #328
- feat: add
chainhook docs api generate
command by @MicaiahReid in #323 - fix: add tx_index to bitcoin payloads to ts client by @rafaelcr in #330
- Chainhooks documentation to run chainhook as a service for Bitcoin and Stacks by @LakshmiLavanyaKasturi in #304
- chore: improve README.md standardization by @smcclellan in #333
- chore: add PR template by @smcclellan in #334
- Fixed broken links and grammar issues by @LakshmiLavanyaKasturi in #335
- fix: hord split adjustments by @lgalabru in #336
- Changed links to use relative links by @LakshmiLavanyaKasturi in #338
- Fix links by @LakshmiLavanyaKasturi in #339
- Release/v0.17.0 by @lgalabru in #331
- tests: add tests for predicate api by @MicaiahReid in #344
- Removed $ prefix from all the commands by @LakshmiLavanyaKasturi in #351
- feat: match on all
print_event
s ifcontract_identifier
isNone
by @MicaiahReid in #356 - tests: add tests for stacks predicate evaluation by @MicaiahReid in #361
- fix: asset-identifier filtering by @MicaiahReid in #364
- chore: additional ordhook adjustments by @lgalabru in #362
- release: bump version to 1.0 by @lgalabru in #365
New Contributors
- @LakshmiLavanyaKasturi made their first contribution in #239
- @rafaelcr made their first contribution in #245
- @MicaiahReid made their first contribution in #299
- @smcclellan made their first contribution in #333
Full Changelog: https://github.com/hirosystems/chainhook/commits/v1.0.0