Releases: oasisprotocol/nexus
Oasis Indexer 0.0.16
What's Changed
This release brings close-to-final support for multiple backing nodes.
Feature: More robust support for archive nodes:
- config: allow connecting to a special node for some things by @pro-wh in #399
- nodeapi: add automatic runtime history provider by @pro-wh in #383
- config-related cleanup and opinions by @pro-wh in #390
- Cobalt core API: Support DebondingStartEscrowEvent by @mitjat in #397
- api: remove nonexistent required latest_chain_id by @pro-wh in #393
- node config: Support testnet by @mitjat in #412
Feature: Node response caching:
- analyzers, cache: Allow to shut down gracefully by @mitjat in #392
- cleanup: enable offline cache-based runtimeClient by @Andrew7234 in #396
- cache analyzer sources by @Andrew7234 in #401
- file: don't crash on cleanup with query_on_cache_miss: no by @pro-wh in #402
- bugfix: KVStore (analyzer cache): Fix retrieval and error handling by @Andrew7234 in #409
- bugfix: nil dereference in FileApiLite::GetEpoch by @mitjat in #408
- nodeapi: Store raw oasis-core in serialized form by @mitjat in #382
Feature prep: Pre-work for supporting parallel block indexing:
- analyzer: remove the 100ms timeout before processing every block by @ptrus in #385
- db: Disable/enable FK constraints on demand by @mitjat in #400
- Andrew7234/epoch tracking by @Andrew7234 in #404
Bugfixes:
- bugfix: Typo in GetCommittees RPC method name by @mitjat in #381
- analyzer: fix evm.Create result type cutting by @pro-wh in #403
- storage: unbreak eth address display by @pro-wh in #406
- Update discord link by @lukaw3d in #388
Other:
- For Sapphire support: EVM: download tokens at last processed round by @pro-wh in #380
- Andrew7234/api tests by @Andrew7234 in #360
Full Changelog: v0.0.15...v0.0.16
Oasis Indexer 0.0.15
What's Changed
Notice - Breaking changes
There are breaking changes to the DB types, still not encoded as proper migrations. Either wipe the DB, or manually apply the following migrations:
alter table chain.blocks alter column metadata type jsonb;
alter table chain.events alter column body type jsonb;
alter table chain.entities alter column meta type jsonb;
alter table chain.commissions alter column schedule type jsonb;
alter table chain.runtime_transactions alter column body type jsonb;
alter table chain.runtime_events drop column evm_log_signature;
alter table chain.runtime_events alter column body type jsonb;
alter table chain.runtime_events add column evm_log_signature TEXT GENERATED ALWAYS AS (body->'topics'->>0) STORED;
CREATE INDEX ix_runtime_events_evm_log_signature ON chain.runtime_events(evm_log_signature);
There is also a breaking change to the config structure; consult #352
Features
- Support for specifying multiple versions of archive nodes in the config: config: archive node configuration by @pro-wh in #352
- Support for non-ERC20 EVM events: runtime: store unrecognized evm log events by @pro-wh in #378
- Support for Cobalt blocks beyond a certain height: Cobalt: Support 2 versions of escrow events. Disable non-negativity check for escrow values. by @mitjat in #370
Fixes
- typo fix by @mitjat in #376
- We no longer show non-EVM preimages as fake eth addresses: storage client: get entire address preimage by @pro-wh in #367
- Do not crash on malformed error messages in txs: bugfix: analyzer: Normalize error messages by @mitjat in #373
- openapi: window_step_size: fix typo by @mitjat in #377
Internal
Full Changelog: v0.0.14...v0.0.15
Oasis Indexer 0.0.14
What's Changed
Notice
A breaking (not fast forward) DB migration is introduced. We recommend a DB wipe.
Fixes
Full Changelog: v0.0.13...v0.0.14
Oasis Indexer 0.0.13
What's Changed
Notice
A breaking (not fast forward) DB migration is introduced. We recommend a DB wipe.
Features
- analyzer/consensus: Full Cobalt support. Internal types for node responses. by @mitjat in #356
- Support for pre-Damask runtime rounds by @mitjat in #362
Fixes
- bugfix: analyzer: evm events: Represent big int values as string, not float by @mitjat in #359
- Fix typo in comments by @csillag in #364
- bugfix: Ignore entities with no address by @mitjat in #366
- api: Fix runtime accounts query by @aefhm in #372
- bugfix: Make entities.address NOT NULL by @mitjat in #371
- add index for runtime rel tx queries by @Andrew7234 in #369
Internal
- sql: reuse queries. update->upsert. by @mitjat in #351
- config: add comment about sapphire start round by @pro-wh in #357
- analyzer/runtime: Refactor: Separate download, extract, sqlize steps by @mitjat in #358
- add upserts to genesis analyzer; some cleanup by @Andrew7234 in #353
- statecheck: Do not use indexer-internal APIs for node access by @mitjat in #361
- refactor: analyzer/runtime: Store a more-parsed tx in the db by @mitjat in #368
New Contributors
Full Changelog: v0.0.12...v0.0.13
Oasis Indexer 0.0.12
What's Changed
Notice
A breaking (not fast forward) DB migration is introduced. We recommend a DB wipe.
Features
- EVM token balances analyzer by @pro-wh in #332
{runtime}/status
: Endpoint for current number of compute nodes by @ptrus in #354- api: Add runtime and Consensus transaction failure details by @aefhm in #347
Fixes
- Minor fixes: improve db ergonomics, e2e testing by @mitjat in #342
- bugfix: reorder paginated queries by @Andrew7234 in #348
- EVM: handle deterministic errors for mutated token by @pro-wh in #346
- analyzer: remove concurrency in runtime analyzer by @Andrew7234 in #340
Internal
- refactor: Remove QueryFactory by @mitjat in #343
- db: schema
oasis_3
->chain
by @mitjat in #341 - migrate to pgx v5 by @mitjat in #349
- build(deps): bump golang.org/x/net from 0.2.0 to 0.7.0 by @dependabot in #331
- config: add sapphire analyzer to samples by @pro-wh in #355
New Contributors
- @dependabot made their first contribution in #331
Full Changelog: v0.0.11...v0.0.12
Oasis Indexer 0.0.11
What's Changed
- Add
/runtime/accounts/{addr}
; add stats to runtime account endpoint by @Andrew7234 in #322 - db: consensus events: add index by @mitjat in #338
- api: add gas_used and size to runtime transactions by @Andrew7234 in #337
- refactor: Initial support for Cobalt nodes by @mitjat in #326
- stats: Implement Daily active accounts statistics by @ptrus in #329
- EVM: prevent concurrent QueryBatch access by @pro-wh in #344
Full Changelog: v0.0.10...v0.0.11
Oasis Indexer 0.0.10
What's Changed
- evm tokens: remove Emerald references by @pro-wh in #313
- EVM tokens: fix missing token type by @pro-wh in #316
- analyzer: capture non tx events by @Andrew7234 in #309
- api: add rel filter on emerald/transactions by @Andrew7234 in #314
- api: add eth_hash filter for runtime/transactions by @Andrew7234 in #315
- metrics: Ignore 4xx results by @abukosek in #317
- runtimes: add related transactions index by tx by @pro-wh in #320
- metrics: Use histogram for DB latencies by @abukosek in #321
- testing: emerald statecheck by @Andrew7234 in #319
- api: Add runtime transaction sender and receiver Eth address by @aefhm in #310
- minor: include codegen files in docker image by @Andrew7234 in #327
- api: include pagination total by @Andrew7234 in #324
- cosmetic changes by @pro-wh in #330
- log: automatically include caller and timestamp by @ptrus in #328
- db: runtime_events table: add indexes by @mitjat in #333
New Contributors
Full Changelog: v0.0.9...v0.0.10
Oasis Indexer 0.0.9
What's Changed
- codegen helper: Use POSIX sed (OS X compatibility) by @mitjat in #308
- bump oasis-sdk by @pro-wh in #307
- runtime: remove some Emerald references by @pro-wh in #306
- EVM: remove chain ID check by @pro-wh in #311
- metrics: Normalize endpoints, use histogram for latencies by @abukosek in #312
New Contributors
Full Changelog: v0.0.8...v0.0.9
Oasis Indexer 0.0.8
What's Changed
Internal cleanup/refactoring:
- db client: Simplify, clean up by @mitjat in #297
- Generalize emerald tables to multiple runtimes by @mitjat in #296
- analyzer: Refactor configs by @mitjat in #299
- openapi: Generic runtime URLs by @mitjat in #300
- Emerald: tokens analyzer by @pro-wh in #284
- storage: source storage timeout (fixes Emerald analyzer freezing randomly) by @pro-wh in #276
Testing improvements:
- Basic manual e2e regression test suite by @mitjat in #285
- genesis-test: Create DB snapshot using full tx isolation by @mitjat in #298
API extensions and changes:
- Andrew7234/emerald events by @Andrew7234 in #301
- Api spec + db changes for indexing emerald events by @Andrew7234 in #295
- /runtime/transactions: Populate the timestamp by @mitjat in #304
- openapi: name the root path as getStatus by @lukaw3d in #302
- api: Implement missing/empty fields for MVP by @mitjat in #289
- Track native balances in runtimes. Per-denomination events from
accounts
module. by @mitjat in #288 - api: Support CORS by @mitjat in #290
- Implement /emerald/stats/tx_volume by @mitjat in #294
Full Changelog: v0.0.7...v0.0.8
Oasis Indexer 0.0.7
What's Changed
Same as 0.0.6, but with fixed github release pipeline.
Full Changelog: v0.0.6...v0.0.7