2017-03-02 10:27:50 +00:00
|
|
|
Release notes
|
|
|
|
=============
|
|
|
|
|
2017-05-03 10:02:56 +00:00
|
|
|
Here are release notes for each snapshot release from M9 onwards.
|
2017-03-02 10:27:50 +00:00
|
|
|
|
2017-04-13 12:25:12 +00:00
|
|
|
Unreleased
|
|
|
|
----------
|
|
|
|
|
2017-05-08 09:38:18 +00:00
|
|
|
We've added the ability for flows to be versioned by their CorDapp developers. This enables a node to support a particular
|
|
|
|
version of a flow and allows it to reject flow communication with a node which isn't using the same fact. In a future
|
|
|
|
release we allow a node to have multiple versions of the same flow running to enable backwards compatibility.
|
2017-05-03 10:02:56 +00:00
|
|
|
|
2017-05-11 10:25:00 +00:00
|
|
|
There are major changes to the ``Party`` class as part of confidential identities, and how parties and keys are stored
|
|
|
|
in transaction state objects. See :doc:`changelog` for full details.
|
2017-05-10 10:55:52 +00:00
|
|
|
|
|
|
|
|
2017-05-03 10:02:56 +00:00
|
|
|
Milestone 11
|
|
|
|
------------
|
|
|
|
|
|
|
|
Special thank you to `Gary Rowe <https://github.com/gary-rowe>`_ for his contribution to Corda's Contracts DSL in M11.
|
|
|
|
|
2017-04-13 12:25:12 +00:00
|
|
|
Work has continued on confidential identities, introducing code to enable the Java standard libraries to work with
|
|
|
|
composite key signatures. This will form the underlying basis of future work to standardise the public key and signature
|
|
|
|
formats to enable interoperability with other systems, as well as enabling the use of composite signatures on X.509
|
|
|
|
certificates to prove association between transaction keys and identity keys.
|
|
|
|
|
2017-04-27 10:27:55 +00:00
|
|
|
The identity work will require changes to existing code and configurations, to replace party names with full X.500
|
|
|
|
distinguished names (see RFC 1779 for details on the construction of distinguished names). Currently this is not
|
|
|
|
enforced, however it will be in a later milestone.
|
2017-04-13 16:41:54 +00:00
|
|
|
|
|
|
|
* "myLegalName" in node configurations will need to be replaced, for example "Bank A" is replaced with
|
|
|
|
"CN=Bank A,O=Bank A,L=London,C=UK". Obviously organisation, location and country ("O", "L" and "C" respectively)
|
|
|
|
must be given values which are appropriate to the node, do not just use these example values.
|
2017-04-27 10:27:55 +00:00
|
|
|
* "networkMap" in node configurations must be updated to match any change to the legal name of the network map.
|
2017-04-13 16:41:54 +00:00
|
|
|
* If you are using mock parties for testing, try to standardise on the ``DUMMY_NOTARY``, ``DUMMY_BANK_A``, etc. provided
|
|
|
|
in order to ensure consistency.
|
|
|
|
|
2017-04-27 10:27:55 +00:00
|
|
|
We anticipate enforcing the use of distinguished names in node configurations from M12, and across the network from M13.
|
|
|
|
|
2017-05-03 10:02:56 +00:00
|
|
|
We have increased the maximum message size that we can send to Corda over RPC from 100 KB to 10 MB.
|
|
|
|
|
2017-05-08 09:38:18 +00:00
|
|
|
The Corda node now disables any use of ObjectInputStream to prevent Java deserialisation within flows. This is a security fix,
|
|
|
|
and prevents the node from deserialising arbitrary objects.
|
2017-04-19 10:05:27 +00:00
|
|
|
|
|
|
|
We've introduced the concept of platform version which is a single integer value which increments by 1 if a release changes
|
|
|
|
any of the public APIs of the entire Corda platform. This includes the node's public APIs, the messaging protocol,
|
|
|
|
serialisation, etc. The node exposes the platform version it's on and we envision CorDapps will use this to be able to
|
|
|
|
run on older versions of the platform to the one they were compiled against. Platform version borrows heavily from Android's
|
|
|
|
API Level.
|
2017-04-19 09:39:32 +00:00
|
|
|
|
2017-05-08 09:38:18 +00:00
|
|
|
We have revamped the DemoBench user interface. DemoBench will now also be installed as "Corda DemoBench" for both Windows
|
|
|
|
and MacOSX. The original version was installed as just "DemoBench", and so will not be overwritten automatically by the
|
|
|
|
new version.
|
2017-04-27 11:29:41 +00:00
|
|
|
|
2017-04-07 09:12:01 +00:00
|
|
|
Milestone 10
|
|
|
|
------------
|
2017-03-21 11:13:37 +00:00
|
|
|
|
2017-04-19 10:05:27 +00:00
|
|
|
Special thank you to `Qian Hong <https://github.com/fracting>`_, `Marek Skocovsky <https://github.com/marekdapps>`_,
|
|
|
|
`Karel Hajek <https://github.com/polybioz>`_, and `Jonny Chiu <https://github.com/johnnyychiu>`_ for their contributions
|
|
|
|
to Corda in M10.
|
2017-04-07 16:33:45 +00:00
|
|
|
|
2017-03-21 11:13:37 +00:00
|
|
|
A new interactive **Corda Shell** has been added to the node. The shell lets developers and node administrators
|
|
|
|
easily command the node by running flows, RPCs and SQL queries. It also provides a variety of commands to monitor
|
|
|
|
the node. The Corda Shell is based on the popular `CRaSH project <http://www.crashub.org/>`_ and new commands can
|
|
|
|
be easily added to the node by simply dropping Groovy or Java files into the node's ``shell-commands`` directory.
|
|
|
|
We have many enhancements planned over time including SSH access, more commands and better tab completion.
|
2017-03-17 10:32:14 +00:00
|
|
|
|
2017-04-19 10:05:27 +00:00
|
|
|
The new "DemoBench" makes it easy to configure and launch local Corda nodes. It is a standalone desktop app that can be
|
|
|
|
bundled with its own JRE and packaged as either EXE (Windows), DMG (MacOS) or RPM (Linux-based). It has the following
|
|
|
|
features:
|
2017-05-03 10:02:56 +00:00
|
|
|
|
2017-04-19 10:05:27 +00:00
|
|
|
#. New nodes can be added at the click of a button. Clicking "Add node" creates a new tab that lets you edit the most
|
|
|
|
important configuration properties of the node before launch, such as its legal name and which CorDapps will be loaded.
|
2017-04-07 09:12:01 +00:00
|
|
|
#. Each tab contains a terminal emulator, attached to the pseudoterminal of the node. This lets you see console output.
|
2017-04-19 10:05:27 +00:00
|
|
|
#. You can launch an Corda Explorer instance for each node at the click of a button. Credentials are handed to the Corda
|
|
|
|
Explorer so it starts out logged in already.
|
2017-03-31 13:16:32 +00:00
|
|
|
#. Some basic statistics are shown about each node, informed via the RPC connection.
|
|
|
|
#. Another button launches a database viewer in the system browser.
|
|
|
|
#. The configurations of all running nodes can be saved into a single ``.profile`` file that can be reloaded later.
|
|
|
|
|
2017-04-19 10:05:27 +00:00
|
|
|
Soft Locking is a new feature implemented in the vault to prevent a node constructing transactions that attempt to use the
|
|
|
|
same input(s) simultaneously. Such transactions would result in naturally wasted effort when the notary rejects them as
|
|
|
|
double spend attempts. Soft locks are automatically applied to coin selection (eg. cash spending) to ensure that no two
|
|
|
|
transactions attempt to spend the same fungible states.
|
2017-04-07 09:12:01 +00:00
|
|
|
|
2017-04-19 10:05:27 +00:00
|
|
|
The basic Amount API has been upgraded to have support for advanced financial use cases and to better integrate with
|
|
|
|
currency reference data.
|
2017-04-07 09:12:01 +00:00
|
|
|
|
2017-04-19 10:05:27 +00:00
|
|
|
We have added optional out-of-process transaction verification. Any number of external verifier processes may be attached
|
|
|
|
to the node which can handle loadbalanced verification requests.
|
2017-04-07 09:12:01 +00:00
|
|
|
|
2017-04-19 10:05:27 +00:00
|
|
|
We have also delivered the long waited Kotlin 1.1 upgrade in M10! The new features in Kotlin allow us to write even more
|
|
|
|
clean and easy to manage code, which greatly increases our productivity.
|
2017-04-07 09:12:01 +00:00
|
|
|
|
2017-04-19 10:05:27 +00:00
|
|
|
This release contains a large number of improvements, new features, library upgrades and bug fixes. For a full list of
|
|
|
|
changes please see :doc:`changelog`.
|
2017-04-07 09:12:01 +00:00
|
|
|
|
2017-03-02 10:27:50 +00:00
|
|
|
Milestone 9
|
|
|
|
-----------
|
|
|
|
|
|
|
|
This release focuses on improvements to resiliency of the core infrastructure, with highlights including a Byzantine
|
|
|
|
fault tolerant (BFT) decentralised notary, based on the BFT-SMaRT protocol and isolating the web server from the
|
|
|
|
Corda node.
|
|
|
|
|
2017-03-03 11:19:51 +00:00
|
|
|
With thanks to open source contributor Thomas Schroeter for providing the BFT notary prototype, Corda can now resist
|
|
|
|
malicious attacks by members of a distributed notary service. If your notary service cluster has seven members, two can
|
|
|
|
become hacked or malicious simultaneously and the system continues unaffected! This work is still in development stage,
|
|
|
|
and more features are coming in the next snapshot!
|
2017-03-02 10:27:50 +00:00
|
|
|
|
|
|
|
The web server has been split out of the Corda node as part of our ongoing hardening of the node. We now provide a Jetty
|
|
|
|
servlet container pre-configured to contact a Corda node as a backend service out of the box, which means individual
|
|
|
|
webapps can have their REST APIs configured for the specific security environment of that app without affecting the
|
|
|
|
others, and without exposing the sensitive core of the node to malicious Javascript.
|
|
|
|
|
|
|
|
We have launched a global training programme, with two days of classes from the R3 team being hosted in London, New York
|
|
|
|
and Singapore. R3 members get 5 free places and seats are going fast, so sign up today.
|
|
|
|
|
|
|
|
We've started on support for confidential identities, based on the key randomisation techniques pioneered by the Bitcoin
|
|
|
|
and Ethereum communities. Identities may be either anonymous when a transaction is a part of a chain of custody, or fully
|
|
|
|
legally verified when a transaction is with a counterparty. Type safety is used to ensure the verification level of a
|
|
|
|
party is always clear and avoid mistakes. Future work will add support for generating new identity keys and providing a
|
|
|
|
certificate path to show ownership by the well known identity.
|
|
|
|
|
|
|
|
There are even more privacy improvements when a non-validating notary is used; the Merkle tree algorithm is used to hide
|
|
|
|
parts of the transaction that a non-validating notary doesn't need to see, whilst still allowing the decentralised
|
|
|
|
notary service to sign the entire transaction.
|
|
|
|
|
|
|
|
The serialisation API has been simplified and improved. Developers now only need to tag types that will be placed in
|
|
|
|
smart contracts or sent between parties with a single annotation... and sometimes even that isn't necessary!
|
|
|
|
|
|
|
|
Better permissioning in the cash CorDapp, to allow node users to be granted different permissions depending on whether
|
|
|
|
they manage the issuance, movement or ledger exit of cash tokens.
|
|
|
|
|
|
|
|
We've continued to improve error handling in flows, with information about errors being fed through to observing RPC
|
|
|
|
clients.
|
|
|
|
|
|
|
|
There have also been dozens of bug fixes, performance improvements and usability tweaks. Upgrading is definitely
|
|
|
|
worthwhile and will only take a few minutes for most apps.
|
|
|
|
|
2017-04-07 09:12:01 +00:00
|
|
|
For a full list of changes please see :doc:`changelog`.
|