All Versions
39
Latest Version
Avg Release Cycle
33 days
Latest Release
401 days ago

Changelog History
Page 3

  • 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)
  • v3.2.1 Changes

    ๐Ÿ›  fixed

    • ๐Ÿ›  Fixed script.scripthash.input.check recursion (#898)
    • ๐Ÿ›  Fixed TransactionBuilder sometimes ignoring witness value (#901)
    • ๐Ÿ›  Fixed script.witnessScriptHash.input implementation (previously used the P2SH impl.) (#911)
  • v3.2.0 Changes

    โž• added

    • โž• Added address.fromBech32/toBech32 (#846)
  • v3.1.0 Changes

    โž• added

    • โž• Added Transaction.prototype.virtualSize (#811)
    • โž• Added Transaction.prototype.weight (#811)