- #21073 Add write-only mutex in Context to protect
getSignersFuncsmap from concurrent writes.
v0.13.3 - 2024-04-22
- #20049 Sort JSON attributes for
inline_jsonencoder.
v0.13.2 - 2024-04-12
- #19845 Use hybrid resolver instead of only protov2 registry
- #19955 Don't shadow Amino marshalling error messages
v0.13.1 - 2024-03-05
- #19618 Add enum as string option to encoder.
- #18857 Moved
FormatCoinsfromcore/coinsto this package undersigning/textual.
- #19265 Reject denoms that contain a comma.
v0.13.0 - 2023-12-19
- #18740 Support nested messages when fetching signers up to a default depth of 32.
- #18309 Update encoder so that amino types default to msg type url.
- #17787 Drop tip support.
- #17681 Add encoder
DefineTypeEncodingmethod for defining custom type encodings. - #17600 Add encoder
DefineScalarEncodingmethod for defining custom scalar encodings. - #17600 Add indent option to encoder.
- #16936 Remove extra whitespace when marshalling module accounts.
- #16681: Catch and fix
(*Decoder).Decodecrash from invalid length prefix in Tx bytes.
- #16846: Harmonize interface
signing.TypeResolverwith the rest of the codebase (orm and client/v2). - #16684: Use
io.WriteString+fmt.Fprintfto remove unnecessarystring->[]byteroundtrip.
- #16340: add
DefineCustomGetSignersAPI function.
- #16044: rename aminojson.NewAminoJSON -> aminojson.NewEncoder.
- #16047: aminojson.NewEncoder now takes EncoderOptions as an argument.
- #16254: aminojson.Encoder.Marshal now sorts all fields like encoding/json.Marshal does, hence no more need for sdk.*SortJSON.
- #15873: add
Validatemethod and only check for errors whenValidateis explicitly called.
- #15871
HandlerMapnow has aDefaultMode()getter method- Textual types use
signing.ProtoFileResolverinstead ofprotoregistry.Files
- #15709:
GetSignersContexthas been renamed tosigning.ContextGetSignersnow returns[][]byteinstead of[]stringGetSignersOptionshas been renamed tosigning.Optionsand requiresaddress.Codecs for account and validator addressesGetSignersOptions.ProtoFileshas been renamed tosigning.Options.FileResolver
- #15849 Fix int64 usage for 32 bit platforms.
- #15414 Add basic transaction decoding support.
- #15581
GetSignersOptionsanddirectaux.SignModeHandlerOptionsnow require asigning.ProtoFileResolverinterface instead ofprotodesc.Resolver. - #15742 The
direct_auxpackage has been renamed todirectauxin line with Go conventions. No other types were changed during the package rename. - #15748 Rename signing.SignerData.ChainId to .ChainID, in line with Go conventions.
- (signing/textual) #15730 make IntValueRenderer.Parse: gracefully handle "" + fuzz