Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Release 0.1.1

Compare
Choose a tag to compare
@bstasyszyn bstasyszyn released this 29 Jan 19:18
fad265c

fabric-peer-ext Release Notes - Jan 29, 2020

What's new in fabric-peer-ext v0.1.1

System managed resources with dependency injection #259

Added a mechanism to inject dependencies to resources on peer startup. A resource 'creator' function is registered with the peer and then the peer manages the lifecycle of the resource:

  • Create: A new instance of the resource is created by calling the creator function, injecting in all of the declared arguments
  • Channel Joined: If the resource defines a function called 'ChannelJoined' then the function is invoked when a peer joins a channel
  • Close: If the resource defines a function called 'Close' then it is invoked on peer shutdown

In-process User Chaincode #258

Added a new type of chaincode that is similar to user chaincode but runs in the peer's process. In this case the chaincode does not need to be installed (since it is built with the peer) but needs to be instantiated with an endorsement and (optional) collection policy.

Ledger Configuration User Chaincode #324

Converted the ledger configuration system chaincode to in-process user chaincode so that ledger writes may be enforced by endorsement policies.

Transaction Service #315

Added a (shared) service within the peer that can be used to gather endorsements and submit endorsements to the orderer.

Other Changes

  • Updated codebase to Fabric v2.0.0-beta
  • Switched to Azure Pipelines for the CI