Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Version 2.0.0

Compare
Choose a tag to compare
@shuse2 shuse2 released this 23 Jul 13:41
e3009fc

v2.0.0 (2019-07-24)

Full Changelog

Released packages

  • lisk-sdk@2.0.0
  • lisk-framework@0.1.2
  • lisk-commander@2.1.2
  • lisk-elements@2.1.1
  • @liskhq/lisk-api-client@2.0.2
  • @liskhq/lisk-client@2.1.1
  • @liskhq/lisk-constants@1.2.2
  • @liskhq/lisk-cryptography@2.1.1
  • @liskhq/lisk-p2p@0.1.2
  • @liskhq/lisk-passphrase@2.0.2
  • @liskhq/lisk-transaction-pool@0.1.2
  • @liskhq/lisk-transactions@2.1.2
  • @liskhq/lisk-validator@0.1.1

Breaking Changes

API breaking changes

  • Removed unconfirmedBalance from /api/accounts and /accounts/{address}/multisignature_groups (#3183)
  • Change transactions property of /node/status endpoint and /node/transactions/{state} from unconfirmed/unsigned/unprocessed to ready/pending/verified/validated/received (#3609)
  • API response returns array of errors instead of single error (#3152)

Other breaking changes

  • Logging system changed (#2148)
  • Configuration files are now per module (#2577)

Soft fork related changes

  • Transaction type 5 (DAPP) is disabled. (#3104)

Improvements

  • Improve transaction processing efficiency (LIP-0006)
  • Create new network module using lisk-p2p library (#2874)
All the issues

Closed issues

  • Node keep disconnecting with peers running older versions #3961
  • Add missing unit tests for transactions processing #3951
  • Add unit tests for __private.undoConfirmedStep and __private.popLastBlock #3929
  • Uncaught TypeError in checkProtocolVersionCompatibility P2P validation method #3923
  • Missing await for async call #3922
  • Commander should remove backup on uninstall #3919
  • Unreacheable peers are kept as connected for too long #3917
  • Chain comparison is failing when nodes have the same block #3915
  • Transaction pool behavior breaks backward compatibility causing hard-fork #3914
  • Commander should create backup on upgrade #3911
  • Multiple forks 1 on testnet after update to 2.0.0-rc.0 #3907
  • Configuration parameter broadcastLimit is no longer used #3905
  • Commander does not allow upgrading using a custom build #3901
  • Commander should only download snapshots for mainnet and testnet #3898
  • networkHeight in /api/node/status unreliable #3885
  • API misreporting the connected peer count and state property is wrong #3881
  • Use nodejs crypto library for checksum verification #3872
  • Move transactions to the ready queue only if all transaction can be processed together #3871
  • API /api/node/constants missing build field #3848
  • Node upgrade failed due to schema validation errors #3844
  • Not all transactions are queued for broadcast #3809
  • Lisk Core 2.0.0 API performance degrade #3800
  • Lisk 2.0.0 protocol rejects with incompatible protocol version for nodes with version <= 1.4.1 #3799
  • Refine the Readme phrases #3796
  • Network module should ignore peers for consensus while sycing to network #3786
  • getTransactionFromNetwork does not serialize the transaction input #3738
  • Transaction pool doesn't respect maxTransactionsPerQueue limit #3732
  • Transactions type 4 are not propagated through the network #3728
  • Blockchain verification process should not connect to network #3723
  • Add default create values account state store asset #3715
  • Remove broadcastLimit property from chain and move to network module #3710
  • Fix application warnings #3704
  • Improve log level and log information #3703
  • Do not require nonce when broadcasting any object #3699
  • P2P does not consider broadcastLimit #3690
  • Confirmations value in block is NaN #3688
  • Failed to generate block within delegate slot due to Inadequate broadhash consensus #3687
  • commander core:install command hangs after installation #3676
  • Remove redundant handler check in Bus #3669
  • Rebuild/Verification failed for testnet and mainnet #3668
  • Update myself fails a lot because of invalid peer ip or port #3666
  • P2P errors while syncing with testnet #3651
  • Difficulty in testing lisk-core with local versions of lisk-sdk and lisk-framework #3645
  • Discovery is too reliant on seed peers #3643
  • Expose more util functions from lisk-transactions #3640
  • Benchmark transaction processing times #3627
  • Unprocessed transactions were not added to empty or non full blocks #3624
  • Redundant log info without any context #3623
  • Frequent API timeouts when running stress test #3622
  • Process status shows undefined in Lisk Application #3621
  • Node fail to sync when block contains multisignature transaction #3612
  • Name of unsigned transactions queue is misleading #3610
  • Update lisk-new-relic version #3608
  • Inconsistent cache behavior - error when cache enabled #3600
  • Update banner images #3596
  • getSignatures and getTransactions from the network is not working #3591
  • Transactions are not broadcasted after received by postTransactions #3588
  • API returns incorrect error for postTransactions #3586
  • Loader module does not have processTransactions module #3583
  • For future compatibility, we need to allow receiving RPCs and events on the outbound socket #3582
  • Check peer's blacklist before accepting an incoming connection #3581
  • Node doesn't sync with the network #3577
  • Small typo in the string of the receivedQueue constant #3576
  • Unstable broadhash consensus #3574
  • Remove the temporary "/lisk" directory #3572
  • Integration on lisk-p2p fails randomly #3549
  • Warning: A promise was created but was not returned from it #3546
  • The order of loading modules does not seems correct #3544
  • Pg-monitor doesn't show database level events in logs #3541
  • Transactions not being instantiated when receiving a block #3535
  • API node/status - invalid networkHeight #3533
  • API node/status transactions section given invalid results #3531
  • Test commander core commands #3516
  • Remove unnecessary dependency from framwork #3508
  • Remove unnecessary log from process transactions #3507
  • Missing values while saving peers to DB #3504
  • Application don't clean up properly on exit #3502
  • Remove network related config from Chain module #3484
  • Update network action/event name to be understandable channel name #3476
  • Passing ENV var via CLI does not work to modify app behavior #3475
  • Un-skip verify integration tests #3473
  • Update framework module info convention #3467
  • Update network config and update_config script accordingly #3466
  • Remove unused constants and files #3463
  • Add license header to new files #3462
  • Fee and Amount incorrectly set to 0 for validated transactions received from blocks #3457
  • Logging does not work for storage component #3455
  • Creating a duplicate database object for the same connection #3454
  • Export development helpers and samples from lisk-sdk #3441
  • App label validation fail when app.label is not given #3437
  • NewRelic does not show the proper network name #3435
  • Fix the update_config.js to point the right version of release for 2.0.0 #3432
  • Enable bootstrap --hoist option to speed up the build process #3425
  • Rename framework helper module to util to match with naming convention of other libraries #3424
  • Missing new exception keys in config #3419
  • Loader is trying to call non-existing function #3418
  • New network module receive connection id not match error alot #3417
  • Fix network test to be able to run after product merge #3408
  • Remove VError usage from elements #3406
  • Revisit skipped test in improve transaction processing efficiency #3404
  • Verify snapshot and sync for the mainnet #3403
  • Reference to application specific setting should be removed from framework #3402
  • Review prettier setting for overall SDK structure #3401
  • Jenkins should run network test in the framework #3397
  • Move the application-level project to TypeScript #3391
  • Add message size test in lisk-p2p library #3387
  • Provide a default database name of the Storage component #3385
  • Add how to setup development initially in README #3384
  • Add a script the start a sample application for test #3383
  • Fix tests in development branch #3375
  • Newrelic should be optional to run lisk core #3372
  • Framework is referencing the framework keyword itself #3366
  • P2P should not connect to itself #3364
  • Wrong reference of the version from lisk folder #3361
  • Commander tests failed after product merge #3360
  • Move Jenkins files to each appropriate folder #3354
  • Replace ASCII art with image file #3351
  • Jenkins for sdk need to be fixed according to the new structure #3350
  • Lisk Post SDK Fixes #3324
  • Multi-signature registration - Create member accounts #3313
  • Move exceptions.js file to be part of config.json to simplify config structure #3309
  • Expose a sample Genesis Block from Framework #3308
  • Add README for new lisk node commands #3314
  • Transaction timestamps should be checked against slotNumber #3297
  • Network tests fail when running more than 2 peers #3296
  • Error when syncing from scratch at processing genesis block #3292
  • Wrong options output parameter from api get peers #3291
  • Align node commands with latest Lisk changes #3315
  • Implement Unit tests for Chain module #3285
  • Restructure jest folder #3282
  • Restore logic of chain recover on sync #3281
  • Simplify the default value generation for all configurations #3273
  • Add lisk folder and move all of application related code #3270
  • Rename framework folder to core #3269
  • Fix Integration Tests for feature/improve_transaction_efficiency #3266
  • Adapt network module to use application state #3260
  • Remove snyk integration in favour of npm audit #3252
  • Implement design pattern for protocol change #3251
  • Functional test GET /accounts fails randomly #3249
  • Incorrect API responses during snapshotting #3235
  • Revise list of actions in the chain module #3230
  • Remove unconfirmed attributes for account in state store #3212
  • Rename application controller identifier "lisk" to "app" #3208
  • Remove invokeAsync() from controller and bus #3198
  • Make each component/module responsible for validation its configuration #3196
  • Node inspect can't be run with default child process #3193
  • All of the Error needs to converted to error object #3189
  • Remove attributes related to the unconfirmed state from the API #3183
  • Add functionality for handling exceptions present in the blockchain #3181
  • Add test coverage chain module config using commander #3175
  • Use selected blockchain parameters from framework-level #3173
  • Create new package.json in application-level #3172
  • Create and use config.js script merging defaults and custom configuration #3171
  • Create README for the application-level folder #3163
  • Create README for the Lisk SDK #3162
  • Create README for framework #3161
  • Narrow the list of supported by framework network parameters #3160
  • Integrate constants.js into chain-specific configuration #3159
  • Improve module actions security #3154
  • Prepare README.md files describing the new repositories structure #3153
  • Change the API response to return an array of errors #3152
  • Implement LIP-0006 "Improve transaction processing efficiency" #3150
  • Improve the overall configuration #3149
  • Update packages versions #3147
  • Prepare file structure for Lisk application #3146
  • Move broadhash computation logic from applicationState.update() to chain module #3141
  • Jest Unit test creates wrong log folder structure #3139
  • Fix Unit Tests #3134
  • Rename -s/--snapshot cli parameter #3119
  • Add tests for file rounds_information.js and round_store.js #3107
  • Disable type 5 - "register dapp" transaction #3104
  • Change system component to application state #3036
  • Allow custom transactions to add custom info to accounts #3027
  • Temporarily skip failing tests in feature/improve_transactions_processing_efficiency #3026
  • Improve Lisk Framework UX #3022
  • Issue with account entity sql file #3009
  • Refactor undoing transactions and use the new StateStore and transactions library #3006
  • Merge development into feature branch #3000
  • Publish an event on the channel when the peerHeaders are updated in the System component #2997
  • Support ENV vars and command line arguments in application-level #2976
  • Update schema validation support for chain module on provided options #2959
  • Change "eslint" and "prettier --write" command order in .lintstagedrc.json #2952
  • Add schema validation support to storage component on provided options #2950
  • Add schema validation support to cache component on provided options #2947
  • Remove "save-prefix" from .npmrc file #2944
  • Move rounds related logic from account.merge function to rounds module. #2942
  • Add schema validation support to system component on provided options #2940
  • Update Account entity to insert/delete entries in dependent tables for memberPublicKeys and votedDelegatePublicKeys properties #2938
  • Application should not start without valid blockchain state #2923
  • Resolve inconsistency in migrations naming #2916
  • Solve warnings: "Creating a duplicate QueryFile object for the same file" #2911
  • Refactor validating transactions using elements transactions library #2905
  • Remove rimraf from package.json #2899
  • Add schema validation support to logger component on provided options #2898
  • Remove all the P2P related files from chain module #2883
  • Update DB to save existing peers #2882
  • Update consensus calculation to use network module and fix the tests #2881
  • Update node.js in http_api module to use network module and fix the tests #2880
  • Update api/peer endpoints to use the network module #2879
  • Update broadcaster to use network module and fix the tests #2878
  • Update transport module in chain to use network module and fix the tests #2877
  • Update loader module in chain to use network module and fix the tests #2875
  • Create new network module #2874
  • Integrate @liskhq/lisk-p2p module in chain module #2873
  • Invalid API Response for peers endpoint with sort by height desc #2861
  • Use transactions elements for validating new multisignature from API and peers #2859
  • Unconfirmed State Removal - modules/accounts shouldn't mutate unconfirmed state #2852
  • Unconfirmed State Removal - logic/account.js should not mutate unconfirmed fields when interacting with Account Entity #2851
  • Only accept integer range values for snapshotting rounds #2843
  • Remove implementation of all transaction types from logic folder #2835
  • Refactor fillPool mechanism to get processable transactions from the transaction pool's ready queue #2833
  • Expose functions from transaction pool module to get queued transactions #2832
  • Expose functions from transaction pool module to get multi-signature transactions #2830
  • Refactor transactions pool in lisk-core, and use transactions pool library #2829
  • Remove usages of applying transaction to unconfirmed state from the application #2828
  • Remove tables and columns related to unconfirmed state from the database #2827
  • Use transactions elements for validating schema when receiving a transaction from API and peers #2826
  • Refactor verifying multi-signatures for transactions and use the new StateStore and transactions library #2825
  • Refactor applying transactions and use the new StateStore and transactions library #2824
  • Refactor verifying transactions and use the new StateStore and transactions library #2823
  • Update checkTransactions function and use StateStore and lisk-element's transactions #2821
  • Implement StateStore for fetching accounts and transactions and saving updated accounts in the database #2820
  • Create Proxy class for initializing class instance of transactions defined in lisk-elements. #2819
  • Move Lisk-specific transaction types to application-level #2780
  • Refactor current config.json file to be structured in different chunks #2577
  • Improve logging system #2148

Merged pull requests