All notable changes to this project will be documented in this file (CHANGELOG.md
).
This project adheres to the Python form of Semantic Versioning (or at least we try). The BigchainDB public API was defined in this file but that definition was moved and can now be found in BEP-7.
Contributors to this file, please follow the guidelines on keepachangelog.com. Note that each version (or "release") is the name of a Git tag of a particular commit, so the associated date and time are the date and time of that commit (as reported by GitHub), not the "Uploaded on" date listed on PyPI (which may differ).
For reference, the possible headings are:
- Added for new features.
- Changed for changes in existing functionality.
- Deprecated for once-stable features removed in upcoming releases.
- Removed for deprecated features removed in this release.
- Fixed for any bug fixes.
- Security to invite users to upgrade in case of vulnerabilities.
- External Contributors to list contributors outside of BigchainDB GmbH.
- Known Issues
- Notes
Migrated from Tendermint 0.22.8 to 0.31.5.
Removed support for TLSv1 and TLSv1.1 in all NGINX config files. Kept support for TLSv1.2 and added support for TLSv1.3. Pull Request #2601
Fixed two issues with schema validation. Pull requests #2606 & #2607
@gamjapark and team translated all the BigchainDB root docs into Korean. Pull Request #2603
- Revised the Simple Deployment Template in the docs. Added NGINX to the mix. Pull Requests #2578 and #2579
- Revised
nginx/nginx.conf
to enable CORS. Pull Request #2580
- Fixed a typo in the Kubernetes ConfigMap template. Pull Request #2583
@gamjapark translated the main README.md
file into Korean. Pull Request #2592
Tag name: v2.0.0b7
Completed the implementation of chain-migration elections (BEP-42). Pull requests #2553, #2556, #2558, #2563 and #2566
- Code that used the Python driver's (deprecated) transactions.send() method now uses its transactions.send_commit() method instead. Pull request #2547
- Code that implied pluggable "consensus" now implies pluggable transaction "validation" (a more accurate word). Pull request #2561
Benchmark logs. Pull request #2565
A bug caused by an incorrect MongoDB query. Pull request #2567
There's now better documentation about logs, log rotation, and the server.bind
config setting. Pull requests #2546 and #2575
Tag name: v2.0.0b6
- New documentation about privacy and handling private data. Pull request #2437
- New documentation about log rotation. Also rotate Tendermint logs if started using Monit. Pull request #2528
- Began implementing one of the migration strategies outlined in BEP-42. That involved creating a more general-purpose election process and commands. Pull requests #2488, #2495, #2498, #2515, #2535
- Used memoization to avoid doing some validation checks multiple times. Pull request #2490
- Created an all-in-one Docker image containing BigchainDB Server, Tendermint and MongoDB. It was created for a particular user and is not recommended for production use unless you really know what you're doing. Pull request #2424
- The supported versions of Tendermint are now hard-wired into BigchainDB Server: it checks to see what version the connected Tendermint has, and if it's not compatible, BigchainDB Server exits with an error message. Pull request #2541
- The docs no longer say to install the highest version of Tendermint: they say to install a specific version. Pull request #2524
- The setup docs include more recommended settings for
config.toml
. Pull request #2516 - The process to add, remove or update the voting power of a validator at run time (using the
bigchaindb upsert-validator
subcommands) was completely changed and is now fully working. See issue #2372 and all the pull requests it references. Pull requests #2439 and #2440 - The license on the documentation was changed from CC-BY-SA-4 to CC-BY-4. Pull request #2427
- Re-activated and/or updated some unit tests that had been deacivated during the migration to Tendermint. Pull requests #2390, #2415, #2452, #2456
- Updated RapidJSON to a newer, faster version. Pull request #2470
- The Java driver is now officially supported. Pull request #2478
- The MongoDB indexes on transaction id and block height were changed to be unique indexes. Pull request #2492
- Updated the required
cryptoconditions
package to a newer one. Pull request #2494
- Fixed the Events API so that it only sends valid transactions to subscribers. Also changed how it works internally, so now it is more reliable. Pull request #2529
- Fixed a bug where MongoDB database initialization would abort if a collection already existed. Pull request #2520
- Fixed a unit test that was failing randomly. Pull request #2423
- Fixed the validator curl port. Pull request #2447
- Fixed an error in the docs about the HTTP POST /transactions endpoint. Pull request #2481
- Fixed a unit test that could loop forever. Pull requqest #2486
- Fixed a bug when validating a CREATE + TRANSFER. Pull request #2487
- Fixed the HTTP response when posting a transaction in commit mode. Pull request #2510
- Fixed a crash that happened when attempting to restart BigchainDB at Tendermint block height 1. Pull request#2519
@danacr - Pull request #2447
The docs section titled "Production Deployment Template" was renamed to "Kubernetes Deployment Template" and we no longer consider it the go-to deployment template. The "Simple Deployment Template" is simpler, easier to understand, and less expensive (unless you are with an organization that already has a big Kubernetes cluster).
Tag name: v2.0.0b5
- Supported version of Tendermint
0.22.3
->0.22.8
. Pull request #2429.
- Stateful validation raises a DoubleSpend exception if there is any other transaction that spends the same output(s) even if it has the same transaction ID. Pull request #2422.
Tag name: v2.0.0b4
- Added scripts for creating a configuration to manage processes with Monit. Pull request #2410.
- Redundant asset and metadata queries were removed. Pull request #2409.
- Signal handling was fixed for BigchainDB processes. Pull request #2395.
- Some of the abruptly closed sockets that used to stay in memory are being cleaned up now. Pull request 2408.
- Fixed the bug when WebSockets powering Events API became unresponsive. Pull request #2413.
- The instructions on how to write a BEP were simplified. Pull request #2347.
- A section about troubleshooting was added to the network setup guide. Pull request #2398.
- Some of the core code was given a better package structure. Pull request #2401.
- Some of the previously disabled unit tests were re-enabled and updated. Pull requests #2404 and #2402.
- Some building blocks for dynamically adding new validators were introduced. Pull request #2392.
Tag name: v2.0.0b3
Fixed a bug in transaction validation. For some more-complex situations, it would say that a valid transaction was invalid. This bug was actually fixed before; it was issue #1271. The unit test for it was turned off while we integrated Tendermint. Then the query implementation code got changed, reintroducing the bug, but the unit test was off so the bug wasn't caught. When we turned the test back on, shortly after releasing Beta 2, it failed, unveiling the bug. Pull request #2389
Tag name: v2.0.0b2
- Added new configuration settings
tendermint.host
andtendermint.port
. Pull request #2342 - Added tests to ensure that BigchainDB gracefully handles "nasty" strings in keys and values. Pull request #2334
- Added a new logging handler to capture benchmark stats to a separate file. Pull request #2349
- Changed the names of BigchainDB processes (Python processes) to include 'bigchaindb', so they are easier to spot and find. Pull request #2354
- Updated all code to support the latest version of Tendermint. Note that the BigchainDB ABCI server now listens to port 26657 instead of 46657. Pull requests #2375 and #2380
Removed all support and code for the old backlog_reassign_delay setting. Pull request #2332
- Fixed a bug that sometimes arose when using Docker Compose. (Tendermint would freeze.) Pull request #2341
- Fixed a bug in the code that creates a MongoDB index for the "id" in the transactions collection. It works now, and performance is improved. Pull request #2378
- The logging server would keep runnning in some tear-down scenarios. It doesn't do that any more. Pull request #2304
@hrntknr - Pull request #2331
The bigchaindb upsert-validator
subcommand is not working yet, but a solution (BEP-21) has been finalized and will be implemented before we release the final BigchainDB 2.0.
- A lot of old/dead code was deleted. Pull requests #2319, #2338, #2357, #2365, #2366, #2368 and #2374
- Improved the documentation page "How to setup a BigchainDB Network". Pull Request #2312
Tag name: v2.0.0b1
- Fixed a bug that arose with some code that treated transactions-waiting-for-block-inclusion as if they were already stored in MongoDB (i.e. already in a block). Pull request #2318
- If a user asked for a block and it happened to be an empty block, BigchainDB returned 404 Not Found, as if the block did not exist. Now it returns a 200 OK with a block containing no transactions, i.e. an empty block. Pull request #2321
- An issue was found with the
bigchaindb upsert-validator
command. A solution was proposed in BEP-19 and is being implemented in pull request #2314 - If you run BigchainDB locally using
make start
(i.e. using Docker Compose) and then you put the node under heavy write load, Tendermint can become unresponsive and runningmake stop
can hang. - There seems to be one or more issues with Tendermint when it is put under heavy load (i.e. even when BigchainDB isn't involved). See Tendermint issues #1394, #1642 and #1661
- There's a new docs page about how to set up a network where each node uses a single virtual machine.
- We checked, and BigchainDB 2.0 Beta 1 works with MongoDB 3.6 (and 3.4).
- Support for RethinkDB is completely gone.
Tag name: v2.0.0a6
Upgraded PyMongo to version 3.6 (which is compatible with MongoDB 3.6, 3.4 and more). Pull request #2298
When deploying a node using our Docker Compose file, it didn't expose port 46656, which is used by Tendermint for inter-node communications, so the node couldn't communicate with other nodes. We fixed that in pull request #2299
We ran all our tests using MongoDB 3.6 and they all passed, so it seems safe to use BigchainDB with MongoDB 3.6 from now on.
Tag name: v2.0.0a5
To resolve issue #2279, we made some changes to the bigchaindb-abci
package (which is our fork of py-abci
) and told BigchainDB to use the new version (bigchaindb-abci==0.4.5
). Pull request #2281.
Tag name: v2.0.0a4
The Kubernetes liveness probe for the BigchainDB StatefulSet was improved to check the Tendermint /status endpoint in addition to the Tendermint /abci_info endpoint. Pull request #2275
Pull request #2270 resolved issue #2269.
There's a new page in the docs about storing files in BigchainDB. Pull request #2259
Tag name: v2.0.0a3
- Upgraded BigchainDB Server code to use the latest version of Tendermint: version 0.19.2. Pull requests #2249, #2252 and #2253
- Made some fixes to
py-abci
(an external Python package) and used our fixed version with BigchainDB. Those fixes resolved several known issues, including issue #2182 and issues with large transactions in general. Note: At the time of writing, our fixes topy-abci
hadn't been merged into the mainpy-abci
repository or its latest release on PyPI; we were using our own specialbigchaindb-abci
package (which included our fixes). Pull requests #2250 and #2261 - If BigchainDB Server crashes and then comes back, Tendermint Core doesn't try to reconnect to it. That's just how Tendermint Core works. We revised our Kubernetes-based production deployment template to resolve that issue: BigchainDB Server and Tendermint Core are now in the same Kubernetes StatefulSet; if the connection between them ever goes down, then Kubernetes restarts the whole StatefulSet. Pull request #2242
Re-enabled multi-threading. Pull request #2258
Tendermint changed how it responds to a request to store data (via the Tendermint Broadcast API) between version 0.12 and 0.19.2. We started modifying the code of BigchainDB Server to account for those changes in responses (in pull request #2239), but we found that there's a difference between what the Tendermint documentation says about those responses and how Tendermint actually responds. We need to determine Tendermint's intent before we can finalize that pull request.
We were focused on getting the public BigchainDB Testnet stable during the development of BigchainDB 2.0 Alpha 3, and we think we largely succeeded. Because of that focus, we delayed the deployment of an internal test network until later. It would have had the same instabilities as the public BigchainDB Testnet anyway. In the future, we'll always test a new version of BigchainDB on our internal test network before deploying it on the public BigchainDB Testnet. (That wasn't possible this time around, because there was no old/stable version of BigchainDB 2.n to run on the public BigchainDB Testnet while we tested BigchainDB 2.[n+1] internally.)
Tag name: v2.0.0a2
An implementation of BEP-8 (BigchainDB Enhancement Proposal #8), which makes sure a node can recover from a system fault (e.g. a crash) into a consistent state, i.e. a state where the data in the node's local MongoDB database is consistent with the data stored in the blockchain. Pull requests #2135 and #2207
When someone uses the HTTP API to send a new transaction to a BigchainDB network using the POST /api/v1/transactions?mode={mode} endpoint, they now get back a more informative HTTP response, so they can better-understand what happened. This is only when mode is commit
or sync
, because async
means that the response is immediate, without waiting to see what happened to the transaction. Pull request #2198
- If BigchainDB Server crashes and then is restarted, Tendermint Core won't try to reconnect to BigchainDB Server and so all operations requiring that connection won't work. We only understood this recently. We'll write a blog post explaining what we intend to do about it.
- The known issues in 2.0 Alpha (listed below) are still there.
Tag name: v2.0.0a1
There were many changes between 1.3 and 2.0 Alpha, too many to list here. We wrote a series of blog posts to summarize most changes, especially those that affect end users and application developers:
- BigchainDB 2.0 is Byzantine Fault Tolerant
- Some HTTP API Changes in the Next Release
- Three Transaction Model Changes in the Next Release
- Changes to the Server Command Line Interface in BigchainDB 2.0
- A forthcoming post about changes in BigchainDB Server configuration settings
- @r7vme contributed pull request #1984 which fixed a bug in our Kubernetes-based production deployment template.
We intend to resolve these issues before releasing the final BigchainDB 2.0:
- There's a known Heisenbug that (sometimes) arises and we found that making the BigchainDB webserver single-threaded prevents that bug from causing problems. We intend to resolve that bug, but in the meantime our temporary workaround is to change the default webserver configuration settings to single-threaded mode, i.e.
BIGCHAINDB_SERVER_WORKERS=1
andBIGCHAINDB_SERVER_THREADS=1
. - Issues sometimes happen when a large transaction is sent to a BigchainDB network.
Tag name: v1.3.0
- Metadata full-text search. Pull request #1812
- Improved documentation about blocks and votes. Pull request #1855
Tag name: v1.2.0
- New and improved installation setup docs and code. Pull requests #1775 and #1785
- New BigchainDB configuration setting to set the port number of the log server:
log.port
. Pull request #1796 - New secondary index on
id
in the bigchain table. That will make some queries execute faster. Pull request #1803 - When using MongoDB, there are some restrictions on allowed names for keys (JSON keys). Those restrictions were always there but now BigchainDB checks key names explicitly, rather than leaving that to MongoDB. Pull requests #1807 and #1811
- When using MongoDB, there are some restrictions on the allowed values of "language" (if that key is used in the values of
metadata
orasset.data
). Those restrictions were always there but now BigchainDB checks the values explicitly, rather than leaving that to MongoDB. Pull requests #1806 and #1811 - There's a new page in the root docs about permissions in BigchainDB. Pull request #1788
- There's a new option in the
bigchaindb start
command:bigchaindb start --no-init
will avoid doingbigchaindb init
if it wasn't done already. Pull request #1814
- Fixed a bug where setting the log level in a BigchainDB config file didn't have any effect. It does now. Pull request #1797
- The docs were wrong about there being no Ping/Pong support in the Events API. There is, so the docs were fixed. Pull request #1799
- Fixed an issue with closing WebSocket connections properly. Pull request #1819
- Many changes were made to the Kubernetes-based production deployment template and code.
Tag name: v1.1.0
- Support for server-side plugins that can add support for alternate event consumers (other than the WebSocket API). Pull request #1707
- New configuration settings to set the advertised wsserver scheme, host and port. (The advertised ones are the ones that external users use to connect to the WebSocket API.) Pull request #1703
- Support for secure (TLS) WebSocket connections. Pull request #1619
- A new page of documentation about the contents of a condition (inside a transaction). Pull request #1668
- We updated our definition of the public API (at the top of this document). Pull request #1700
- The HTTP API Logger now logs the request path and method as well. Pull request #1644
- @carchrae - Pull request #1731
- @ivanbakel - Pull request #1706
- @ketanbhatt - Pull requests #1643 and #1644
- New drivers & tools from our community:
- Java driver, by Authenteq
- Ruby library, by @nileshtrivedi
- Many improvements to our production deployment template (which uses Kubernetes).
- The production deployment template for the multi-node case was out of date. We updated that and verified it. Pull request #1713
Tag name: v1.0.1
- Various issues in the Quickstart page. Pull requests #1641 and #1648.
- Changefeed hanging when MongoDB primary node is turned off. Pull request #1638.
- Missing
assets
tables for RethinkDB backend. Pull request #1646. - Cryptoconditions version mismatch. Pull request #1659.
Tag name: v1.0.0
This just reports the changes since the release of 1.0.0rc1. If you want the full picture of all changes since 0.10, then read the 1.0.0rc1 change log below as well as the upgrade guide.
- The file name of the upgrade guide changed from
docs/upgrade-guides/v0.10-->v1.0.md
todocs/upgrade-guides/v0.10-v1.0.md
. - In
transaction.inputs[n].fulfills
,output
was renamed tooutput_index
. Pull Request #1596 - In
transaction.outputs[n].condition.details
, 1)signature
was removed (from signature conditions) and 2)subfulfillments
was renamed tosubconditions
(in threshold conditions). Pull Request #1589 - Refined transaction schema validation to check that the
transaction.outputs[n].condition.uri
corresponds to a condition that BigchainDB Server 1.0.0 actually supports. Pull Request #1597 - Before, GET requests (to the HTTP API) with header
Content-Type: 'application/json'
would get a response with the message, "The browser (or proxy) sent a request that this server could not understand." Now, if a GET request includes aContent-Type
header, that header gets deleted (i.e. ignored). Pull Request #1630
- If an end user sends a transaction with
operation
equal toGENESIS
, it will be rejected as invalid. Pull Request #1612
Tag name: v1.0.0rc1
- Support for secure TLS/SSL communication between MongoDB and {BigchainDB, MongoDB Backup Agent, MongoDB Monitoring Agent}. Pull Requests #1456, #1497, #1510, #1536, #1551 and #1552.
- Text search support (only if using MongoDB). Pull Requests #1469 and #1471
- The
database.connection_timeout
configuration setting now works with RethinkDB too. #1512 - New code and tools for benchmarking CREATE transactions. Pull Request #1511
- There's an upgrade guide in
docs/upgrade-guides/v0.10-->v1.0.md
. It only covers changes to the transaction model and HTTP API. If that file hasn't been merged yet, see Pull Request #1547 - Cryptographic signatures now sign the whole (serialized) transaction body, including the transaction ID, but with all
"fulfillment"
values changed toNone
. Pull Request #1225 - In transactions, the value of
"amount"
must be a string. (Before, it was supposed to be a number.) Pull Request #1286 - In
setup.py
, the "Development Status" (as reported on PyPI) was changed from Alpha to Beta. Pull Request #1437 - If you explicitly specify a config file, e.g.
bigchaindb -c path/to/config start
and that file can't be found, then BigchainDB Server will fail with a helpful error message. Pull Request #1486 - Reduced the response time on the HTTP API endpoint to get all the unspent outputs associated with a given public key (a.k.a. "fast unspents"). Pull Request #1411
- Internally, the value of an asset's
"data"
is now stored in a separate assets table. This enabled the new text search. Each asset data is stored along with the associated CREATE transaction ID (asset ID). That data gets written when the containing block gets written to the bigchain table. Pull Request #1460 - Schema validation was sped up by switching to
rapidjson-schema
. Pull Request #1494 - If a node comes back from being down for a while, it will resume voting on blocks in the order determined by the MongoDB oplog, in the case of MongoDB. (In the case of RethinkDB, blocks missed in the changefeed will not be voted on.) Pull Request #1389
- Parallelized transaction schema validation in the vote pipeline. Pull Request #1492
asset.data
orasset.id
are now required in a CREATE or TRANSFER transaction, respectively. Pull Request #1518- The HTTP response body, in the response to the
GET /
and theGET /api/v1
endpoints, was changed substantially. Pull Request #1529 - Changed the HTTP
GET /api/v1/transactions/{transaction_id}
endpoint. It now only returns the transaction if it's in a valid block. It also returns a new header with a relative link to a status monitor. Pull Request #1543 - All instances of
txid
andtx_id
were replaced withtransaction_id
, in the transaction model and the HTTP API. Pull Request #1532 - The hostname and port were removed from all URLs in all HTTP API responses. Pull Request #1538
- Relative links were replaced with JSON objects in HTTP API responses. Pull Request #1541
- In the outputs endpoint of the HTTP API, the query parameter
unspent
was changed tospent
(so no more double negatives). If that query parameter isn't included, then all outputs matching the specificed public key will be returned. Ifspent=true
, then only the spent outputs will be returned. Ifspent=false
, then only the unspent outputs will be returned. Pull Request #1545 - The supported crypto-conditions changed from version 01 of the crypto-conditions spec to version 02. Pull Request #1562
- The value of "version" inside a transaction must now be "1.0". (Before, it could be "0.anything".) Pull Request #1574
- The
server.threads
configuration setting (for the Gunicorn HTTP server) was removed from the default set of BigchainDB configuration settings. Pull Request #1488
- The
GET /api/v1/outputs
endpoint was failing for some transactions with threshold conditions. Fixed in Pull Request #1450
- @elopio - Pull Requests #1415 and #1491
- @CsterKuroi - Pull Request #1447
- @tdsgit - Pull Request #1512
- @lavinasachdev3 - Pull Request #1357
- We dropped support for Python 3.4. Pull Request #1564
- There were many improvements to our Kubernetes-based production deployment template (and the associated documentaiton).
- There is now a BigchainDB Ruby driver, created by @addywaddy at license.rocks.
- The BigchainDB JavaScript driver was moved to a different GitHub repo and is now officially maintained by the BigchainDB team.
- We continue to recommend using MongoDB.
Tag name: v0.10.3
- Pin minor+ version of
cryptoconditions
to avoid upgrading to a non compatible version. commit 97268a5
Tag name: v0.10.2
- Add Cross Origin Resource Sharing (CORS) support for the HTTP API. Commit 6cb7596
- Fixed
streams_v1
API link in response toGET /api/v1
. Pull Request #1466 - Fixed mismatch between docs and implementation for
GET /blocks?status=
endpoint. Thestatus
query parameter is now case insensitive. Pull Request #1464
Tag name: v0.10.1
- Documentation for the BigchainDB settings
wsserver.host
andwsserver.port
. Pull Request #1408
- Fixed
Dockerfile
, which was failing to build. It now startsFROM python:3.6
(instead ofFROM ubuntu:xenial
). Pull Request #1410 - Fixed the
Makefile
so thatrelease
depends ondist
. Pull Request #1405
Tag name: v0.10.0
- Improved logging. Added logging to file. Added
--log-level
option tobigchaindb start
command. Added new logging configuration settings. Pull Requests #1285, #1307, #1324, #1326, #1327, #1330, #1365, #1394, #1396, #1398 and #1402 - Events API using WebSocket protocol. Pull Requests #1086, #1347, #1349, #1356, #1368, #1401 and #1403
- Initial support for using SSL with MongoDB (work in progress). Pull Requests #1299 and #1348
- The main BigchainDB Dockerfile (and its generated Docker image) now contains only BigchainDB Server. (It used to contain both BigchainDB Server and RethinkDB.) You must now run MongoDB or RethinkDB in a separate Docker container. Pull Request #1174
- Made separate schemas for CREATE and TRANSFER transactions. Pull Request #1257
- When signing transactions with threshold conditions, we now sign all subconditions for a public key. Pull Request #1294
- Many changes to the voting-related code, including how we validate votes and prevent duplicate votes by the same node. Pull Requests #1215 and #1258
- Removed the
bigchaindb load
command. Pull Requests #1261, #1273 and #1301 - Removed old
/speed-tests
and/benchmarking-tests
directories. Pull Request #1359
- Fixed the URL of the BigchainDB docs returned by the HTTP API. Pull Request #1178
- Fixed the MongoDB changefeed: it wasn't reporting update operations. Pull Request #1193
- Fixed the block-creation process: it wasn't checking if the transaction was previously included in:
- a valid block. Pull Request #1208
- the block-under-construction. Pull Requests #1237 and #1377
In alphabetical order by GitHub username:
- @anryko - Pull Request #1277
- @anujism - Pull Request #1366
- @jackric - Pull Request #1365
- @lavinasachdev3 - Pull Request #1358
- @morrme - Pull Request #1340
- @tomconte - Pull Request #1299
- @tymlez - Pull Requests #1108 & #1209
- MongoDB is now the recommended database backend (not RethinkDB).
- There are some initial docs about how to deploy a BigchainDB node on Kubernetes. It's work in progress.
Tag name: v0.9.5
Upgrade python-rapidjson
to 0.0.11
(fixes #1350 - thanks to @ferOnti for
reporting).
Tag name: v0.9.4
Fixed #1271 (false double spend error). Thanks to @jmduque for reporting the problem along with a very detailed diagnosis and useful recommendations.
Tag name: v0.9.3
Fixed HTTP API 500 error on GET /outputs
: issues #1200 and #1231.
Tag name: v0.9.2
Pin python-rapidjson
library in setup.py
to prevent bigchaindb
's
installation to fail due to
python-rapidjson/python-rapidjson#62.
Tag name: v0.9.1
- Fixed bug in how the transaction
VERSION
string was calculated from the BigchainDB Server__short_version__
string. Pull Request #1160
Tag name: v0.9.0
It has been more than two months since the v0.8.0 release, so there have been many changes. We decided to describe them in broad strokes, with links to more details elsewhere.
- Support for MongoDB as a backend database.
- Some configuration settings and
bigchaindb
command-line commands were added. In particular, one can specify the database backend (rethinkdb
ormongodb
). For MongoDB, one can specify the name of the replicaset. Also for MongoDB, there are new command-line commands to add and remove hosts from the replicaset. See the Settings & CLI docs. - Transaction schema validation. The transaction schema is also used to auto-generate some docs. Pull Request #880
- Vote schema validation. The vote schema is also used to auto-generate some docs. Pull Request #865
- New
ENABLE_WEB_ADMIN
setting in the AWS deployment configuration file. Pull Request #1015
- The transaction model has changed substantially. @libscott wrote a blog post about the changes and it will be published soon on the BigchainDB Blog. Also, see the docs about the transaction model.
- The HTTP API has changed substantially. @diminator wrote a blog post about the changes and it will be published soon on the BigchainDB Blog. Also, see the docs about the vote model.
- All RethinkDB-specific database calls were replaced with abstract calls to a backend database.
- Some improvements to the Dockerfile, e.g. Pull Requests #1011 and #1121
- Many improvements to the tests
- We standardized on supporting Ubuntu 16.04 for now (but BigchainDB Server also works on similar Linux distros).
api_endpoint
was removed from the BigchainDB configuration settings. (It was never used anyway.) Pull Request #821- Removed all remaining StatsD monitoring code, configuration settings, docs, etc. (We'll add another monitoring solution in the future.) Pull Request #1138
- Fixed a memory (RAM) overflow problem when under heavy load by bounding the size of the queue at the entrance to the block pipeline. Pull Request #908
- Fixed some logic in block validation. Pull Request #1130
- @amirelemam - Pull Request #762 (closed but used as the basis for Pull Request #1074)
- @utarl - Pull Request #1019
- There were many additions and changes to the documentation. Fun fact: The JSON in the HTTP API docs is now auto-generated to be consistent with the current code.
- There's a draft spec for a BigchainDB Event Stream API and we welcome your feedback. See Pull Request #1086
Tag name: v0.8.2
- Fix spend input twice in same transaction (bigchaindb#1099).
Tag name: v0.8.1
- Upgrade pysha3 to 1.0.0 (supports official NIST standard).
- Workaround for rapidjson problem with package metadata extraction (python-rapidjson/python-rapidjson#52).
Tag name: v0.8.0
- The big new thing in version 0.8.0 is support for divisible assets, i.e. assets like carrots or thumbtacks, where the initial CREATE transaction can register/create some amount (e.g. 542 carrots), the first TRANSFER transaction can split that amount across multiple owners, and so on. Pull Request #794
- Wrote a formal schema for the JSON structure of transactions. Pull Request #798
- New configuration parameter:
backlog_reassign_delay
. Pull Request #883
- CREATE transactions must now be signed by all
owners_before
(rather than by a federation node). Pull Request #794 - The user-provided timestamp was removed from the transaction data model (schema). Pull Request #817
get_transaction()
will now return a transaction from the backlog, even if there are copies of the transaction in invalid blocks. Pull Request #793- Several pull requests to introduce a generalized database interface, to move RethinkDB calls into a separate implementation of that interface, and to work on a new MongoDB implementation of that interface. Pull Requests #754, #783, #799, #806, #809, #853
- Renamed "verifying key" to "public key". Renamed "signing key" to "private key". Renamed "vk" to "pk". Pull Request #807
get_transaction_by_asset_id
now ignores invalid transactions. Pull Request #810get_transaction_by_metadata_id
now ignores invalid transactions. Pull Request #811- Updates to the configs and scripts for deploying a test network on AWS. The example config file deploys virtual machines running Ubuntu 16.04 now. Pull Requests #771, #813
- Changed logging of transactions on block creation so now it just says the length of the list of transactions, rather than listing all the transactions. Pull Request #861
- Equality checks with AssetLinks. Pull Request #825
- Bug in
bigchaindb load
. Pull Request #824 - Two issues found with timestamp indexes. Pull Request #816
- Hard-coded
backlog_reassign_delay
. Pull Request #854 - Race condition in
test_stale_monitor.py
. Pull Request #846 - When creating a signed vote, decode the vote signature to a
str
. Pull Request #869 - Bug in AWS deployment scripts. Setting
BIND_HTTP_TO_LOCALHOST
toFalse
didn't actually work. It does now. Pull Request #870
- @najlachamseddine - Pull Request #528
- @ChristianGaertner - Pull Request #659
- @MinchinWeb - Pull Request #695
- @ckeyer - Pull Request #785
- @ChristianGaertner added a Python style checker (Flake8) to Travis CI, so external contributors should be aware that the Python code in their pull requests will be checked. See our Python Style Guide.
- Several additions and changes to the documentation, e.g. Pull Requests #690, #764, #766, #769, #777, #800, #801, #802, #803, #819, #827, #859, #872, #882, #883
Tag name: v0.7.0 = commit: 2dd7f1af27478c529e6d2d916f64daa3fbda3885 committed: Oct 28, 2016, 4:00 PM GMT+2
- Stale transactions in the
backlog
table now get reassigned to another node (for inclusion in a new block): Pull Request #359 - Many improvements to make the database connection more robust: Pull Request #623
- The new
--dev-allow-temp-keypair
option onbigchaindb start
will generate a temporary keypair if no keypair is found. TheDockerfile
was updated to use this. Pull Request #635 - The AWS deployment scripts now allow you to:
- specify the AWS security group as a configuration parameter: Pull Request #620
- tell RethinkDB to bind HTTP to localhost (a more secure setup; now the default in the example config file): Pull Request #666
- Integrated the new
Transaction
model. This was a big change; 49 files changed. Pull Request #641 - Merged "common" code (used by BigchainDB Server and the Python driver), which used to be in its own repository (
bigchaindb/bigchaindb-common
), into the mainbigchaindb/bigchaindb
repository (this one): Pull Request #742 - Integrated the new digital asset model. This changed the data structure of a transaction and will make it easier to support divisible assets in the future. Pull Request #680
- Transactions are now deleted from the
backlog
table after a block containing them is written to thebigchain
table: Pull Request #609 - Changed the example AWS deployment configuration file: Pull Request #665
- Support for version 0.5.0 of the
cryptoconditions
Python package. Note that this means you must now installffi.h
(e.g.sudo apt-get install libffi-dev
on Ubuntu). See Pull Requests #685 and #698 - Updated some database access code: Pull Requests #676 and #701
- Internally, when a transaction is in the
backlog
table, it carries some extra book-keeping fields:- an
assignment_timestamp
(i.e. the time when it was assigned to a node), which is used to determine if it has gone stale. - an
assignee
: the public key of the node it was assigned to.
- an
- The
assignment_timestamp
wasn't removed before writing the transaction to a block. That was fixed in Pull Request #627 - The
assignment_timestamp
andassignee
weren't removed in the response to an HTTP API request sent to the/api/v1/transactions/<txid>
endpoint. That was fixed in Pull Request #646 - When validating a TRANSFER transaction, if any fulfillment refers to a transaction that's not in a valid block, then the transaction isn't valid. This wasn't checked before but it is now. Pull Request #629
- @MinchinWeb - Pull Request #696
- We made a small change to how we do version labeling. Going forward, we will have the version label set to 0.X.Y.dev in the master branch as we work on what will eventually be released as version 0.X.Y. The version number will only be changed to 0.X.Y just before the release. This version labeling scheme began with Pull Request #752
- Several additions and changes to the documentation, e.g. Pull Requests #618, #621, #625, #645, #647, #648, #650, #651, #653, #655, #656, #657, #667, #668, #669, #673, #678, #684, #688, #699, #705, #737, #748, #753, #757, #759, and more
Tag name: v0.6.0 = commit: bfc86e0295c7d1ef0acd3c275c125798bd5b0dfd committed: Sep 1, 2016, 2:15 PM GMT+2
- Support for multiple operations in the ChangeFeed class: Pull Request #569
- Instructions, templates and code for deploying a starter node on AWS using Terraform and Ansible: Pull Requests #572, #589, #600, #605, #610
- Check that the majority of votes on a block agree on the previous block. If they don't, consider the block invalid. Pull Request #565
- Set RethinkDB
read-mode='majority'
everywhere: Pull Request #497 - Ported election logic and voting logic to the new pipeline architecture: Pull Requests #510 and #515
- Moved the transaction (model)
version
inside thetransaction
(in the transaction data model): Pull Request #518 - Changed how the BigchainDB config file (JSON) gets written so it's easier for humans to read: Pull Request #522
- Improved and expanded the GET/POST endpoints for transactions (in the HTTP API): Pull Request #563
- Changed the AWS cluster deployment scripts so that the deployer now generates their keypair locally, rather than having Amazon do it: Pull Request #567
- When a transaction is retrieved by
get_transaction
, avalidity
field is added with a value one ofvalid
,undecided
, orbacklog
: Pull Request #574 - Renamed
current_owners
andnew_owners
(in the data models) toowners_before
andowners_after
, respectively (i.e. before/after the transaction): Pull Request #578 - Use
flask_restful
and class-based views for realizing the HTTP API: Pull Request #588
- Fixed the confusing error message when there was a syntax error in the BigchainDB config file: Pull Request #531
- Fixed
write_transaction
so it no longer has the side effect of addingassignee
to a transaction that is being processed: Pull Request #606
- @eladve - Pull Request #518
- @d01phin - Pull Requests #522 and #531
- @Kentoseth - Pull Request #537
- Several additions and changes to the documentation, e.g. Pull Requests #523, #532, #537, #539, #610, and more
Tag name: v0.5.1 = commit: ff042b5954abe48c7264d43128d52584eab2a806 committed: Jul 29, 2016, 2:38 PM GMT+2
- New third table, the 'votes' table: Pull Request #379
- Added
get_tx_by_payload_uuid()
including index: Pull Request #411 - Ability to deploy a test cluster on AWS using Amazon Elastic Block Store (EBS) for storage: Pull Request #469
- Ability to add different-size payloads to transactions when filling the backlog for benchmarking: Pull Request #273
- Votes are no longer appended to the blocks inside the 'bigchain' table. They're now written to their own table, the 'votes' table: Pull Request #379
- Refactored how blocks get constructed using the new approach to doing multiprocessing, using the
multipipes
package: Pull Request #484 - Changed all queries to use
read_mode='majority'
: Pull Request #497 - Revised how base software gets deployed on AWS instances: Pull Request #478
- Refactored
db.utils.init()
: Pull Request #471
- @shauns - Pull Request #411
- @lonelypeanut - Pull Request #479
- @lluminita - Pull Requests #435 & #471
- Several additions and changes to the documentation: Pull Requests #416, #417, #418, #420, #421, #422, #423, #425, #428, #430, #431, #435, #442, #472, #481
Tag name: v0.5.0 = commit: 38329531304952128b48f2e5603db5fa08069c26 committed: July 4, 2016, 1:07 PM GMT+2
- New
bigchaindb set-replicas
subcommand: Pull Request #392 - Informative JSON message when one makes a request to the root endpoint of the HTTP client-server API: Pull Request #367
- Return HTTP response code 404 when a transaction is not found: Pull Request #369
- Changed the order in which configuration settings get their values. If a setting is set by an environment variable, then that value will be the value, regardless of whether another value is set in a local config file. Also added a method to programattically update the config settings. Pull Request #395
- Changed the definition of
util.sign_tx()
. It now has a third, optional argument: a Bigchain instance. Pull Request #410
- Several additions and changes to the documentation: Pull Requests #388, #393, #397, #402, #403, #406, #408
Tag name: v0.4.2 = commit: 7ce6c3980cf70437d7ce716a67f069afa8ecb79e committed: June 15, 2016, 1:42 PM GMT+2
- Report the BigchainDB version number when starting BigchainDB: Pull Request #385
- Round timestamps to a precision of one second, and replace payload hash with payload UUID in transactions: Pull Request #384
- Updated cryptoconditions API usage: Pull Request #373
Tag name: v0.4.1 = commit: 9c4aa987bcbc294b6a5c3069e6c45a7ed77a4068 committed: June 13, 2016, 9:52 AM GMT+2
- Revert
bigchain
deletes: Pull Request #330
- Use inverted threshold condition instead of negative weights for escrow: Pull Request #355
- Removed duplicate
pytest
insetup.py
: Pull Request #365
- There were several additions and changes to the documentation: Pull Requests #343, #363, #364, #366, #370, #372
Tag name: v0.4.0 = commit: a89399c4f9fcdf82df73e0d8191af9e539d8d081 committed: May 27, 2016, 1:42 PM GMT+2
- Support for escrow (possible because of two other new things: cryptoconditions with inverters, and a timeout condition): Pull Request #329
- Caching of calls to
load_consensus_plugin()
, using@lru_cache
. This speeds up the instantiation ofBigchain
objects and greatly improves overall performance. Pull Request #271 - New
Dockerfile-dev
Docker file to make it easier for developers to develop BigchainDB with Docker. One can run all unit tests with Docker again. Pull Request #313 - Transactions in invalid blocks are copied to the backlog: Pull Request #221.
- Queries to the bigchain table now ignore invalid blocks: Pull Request #324
- Use secondary index on get_transaction: Pull Request #324
- New
bigchaindb
command to set the number of RethinkDB shards (in both tables): Pull Request #258 - Better handling of an outdated
setuptools
: Pull Request #279
- The block processes now use GroupProcess: Pull Request #267
- Replaced the
json
Python package withrapidjson
(a Python wrapper for a fast JSON parser/generator written in C++), to speed up JSON serialization and deserialization: Pull Request #318 - Overhauled
ROADMAP.md
and moved it to the bigchaindb/org repository: Pull Requests #282, #306, #308, #325 - AWS deployment has better support for New Relic Server Monitoring: Pull Request #316
- AWS deployment script now reads from a configuration file: Pull Request #291
- AWS deployment script doesn't auto-start the BigchainDB servers anymore: Pull Request #257
- Bug related to transaction malleability: Pull Request #281
You can now see a big-picture view of all BigchainDB repositories on a waffle.io board.
Tag name: v0.3.0 = commit: a97c54e82be954a1411e5bfe0f09a9c631309f1e committed: May 3, 2016, 11:52 AM GMT+2
- Crypto-conditions specs according to the Interledger protocol: Pull Request #174
- Added support for anonymous hashlocked conditions and fulfillments: Pull Request #211
- Several improvements to the AWS deployment scripts: Pull Request #227
- Bug related to block validation: Pull Request #233
This release completely refactored the structure of the transactions and broke compatibility with older versions of BigchainDB. The refactor of the transactions was made in order to add support for multiple inputs/outputs and the crypto-conditions specs from the Interledger protocol.
We also updated the RethinkDB Python drivers so you need to upgrade to RethinkDB v2.3+
Tag name: v0.2.0 = commit: 0c4a2b380aabdcf50fa2d7fb351c290aaedc3db7 committed: April 26, 2016, 11:09 AM GMT+2
- Ability to use environment variables to set (or partially set) configuration settings: Pull Request #153
bigchaindb --export-my-pubkey
: Pull Request #186bigchaindb --version
, and one central source for the current version (version.py
): Pull Request #208- AWS deployment scripts: Pull Requests #160, #166, #172, #203
codecov.yml
: Pull Request #161CHANGELOG.md
(this file): Pull Request #117- Signatures using Ed25519: Pull Requests #138, #152
- Multisig support: Pull Request #107
- HTTP Server & Web API: Pull Requests #102, #150, #155, #183
- Python driver/SDK/API: Pull Request #102
- Python Style Guide: Pull Request #89
- Monitoring & dashboard tools: Pull Requests #72, #181
- Bug related to config overwrite: Pull Request #97
- Bug related to running the
bigchaindb-benchmark load
on docker Pull Request #225
- @thedoctor: Pull Requests #99, #136
- @roderik: Pull Request #162
Tag name: v0.1.5 = commit: 9f62cddbaf44167692cfee71db707bce93e3395f committed: April 20, 2016, 3:31 PM GMT+2
- Issue #71 (Voter is not validating blocks correctly when checking for double spends) in Pull Request #76
Tag name: v0.1.4 = commit: c4c850f480bc9ae72df2a54f81c0825b6fb4ed62 committed: Feb 22, 2016, 11:51 AM GMT+1
- Added to
classifiers
to setup.py
- Allow running pytest tests in parallel (using xdist): Pull Request #65
- Allow non-interactive first start: Pull Request #64 to resolve Issue #58
Tag name: v0.1.3 = commit 8926e3216c1ee39b9bc332e5ef1df2a8901262dd committed Feb 16, 2016, 11:37 AM GMT+1
- Changed from using Git Flow to GitHub flow (but with
develop
as the default branch).
Tag name: v0.1.2 = commit d2ff24166d69dda68dd7b4a24a88279b1d37e222 committed Feb 15, 2016, 2:23 PM GMT+1
- Various tests
- Fix exception when running
start
: Pull Request #32 resolved [Issue #35]
Tag name: v0.1.1 = commit 2a025448b29fe7056760de1039c73bbcfe992461 committed Feb 15, 2016, 10:48 AM GMT+1
- "release 0.1.1": Pull Request #37
tox.ini
Pull Request #18requirements.txt
in the root directory, and the entirerequirements/
directory: Pull Request #14
- Hotfix for AttributeError, fixed Issue #27
Tag name: v0.1.0 = commit 8539e8dc2d036a4e0a866a3fb9e55889503254d5 committed Feb 10, 2016, 10:04 PM GMT+1
The first public release of BigchainDB, including:
- Initial BigchainDB Server code, including many tests and some code for benchmarking.
- Initial documentation (in
bigchaindb/docs
). - Initial
README.md
,ROADMAP.md
,CODE_OF_CONDUCT.md
, andCONTRIBUTING.md
. - Packaging for PyPI, including
setup.py
andsetup.cfg
. - Initial
Dockerfile
anddocker-compose.yml
(for deployment using Docker and Docker Compose). - Initial
.gitignore
(list of things for git to ignore). - Initial
.travis.yml
(used by Travis CI).