|
1 | 1 | # Release Notes |
2 | 2 |
|
| 3 | +## [v1.10.2](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.2) |
| 4 | + |
| 5 | +This version is backwards compatible to [v1.10.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.0). It is optional, but encouraged. The supported plugin version is `26`. |
| 6 | + |
| 7 | +### APIs |
| 8 | + |
| 9 | +- Significantly improved the performance of `platform.getStake` |
| 10 | +- Added `portion_filled` metric for all metered caches |
| 11 | +- Added resource metrics by process |
| 12 | + - `avalanche_system_resources_num_cpu_cycles` |
| 13 | + - `avalanche_system_resources_num_disk_read_bytes` |
| 14 | + - `avalanche_system_resources_num_disk_reads` |
| 15 | + - `avalanche_system_resources_num_disk_write_bytes` |
| 16 | + - `avalanche_system_resources_num_disk_writes` |
| 17 | + |
| 18 | +### Configs |
| 19 | + |
| 20 | +- Deprecated `--genesis` in favor of `--genesis-file` |
| 21 | +- Deprecated `--genesis-content` in favor of `--genesis-file-content` |
| 22 | +- Deprecated `--inbound-connection-throttling-cooldown` in favor of `--network-inbound-connection-throttling-cooldown` |
| 23 | +- Deprecated `--inbound-connection-throttling-max-conns-per-sec` in favor of `--network-inbound-connection-throttling-max-conns-per-sec` |
| 24 | +- Deprecated `--outbound-connection-throttling-rps` in favor of `--network-outbound-connection-throttling-rps` |
| 25 | +- Deprecated `--outbound-connection-timeout` in favor of `--network-outbound-connection-timeout` |
| 26 | +- Deprecated `--staking-enabled` in favor of `--sybil-protection-enabled` |
| 27 | +- Deprecated `--staking-disabled-weight` in favor of `--sybil-protection-disabled-weight` |
| 28 | +- Deprecated `--consensus-gossip-frequency` in favor of `--consensus-accepted-frontier-gossip-frequency` |
| 29 | + |
| 30 | +### Fixes |
| 31 | + |
| 32 | +- Fixed `--network-compression-type` to correctly honor the requested compression type, rather than always using gzip |
| 33 | +- Fixed CPU metrics on macos |
| 34 | + |
| 35 | +### What's Changed |
| 36 | + |
| 37 | +- use `require` library functions in tests by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1451 |
| 38 | +- style nits in vm clients by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1449 |
| 39 | +- utils/logging: add "Enabled" method to remove redundant verbo logs by @gyuho in https://github.com/ava-labs/avalanchego/pull/1461 |
| 40 | +- ban `require.EqualValues` by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1457 |
| 41 | +- chains: do not hold write subnetsLock in health checks by @gyuho in https://github.com/ava-labs/avalanchego/pull/1460 |
| 42 | +- remove zstd check by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1459 |
| 43 | +- use `require.IsType` for type assertions in tests by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1458 |
| 44 | +- vms/platformvm/service: nits (preallocate address slice, error msg) by @gyuho in https://github.com/ava-labs/avalanchego/pull/1477 |
| 45 | +- ban `require.NotEqualValues` by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1470 |
| 46 | +- use `require` in `api` and `utils/password` packages by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1471 |
| 47 | +- use "golang.org/x/term" as "golang.org/x/crypto/ssh/terminal" is deprecated by @gyuho in https://github.com/ava-labs/avalanchego/pull/1464 |
| 48 | +- chains: move "msgChan" closer to the first use (readability) by @gyuho in https://github.com/ava-labs/avalanchego/pull/1484 |
| 49 | +- ban function params for `require.ErrorIs` by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1486 |
| 50 | +- standardize imports by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1466 |
| 51 | +- fix license header test by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1492 |
| 52 | +- use blank identifier for interface compliance by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1493 |
| 53 | +- codec: remove "SetMaxSize" from "Manager", remove unnecessary lock by @gyuho in https://github.com/ava-labs/avalanchego/pull/1481 |
| 54 | +- config: disallow "ThrottlerConfig.MaxRecheckDelay" < 1 ms by @gyuho in https://github.com/ava-labs/avalanchego/pull/1435 |
| 55 | +- ban `require.Equal` when testing for `0` by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1495 |
| 56 | +- Clean up MerkleDVB Sync Close lock by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1469 |
| 57 | +- MerkleDB Cleanup by @dboehm-avalabs in https://github.com/ava-labs/avalanchego/pull/1465 |
| 58 | +- Remove comment referencing old IP based tracking by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1509 |
| 59 | +- ban usage of `require.Len` when testing for length `0` by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1496 |
| 60 | +- ban usage of `require.Equal` when testing for length by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1497 |
| 61 | +- ban usage of `nil` in require functions by @dhrubabasu in https://github.com/ava-labs/avalanchego/pull/1498 |
| 62 | +- Sized LRU cache by @abi87 in https://github.com/ava-labs/avalanchego/pull/1517 |
| 63 | +- engine/snowman: clean up some comments in "bubbleVotes" unit tests by @gyuho in https://github.com/ava-labs/avalanchego/pull/1444 |
| 64 | +- snow/networking/sender: add missing verbo check by @gyuho in https://github.com/ava-labs/avalanchego/pull/1504 |
| 65 | +- Delete duplicate test var definitions by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1518 |
| 66 | +- utils/bag: print generic type for bag elements by @gyuho in https://github.com/ava-labs/avalanchego/pull/1507 |
| 67 | +- Fix incorrect test refactor by @abi87 in https://github.com/ava-labs/avalanchego/pull/1526 |
| 68 | +- Pchain validators repackaging by @abi87 in https://github.com/ava-labs/avalanchego/pull/1284 |
| 69 | +- Config overhaul by @ceyonur in https://github.com/ava-labs/avalanchego/pull/1370 |
| 70 | +- rename enabled staking to sybil protection enabled by @ceyonur in https://github.com/ava-labs/avalanchego/pull/1441 |
| 71 | +- Fix network compression type flag usage by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1532 |
| 72 | +- Deprecate uptimes in pong message by @ceyonur in https://github.com/ava-labs/avalanchego/pull/1362 |
| 73 | +- Add CPU cycles and number of disk read/write metrics by pid by @coffeeavax in https://github.com/ava-labs/avalanchego/pull/1334 |
| 74 | +- Fetch process resource stats as best-effort by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1543 |
| 75 | +- Add serialization tests for transactions added in Banff by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1513 |
| 76 | +- Log chain shutdown duration by @StephenButtolph in https://github.com/ava-labs/avalanchego/pull/1545 |
| 77 | +- add interface for MerkleDB by @danlaine in https://github.com/ava-labs/avalanchego/pull/1519 |
| 78 | + |
| 79 | +### New Contributors |
| 80 | + |
| 81 | +- @gyuho made their first contribution in https://github.com/ava-labs/avalanchego/pull/1461 |
| 82 | +- @coffeeavax made their first contribution in https://github.com/ava-labs/avalanchego/pull/1334 |
| 83 | + |
| 84 | +**Full Changelog**: https://github.com/ava-labs/avalanchego/compare/v1.10.1...v1.10.2 |
| 85 | + |
3 | 86 | ## [v1.10.1](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.1) |
4 | 87 |
|
5 | 88 | This version is backwards compatible to [v1.10.0](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.0). It is optional, but encouraged. The supported plugin version is `26`. |
|
0 commit comments