npm arweave 2.1.0
v2.1.0 — Format 2 writes enforced

6 hours ago

Breaking-ish

  • Format 1 transactions can no longer be created, signed, or posted —
    createTransaction, transactions.sign() and the uploader now throw.
  • Reading and verifying format 1 is unchanged. transactions.get() and
    transactions.verify() work as before; verify() now logs a deprecation warning.
  • createSiloTransaction honours an explicit reward instead of overwriting it.

Fixed

  • createSiloTransaction never set data_size, producing transactions whose
    data_root and data_size disagreed. These were rejected by nodes.
  • createSiloTransaction silently skipped encryption for ArrayBuffer input,
    producing an unencrypted transaction with reward: "0". It now throws on
    unsupported types.

Types

CreateTransactionInterface.format is marked @deprecated. Its type is
unchanged, so no consumer build breaks.

Don't miss a new arweave release

NewReleases is sending notifications on new releases.