This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
Releases: FuelLabs/fuel-indexer
Releases · FuelLabs/fuel-indexer
v0.25.0
Note
Please note that this is a release candidate of the Fuel indexer for the upcoming beta-5 testnet. It has not gone through the normal set of testing and benchmarking as previous releases as the beta-5 network has not been released; thus, this release has not been tested on real-world data.
If any problems are encountered, please file an issue.
What's Changed
- v0.24.3 by @lostman in #1510
- enhancement: add Entity::delete_many by @lostman in #1514
- chore: upgrade to beta-5 by @ra0x3 in #1495
- fix: include
std
feature onstrum
dependency by @deekerno in #1522 - chore: upgrade Fuel dependencies by @deekerno in #1523
- v0.25.0 by @deekerno in #1521
Full Changelog: v0.24.3...v0.25.0-rc
v0.24.3
v0.24.2
v0.24.1
v0.24.0
What's Changed
- docs: add deployment explanation by @ra0x3 in #1449
- docs: reference docker compose in quickstart by @ra0x3 in #1454
- chore: upgrade to fuels v0.50 by @ra0x3 in #1458
- chore: add --network to fuel-indexer by @ra0x3 in #1457
- chore: add executor metrics by @ra0x3 in #1456
- docs: add forc index status to quickstart by @ra0x3 in #1459
- fix: add instantiating indexer status, and display error if instantiation fails by @lostman in #1460
- enhancement: implement find on entity by @lostman in #1446
- enhancement: add find_many by @lostman in #1469
- chore: and schema support and documentation for
U16
by @ra0x3 in #1481 - bugfix: fix bytes encoding in entity::find by @lostman in #1482
- v0.24.0 by @lostman in #1483
New functionality 🎉
Connect to beta networks more easily
fuel-indexer run --run-migrations --network beta-4
New ORM functionality
Including support for find()
, find_many()
, order_by()
, and limit()
extern crate alloc;
use fuel_indexer_utils::prelude::*;
mod indexer_mod {
fn handle_data(order: Order) {
// Find a single item and order results
let found_order = Order::find(
Order::amount()
.gt(order.amount)
.and(Order::address().eq(0x001))
.order_by(Order::time().asc()),
);
if let Some(o) = found_order {
info!("I find the order! {order:#?}");
}
// Find multiple orders and limit the result set
let found_orders = Order::find_many(
Order::amount()
.gt(order.amount)
.limit(10)
.order_by(Order::time().asc()),
);
info!("Found {} orders matching the query", found_orders.len());
assert!(found_orders.len() <= 10);
}
}
Full Changelog: v0.23.0...v0.24.0
v0.23.0
What's Changed
- Adding Helm Chart for infra-v2 by @liviudm in #1419
- enhancement: extract better error messages from indexers by @lostman in #1435
- enhancement: add option for delaying requests to Fuel node by @deekerno in #1441
- chore: upgrade to fuels 0.49 by @ra0x3 in #1443
- docs: update feature matrix by @ra0x3 in #1436
- v0.23.0 by @ra0x3 in #1444
New Contributors
Full Changelog: v0.22.0...v0.23.0
v0.22.0
Breaking Changes
Native execution as been removed. WASM remains as the only execution method for user-created indexers.
What's Changed
- fix: failing test_asset_upload_endpoint_properly_adds_assets_to_database_postgres integration test by @lostman in #1426
- chore: cargo sort the whole workspace by @lostman in #1427
- chore: remove native execution by @ra0x3 in #1423
- enhancement: full anyhow::Result<()> support in indexers by @lostman in #1425
- Add ecosystem component question to issue template by @deekerno in #1432
- v0.22.0 by @deekerno in #1429
Full Changelog: v0.21.2...v0.22.0
v0.21.2
What's Changed
- enhancement: compare fuel-indexer and forc-index versions by @lostman in #1400
- chore: nice errors on failed forc-index-deploy by @ra0x3 in #1408
- chore: improve
--embedded-database
messaging by @ra0x3 in #1407 - docs: link to docs hub fuel installation guide by @cold-briu in #1374
- enhancement: support for Sway array types by @ra0x3 in #1411
- enhancement: transparently add internal types for GraphQL connection specification by @deekerno in #1403
- enhancement: forc index status: report indexer status and errors by @lostman in #1412
- v0.21.2 by @ra0x3 in #1422
New Contributors
- @cold-briu made their first contribution in #1374
Full Changelog: v0.21.1...v0.21.2
v0.21.1
What's Changed
- fix: clippy warnings by @lostman in #1394
- enhancement: remove panics and expects by @lostman in #1395
- chore: update rust version by @lostman in #1399
- chore: update examples and qa script by @ra0x3 in #1392
- enhancement: use panic_hook to retrieve message from a failed WASM execution by @lostman in #1404
- v0.21.1 by @ra0x3 in #1405
Full Changelog: v0.21.0...v0.21.1
v0.21.0
What's Changed
v0.20.0
v0.20.2
- fix: re-enable docker publish on master + re-enable plugin tests by @ra0x3 in #1287
- fix: move
client.chain_info()
call outside of loop by @deekerno in #1289 - fix: update
MessageOut
data parsing by @deekerno in #1294 - v0.20.2 by @deekerno in #1295
v0.20.3
v0.20.4
v0.20.6
- fix: update #1294 + #1296 by @ra0x3 in #1305
- enhancement: Update --replace-indexer and add --remove-data V2 by @lostman in #1225
- ci: optimize workflow for general development PRs by @deekerno in #1290
- docs: Lowercase namespace and update example graphql query by @dadepo in #1300
- enhancement: refactor GraphQL schema parser by @lostman in #1281
- fix: update MessageOut data parsing due to API change by @deekerno in #1313
- enhancement: Added message to compiler error when on Apple M1 by @dadepo in #1302
- fix: fix overly broad tuple type check by @deekerno in #1315
- testing: add snapshot and trybuild tests by @ra0x3 in #1308
- v0.20.6 by @deekerno in #1319
v0.20.7
v0.20.8
- chore: add graphql schema validation by @ra0x3 in #1318
- enhancement: rebuild when manifest changed by @lostman in #1338
- chore: remove indexer asset versioning logic by @lostman in #1340
- Add Mint and Burn receipts to fuel-explorer by @deekerno in #1342
- enhancement: add support for sway generics by @ra0x3 in #1332
- Made manifest contract_id work with both namespaced and non-namespaced contract IDs by @dadepo in #1326
- v0.20.8 by @ra0x3 in #1344
v0.20.9
- chore: fuel-indexer: refactor run, service, and executor to take advantage of tokio::task::JoinSet by @lostman in #1327
- fix: update lockfile by @ra0x3 in #1346
- fix: trigger kill switch when end block is met by @deekerno in #1353
- enhancement: WASM error codes, early exit on error or kill switch by @lostman in #1337
- docs: major documentation update by @deekerno in #1312
- added script and mint handling by @ra0x3 in #1358
- fix: support contract JSON ABI with callpaths by @deekerno in #1354
- fix: Fix TransferOut test by @dadepo in #1356
- enhancement: add QA suite of tests by @ra0x3 in #1348
- v0.20.9 by @ra0x3 in #1362
v0.20.10
- fix: update docs example by @ra0x3 in #1364
- enhancement: forc index status formatting update by @lostman in #1365
- chore: remove alloc references by @ra0x3 in #1367
- enhancement: don't allow missing blocks by @lostman in #1349
- fix: bring forc index start up-to-date by @ra0x3 in #1366
- v0.20.10 by @ra0x3 in #1371
v0.20.11
v0.21.0
- enhancement: Removed report_metrics from indexer manifest by @dadepo in #1372
- docs: update README by @ra0x3 in #1379
- enhancement: make sequential blocks trigger configurable by @lostman in #1378
- fix: update rustc specified in default indexer cargo manifest by @ra0x3 in #1380
- fix: consecutive blocks trigger existence check by @lostman in #1386
- chore/breaking: simplify scalar types by @ra0x3 in #1388
- chore: add sway app abi tests by @ra0x3 in #1341
- v0.21.0 by @ra0x3 in #1389
Breaking changes
- Several breaking changes were made to GraphQL scalars
Previous implementation
type Account @entity {
id: ID!
value: UInt8!
blob: Blob!
name: Charfield!
signature: Signature!
nonce: Nonce!
tx_id: TxId!
}
New implementation
type Account @entity {
id: ID!
value: U64!
blob: Bytes!
name: String!
signature: Bytes64!
nonce: Bytes32!
tx_id: Bytes32!
}
Full list of changed scalars
Previous | Current |
---|---|
Int1 | I8 |
UInt1 | U8 |
Int4 | I32 |
UInt4 | U32 |
Int8 | I64 |
UInt8 | U64 |
Int16 | I128 |
UInt16 | U128 |
Charfield | String |
Signature | Bytes64 |
Nonce | Bytes32 |
Blob | Bytes |
Virtual | (removed) |
New Contributors
Full Changelog: v0.20.0...v0.21.0