This repository has been archived by the owner on Apr 5, 2021. It is now read-only.
Releases: CityOfZion/neo-js
Releases · CityOfZion/neo-js
0.14.0
- Miscellaneous incremental developments
Neo.enableSyncer
feature toggle, default totrue
.- Consolidate method nouns
stop()
anddisconnect()
toclose()
. - Add
Storage.getHighestBlockHeight()
and deprecateStorage.getBlockCount()
to minimize misleading. - Upgrade
mongoose.remove()
usage tomongoose.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 toBlockAnalyzer
. - 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
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
0.12.0
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
andreviewIndex: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
andquery:failed
toquery:complete
isSuccess
parameter is now undefined whenisSkipped: true
in event emitters- Implement
Api.getTransaction()
- Add asset profiles
- Add transaction types to profile
- MongodbStorage reviewing index is no longer tied to its
0.11.0
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 toupToDate
fromUpToDate
- Modify
Mesh.pendingRequestsThreshold
usage to be inclusive - Worker enqueues in
Syncer
now pass metadata to improve debugging - Add
Node.getShapedLatency()
method
0.10.0
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
0.8.0
0.7.0
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