Skip to content

Releases: hyperledger-labs/cc-tools

v1.0.1

28 Aug 17:16
995dfb2
Compare
Choose a tag to compare

Release Notes

This is a minor release.

New Features

  • Assets now include the last transaction ID as a metadata represented by @lastTxID. This allows for users to easily retrieve the block that included that state change by transaction ID. A chaincode upgrade with the new version will start including the new metadata, but won't change the previous states already registered (as expected in a blockchain network).

Breaking Changes

  • If your chaincode implements unit testing with the MockStub object, you'll need to include the new field in the expected response or remove it from verification altogether.

What's Changed

Full Changelog: v1.0.0...v1.0.1

v1.0.0

01 Jul 15:59
f6e887b
Compare
Choose a tag to compare

Release Notes

New Features

  • Implement ->@asset datatype: New datatype implementation by @andremacedopv.
  • Implement permissioning: Added permissioning functionality by @mikaellafs.
  • Allow private assets to have different collection names: Enhanced private asset management by @mikaellafs.

Breaking Changes

  • Change dependencies to new repository path: Updated dependencies to the new repository path by @andremacedopv.
  • Bump Go version to 1.21: Updated Go version to 1.21, which may require changes in the development environment by @andremacedopv.

Bug Fixes

Improvements

  • Refactor putRecursive: Optimized putRecursive to avoid getRecursive and updating unchanged assets by @mikaellafs.
  • Update readme: Improved documentation by @AlineLermen.
  • CODEOWNERS and MAINTAINERS: Added CODEOWNERS and MAINTAINERS file by @AlineLermen.

New Contributors

Full Changelog: v0.9.0...v1.0.0

v0.9.0

18 Aug 10:00
f385056
Compare
Choose a tag to compare

New Features

  • New built-in mechanism on CC-Tools to interact with the event functionality of Hyperledger Fabric
  • New built-in transactions: RunEvent, ExecuteEvent, GetEvents

Breaking Changes

  • No breaking changes! Just need to update using the following inside your chaincode folder:
$ go get -d github.com/goledgerdev/[email protected]
$ go mod vendor

Bug Fixes & Improvements

  • New method GetMany which receives an array of keys and return an array with its respective assets
  • New method History which returns the history for an asset
  • Referrers methods now can optionally receive assetTypes to filter its results
  • Method NewKey now evaluates possible existing key, verifying if it indeed corresponds to the assetType in question, generating a new key if it doesn't

What's Changed

Full Changelog: v0.8.1...v0.9.0

v0.8.1

06 Jul 19:50
09b1abc
Compare
Choose a tag to compare

What's Changed

  • Send Dynamic asset property on getSchema #20

Breaking Changes

  • No breaking changes! Just need to update using the following inside your chaincode folder:
$ go get -d github.com/goledgerdev/[email protected]
$ go mod vendor

Bug Fixes & Improvements

  • Fix getRecursive panic error when reading a custom datatype prop which is an object #21

Full Changelog: v0.8.0...v0.8.1

v0.8.0: Dynamically defined assets

07 Feb 19:40
91eefe1
Compare
Choose a tag to compare

New Features

  • Assets can now be defined dynamically without the need of upgrading a chaincode
  • New built-in transactions: CreateAssetType, UpdateAssetTypes, DeleteAssetType

Breaking Changes

  • No breaking changes! Just need to update using the following inside your chaincode folder:
$ go get -d github.com/goledgerdev/[email protected]
$ go mod vendor

Bug Fixes & Improvements

What's Changed

New Contributors

Full Changelog: v0.7.6...v0.8.0

v0.7.6

28 Dec 00:26
128f971
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.5...v0.7.6

v0.7.5

14 Sep 15:38
a183b57
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.4...v0.7.5

v0.7.4: Fix getRecursive when 2+ references of the same asset are subassets

08 Aug 18:10
d1e657c
Compare
Choose a tag to compare

New Features

  • No new features

Breaking Changes

  • No breaking changes! Just need to update using the following inside your chaincode folder:
$ go get -d github.com/goledgerdev/[email protected]
$ go mod vendor

Bug Fixes & Improvements

  • GetRecursive now resolves 2+ subassets references in the same level

v0.7.3

06 May 20:31
e0e28c5
Compare
Choose a tag to compare

New Features

  • New method UpdateRecursive

Breaking Changes

  • No breaking changes! Just need to update using the following inside your chaincode folder:
$ go get -d github.com/goledgerdev/[email protected]
$ go mod vendor

Bug Fixes & Improvements

  • Check for duplicate arg tags in transactions during startup.

v0.7.2

08 Feb 03:10
bc12b84
Compare
Choose a tag to compare

New Features

  • New method Referrers to obtain all assets pointing to a particular asset.
  • Search is now available as a standalone method to make rich queries to CouchDB.
  • Transaction request timestamp is now embedded in asset data as @lastUpdated.
  • CommitedInLedger method enables checking asset existence in actual ledger state.

Breaking Changes

  • No breaking changes! Just need to update using the following inside your chaincode folder:
$ go get -d github.com/goledgerdev/[email protected]
$ go mod vendor

Bug Fixes & Improvements

  • Check for duplicate arg tags in transactions during startup.