Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

Releases: CityOfZion/neo-js

0.14.0

29 Dec 15:28
Compare
Choose a tag to compare
  • Miscellaneous incremental developments
    • Neo.enableSyncer feature toggle, default to true.
    • Consolidate method nouns stop() and disconnect() to close().
    • Add Storage.getHighestBlockHeight() and deprecate Storage.getBlockCount() to minimize misleading.
    • Upgrade mongoose.remove() usage to mongoose.deleteMany() per deprecation recommendations.
    • Refactor BlockHelper.getGenerationTime(block, previousBlockTimestamp) to take in 2 blocks instead of a block and a timestamp.
    • Rework BlockMetaAnalyzer, it is now renamed to BlockAnalyzer.
    • Remove unused default collection name specifications in MongodbStorage.
    • Incremental transaction analyzer implementation as part of BlockAnalyzer.
    • Incremental implementation (and finalize) on transaction meta's schema
    • Ability to verify legacy transaction metas in BlockAnalyzer
    • Review indexes for block metas and transaction metas
    • Rename some event emitters in BlockAnalyzer
    • Rework on BlockAnalyzer.verifyTransactionMetas()

0.13.0

10 Dec 13:06
Compare
Choose a tag to compare

This release completely focused on code refactor and dependencies update. There are no interface modifications.

  • Miscellaneous incremental developments
    • MongoDB Data Access Objects, to partition complicities from MongodbStorage
    • Refactor promise to await/async usages
    • Modernize mongoose package dependency
    • Modernize neon-js package dependency

0.12.1

05 Dec 00:34
Compare
Choose a tag to compare
  • Neo instance does not shut off properly with Neo.close() #197

0.12.0

03 Dec 13:36
Compare
Choose a tag to compare
  • Node.getShapedLatency() sometime returns NaN
  • Add feature toggle in Api.getBlock() to optionally store block into storage
  • Ability for Api instance to emit ready event
  • Block metadata analyzer
  • Miscellaneous incremental developments
    • MongodbStorage reviewing index is no longer tied to its ready emitter. Ie/ when reviewIndexesOnConnect toggle is enabled, ready event will emit first, then it will be the trigger to start reviewing required indexes on database.
    • New reviewIndex:init and reviewIndex:complete event emitters from MongodbStorage.
    • MongodbStorage will now tries to index for payload.tx.txid
    • Enable esModuleInterop in TypeScript config (preparation for support of newer neon-js versions)
    • Refactor Node event emitters from query:success and query:failed to query:complete
    • isSuccess parameter is now undefined when isSkipped: true in event emitters
    • Implement Api.getTransaction()
    • Add asset profiles
    • Add transaction types to profile

0.11.0

19 Nov 04:36
Compare
Choose a tag to compare

0.11.0 Release Note

Incremental feature maintenance and updates:

  • Prevent Syncer.analyzeBlocks() overlaps #177
  • Ability to override neon-js' request timeout #180
  • Complete blocks pruning support in Syncer #174

Other updates:

  • Emit ready when MemoryStorage is prepared
  • API.getBlock() will now attempt to obtain node endpoint as its 'source'
  • Update on mainnet endpoint list in profiles
  • Update Syncer.maxStoreQueueLength default value to 1000 from 10000
  • Add feature toggle to check for database indexes in MongodbStorage
  • Remove Node.toBenchmark feature toggle, as it will now always perform basic benchmarkings
  • Add Node.isBenchmarking flag to avoid benchmark overlaps
  • Node.pendingRequest property can be undefined
  • Ability to calculate and obtain reliability value of a node
  • Case update for Syncer completion event emitter key to upToDate from UpToDate
  • Modify Mesh.pendingRequestsThreshold usage to be inclusive
  • Worker enqueues in Syncer now pass metadata to improve debugging
  • Add Node.getShapedLatency() method

0.10.0

11 Nov 12:08
Compare
Choose a tag to compare

Version 0.10.0 is a major rewrite and revaluation for this project.

  • Project is now written in TypeScript. Source codes are to be located in /src and transpiled codes are to be in /dist.
  • Features reconsiderations. Multiple existing features are now been cut back for revaluation, please use the issues to keep track on future enhancements.
  • MongoDB document schemas are been revised. The used schemas will be the ones going forward for version 1.0.
  • Examples will now be in its dedicated neo-js-examples repository for better black-box and regression testings.

Current Capabilities

As in version 0.10.0, following features are available:

  • Core mesh class to benchmark quality of chosen nodes.
  • Core API class to fetch node from storage or mesh, depends on availability.
  • Core syncer class to synchronise blocks from blockchain to chosen MongoDB as storage.

0.8.1

20 May 10:21
Compare
Choose a tag to compare

Hot fix addressing incorrect entry point in NPM package #163

0.8.0

17 May 13:02
Compare
Choose a tag to compare

The neo-js 0.8.0 maintenance release with key enhancements:

  • Initial adaptation on event-driven architecture
  • Add ‘ready’ state for Mesh class
  • Decouple blockchain synchronization strategy from Neo class

0.7.0

31 Mar 05:52
Compare
Choose a tag to compare

The neo-js 0.7.0 maintenance release with key enhancements:

  • Add version property
  • Add detailed logging and verbose control
  • Add capability for deep option parameter assignments
  • Adapt neon-js and its RPC implementation
  • Code restructure to eliminate circular references
  • Update and use JSDoc as project's documentation generator