Skip to content

Releases: EOSIO/demux-js-eos

v4.0.1

07 Mar 15:41
b4fb0b8
Compare
Choose a tag to compare

This patch release resolves the following issue:

  • MongoActionReader now properly checks existence of needed collections (#56)

v4.0.0

26 Feb 13:29
Compare
Choose a tag to compare

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.

v3.1.0

03 Jan 20:50
733cf15
Compare
Choose a tag to compare

New Features

  • New optional property added to EosPayload, notifiedAccounts, which the MongoActionReader utilizes to keep track of the which accounts are notified for each action

Bug Fixes

  • Since there is an entry in the action_traces MongoDB collection per notified account, the MongoActionReader was producing duplicate Actions for every action's notification. This release fixes the issue to produce only one Action per blockchain action.

v3.0.1

20 Dec 18:00
c7e74f9
Compare
Choose a tag to compare

This will act as the first automated publish to NPM of a new version.

v3.0.0

17 Dec 15:06
0006774
Compare
Choose a tag to compare

This release upgrades to demux v3. The most notable improvement of this release is how the MongoActionReader retrieves block information. Previously, the large blocks collection was used to retrieve actions. Now, the action_traces collection is used instead, greatly reducing required disk space. Another advantage to switching to action_traces is that inline actions are now included.

Breaking changes

  • The library is now dependent on demux v3.x.x.

New Features

  • Inline actions are now included when using the MongoActionReader.

  • The MongoActionReader now retries when queries fail.

Bug fixes

  • The NodeosActionReader's retry logic had an off-by-one error resulting in there to be one less retry than expected; this is now fixed.

v2.0.0

11 Sep 14:48
79efe85
Compare
Choose a tag to compare

This release updates the dependent demux package to 2.0.0.