github subquery/subql node/2.0.0
[2.0.0] @subql/node

latest releases: cli/5.2.7, cli/5.2.6, node/5.2.5...
17 months ago

[2.0.0] - 2023-04-20

  • Major release for 2.0.0, align with other package versions

Added

  • Added Database cache feature, this significantly improve indexing performance
    • Data flush to database when number of records reaches --store-cache-threshold value (default is 1000), this reduces number of transactions to database in order to save time.
    • Direct get data from the cache rather than wait to retrieve it from database, with flag --store-get-cache-size user could decide how many records for each entity they want to keep in the cache (default is 500)
    • If enabled --store-cache-async writing data to the store is asynchronous with regard to block processing (default is enabled)
  • Testing Framework, allow users to test their projects filters and handler functions without having to index the project (#1584)
    • Create test files with the naming convention *.test.ts and place them in the src/tests or src/test folder. Each test file should contain test cases for specific mapping handlers.
    • Run the testing service using the command: subql-node test.

Don't miss a new subql release

NewReleases is sending notifications on new releases.