|
1 | 1 | # Release Notes
|
2 | 2 |
|
| 3 | +## [v1.7.11](https://github.com/ava-labs/avalanchego/releases/tag/v1.7.11) |
| 4 | + |
| 5 | +This version is backwards compatible to [v1.7.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.7.0). It is optional, but encouraged. |
| 6 | + |
| 7 | +**The first startup of the C-Chain will cause an increase in CPU and IO usage due to an index update. This index update runs in the background and does not impact restart time.** |
| 8 | + |
| 9 | +### State Sync |
| 10 | + |
| 11 | +- Added state syncer engine to facilitate VM state syncing, rather than full historical syncing |
| 12 | +- Added `GetStateSummaryFrontier`, `StateSummaryFrontier`, `GetAcceptedStateSummary`, `AcceptedStateSummary` as P2P messages |
| 13 | +- Updated `Ancestors` message specification to expect an empty response if the container is unknown |
| 14 | +- Added `--state-sync-ips` and `--state-sync-ids` flags to allow manual overrides of which nodes to query for accepted state summaries |
| 15 | +- Updated networking library to permanently track all manually tracked peers, rather than just beacons |
| 16 | +- Added state sync support to the `metervm` |
| 17 | +- Added state sync support to the `proposervm` |
| 18 | +- Added state sync support to the `rpcchainvm` |
| 19 | +- Added beta state sync support to `coreth` |
| 20 | + |
| 21 | +### ProposerVM |
| 22 | + |
| 23 | +- Prevented rejected blocks from overwriting the `proposervm` height index |
| 24 | +- Optimized `proposervm` block rewind to utilize the height index if available |
| 25 | +- Ensured `proposervm` height index is marked as repaired in `Initialize` if it is fully repaired on startup |
| 26 | +- Removed `--reset-proposervm-height-index`. The height index will be reset upon first restart |
| 27 | +- Optimized `proposervm` height index resetting to periodically flush deletions |
| 28 | + |
| 29 | +### Bug Fixes |
| 30 | + |
| 31 | +- Fixed IPC message issuance and restructured consensus event callbacks to be checked at compile time |
| 32 | +- Fixed `coreth` metrics initialization |
| 33 | +- Fixed bootstrapping startup logic to correctly startup if initially connected to enough stake |
| 34 | +- Fixed `coreth` panic during metrics collection |
| 35 | +- Fixed panic on concurrent map read/write in P-chain wallet SDK |
| 36 | +- Fixed `rpcchainvm` panic by sanitizing http response codes |
| 37 | +- Fixed incorrect JSON tag on `platformvm.BaseTx` |
| 38 | +- Fixed `AppRequest`, `AppResponse`, and `AppGossip` stringers used in logging |
| 39 | + |
| 40 | +### API/Client |
| 41 | + |
| 42 | +- Supported client implementations pointing to non-standard URIs |
| 43 | +- Introduced `ids.NodeID` type to standardize logging and simplify API service and client implementations |
| 44 | +- Changed client implementations to use standard types rather than `string`s wherever possible |
| 45 | +- Added `subnetID` as an argument to `platform.getTotalStake` |
| 46 | +- Added `connected` to the subnet validators in responses to `platform.getCurrentValidators` and `platform.getPendingValidators` |
| 47 | +- Add missing `admin` API client methods |
| 48 | +- Improved `indexer` API client implementation to avoid encoding edge cases |
| 49 | + |
| 50 | +### Networking |
| 51 | + |
| 52 | +- Added `--snow-mixed-query-num-push-vdr` and `--snow-mixed-query-num-push-non-vdr` to allow parameterization of sending push queries |
| 53 | + - By default, non-validators now send only pull queries, not push queries. |
| 54 | + - By default, validators now send both pull queries and push queries upon inserting a container into consensus. Previously, nodes sent only push queries. |
| 55 | +- Added metrics to track the amount of over gossipping of `peerlist` messages |
| 56 | +- Added custom message queueing support to outbound `Peer` messages |
| 57 | +- Reused `Ping` messages to avoid needless memory allocations |
| 58 | + |
| 59 | +### Logging |
| 60 | + |
| 61 | +- Replaced AvalancheGo's internal logger with [uber-go/zap](https://github.com/uber-go/zap). |
| 62 | +- Replaced AvalancheGo's log rotation with [lumberjack](https://github.com/natefinch/lumberjack). |
| 63 | +- Renamed `log-display-highlight` to `log-format` and added `json` option. |
| 64 | +- Added `log-rotater-max-size`, `log-rotater-max-files`, `log-rotater-max-age`, `log-rotater-compress-enabled` options for log rotation. |
| 65 | + |
| 66 | +### Miscellaneous |
| 67 | + |
| 68 | +- Added `--data-dir` flag to easily move all default file locations to a custom location |
| 69 | +- Standardized RPC specification of timestamp fields |
| 70 | +- Logged health checks whenever a failing health check is queried |
| 71 | +- Added callback support for the validator set manager |
| 72 | +- Increased `coreth` trie tip buffer size to 32 |
| 73 | +- Added CPU usage metrics for AvalancheGo and all sub-processes |
| 74 | +- Added Disk IO usage metrics for AvalancheGo and all sub-processes |
| 75 | + |
| 76 | +### Cleanup |
| 77 | + |
| 78 | +- Refactored easily separable `platformvm` files into separate smaller packages |
| 79 | +- Simplified default version parsing |
| 80 | +- Fixed various typos |
| 81 | +- Converted some structs to interfaces to better support mocked testing |
| 82 | +- Refactored IP utils |
| 83 | + |
| 84 | +### Documentation |
| 85 | + |
| 86 | +- Increased recommended disk size to 1 TB |
| 87 | +- Updated issue template |
| 88 | +- Documented additional `snowman.Block` invariants |
| 89 | + |
3 | 90 | ## [v1.7.10](https://github.com/ava-labs/avalanchego/releases/tag/v1.7.10)
|
4 | 91 |
|
5 | 92 | This version is backwards compatible to [v1.7.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.7.0). It is optional, but encouraged.
|
|
0 commit comments