v2 Release Notes
The v2 release is functionally equivalent to the v1 release. The primary difference is the use of the current Go API for protocol buffers in place of the original (deprecated) API. The v2 implementation retains wire-level compatibility with Fabric but does include the following breaking changes:
- Chaincode implementations that make direct use of
github.com/hyperledger/fabric-protos-go
will experience protocol buffer namespace conflicts (as described in https://protobuf.dev/reference/go/faq/). Any use of fabric-protos-go must be replaced bygithub.com/hyperledger/fabric-protos-go-apiv2
. - In order to avoid an indirect dependency on fabric-protos-go, chaincode implementations that make use of
github.com/hyperledger/fabric-chaincode-go
must instead usegithub.com/hyperledger/fabric-chaincode-go/v2
.
What's Changed
- Update dependencies to address GO-2024-2687 by @bestbeforetoday in #129
- v2 implementation based on fabric-chaincode-go/v2 by @bestbeforetoday in #137
New Contributors
Full Changelog: v1.2.2...v2.0.0