Skip to content

Latest commit

 

History

History
83 lines (55 loc) · 3.93 KB

CHANGELOG.md

File metadata and controls

83 lines (55 loc) · 3.93 KB

Changelog

[Unreleased]

Features

  • #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 for codec.CollValue from the SDK for non protobuf types.
  • #21090 Introduces Quad, a composite key with four keys.
  • #20704 Add ModuleCodec method to Schema and HasSchemaCodec interface in order to support cosmossdk.io/schema compatible indexing.
  • #20538 Add Nameable variations to KeyCodec and ValueCodec to allow for better indexing of collections types.
  • #22544 Schema's ModuleCodec will now also return Enum descriptors to be registered with the indexer.

Features

  • #17024 Introduces Triple, a composite key with three keys.

API Breaking

  • #17290 Collections iteration methods (Iterate, Walk) will not error when the collection is empty.

Improvements

  • #17021 Make collections implement the appmodule.HasGenesis interface.

Features

  • #16074 Introduces Clear method for Map and KeySet
  • #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.

Features

  • #16074 Makes the generic Collection interface public, still highly unstable.

API Breaking

  • #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.