Skip to content

v4.0.0

Compare
Choose a tag to compare
@flux627 flux627 released this 26 Feb 13:29
· 16 commits to master since this release

This release upgrades to Demux v4.

New Features

  • New StateHistoryPostgresActionReader that obtains block information from a Postgres database populated by EOSIO/fill-postgresql.
  • The MongoActionReader now utilizes the new setup method in Demux v4 to connect to the Mongo database, also also includes new validation that checks if the required collections exist.
  • New error classes have been created to replace generic inline Error instances, for better debugging and error handling capabilities.

Breaking Changes

  • All Action Readers now follow the Demux v4 convention of using an options object. You will need to update all instantiations of your NodeosActionReaders and MongoActionReaders to match the new signatures.
  • The MongoActionReader#initialize public method was removed, and its funcitonality was moved to setup (as described above). Additionally, it is no longer required that you call this method before calling getBlock(), as getBlock() will automatically call it if it hasn't been called before.

Block.one makes its contribution on a voluntary basis as a member of the EOSIO community and is not responsible for ensuring the overall performance of the software or any applications related thereto. We make no representation, warranty, guarantee or undertaking in respect of the releases described herein and the related GitHub release or the EOSIO software, whether expressed or implied, and disclaim all liability that may arise from any use of the software for any purpose.