Skip to content

v2.4.0

Compare
Choose a tag to compare
@DZakh DZakh released this 01 Oct 13:53
· 48 commits to main since this release
8e0f015

What's Changed

New Fuel receipt types support ⛽

Previously, you could only index LOG_DATA receipts. The release supports indexing MINT, BURN, TRANSFER, TRANSFER_OUT, and CALL receipt types.

Read more on the Fuel documentation page.

By @DZakh in #227, #228, #229, #239, #241

Customize decimal precision of BigInt and BigDecimal fields 💯

When working with large integers or high-precision decimal numbers in your application, you might need to customize the precision and scale of your BigInt and BigDecimal fields. This ensures that your database stores these numbers accurately according to your specific requirements. If you know your numbers will not be too big, you can also optimize the database by not over-allocating on the precision.

Example:

type Product {
  id: ID!
  price: BigDecimal @numeric(precision: 10, scale: 2)
}

In this example, the price field can store numbers with up to 10 digits in total, with 2 digits after the decimal point (e.g., 99999999.99).

Read more on the Schema documentation page.

By @JasoonS in #223

Fixes & Improvements 🔧

  • Drastically improve historical sync performance with Reorg handling enabled by @JonoPrest in #220, #235
  • Update npm package README.md by @DZakh in #232

Internal work 🧹

  • Benchmark Improvements by @JonoPrest in #218, #242
  • Remove unused to_postgres_type function from codegen by @JasoonS in #224
  • Preparations for V2 Hosted Service: Add Prometheus Metric for synced at head and update pnpm install options by @MJYoung114 in #230
  • Remove TS and Eslint dev dependencies from the Envio package by @DZakh in #233
  • Start moving code from generated to the Envio package by @DZakh in #234, #238
  • Preparations for the Fuel Mainnet launch by @DZakh in #237
  • Clean cache guide by @JasoonS in #236

Full Changelog: v2.3.2...v2.4.0