Releases: 0gfoundation/0g-storage-client
Releases · 0gfoundation/0g-storage-client
Release list
v1.4.3-testnet
What's Changed
🐛 Fixes
- Preserve the landed
Flow.submittx hash across SkipTx retries (#157) — whenindexer.SplitableUploadlands the on-chain submit on one internal retry iteration but only completes on a later (skipped-tx) iteration, it now returns the tx hash from the iteration that actually submitted, instead of the zero (skipped) hash. Callers that bill from the returned tx hash (e.g. the 0g-storage-s3 gateway, which was recordingstorage_fee=0) can now tell "we paid earlier" from genuine pre-existing dedup. Dedup with no submit at all still returns a zero hash, so refund paths are unchanged.
Full Changelog: v1.4.2-testnet...v1.4.3-testnet
v1.4.2-testnet
What's Changed
✨ New
- Extend storage period without re-upload (#154) — new
extendCLI command andExtendStorageSDK methods (transfer.Uploader.ExtendStorage,indexer.Client.ExtendStorage). Re-pays the storage fee for data already stored on the network, identified by the originalFlow.submittx hash(es), without re-transferring the bytes. The submission is recovered from its on-chainSubmitevent, every fragment is checked to confirm it is still stored (via the indexer / storage nodes), and a fresh submit pays the fee again. If any fragment has been pruned, no transaction is sent and you are asked to upload that data again.
🐛 Fixes
SplitableUploadreturns the data root when the on-chain submit is skipped (#156) — a--skip-txupload of already-settled data previously returned an empty roots list (regression introduced in v1.4.1-testnet). The root is now always returned on success, while the submit-hash-on-error surfacing for retry dedup (#148) is preserved.
Full Changelog: v1.4.1-testnet...v1.4.2-testnet
v1.4.1-testnet
Pre-release tag for testnet consumers. Supersedes v1.4.0-testnet; main now contains the hot-storage work from the testnet branch (squashed via PRs #133/#135/#137) plus the additions below.
Importing repos can pull this with:
go get github.com/0gfoundation/0g-storage-client@v1.4.1-testnet
Features
- ECIES asymmetric encryption alongside AES-256 symmetric (#136)
- S3 gateway additions (#138)
- Batch small files in
upload-dirto reduce on-chain transactions (#134) - Hot storage download support and client (#133)
- Hot storage EIP-712 signatures and signing updates (#135, #137)
Fixes
transfer: surfaceFlow.submittxHash on segment-upload error (#149, closes #148)kv: forward-portEncodedSizeForSingleWriteand its test (#147, closes #146)indexer: skipFlow.submiton retry after first submit succeeded (#145)
Refactors / Docs
- Options refactor (#131)
- General refactor (#130)
- README updates with new repository links and hot storage docs (#132)
Full changelog: v1.4.0-testnet...v1.4.1-testnet
v1.3.0
v1.2.2
v1.2.0
v1.0.0
v0.6.9
- Bug fixes on tx seq/root mismatch
- Align with storage node api
v0.6.6
Retry when waiting too long for tx receipt.
v0.6.5
make contract tool usable by external package