Skip to content

Commit f7307d5

Browse files
Update versions for v1.10.2 (#1544)
1 parent 581a673 commit f7307d5

File tree

7 files changed

+91
-7
lines changed

7 files changed

+91
-7
lines changed

RELEASES.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,88 @@
11
# Release Notes
22

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+
386
## [v1.10.1](https://github.com/ava-labs/avalanchego/releases/tag/v1.10.1)
487

588
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`.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ require (
1313
github.com/Microsoft/go-winio v0.5.2
1414
github.com/NYTimes/gziphandler v1.1.1
1515
github.com/ava-labs/avalanche-network-runner-sdk v0.3.0
16-
github.com/ava-labs/coreth v0.12.1-rc.0
16+
github.com/ava-labs/coreth v0.12.2-rc.0
1717
github.com/ava-labs/ledger-avalanche/go v0.0.0-20230105152938-00a24d05a8c7
1818
github.com/btcsuite/btcd/btcutil v1.1.3
1919
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax
5959
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
6060
github.com/ava-labs/avalanche-network-runner-sdk v0.3.0 h1:TVi9JEdKNU/RevYZ9PyW4pULbEdS+KQDA9Ki2DUvuAs=
6161
github.com/ava-labs/avalanche-network-runner-sdk v0.3.0/go.mod h1:SgKJvtqvgo/Bl/c8fxEHCLaSxEbzimYfBopcfrajxQk=
62-
github.com/ava-labs/coreth v0.12.1-rc.0 h1:Zv9mJqddI28BZ5eT0SRgRrzl0sdRCdA/Mm+qZrHAhOs=
63-
github.com/ava-labs/coreth v0.12.1-rc.0/go.mod h1:ZGhoIZTWbIaTmzEbprXu0hLtLdoE2PSTEFnCTYr0BRk=
62+
github.com/ava-labs/coreth v0.12.2-rc.0 h1:nGhGN4bYqid5EgqH/GFky2ybY8bGRxto6Bo7nes1V+Y=
63+
github.com/ava-labs/coreth v0.12.2-rc.0/go.mod h1:/5x54QlIKjlPebkdzTA5ic9wXdejbWOnQosztkv9jxo=
6464
github.com/ava-labs/ledger-avalanche/go v0.0.0-20230105152938-00a24d05a8c7 h1:EdxD90j5sClfL5Ngpz2TlnbnkNYdFPDXa0jDOjam65c=
6565
github.com/ava-labs/ledger-avalanche/go v0.0.0-20230105152938-00a24d05a8c7/go.mod h1:XhiXSrh90sHUbkERzaxEftCmUz53eCijshDLZ4fByVM=
6666
github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A=

scripts/constants.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ AVALANCHE_PATH=$( cd "$( dirname "${BASH_SOURCE[0]}" )"; cd .. && pwd ) # Direct
99
avalanchego_path="$AVALANCHE_PATH/build/avalanchego"
1010
plugin_dir=${PLUGIN_DIR:-$HOME/.avalanchego/plugins}
1111
evm_path=${EVM_PATH:-$plugin_dir/evm}
12-
coreth_version=${CORETH_VERSION:-'v0.12.1-rc.0'}
12+
coreth_version=${CORETH_VERSION:-'v0.12.2-rc.0'}
1313

1414
# Set the PATHS
1515
GOPATH="$(go env GOPATH)"

utils/constants/networking.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const (
8080
// Router
8181
DefaultAcceptedFrontierGossipFrequency = 10 * time.Second
8282
DefaultConsensusAppConcurrency = 2
83-
DefaultConsensusShutdownTimeout = 30 * time.Second
83+
DefaultConsensusShutdownTimeout = time.Minute
8484
DefaultConsensusGossipAcceptedFrontierValidatorSize = 0
8585
DefaultConsensusGossipAcceptedFrontierNonValidatorSize = 0
8686
DefaultConsensusGossipAcceptedFrontierPeerSize = 15

version/compatibility.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"26": [
3-
"v1.10.1"
3+
"v1.10.1",
4+
"v1.10.2"
45
],
56
"25": [
67
"v1.10.0"

version/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var (
2121
Current = &Semantic{
2222
Major: 1,
2323
Minor: 10,
24-
Patch: 1,
24+
Patch: 2,
2525
}
2626
CurrentApp = &Application{
2727
Major: Current.Major,

0 commit comments

Comments
 (0)