Planetmint

Latest version: v2.5.1

Safety actively analyzes 688215 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 14

1.0.0

Not secure
**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.**

Changed
* The file name of the upgrade guide changed from `docs/upgrade-guides/v0.10-->v1.0.md` to `docs/upgrade-guides/v0.10-v1.0.md`.
* In `transaction.inputs[n].fulfills`, `output` was renamed to `output_index`. [Pull Request 1596](https://github.com/planetmint/planetmint/pull/1596)
* In `transaction.outputs[n].condition.details`, 1) `signature` was removed (from signature conditions) and 2) `subfulfillments` was renamed to `subconditions` (in threshold conditions). [Pull Request 1589](https://github.com/planetmint/planetmint/pull/1589)
* Refined transaction schema validation to check that the `transaction.outputs[n].condition.uri` corresponds to a condition that Planetmint Server 1.0.0 actually supports. [Pull Request 1597](https://github.com/planetmint/planetmint/pull/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 a `Content-Type` header, that header gets deleted (i.e. ignored). [Pull Request 1630](https://github.com/planetmint/planetmint/pull/1630)

Fixed
* If an end user sends a transaction with `operation` equal to `GENESIS`, it will be rejected as invalid. [Pull Request 1612](https://github.com/planetmint/planetmint/pull/1612)

1.0.0rc1

Added
* Support for secure TLS/SSL communication between MongoDB and {Planetmint, MongoDB Backup Agent, MongoDB Monitoring Agent}. Pull Requests
[1456](https://github.com/planetmint/planetmint/pull/1456),
[1497](https://github.com/planetmint/planetmint/pull/1497),
[1510](https://github.com/planetmint/planetmint/pull/1510),
[1536](https://github.com/planetmint/planetmint/pull/1536),
[1551](https://github.com/planetmint/planetmint/pull/1551) and
[1552](https://github.com/planetmint/planetmint/pull/1552).
* Text search support (only if using MongoDB). Pull Requests [1469](https://github.com/planetmint/planetmint/pull/1469) and [#1471](https://github.com/planetmint/planetmint/pull/1471)
* The `database.connection_timeout` configuration setting now works with RethinkDB too. [1512](https://github.com/planetmint/planetmint/pull/1512)
* New code and tools for benchmarking CREATE transactions. [Pull Request 1511](https://github.com/planetmint/planetmint/pull/1511)

Changed
* 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](https://github.com/planetmint/planetmint/pull/1547)
* Cryptographic signatures now sign the whole (serialized) transaction body, including the transaction ID, but with all `"fulfillment"` values changed to `None`. [Pull Request 1225](https://github.com/planetmint/planetmint/pull/1225)
* In transactions, the value of `"amount"` must be a string. (Before, it was supposed to be a number.) [Pull Request 1286](https://github.com/planetmint/planetmint/pull/1286)
* In `setup.py`, the "Development Status" (as reported on PyPI) was changed from Alpha to Beta. [Pull Request 1437](https://github.com/planetmint/planetmint/pull/1437)
* If you explicitly specify a config file, e.g. `planetmint -c path/to/config start` and that file can't be found, then Planetmint Server will fail with a helpful error message. [Pull Request 1486](https://github.com/planetmint/planetmint/pull/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](https://github.com/planetmint/planetmint/pull/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 planet table. [Pull Request 1460](https://github.com/planetmint/planetmint/pull/1460)
* Schema validation was sped up by switching to `rapidjson-schema`. [Pull Request 1494](https://github.com/planetmint/planetmint/pull/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](https://github.com/planetmint/planetmint/pull/1389)
* Parallelized transaction schema validation in the vote pipeline. [Pull Request 1492](https://github.com/planetmint/planetmint/pull/1492)
* `asset.data` or `asset.id` are now *required* in a CREATE or TRANSFER transaction, respectively. [Pull Request 1518](https://github.com/planetmint/planetmint/pull/1518)
* The HTTP response body, in the response to the `GET /` and the `GET /api/v1` endpoints, was changed substantially. [Pull Request 1529](https://github.com/planetmint/planetmint/pull/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](https://github.com/planetmint/planetmint/pull/1543)
* All instances of `txid` and `tx_id` were replaced with `transaction_id`, in the transaction model and the HTTP API. [Pull Request 1532](https://github.com/planetmint/planetmint/pull/1532)
* The hostname and port were removed from all URLs in all HTTP API responses. [Pull Request 1538](https://github.com/planetmint/planetmint/pull/1538)
* Relative links were replaced with JSON objects in HTTP API responses. [Pull Request 1541](https://github.com/planetmint/planetmint/pull/1541)
* In the outputs endpoint of the HTTP API, the query parameter `unspent` was changed to `spent` (so no more double negatives). If that query parameter isn't included, then all outputs matching the specificed public key will be returned. If `spent=true`, then only the spent outputs will be returned. If `spent=false`, then only the unspent outputs will be returned. [Pull Request 1545](https://github.com/planetmint/planetmint/pull/1545)
* The supported crypto-conditions changed from version 01 of the crypto-conditions spec to version 02. [Pull Request 1562](https://github.com/planetmint/planetmint/pull/1562)
* The value of "version" inside a transaction must now be "1.0". (Before, it could be "0.anything".) [Pull Request 1574](https://github.com/planetmint/planetmint/pull/1574)

Removed
* The `server.threads` configuration setting (for the Gunicorn HTTP server) was removed from the default set of Planetmint configuration settings. [Pull Request 1488](https://github.com/planetmint/planetmint/pull/1488)

Fixed
* The `GET /api/v1/outputs` endpoint was failing for some transactions with threshold conditions. Fixed in [Pull Request 1450](https://github.com/planetmint/planetmint/pull/1450)

External Contributors
* elopio - Pull Requests [1415](https://github.com/planetmint/planetmint/pull/1415) and [#1491](https://github.com/planetmint/planetmint/pull/1491)
* CsterKuroi - [Pull Request 1447](https://github.com/planetmint/planetmint/pull/1447)
* tdsgit - [Pull Request 1512](https://github.com/planetmint/planetmint/pull/1512)
* lavinasachdev3 - [Pull Request 1357](https://github.com/planetmint/planetmint/pull/1357)

Notes
* We dropped support for Python 3.4. [Pull Request 1564](https://github.com/planetmint/planetmint/pull/1564)
* There were many improvements to our Kubernetes-based production deployment template (and the associated documentaiton).
* There is now a [Planetmint Ruby driver](https://github.com/LicenseRocks/planetmint_ruby), created by addywaddy at [license.rocks](https://github.com/planetmint/planetmint/pull/1437).
* The [Planetmint JavaScript driver](https://github.com/planetmint/js-bigchaindb-driver) was moved to a different GitHub repo and is now officially maintained by the Planetmint team.
* We continue to recommend using MongoDB.

0.10.3

Fixed
* Pin minor+ version of `cryptoconditions` to avoid upgrading to a non
compatible version.
[commit 97268a5](https://github.com/planetmint/planetmint/commit/97268a577bf27942a87d8eb838f4816165c84fd5)

0.10.2

Added
* Add Cross Origin Resource Sharing (CORS) support for the HTTP API.
[Commit 6cb7596](https://github.com/planetmint/planetmint/commit/6cb75960b05403c77bdae0fd327612482589efcb)

Fixed
* Fixed `streams_v1` API link in response to `GET /api/v1`.
[Pull Request 1466](https://github.com/planetmint/planetmint/pull/1466)
* Fixed mismatch between docs and implementation for `GET /blocks?status=`
endpoint. The `status` query parameter is now case insensitive.
[Pull Request 1464](https://github.com/planetmint/planetmint/pull/1464)

0.10.1

Added
* Documentation for the Planetmint settings `wsserver.host` and `wsserver.port`. [Pull Request 1408](https://github.com/planetmint/planetmint/pull/1408)

Fixed
* Fixed `Dockerfile`, which was failing to build. It now starts `FROM python:3.6` (instead of `FROM ubuntu:xenial`). [Pull Request 1410](https://github.com/planetmint/planetmint/pull/1410)
* Fixed the `Makefile` so that `release` depends on `dist`. [Pull Request 1405](https://github.com/planetmint/planetmint/pull/1405)

0.10.0

Added
* Improved logging. Added logging to file. Added `--log-level` option to `planetmint start` command. Added new logging configuration settings. Pull Requests
[1285](https://github.com/planetmint/planetmint/pull/1285),
[1307](https://github.com/planetmint/planetmint/pull/1307),
[1324](https://github.com/planetmint/planetmint/pull/1324),
[1326](https://github.com/planetmint/planetmint/pull/1326),
[1327](https://github.com/planetmint/planetmint/pull/1327),
[1330](https://github.com/planetmint/planetmint/pull/1330),
[1365](https://github.com/planetmint/planetmint/pull/1365),
[1394](https://github.com/planetmint/planetmint/pull/1394),
[1396](https://github.com/planetmint/planetmint/pull/1396),
[1398](https://github.com/planetmint/planetmint/pull/1398) and
[1402](https://github.com/planetmint/planetmint/pull/1402)
* Events API using WebSocket protocol. Pull Requests
[1086](https://github.com/planetmint/planetmint/pull/1086),
[1347](https://github.com/planetmint/planetmint/pull/1347),
[1349](https://github.com/planetmint/planetmint/pull/1349),
[1356](https://github.com/planetmint/planetmint/pull/1356),
[1368](https://github.com/planetmint/planetmint/pull/1368),
[1401](https://github.com/planetmint/planetmint/pull/1401) and
[1403](https://github.com/planetmint/planetmint/pull/1403)
* Initial support for using SSL with MongoDB (work in progress). Pull Requests
[1299](https://github.com/planetmint/planetmint/pull/1299) and
[1348](https://github.com/planetmint/planetmint/pull/1348)

Changed
* The main Planetmint Dockerfile (and its generated Docker image) now contains only Planetmint Server. (It used to contain both Planetmint Server and RethinkDB.) You must now run MongoDB or RethinkDB in a separate Docker container. [Pull Request 1174](https://github.com/planetmint/planetmint/pull/1174)
* Made separate schemas for CREATE and TRANSFER transactions. [Pull Request 1257](https://github.com/planetmint/planetmint/pull/1257)
* When signing transactions with threshold conditions, we now sign all subconditions for a public key. [Pull Request 1294](https://github.com/planetmint/planetmint/pull/1294)
* Many changes to the voting-related code, including how we validate votes and prevent duplicate votes by the same node. Pull Requests [1215](https://github.com/planetmint/planetmint/pull/1215) and [#1258](https://github.com/planetmint/planetmint/pull/1258)

Removed
* Removed the `planetmint load` command. Pull Requests
[1261](https://github.com/planetmint/planetmint/pull/1261),
[1273](https://github.com/planetmint/planetmint/pull/1273) and
[1301](https://github.com/planetmint/planetmint/pull/1301)
* Removed old `/speed-tests` and `/benchmarking-tests` directories. [Pull Request 1359](https://github.com/planetmint/planetmint/pull/1359)

Fixed
* Fixed the URL of the Planetmint docs returned by the HTTP API. [Pull Request 1178](https://github.com/planetmint/planetmint/pull/1178)
* Fixed the MongoDB changefeed: it wasn't reporting update operations. [Pull Request 1193](https://github.com/planetmint/planetmint/pull/1193)
* Fixed the block-creation process: it wasn't checking if the transaction was previously included in:
* a valid block. [Pull Request 1208](https://github.com/planetmint/planetmint/pull/1208)
* the block-under-construction. Pull Requests [1237](https://github.com/planetmint/planetmint/issues/1237) and [#1377](https://github.com/planetmint/planetmint/issues/1377)

External Contributors
In alphabetical order by GitHub username:
* anryko - [Pull Request 1277](https://github.com/planetmint/planetmint/pull/1277)
* anujism - [Pull Request 1366](https://github.com/planetmint/planetmint/pull/1366)
* jackric - [Pull Request 1365](https://github.com/planetmint/planetmint/pull/1365)
* lavinasachdev3 - [Pull Request 1358](https://github.com/planetmint/planetmint/pull/1358)
* morrme - [Pull Request 1340](https://github.com/planetmint/planetmint/pull/1340)
* tomconte - [Pull Request 1299](https://github.com/planetmint/planetmint/pull/1299)
* tymlez - Pull Requests [1108](https://github.com/planetmint/planetmint/pull/1108) & [#1209](https://github.com/planetmint/planetmint/pull/1209)

Notes
* MongoDB is now the recommended database backend (not RethinkDB).
* There are some initial docs about how to deploy a Planetmint node on Kubernetes. It's work in progress.

Page 9 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.