Releases: bitpay/bitcore
v1.0.0
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
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
- General
- #1312
toJSON
compatible withJSON.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
- #1312
- 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
andfromASM
- #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
- #1298 Performance improvements for
Thanks to all of the contributors: @brandonrobertz, @braydonf, @carnesen, @dskloet, @eordano, @fanatid, @greggzigler, @isocolsky, @maraoz, @matiu, @mpolci, @mruddy and @pnagurny
v0.12.0
Minor release with some API changes.
- Add
inputAmount
andoutputAmount
members toTransaction
- Increase coverage for Input and Output, and fix some bugs
- Add
shuffleOutputs
function toTransaction
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
- Adds
- 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
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 onserialize()
checks, addedTransaction#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
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
v0.10.0
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
andlockUntilDate
. - 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.
- Add locktime handling methods like
- 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
v0.9.5
v0.9.0
This is a project restructuring and general polishing release.
The main changes are:
- Modularize bitcore and separate some functionality into other subprojects:
- https://github.com/bitpay/bitcore-ecies (Elliptic Curve Integrated Encryption Scheme)
- https://github.com/bitpay/bitcore-mnemonic (BIP39 Mnemonics)
- https://github.com/bitpay/bitcore-payment-protocol (BIP70 Payment Protocol support)
- https://github.com/bitpay/bitcore-p2p (Interface to the bitcoin P2P network)
- https://github.com/bitpay/bitcore-channel (Payment channels smart contract support)
- https://github.com/bitpay/bitcore-explorers (Blockchain APIs)
- Various Transaction and Block bugfixes
- Added
.toScriptHashOut()
to scripts - Improved test coverage
- Added zuul for cloud testing in many browsers