Releases: hyperledger/fabric-config
v0.3.0
v0.2.1
v0.2.0
v0.1.0
This release adds methods to manage modification policies in configuration groups.
Please note that this release contains incompatible changes. The modPolicy argument as been removed from the SetPolicy and SetPolicies implementations of ApplicationGroup, ApplicationOrg, ChannelGroup, OrdererGroup, and OrdererOrg and replaced by the SetModPolicy method.
Special thanks to @richardfelkl for doing this work in PR #45.
v0.0.9
v0.0.8
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.
v0.0.6
v0.0.6 - July 09, 2020
This release contains extensions to the config library API for supporting adding and removing etcdraft consenters directly via the OrdererGroup.AddConsenter/RemoveConsenter as well as support for removing the legacy KafkaBrokers value via OrdererGroup.RemoveLegacyKafkaBrokers for cleaning up the config after migrating to an etcdraft consensus type.