Skip to content

Releases: FuelLabs/fuel-indexer

v0.25.0

06 Feb 18:59
5958f20
Compare
Choose a tag to compare

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

Full Changelog: v0.24.3...v0.25.0-rc

v0.24.3

08 Dec 16:41
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.24.2...v0.24.3

v0.24.2

06 Dec 15:28
fefbf2c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.24.1...v0.24.2

v0.24.1

01 Dec 15:19
118b6bd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.24.0...v0.24.1

v0.24.0

29 Nov 22:52
d628f39
Compare
Choose a tag to compare

What's Changed

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

01 Nov 17:18
6a3f138
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.22.0...v0.23.0

v0.22.0

25 Oct 15:58
7d73a32
Compare
Choose a tag to compare

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

19 Oct 16:57
18f846c
Compare
Choose a tag to compare

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

Full Changelog: v0.21.1...v0.21.2

v0.21.1

10 Oct 13:34
604f71d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.21.0...v0.21.1

v0.21.0

29 Sep 17:01
ab70a95
Compare
Choose a tag to compare

What's Changed

v0.20.0

v0.20.2

v0.20.3

v0.20.4

v0.20.6

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

v0.20.10

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