All Versions
42
Latest Version
Avg Release Cycle
33 days
Latest Release
-

Changelog History
Page 3

  • v5.0.0 Changes

    April 05, 2019

    โž• added

    • ๐Ÿ‘ TypeScript support (#1319)
    • Block.prototype.checkTxRoots will check the merkleRoot and witnessCommit if it exists against the transactions array. (e52abec) (0426c66)

    ๐Ÿ”„ changed

    • Transaction.prototype.getHash now has forWitness?: boolean which when true returns the hash for wtxid (a652d04)
    • Block.calculateMerkleRoot now has forWitness?: boolean which when true returns the witness commit (a652d04)

    โœ‚ removed

    • ๐Ÿšš Block.prototype.checkMerkleRoot was removed, please use checkTxRoots (0426c66)
  • v4.0.5 Changes

    April 06, 2019

    ๐Ÿ›  fixed

    • ๐Ÿ›  Fixed bug where Angular apps break due to lack of crypto at build time. Reverted #1373 and added (6bead5d).
  • v4.0.4 Changes

    ๐Ÿ›  fixed

    • ๐Ÿ›  Fixed bug where Electron v4 breaks due to lack of 'rmd160' alias for ripemd160 hash. (#1373)
  • v4.0.3 Changes

    ๐Ÿ›  fixed

    • ๐Ÿ›  Fixed TransactionBuilder to require that the Transaction has outputs before signing (#1151)
    • ๐Ÿ›  Fixed payments.p2sh, which now takes the network from the redeem attribute if one is not given in the object argument (#1232)
    • ๐Ÿ›  Fixed Block.calculateTarget to allow for exponents up to 29 (#1285)
    • ๐Ÿ›  Fixed some low priority rarely occurring bugs with multisig payments and TransactionBuilder multisig processing (#1307)

    โž• added

    • โœ… Regtest network object to networks (#1261)
  • v4.0.2 Changes

    ๐Ÿ›  fixed

    • ๐Ÿ›  Fixed TransactionBuilder not throwing when payment type validation should fail (#1195)

    โœ‚ removed

    • โœ‚ Removed rogue package.json from src/payments (#1216)
  • v4.0.1 Changes

    ๐Ÿ›  fixed

    • ๐Ÿ›  Fixed tiny-secp256k1 dependency version (used ecurve) (#1139)
    • ๐Ÿ›  Fixed TransactionBuilder throwing when trying to sign P2WSH(P2WPKH) (#1135)
  • v4.0.0 Changes

    โž• added

    • โž• Added bip32 dependency as a primary export (#1073)
    • โž• Added ECPair.fromPrivateKey (#1070)
    • โž• Added payments export, with support for p2pkh, p2pk, p2ms, p2sh, p2wpkh, p2wsh and embed payment types (#1096, #1119)
    • โž• Added script.signature.encode/decode for script signatures (#459)

    ๐Ÿ”„ changed

    • ECPair.prototype.sign now returns a 64-byte signature Buffer, not an ECSignature object (#1084)
    • ECPair (and all ECDSA code) now uses tiny-secp256k1, which uses the libsecp256k1 library (#1070)
    • ๐Ÿ›  TransactionBuilder internal variables are now __ prefixed to discourage public usage (#1038)
    • 0๏ธโƒฃ TransactionBuilder now defaults to version 2 transaction versions (#1036)
    • script.decompile now returns [Buffer] or null, if decompilation failed (#1039)

    ๐Ÿ›  fixed

    • ๐Ÿ›  Fixed TransactionBuilder rejecting uncompressed public keys to comply with BIP143 (#987)

    โœ‚ removed

    • โœ‚ Removed Node 4/5 LTS support (#1080)
    • โœ‚ Removed ECPair.fromPublicKeyBuffer, use ECPair.fromPublicKey (#1070)
    • โœ‚ Removed ECPair.prototype.getAddress, use payments.p2pkh instead (#1085)
    • โœ‚ Removed ECPair.prototype.getPrivateKey, use ECPair.prototype.privateKey property (#1070)
    • โœ‚ Removed ECPair.prototype.getPublicKey, use ECPair.prototype.publicKey property (#1070)
    • โœ‚ Removed ECPair.prototype.getNetwork, use ECPair.prototype.network property (#1070)
    • โœ‚ Removed ECSignature, use script.signature.encode/decode instead (#459)
    • โœ‚ Removed HDNode, use bip32 export instead (#1073)
    • โœ‚ Removed bufferutils (#1035)
    • โœ‚ Removed networks.litecoin, BYO non-Bitcoin networks instead (#1095)
    • โœ‚ Removed script.isCanonicalSignature, use script.isCanonicalScriptSignature instead (#1094)
    • Removed script.*.input/output/check functions (templates), use payments.* instead (templates previously added in #681, #682) (#1119)
    • โœ‚ Removed dependency bigi, uses bn.js internally now (via tiny-secp256k1) (#1070, #1112)
    • โœ‚ Removed public access to ECPair constructor, use exported functions ECPair.fromPrivateKey, ECPair.fromWIF, ECPair.makeRandom, or ECPair.fromPublicKey (#1070)
  • v3.3.2 Changes

    ๐Ÿ›  fixed

    • ๐Ÿ›  Fixed decodeStack arbitrarily supporting non-Array arguments (#942)
  • v3.3.1 Changes

    ๐Ÿ”„ changed

    • Increased the TransactionBuilder maximumFeeRate from 1000 to 2500 satoshis/byte. (#931)
  • v3.3.0 Changes

    โž• added

    • โž• Added ECSignature.prototype.toRSBuffer/ECSignature.fromRSBuffer (#915)
    • โž• Added support to TransactionBuilder for 64-byte signatures via .sign (#915)
    • โž• Added support to TransactionBuilder for the .publicKey standard as an alternative to .getPublicKey() (#915)