2024.10.4.2
Release Note
Binary Versions
nat-detection
: v0.2.9node-launchpad
: v0.4.2autonomi
: v0.1.3safenode
: v0.112.2safenodemand
: v0.11.1safenode-manager
: v0.11.1
Merged Pull Requests
2024-10-16 #2250 -- fix(bench): use the correct client path [@RolandSherwin]
2024-10-17 #2244 -- feat(autonomi): file/vault API in wasm [@b-zee]
2024-10-17 #2251 -- feat: improved archives with metadata [@grumbach]
2024-10-17 #2260 -- fix(nodeman): clean should remove the local node register [@joshuef]
2024-10-17 #2254 -- test(CI): re-enable large_file_upload CI test [@maqi]
2024-10-17 #2261 -- fix(networking): use platform Instant::now [@b-zee]
2024-10-18 #2259 -- leverage get_range more [@joshuef]
2024-10-18 #2263 -- feat: user data stored in vault [@grumbach]
2024-10-18 #2264 -- test(wasm): improve wasm test index.html [@mickvandijke]
2024-10-18 #2242 -- API 3rd party transaction signer integration [@mickvandijke]
2024-10-18 #2255 -- JS test with Mocha (DRAFT) [@b-zee]
2024-10-18 #2267 -- feat archive wasm [@b-zee]
2024-10-21 #2275 -- give contract infinite token allowance [@mickvandijke]
2024-10-22 #2276 -- feat(node): wipe storage_dir when restart for new network [@maqi]
2024-10-22 #2269 -- feat vault user data wasm [@b-zee]
2024-10-22 #2270 -- chore: accumulate register at the network level during split [@RolandSherwin]
2024-10-22 #2288 -- fix(network): return kad event dropped if we cannot get the query id [@RolandSherwin]
2024-10-23 #2266 -- chore(CI): re-enable memcheck test [@maqi]
2024-10-23 #2287 -- MetaMask JS bindings & example [@mickvandijke]
2024-10-23 #2299 -- chore: upgrade alloy to version 0.5.3 [@mickvandijke]
2024-10-23 #2290 -- feat(autonomi): generate metadata from actual file [@b-zee]
2024-10-23 #2303 -- chore(autonomi): resolve wasm build error due to merge [@maqi]
2024-10-24 #2302 -- chore(CI): re-enable benchmark test [@maqi]
2024-10-24 #2305 -- User data in encrypted Vaults [@grumbach]
2024-10-24 #2307 -- Less changes for cpu usage [@joshuef]
2024-10-25 #2314 -- feat: private data, private archives, vault support and CLI integration [@grumbach]
2024-10-25 #2310 -- fix(ci): make the nightly tests work with evm [@RolandSherwin]
2024-10-25 #2309 -- feat: add getEvmNetwork
function to wasm client [@mickvandijke]
2024-10-25 #2317 -- feat(kad): reduce bootstrap interval [@joshuef]
2024-10-25 #2258 -- feat(autonomi): allow the uploader to work with the new apis [@RolandSherwin]
2024-10-25 #2318 -- fix(launchpad): update status after resetting [@mazzi]
2024-10-25 #2321 -- fix(launchpad): rewards address req to start nodes [@mazzi]
2024-10-25 #2326 -- fix(launchpad): throbber stops after a while [@mazzi]
2024-10-25 #2325 -- feat: print rewards address in status --details
[@jacderida]
2024-10-28 #2334 -- Revert "feat(autonomi): allow the uploader to work with the new apis" [@grumbach]
2024-10-28 #2342 -- chore(network): reduce outdated connection prunning frequency [@maqi]
2024-10-28 #2344 -- fix(launchpad): using sn_node_current_reward_wallet_balance as attos [@mazzi]
2024-10-28 #2343 -- chore: updated arbitrum sepolia contracts [@mickvandijke]
2024-10-28 #2339 -- fix(autonomi): use FuturesUnordered for WASM [@b-zee]
2024-10-28 #2341 -- docs(autonomi): add WASM docs [@b-zee]
2024-10-29 #2333 -- feat: improved fs uploads performance [@grumbach]
2024-10-29 #2352 -- feat(cli): added (multi)-wallet integration [@mickvandijke]
2024-10-29 #2353 -- chore: update ANT contract max supply for Anvil [@mickvandijke]
Detailed Changes
Autonomi API/CLI
Added
- Private data support.
- Local user data support.
- Network Vault containing user data encrypted.
- Archives with Metadata.
- Prepaid upload support for data_put using receipts.
Changed
- Contract token approval amount set to infinite before doing data payments.
Client
Added
- Expose APIs in WASM (e.g. archives, vault and user data within vault).
- Uploads are not run in parallel.
- Support for local wallets.
- Provide
wallet create
command. - Provide
wallet balance
command.
Changed
- Take metadata from file system and add
uploaded
field for time of upload.
Fixed
- Make sure we use the new client path throughout the codebase
Network
Added
- Get range used for store cost and register queries.
- Re-enabled large_file_upload, memcheck, benchmark CI tests.
Changed
- Scratchpad modifications to support multiple data encodings.
- Registers are now merged at the network level, preventing failures during update and during replication.
- Libp2p config and get range tweaks reduce intensity of operations. Brings down CPU usage considerably.
- Libp2p’s native kad bootstrap interval introduced in 0.54.1 is intensive, and as we roll our own,we significantly reduce the kad period to lighten the CPU load.
- Wipe node’s storage dir when restarting for new network
Fixed
- Fixes in networking code for WASM compatibility (replacing
std::time
with compatible alternative). - Event dropped errors should not happen if the event is not dropped.
- Reduce outdated connection pruning frequency.
Node Manager
Fixed
- Local node register is cleaned up when --clean flag applied (prevents some errors when register
changes).
Launchpad
Fixed
- Status screen is updated after nodes have been reset.
- Rewards Address is required before starting nodes. User input is required.
- Spinner does not stop spinning after two minutes when nodes are running.