Skip to content

Releases: bitpay/bitcore

v1.0.0

04 Nov 20:15
Compare
Choose a tag to compare

This is a major release without any breaking API changes, however there are significant changes to the organization of modules. All of the core library functionality has been moved to bitcore-lib, and bitcore is now a metapackage that includes bitcore-lib, bitcore-node, insight-api and insight-ui. Two new executables, bitcore and bitcored, can now be installed in your path globally to run a full node and block explorer in two commands:

npm install -g bitcore
bitcored

For more information please see:

v0.13.0

19 Aug 15:20
Compare
Choose a tag to compare

This is a minor release and includes a significant API change relating to the standard methods toJSON/fromJSON. When updating it's important to note that toJSON is now compatible with JSON.stringify and will work as expected and calling JSON.stringify on any Bitcore object, and toJSON called directly will not return a string. The method fromJSON has be replaced with fromObject and JSON is expected to be parsed prior to instantiating a Bitcore object, see #1312 for the full details.

There have been a number of bug fixes and performance improvements since the v0.12.0 release. Block parsing should be around 30 times faster, including other performance improvements related to recognizing script types in support of bitcore-node.

Here is a summary of the changes:

  • Keys
    • #1317 Restore error when trying to derive a hardened path with HDPublicKey
    • #1268 PrivateKey alternative networks bug fix
    • #1262 PrivateKey instantiation bug fixes
    • #1218 PublicKey toObject bug with invalid buffer
  • General
    • #1312 toJSON compatible with JSON.stringify
    • #1311 toObject includes hash for block and transaction
    • #1279 Optimizations for BufferReader.readUInt64LEBN
    • #1278 Signature nhashtype bug fix
    • #1253 BN fromString base parameter
    • #1250 Bug fix for public key compact signatures
    • #1227 versionGuard improvements
    • #1208 Bug fix with big numbers (BN) >= 2 ^ 52
    • #1205 Block parsing bug fixes
  • Transaction
    • #1301 Signing for public-key-out utxos
    • #1271 Fee estimation fixes
    • #1264 sortOutputs bug fix
    • #1248 Fix bug with misleading getSerializationError
    • #1235 clearOutputs for payment channel support
    • #1229 Fixes for getSerializationError tests
    • #1226 getSerializationError refactoring
    • #1214 Transaction fee consistency check
    • #1213 Fix bug with Transaction isFullySigned
  • Script
    • #1298 Performance improvements for isPublicKeyOut
    • #1296 Performance improvements for toAddress and related
    • #1295 added toASM and fromASM
    • #1287 CHECKLOCKTIMEVERIFY was added
    • #1284 hasDefinedHashtype bug fix
    • #1276 getSignatureOperationsCount was added
    • #1239 getData bug fixes with empty OP_RETURN
    • #1231 toObject includes hex for handling invalid scripts
    • #1216 Invalid script buffer handling bug fix
    • #1207 Bug fix with recognizing p2sh inputs

Thanks to all of the contributors: @brandonrobertz, @braydonf, @carnesen, @dskloet, @eordano, @fanatid, @greggzigler, @isocolsky, @maraoz, @matiu, @mpolci, @mruddy and @pnagurny

v0.12.0

29 Apr 16:07
Compare
Choose a tag to compare

Minor release with some API changes.

  • Add inputAmount and outputAmount members to Transaction
  • Increase coverage for Input and Output, and fix some bugs
  • Add shuffleOutputs function to Transaction to randomize outputs for privacy.
  • Refactor Address<->Script relation:
    • Adds Address.payingTo(script), which returns a p2sh address paying to that script
    • Address.fromScript now works for p2sh in, p2sh out, p2pkh in, and p2pkh out, and returns the Address that can be found inside the script.
    • 100% coverage on Address
    • Fix bug in Script.isScriptHashIn
  • Lazy loading for xpubkey in HDPrivateKey, increases performance.
  • Network Fixes to better support alternative networks.
  • Fix bug in Script.isPublicKeyHashOut
  • Allow addresses to have surrounding whitespace in validation (easier UI handling of addresses)
  • Increase Script test coverage.
  • Sighash: remove dead code branch
  • Fix Block#toObject API

Thanks to @carnesen, @fanatid, @dcousens for your contributions!

v0.11.0

25 Feb 17:43
Compare
Choose a tag to compare

Minor release.

  • Added MerkleBlock model.
  • Added team's pgp public keys to README for signed releases verification.
  • Fix bug on hdprivate key generation.
  • Transaction: Better granularity on serialize() checks, added Transaction#getSerializationError.
  • Transaction: Add check for output amount > input amount.
  • Transaction: Update dust amount from 5430 to 546 (See: bitcoin/bitcoin@6a4c196).
  • Documentation fixes.

Special thanks to @throughnothing, @dskloet, and @micro-machine

v0.10.4

18 Feb 18:39
Compare
Choose a tag to compare

Weekly maintenance release.

  • New examples section on README: https://github.com/bitpay/bitcore#examples
  • Various improvements to bitcore-p2p
  • Transaction: Add check for small fees
  • Transaction: Check that threshold is less than amount of signatures in multisig transactions
  • Script: Update max length for standard opreturn to 80
  • Minor code refactors
  • Releases are now PGP signed by one of the main contributors (see bitcore.min.js.sig and bitcore.js.sig in 2670cd1)

Thanks @thofmann, @elichai, and @throughnothing for your contributions.

v0.10.3

13 Feb 12:32
Compare
Choose a tag to compare

Minor fixes to v0.10.0 released early

v0.10.0

13 Feb 12:31
Compare
Choose a tag to compare

Minor release with various bug fixes, code optimizations, and a new module

  • New bitcore-message module for bitcoin message signing and verification. Check it out: https://github.com/bitpay/bitcore-message.
  • Transaction:
    • Add locktime handling methods like getLockTime, lockUntilBlockHeight and lockUntilDate.
    • Add removeInput method.
    • Several bug fixes on serialization/deserialization to JSON.
    • OP_RETURN is no longer considered dust.
    • Fix inspect method so it doesn't fail on incomplete TX.
    • Better error message on unsupported input types.
    • Fix bug in change and fee calculation.
  • Significant performance improvement on bn.js usage.
  • Expose lodash dependency to optimize submodule sizes for browser bundles.
  • Add fromBuffer and toBuffer to PrivateKey, HDPrivateKey and HDPublicKey.
  • Add Signature subclass for Transaction Signatures.
  • Fix HD path parsing for some edge cases.
  • Improve docs.

v0.9.4

13 Feb 12:31
Compare
Choose a tag to compare

Weekly maintenance release. Minor doc changes, polishing, and bug fixes.

v0.9.5

04 Feb 17:25
Compare
Choose a tag to compare

Weekly maintenance release.

  • Added Script#toHex
  • Added BufferReader#readVarLengthBuffer
  • Updated docs

v0.9.0

21 Jan 20:17
Compare
Choose a tag to compare

This is a project restructuring and general polishing release.
The main changes are: