v4.0.0
This release upgrades to Demux v4.
New Features
- The
MassiveActionHandler
now utilizes the newsetup
method in Demux v4 to make sure a valid Massive instance was passed to the constructor, and for running any needed initial migrations. - New error classes have been created to replace generic inline
Error
instances, for better debugging and error handling capabilities.
Bug Fixes
- Due to dependencies not being locked correctly, instances of the
QueryFile
class from pg-promise used for migrations was not passing explicit type checks from within pg-promise, as theQueryFile
s being instantiated were from a different version required by MassiveJS. This issue has now been resolved.
Breaking Changes
- The
MassiveActionHandler#setupDatabase
public method was removed, and its funcitonality was moved tosetup
(as described above). Additionally, it is no longer required that you call this method before callinghandleBlock()
, ashandleBlock()
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.