Releases: aergoio/aergo
v1.3.1
v1.3.0
This release contains a number of improvements and new features.
New features
- Aergo-JDBC: Aergo now includes a JDBC-compatible database interface. Use this to connect to a smart contract as if it were a database. For this, the SQL support in Lua contracts was improved. Note that this feature is only available on private networks.
- Polaris version filter: Prevent older version aergoserver from getting peer list
Improvements
- [RAFT] add ElectionTickCount parameter in RaftConfig. Default value is 10.
- [P2P] Fix panic during shutdown
- [P2P] Improve policy of retrying tx notice
- [brick] print event msgs during contract call
- [brick] query now can check an expected error
- [P2P] Improve code generation of mock object
- [P2P] Change behavior of whitelist configuration
v1.2.3
This is a patch release containing a few improvements regarding P2P communication and a lua script execution bug fix.
Bug Fixes
- [ctr/lua] bignum.pow didn't return the correct result in certain cases
- [P2P] Whitelist
- Fix add or remove whitelist conf was not applied immediately
- Change behavior of whitelist not to affect outbounding peers
- Changing whitelist configuration will trigger immediate ban now.
v1.2.2
This is a patch release containing a few bug fixes regarding the Raft consensus implementation.
Bug Fixes
- [RAFT] fix logging for work of blockfactory
- [RAFT] fix bug: block factory generates work of same height.
- [RAFT] add validation of address in ValidateEnterpriseTx
v1.2.1
This is a patch release containing a few bug fixes, mostly regarding the Raft consensus implementation.
Bug Fixes
- [Mempool] Remove whitelist statistics in public network
- [P2P] Add retry tx notice
- [RAFT] Fix bug that make fork of chain when leader changed
- [RAFT] Add blockfactorytickms=30 to config of test scripts
- [RAFT] Check if term of leader is changed before propose.
- [RAFT] Add debug feature: block factory sleeps before proposing block
- [RAFT] Minor refactoring: leader check api
- [RAFT] Add config parameter : StopDupCommit
v1.2.0
This release contains a number of improvements and new features, especially regarding enterprise support. This is an important step towards integration for enterprise customers.
These features are active when a chain is initialized in private mode and are not available on public networks.
New Features
-
Enterprise
- Enterprise administrators: Users can set up administrators to control their private network
- RPC permission control using TLS certification on private network
- P2P Whitelist: Add whitelist feature based on ip addres and/or peerid
- Account Whitelist: Enterprise administrators can set up accounts that can transfer transactions
-
Consensus
- Raft
- Raft version 2 added. In verion2, blockchain and raft logs are tightly coupled.
- Replace network framework by P2P
- support Dynamic membership management by Enterprise transaction
- Raft
Breaking Changes
- RPC, StateQuery: storageKeys type was changed to bytes (which should be the hash of the key name; was previously just a string of the name)
- Smart Contract Default function: If the function name is not found, it no longer calls the default function and raises an error instead.
Improvements
-
RPC
- TLS support:The GRPC API can now be configured to use TLS connections (HTTP2 only, not for grpc-web; for now continue to use proxy servers for grpc-web over https)
- GetChainInfo (Total staking): Support current total staking in GetChainInfo
-
Smart contract
- Support for multi dimensional state.map, state.array
v1.1.2
v1.1.1
This is a patch release containing several bug fixes regarding smart contract execution.
Bug Fixes
- [ctr/lua] allow 0 byte to key at setitem
- [ctr/lua] tx error if conversion of return value to json fails
- [ctr/lua] If matched function name does not exist, changed the error to occur even if the default function exists
v1.1.0
Another month, another feature release! This release comes with a number of API changes and new features.
New Features
- RPC API
- BlockMetadata now contains a size attribute which is the size of the marshalled Block object
- ChainStat shows a brief statistics on reorganization which occurs after aergosvr starts
- GetNameInfo now takes an optional parameter blockno which allows querying the owner at a specific block height
- GetPeers now returns the version used by each peer
- Chain Management Crash recovery: support crash recovery when server is crashed at any state and rebooted
API changes
- As usual, refer to the protobuffer changelog.
Improvements
- Use Go modules instead of Glide
- Several small bug fixes and test improvements
v1.0.5
This is a patch release containing several bug fixes regarding smart contract execution.
Bug Fixes
- [ctr/lua] limit bignum max,min (-(2^256-1) ~ (2^256-1))
- [ctr/lua] fix compile error
- [ctr/lua] rollback state when error occurred in contract.call #74
- [ctr/lua] reset amount value when error occurred at contract.call/deploy