2017-03-01 15:43:56 +00:00
Changelog
=========
2016-05-24 11:26:17 +00:00
2018-04-03 17:03:07 +00:00
Here's a summary of what's changed in each Corda release. For guidance on how to upgrade code from the previous
2018-12-19 16:12:20 +00:00
release, see :doc: `app-upgrade-notes` .
2019-04-25 15:55:43 +00:00
.. _changelog_v4.2:
Version 4.2
-----------
2019-05-07 11:55:27 +00:00
* Contract attachments are now automatically whitelisted by the node if another contract attachment is present with the same contract classes,
signed by the same public keys, and uploaded by a trusted uploader. This allows the node to resolve transactions that use earlier versions
of a contract without having to manually install that version, provided a newer version is installed. Similarly, non-contract attachments
are whitelisted if another attachment is present on the node that is signed by the same public key.
2019-04-25 15:55:43 +00:00
2018-12-19 16:12:20 +00:00
.. _changelog_v4.0:
Version 4.0
-----------
2018-04-03 17:03:07 +00:00
2018-12-21 09:40:07 +00:00
* Fixed race condition between `` NodeVaultService.trackBy `` and `` NodeVaultService.notifyAll `` , where there could be states that were not reflected
in the data feed returned from `` trackBy `` (either in the query's result snapshot or the observable).
2018-09-07 09:20:21 +00:00
2018-12-18 09:18:12 +00:00
* TimedFlows (only used by the notary client flow) will never give up trying to reach the notary, as this would leave the states
in the notarisation request in an undefined state (unknown whether the spend has been notarised, i.e. has happened, or not). Also,
retries have been disabled for single node notaries since in this case they offer no potential benefits, unlike for a notary cluster with
several members who might have different availability.
2019-02-20 19:37:08 +00:00
* New configuration property `` database.initialiseAppSchema `` with values `` UPDATE `` , `` VALIDATE `` and `` NONE `` .
The property controls the behavior of the Hibernate DDL generation. `` UPDATE `` performs an update of CorDapp schemas, while
2019-02-21 10:07:23 +00:00
`` VALIDATE `` only verifies their integrity. The property does not affect the node-specific DDL handling and
2019-03-25 16:13:28 +00:00
complements `` database.initialiseSchema `` to disable DDL handling altogether.
2018-12-13 13:34:58 +00:00
2018-12-13 10:20:48 +00:00
* `` JacksonSupport.createInMemoryMapper `` was incorrectly marked as deprecated and is no longer so.
2018-12-14 09:39:23 +00:00
* Standardised CorDapp version identifiers in jar manifests (aligned with associated cordapp Gradle plugin changes).
Updated all samples to reflect new conventions.
* Introduction of unique CorDapp version identifiers in jar manifests for contract and flows/services CorDapps.
Updated all sample CorDapps to reflect new conventions.
See :ref: `CorDapp separation <cordapp_separation_ref>` for further information.
2018-12-04 18:45:29 +00:00
* Automatic Constraints propagation for hash-constrained states to signature-constrained states.
This allows Corda 4 signed CorDapps using signature constraints to consume existing hash constrained states generated
by unsigned CorDapps in previous versions of Corda.
2018-12-20 09:49:58 +00:00
* You can now load different CorDapps for different nodes in the node-driver and mock-network. This previously wasn't possible with the
`` DriverParameters.extraCordappPackagesToScan `` and `` MockNetwork.cordappPackages `` parameters as all the nodes would get the same CorDapps.
See `` TestCordapp `` , `` NodeParameters.additionalCordapps `` and `` MockNodeParameters.additionalCordapps `` .
* `` DriverParameters.extraCordappPackagesToScan `` and `` MockNetwork.cordappPackages `` have been deprecated as they do not support the new
CorDapp versioning and MANIFEST metadata support that has been added. They create artificial CorDapp jars which do not preserve these
settings and thus may produce incorrect results when testing. It is recommended `` DriverParameters.cordappsForAllNodes `` and
`` MockNetworkParameters.cordappsForAllNodes `` be used instead.
2018-12-07 16:59:52 +00:00
* Fixed a problem with IRS demo not being able to simulate future dates as expected (https://github.com/corda/corda/issues/3851).
2019-02-20 19:37:08 +00:00
* Fixed a problem that was preventing `` Cash.generateSpend `` to be used more than once per transaction (https://github.com/corda/corda/issues/4110).
2018-12-11 14:42:41 +00:00
2018-12-06 10:50:47 +00:00
* Fixed a bug resulting in poor vault query performance and incorrect results when sorting.
2019-02-20 19:37:08 +00:00
* Improved exception thrown by `` AttachmentsClassLoader `` when an attachment cannot be used because its uploader is not trusted.
2018-12-06 11:19:40 +00:00
2018-12-06 15:13:32 +00:00
* Fixed deadlocks generated by starting flow from within CordaServices.
2018-11-22 22:53:24 +00:00
* Marked the `` Attachment `` interface as `` @DoNotImplement `` because it is not meant to be extended by CorDapp developers. If you have already
done so, please get in contact on the usual communication channels.
2018-11-22 18:35:30 +00:00
2018-11-20 09:50:42 +00:00
* Added auto-acceptance of network parameters for network updates. This behaviour is available for a subset of the network parameters
2018-11-22 22:53:24 +00:00
and is configurable via the node config. See :doc: `network-map` for more information.
2018-11-22 18:35:30 +00:00
2018-11-22 22:53:24 +00:00
* Deprecated `` SerializationContext.withAttachmentsClassLoader `` . This functionality has always been disabled by flags
and there is no reason for a CorDapp developer to use it. It is just an internal implementation detail of Corda.
2018-11-19 13:42:12 +00:00
2018-11-22 22:53:24 +00:00
* Deprecated all means to directly create a `` LedgerTransaction `` instance, as client code is only meant to get hold of a `` LedgerTransaction ``
via `` WireTransaction.toLedgerTransaction `` .
2018-11-19 13:42:12 +00:00
2018-11-06 09:28:55 +00:00
* Introduced new optional network bootstrapper command line options (--register-package-owner, --unregister-package-owner)
to register/unregister a java package namespace with an associated owner in the network parameter packageOwnership whitelist.
2019-01-28 14:41:11 +00:00
* BFT-Smart and Raft notary implementations have been moved to the `` net.corda.notary.experimental `` package to emphasise
their experimental nature. Note that it is not possible to preserve the state for both types of notaries when upgrading from V3 or an earlier Corda version.
2019-01-09 15:52:42 +00:00
2019-02-20 19:37:08 +00:00
* New "validate-configuration" sub-command to `` corda.jar `` , allowing to validate the actual node configuration without starting the node.
2018-10-29 13:33:43 +00:00
2018-11-14 14:16:22 +00:00
* CorDapps now have the ability to specify a minimum platform version in their MANIFEST.MF to prevent old nodes from loading them.
* CorDapps have the ability to specify a target platform version in their MANIFEST.MF as a means of indicating to the node
the app was designed and tested on that version.
* Nodes will no longer automatically reject flow initiation requests for flows they don't know about. Instead the request will remain
un-acknowledged in the message broker. This enables the recovery scenerio whereby any missing CorDapp can be installed and retried on node
restart. As a consequence the initiating flow will be blocked until the receiving node has resolved the issue.
2018-10-03 12:41:52 +00:00
2018-11-26 09:41:14 +00:00
* `` FinalityFlow `` is now an inlined flow and requires `` FlowSession `` s to each party intended to receive the transaction. This is to fix the
security problem with the old API that required every node to accept any transaction it received without any checks. Existing CorDapp
2019-01-12 14:23:20 +00:00
binaries relying on this old behaviour will continue to function as previously. However, it is strongly recommended CorDapps switch to
2018-12-19 16:12:20 +00:00
this new API. See :doc: `app-upgrade-notes` for further details.
2018-11-14 14:16:22 +00:00
2019-01-12 14:23:20 +00:00
* For similar reasons, `` SwapIdentitiesFlow `` , from confidential-identities, is also now an inlined flow. The old API has been preserved but
it is strongly recommended CorDapps switch to this new API. See :doc: `app-upgrade-notes` for further details.
2018-11-14 14:16:22 +00:00
* Introduced new optional network bootstrapper command line option (--minimum-platform-version) to set as a network parameter
2018-09-28 08:46:06 +00:00
2018-10-03 12:41:25 +00:00
* Vault storage of contract state constraints metadata and associated vault query functions to retrieve and sort by constraint type.
2018-09-11 15:32:17 +00:00
* New overload for `` CordaRPCClient.start() `` method allowing to specify target legal identity to use for RPC call.
2018-10-15 11:01:15 +00:00
* Case insensitive vault queries can be specified via a boolean on applicable SQL criteria builder operators. By default
queries will be case sensitive.
2018-09-07 09:20:21 +00:00
2018-09-05 10:17:13 +00:00
* Getter added to `` CordaRPCOps `` for the node's network parameters.
2018-08-27 20:41:00 +00:00
* The RPC client library now checks at startup whether the server is of the client libraries major version or higher.
Therefore to connect to a Corda 4 node you must use version 4 or lower of the library. This behaviour can be overridden
by specifying a lower number in the `` CordaRPCClientConfiguration `` class.
* Removed experimental feature `` CordformDefinition ``
2018-08-24 15:29:14 +00:00
2019-01-02 12:49:29 +00:00
* Added new overload of `` StartedMockNode.registerInitiatedFlow `` which allows registering custom initiating-responder flow pairs, which
can be useful for testing error cases.
2018-07-31 12:33:18 +00:00
2018-07-31 16:01:39 +00:00
* "app", "rpc", "p2p" and "unknown" are no longer allowed as uploader values when importing attachments. These are used
internally in security sensitive code.
2018-08-27 20:31:20 +00:00
* Change type of the `` checkpoint_value `` column. Please check the upgrade-notes on how to update your database.
2018-07-25 08:52:57 +00:00
* Removed buggy :serverNameTablePrefix: configuration.
2018-07-17 13:42:30 +00:00
* `` freeLocalHostAndPort `` , `` freePort `` , and `` getFreeLocalPorts `` from `` TestUtils `` have been deprecated as they
don't provide any guarantee the returned port will be available which can result in flaky tests. Use `` PortAllocation.Incremental ``
instead.
2018-07-10 07:35:14 +00:00
* Docs for IdentityService. assertOwnership updated to correctly state that an UnknownAnonymousPartyException is thrown
rather than IllegalStateException.
2018-07-05 08:37:30 +00:00
* The Corda JPA entities no longer implement java.io.Serializable, as this was causing persistence errors in obscure cases.
2018-10-15 11:01:15 +00:00
Java serialization is disabled globally in the node, but in the unlikely event you were relying on these types being Java
serializable please contact us.
2018-07-05 08:37:30 +00:00
2018-06-25 12:01:33 +00:00
* Remove all references to the out-of-process transaction verification.
2018-05-10 20:21:42 +00:00
2018-06-25 10:33:37 +00:00
* The class carpenter has a "lenient" mode where it will, during deserialisation, happily synthesis classes that implement
interfaces that will have unimplemented methods. This is useful, for example, for object viewers. This can be turned on
with `` SerializationContext.withLenientCarpenter `` .
2018-06-18 16:59:00 +00:00
* Added a `` FlowMonitor `` to log information about flows that have been waiting for IO more than a configurable threshold.
2018-06-13 15:23:39 +00:00
* H2 database changes:
* The node's H2 database now listens on `` localhost `` by default.
* The database server address must also be enabled in the node configuration.
2018-06-21 15:57:30 +00:00
* A new `` h2Settings `` configuration block supersedes the `` h2Port `` option.
2018-06-13 15:23:39 +00:00
2018-06-13 08:43:16 +00:00
* Improved documentation PDF quality. Building the documentation now requires `` LaTex `` to be installed on the OS.
2018-06-12 10:03:32 +00:00
* Add `` devModeOptions.allowCompatibilityZone `` to re-enable the use of a compatibility zone and `` devMode ``
2018-06-11 16:53:31 +00:00
* Fixed an issue where `` trackBy `` was returning `` ContractStates `` from a transaction that were not being tracked. The
unrelated `` ContractStates `` will now be filtered out from the returned `` Vault.Update `` .
2018-06-07 15:18:00 +00:00
* Introducing the flow hospital - a component of the node that manages flows that have errored and whether they should
be retried from their previous checkpoints or have their errors propagate. Currently it will respond to any error that
2018-06-21 15:57:30 +00:00
occurs during the resolution of a received transaction as part of `` FinalityFlow `` . In such a scenario the receiving
2018-06-07 15:18:00 +00:00
flow will be parked and retried on node restart. This is to allow the node operator to rectify the situation as otherwise
the node will have an incomplete view of the ledger.
2018-06-01 15:16:23 +00:00
* Fixed an issue preventing out of process nodes started by the `` Driver `` from logging to file.
2018-06-21 15:57:30 +00:00
* Fixed an issue with `` CashException `` not being able to deserialize after the introduction of AMQP for RPC.
2018-05-30 16:15:50 +00:00
2018-06-07 15:18:00 +00:00
* Removed -Xmx VM argument from Explorer's Capsule setup. This helps avoiding out of memory errors.
* New `` killFlow `` RPC for killing stuck flows.
2018-05-30 14:04:24 +00:00
2018-05-30 09:29:10 +00:00
* Shell now kills an ongoing flow when CTRL+C is pressed in the terminal.
2018-06-01 12:37:39 +00:00
* Add check at startup that all persisted Checkpoints are compatible with the current version of the code.
2018-05-29 14:25:34 +00:00
* `` ServiceHub `` and `` CordaRPCOps `` can now safely be used from multiple threads without incurring in database transaction problems.
2018-05-25 10:37:20 +00:00
* Doorman and NetworkMap url's can now be configured individually rather than being assumed to be
the same server. Current `` compatibilityZoneURL `` configurations remain valid. See both :doc: `corda-configuration-file`
and :doc: `permissioning` for details.
2018-05-24 15:06:14 +00:00
* Improved audit trail for `` FinalityFlow `` and related sub-flows.
2018-06-12 07:50:26 +00:00
* Notary client flow retry logic was improved to handle validating flows better. Instead of re-sending flow messages the
entire flow is now restarted after a timeout. The relevant node configuration section was renamed from `` p2pMessagingRetry `` ,
to `` flowTimeout `` to reflect the behaviour change.
2018-06-07 15:18:00 +00:00
* The node's configuration is only printed on startup if `` devMode `` is `` true `` , avoiding the risk of printing passwords
in a production setup.
2018-05-23 12:51:40 +00:00
2018-10-15 11:01:15 +00:00
* `` NodeStartup `` will now only print node's configuration if `` devMode `` is `` true `` , avoiding the risk of printing passwords
in a production setup.
2018-06-13 15:23:39 +00:00
2018-05-23 12:23:02 +00:00
* SLF4J's MDC will now only be printed to the console if not empty. No more log lines ending with "{}".
2018-05-22 10:38:56 +00:00
* `` WireTransaction.Companion.createComponentGroups `` has been marked as `` @CordaInternal `` . It was never intended to be
public and was already internal for Kotlin code.
2018-09-17 14:44:51 +00:00
* RPC server will now mask internal errors to RPC clients if not in devMode. `` Throwable ` ` s implementing ` ` ClientRelevantError ``
will continue to be propagated to clients.
2018-05-10 20:21:42 +00:00
* RPC Framework moved from Kryo to the Corda AMQP implementation [Corda-847]. This completes the removal
2018-05-25 10:37:20 +00:00
of `` Kryo `` from general use within Corda, remaining only for use in flow checkpointing.
2018-05-10 20:21:42 +00:00
2018-05-14 16:26:08 +00:00
* Set co.paralleluniverse.fibers.verifyInstrumentation=true in devMode.
2018-05-11 13:08:53 +00:00
* Node will now gracefully fail to start if one of the required ports is already in use.
2018-05-10 15:00:47 +00:00
* Node will now gracefully fail to start if `` devMode `` is true and `` compatibilityZoneURL `` is specified.
2018-05-11 16:48:02 +00:00
* Added smart detection logic for the development mode setting and an option to override it from the command line.
2018-05-09 20:42:55 +00:00
* Changes to the JSON/YAML serialisation format from `` JacksonSupport `` , which also applies to the node shell:
2018-05-30 15:37:41 +00:00
* `` WireTransaction `` now nicely outputs into its components: `` id `` , `` notary `` , `` inputs `` , `` attachments `` , `` outputs `` ,
2018-06-21 15:57:30 +00:00
`` commands `` , `` timeWindow `` and `` privacySalt `` . This can be deserialized back.
2018-05-30 15:37:41 +00:00
* `` SignedTransaction `` is serialised into `` wire `` (i.e. currently only `` WireTransaction `` tested) and `` signatures `` ,
2018-06-21 15:57:30 +00:00
and can be deserialized back.
2018-05-09 20:42:55 +00:00
2018-05-04 15:40:46 +00:00
* The Vault Criteria API has been extended to take a more precise specification of which class contains a field. This
primarily impacts Java users; Kotlin users need take no action. The old methods have been deprecated but still work -
the new methods avoid bugs that can occur when JPA schemas inherit from each other.
2018-05-02 14:48:41 +00:00
2018-05-02 11:21:38 +00:00
* Due to ongoing work the experimental interfaces for defining custom notary services have been moved to the internal package.
CorDapps implementing custom notary services will need to be updated, see `` samples/notary-demo `` for an example.
Further changes may be required in the future.
2018-04-11 12:05:50 +00:00
2018-05-04 15:40:46 +00:00
* Configuration file changes:
2018-05-09 14:19:35 +00:00
2018-05-04 15:40:46 +00:00
* Added program line argument `` on-unknown-config-keys `` to allow specifying behaviour on unknown node configuration property keys.
2018-11-08 15:56:00 +00:00
Values are: [FAIL, IGNORE], default to FAIL if unspecified.
2018-05-04 15:40:46 +00:00
* Introduced a placeholder for custom properties within `` node.conf `` ; the property key is "custom".
* The deprecated web server now has its own `` web-server.conf `` file, separate from `` node.conf `` .
2018-08-27 20:31:20 +00:00
* Property keys with double quotes (e.g. "key") in `` node.conf `` are no longer allowed, for rationale refer to :doc: `corda-configuration-file` .
2019-02-19 10:52:09 +00:00
* The `` issuableCurrencies `` property is no longer valid for `` node.conf `` . Instead, it has been moved to the finance workflows CorDapp configuration.
2018-04-11 12:05:50 +00:00
2018-05-21 10:05:08 +00:00
* Added public support for creating `` CordaRPCClient `` using SSL. For this to work the node needs to provide client applications
a certificate to be added to a truststore. See :doc: `tutorial-clientrpc-api`
2018-10-17 14:09:48 +00:00
* The node RPC broker opens 2 endpoints that are configured with `` address `` and `` adminAddress `` . RPC Clients would connect
2018-10-15 11:01:15 +00:00
to the address, while the node will connect to the adminAddress. Previously if ssl was enabled for RPC the `` adminAddress ``
was equal to `` address `` .
2018-05-04 14:04:52 +00:00
2018-05-04 15:40:46 +00:00
* Upgraded H2 to v1.4.197
2018-04-11 12:05:50 +00:00
2018-10-15 11:01:15 +00:00
* Shell (embedded available only in dev mode or via SSH) connects to the node via RPC instead of using the `` CordaRPCOps ``
object directly. To enable RPC connectivity ensure node’ s `` rpcSettings.address `` and `` rpcSettings.adminAddress `` settings
are present.
2018-03-14 10:05:38 +00:00
2018-04-17 14:38:25 +00:00
* Changes to the network bootstrapper:
2018-05-09 14:19:35 +00:00
2018-04-17 14:38:25 +00:00
* The whitelist.txt file is no longer needed. The existing network parameters file is used to update the current contracts
whitelist.
2018-08-27 20:31:20 +00:00
* The CorDapp jars are also copied to each nodes' `` cordapps `` directory.
2018-04-12 16:03:06 +00:00
2018-10-15 11:01:15 +00:00
* Errors thrown by a Corda node will now reported to a calling RPC client with attention to serialization and obfuscation
of internal data.
2018-03-29 12:01:41 +00:00
2018-03-27 09:06:46 +00:00
* Serializing an inner class (non-static nested class in Java, inner class in Kotlin) will be rejected explicitly by the serialization
framework. Prior to this change it didn't work, but the error thrown was opaque (complaining about too few arguments
to a constructor). Whilst this was possible in the older Kryo implementation (Kryo passing null as the synthesised
reference to the outer class) as per the Java documentation `here <https://docs.oracle.com/javase/tutorial/java/javaOO/nested.html> `_
2018-05-04 15:40:46 +00:00
we are disallowing this as the paradigm in general makes little sense for contract states.
2018-03-26 18:09:03 +00:00
2018-10-15 11:01:15 +00:00
* Node can be shut down abruptly by `` shutdown `` function in `` CordaRPCOps `` or gracefully (draining flows first) through
`` gracefulShutdown `` command from shell.
2018-03-19 14:20:10 +00:00
2018-05-25 17:03:24 +00:00
* API change: `` net.corda.core.schemas.PersistentStateRef `` fields (index and txId) are now non-nullable.
The fields were always effectively non-nullable - values were set from non-nullable fields of other objects.
The class is used as database Primary Key columns of other entities and databases already impose those columns as non-nullable
(even if JPA annotation nullable=false was absent).
2018-10-15 11:01:15 +00:00
In case your Cordapps use this entity class to persist data in own custom tables as non Primary Key columns refer to
2018-12-19 16:12:20 +00:00
:doc: `app-upgrade-notes` for upgrade instructions.
2018-05-25 17:03:24 +00:00
2019-02-20 19:37:08 +00:00
* Adding a public method to check if a public key satisfies Corda recommended algorithm specs, `` Crypto.validatePublicKey(java.security.PublicKey) `` .
2018-05-29 16:11:00 +00:00
For instance, this method will check if an ECC key lies on a valid curve or if an RSA key is >= 2048bits. This might
be required for extra key validation checks, e.g., for Doorman to check that a CSR key meets the minimum security requirements.
2018-06-01 15:08:19 +00:00
* Table name with a typo changed from `` NODE_ATTCHMENTS_CONTRACTS `` to `` NODE_ATTACHMENTS_CONTRACTS `` .
2018-08-27 20:31:20 +00:00
* Node logs a warning for any `` MappedSchema `` containing a JPA entity referencing another JPA entity from a different `` MappedSchema `` .
The log entry starts with "Cross-reference between MappedSchemas".
2018-06-08 09:25:50 +00:00
API: Persistence documentation no longer suggests mapping between different schemas.
2018-07-13 09:10:26 +00:00
* Upgraded Artemis to v2.6.2.
2018-07-25 13:06:56 +00:00
* Introduced the concept of "reference input states". A reference input state is a `` ContractState `` which can be referred
to in a transaction by the contracts of input and output states but whose contract is not executed as part of the
transaction verification process and is not consumed when the transaction is committed to the ledger but is checked
for "current-ness". In other words, the contract logic isn't run for the referencing transaction only. It's still a
2018-07-31 15:07:35 +00:00
normal state when it occurs in an input or output position. *This feature is only available on Corda networks running
with a minimum platform version of 4.*
2018-07-25 13:06:56 +00:00
2018-11-23 15:20:10 +00:00
* A new wrapper class over `` StateRef `` is introduced, called `` ReferenceStateRef `` . Although "reference input states" are stored as
`` StateRef `` objects in `` WireTransaction `` , we needed a way to distinguish between "input states" and "reference input states" when
required to filter by object type. Thus, when one wants to filter-in all "reference input states" in a `` FilteredTransaction ``
then he/she should check if it is of type `` ReferenceStateRef `` .
2019-02-20 19:37:08 +00:00
* Removed type parameter `` U `` from `` tryLockFungibleStatesForSpending `` to allow the function to be used with `` FungibleState ``
as well as `` FungibleAsset `` . This _might_ cause a compile failure in some obscure cases due to the removal of the type
2018-10-20 09:52:24 +00:00
parameter from the method. If your CorDapp does specify types explicitly when using this method then updating the types
will allow your app to compile successfully. However, those using type inference (e.g. using Kotlin) should not experience
any changes. Old CorDapp JARs will still work regardless.
2019-02-20 19:37:08 +00:00
* `` issuer_ref `` column in `` FungibleStateSchema `` was updated to be nullable to support the introduction of the
`` FungibleState `` interface. The `` vault_fungible_states `` table can hold both `` FungibleAssets `` and `` FungibleStates `` .
2018-10-20 09:52:24 +00:00
2018-11-20 12:53:11 +00:00
* CorDapps built by `` corda-gradle-plugins `` are now signed and sealed JAR files.
Signing can be configured or disabled, and it defaults to using the Corda development certificate.
2019-01-30 16:56:07 +00:00
* Finance CorDapps are now built as sealed and signed JAR files.
2019-01-29 15:13:27 +00:00
Custom classes can no longer be placed in the packages defined in either finance Cordapp or access it's non-public members.
2018-11-20 12:53:11 +00:00
2019-02-21 10:07:23 +00:00
* Finance CorDapp was split into two separate apps: `` corda-finance-contracts `` and `` corda-finance-workflows `` . There is
no longer a single cordapp which provides both. You need to have both JARs installed in the node simultaneously for the
app to work however.
2019-01-08 13:26:26 +00:00
2019-01-23 13:26:33 +00:00
* All sample CorDapps were split into separate apps: workflows and contracts to reflect new convention. It is recommended to structure your CorDapps
this way, see :doc: `app-upgrade-notes` on upgrading your CorDapp.
2018-11-30 10:14:26 +00:00
* The format of the shell commands' output can now be customized via the node shell, using the `` output-format `` command.
2018-12-06 13:17:33 +00:00
* The `` node_transaction_mapping `` database table has been folded into the `` node_transactions `` database table as an additional column.
2018-12-12 17:36:44 +00:00
* Logging for P2P and RPC has been separated, to make it easier to enable all P2P or RPC logging without hand-picking loggers for individual classes.
2019-01-16 19:53:49 +00:00
* Vault Query Criteria have been enhanced to allow filtering by state relevancy. Queries can request all states, just relevant ones, or just non relevant ones. The default is to return all states, to maintain backwards compatibility.
Note that this means apps running on nodes using Observer node functionality should update their queries to request only relevant states if they are only expecting to see states in which they participate.
2019-02-20 19:37:08 +00:00
* Postgres dependency was updated to version 42.2.5
* Test `` CordaService `` s can be installed on mock nodes using `` UnstartedMockNode.installCordaService `` .
* The finance-contracts demo CorDapp has been slimmed down to contain only that which is relevant for contract verification. Everything else
has been moved to the finance-workflows CorDapp:
* The cash selection logic. `` AbstractCashSelection `` is now in net.corda.finance.contracts.asset so any custom implementations must now be
defined in `` META-INF/services/net.corda.finance.workflows.asset.selection.AbstractCashSelection `` .
* The jackson annotations on `` Expression `` have been removed. You will need to use `` FinanceJSONSupport.registerFinanceJSONMappers `` if
you wish to preserve the JSON format for this class.
* The various utility methods defined in `` Cash `` for creating cash transactions have been moved to `` net.corda.finance.workflows.asset.CashUtils `` .
Similarly with `` CommercialPaperUtils `` and `` ObligationUtils `` .
* Various other utilities such as `` GetBalances `` and the test calendar data.
The only exception to this is `` Interpolator `` and related classes. These are now in the `IRS demo workflows CorDapp <https://github.com/corda/corda/tree/master/samples/irs-demo/cordapp/workflows-irs> `_ .
2019-02-21 10:07:23 +00:00
* Vault states are migrated when moving from V3 to V4: the relevancy column is correctly filled, and the state party table is populated.
2019-02-20 19:55:49 +00:00
Note: This means Corda can be slow to start up for the first time after upgrading from V3 to V4.