v0.0.7
v0.0.7 - July 28, 2020
This release adds support for FAB-18062 and FAB-18063 in order to provide API functions for modifying orderer and MSP values directly instead of requiring the user to first fetch the existing configuration and setting it after making any necessary changes. For example the old path for setting MaxMessageCount has changed from:
o := c.Orderer()
ordererConfig := o.Configuration()
ordererConfig.BatchSize.MaxMessageCount = 100
o.SetConfiguration(ordererConfig)
to
o := c.Orderer()
o.BatchSize().SetMaxMessageCount(100)
Similar API chaining now exists for other top level orderer values, BatchSize values, EtcdRaftOptions and MSP configuration as well.
The old pattern of retrieving the configuration and setting will still be supported for the time being for any use cases that prefer to integrate with that method.