Skip to content

Releases: hyperledger/fabric-contract-api-go

v2.1.0

06 Dec 17:59
656f8f4
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.1.0

v2.0.0

21 Jun 16:45
b8b28e7
Compare
Choose a tag to compare

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 by github.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 use github.com/hyperledger/fabric-chaincode-go/v2.

What's Changed

New Contributors

Full Changelog: v1.2.2...v2.0.0

v1.2.2

16 Nov 19:35
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.2.1...v1.2.2

fabric-contract-api-go v1.2.1

01 Mar 13:09
f03e626
Compare
Choose a tag to compare

What's Changed

  • Use latest Go patch level for vulnerability scan by @jt-nti in #77
  • Enable dependabot by @jt-nti in #78
  • Bump github.com/go-openapi/spec from 0.20.6 to 0.20.7 by @dependabot in #79
  • Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 by @dependabot in #80
  • Update text dependency by @mbwhite in #82
  • Update dependencies (Go 1.19, latest fabric-chaincode-go, etc) by @denyeart in #98
  • Update Maintainers by @mbwhite in #99
  • Remove changelog requirement for release. by @denyeart in #100

New Contributors

Full Changelog: v1.2.0...v1.2.1

Release 1.2.0

23 Sep 13:44
Compare
Choose a tag to compare

This release provides:
🐞 Fix for the metadata directory name
🐞 FABCAG-33 Fix to skip unexported fields in struct validation
🎉 Simplified support for running chaincode as a service
🐝 Go and dependency version updates

Release 1.1.1

21 Oct 15:55
Compare
Choose a tag to compare

This is a bug fix release:

🐞 FABCAG-31 Supplying additional valid data in json tag of struct property causes schema to fail

Release 1.1.0

30 Apr 14:20
7cccce7
Compare
Choose a tag to compare

This release provides:

  • Testing to validate against Fabric 2.1
  • Update to documentation to include support for Fabric 2.1

Release 1.0.0

06 Feb 13:25
e044a93
Compare
Choose a tag to compare

This release is the first of the contractapi, metadata and serializer packages. These provide a way to write Go chaincode using the updated fabric programming model which was introduced to the Node and Java chaincode implementations in Fabric 1.4.

This release provides:

  • the ability to get metadata describing a chaincode via the system chaincode
  • tutorials on getting up and running with the packages

Using this release you can write Go chaincode without adding the boilerplate of:


  • routing function calls via the invoke/init method

  • converting the raw arguments passed in by Fabric for use in functions

  • converting values to return from functions to bytes and then returning a fabric shim success response
  • converting from error values to return a fabric shim error response

For more information on this, please review the JIRA epic this release concludes here -> https://jira.hyperledger.org/browse/FABCAG-1