- #22641 Add reverse iterator support for
Triple
. - #17656 Introduces
Vec
, a collection type that allows to represent a growable array on top of a KVStore. - #18933 Add LookupMap implementation. It is basic wrapping of the standard Map methods but is not iterable.
- #19343 Simplify IndexedMap creation by allowing to infer indexes through reflection.
- #19861 Add
NewJSONValueCodec
value codec as an alternative forcodec.CollValue
from the SDK for non protobuf types. - #21090 Introduces
Quad
, a composite key with four keys. - #20704 Add
ModuleCodec
method toSchema
andHasSchemaCodec
interface in order to supportcosmossdk.io/schema
compatible indexing. - #20538 Add
Nameable
variations toKeyCodec
andValueCodec
to allow for better indexing ofcollections
types. - #22544 Schema's
ModuleCodec
will now also return Enum descriptors to be registered with the indexer.
- #17024 Introduces
Triple
, a composite key with three keys.
- #17290 Collections iteration methods (Iterate, Walk) will not error when the collection is empty.
- #17021 Make collections implement the
appmodule.HasGenesis
interface.
- #16074 Introduces
Clear
method forMap
andKeySet
- #16773
- Adds
AltValueCodec
which provides a way to decode a value in two ways. - Adds the possibility to specify an alternative way to decode the values of
KeySet
,indexes.Multi
,indexes.ReversePair
.
- Adds
- #16074 Makes the generic Collection interface public, still highly unstable.
- #16127 In the
Walk
method the call back function being passed is allowed to error.
Collections v0.1.0
is released! Check out the docs to know how to use the APIs.