9.8 KiB
9.8 KiB
Changelog
[Unreleased]
v1.1.0 - 2025-01-28
v1.0.1 - 2025-01-17
- #23324 Sign over unordered and timeout timestamp fields.
v1.0.0 - 2025-01-06
Identical to v1.0.0-alpha.3.
v1.0.0-alpha.3 - 2024-12-16
Bug Fixes
- #22852 Fallback to injected resolver for placeholder descriptors.
v1.0.0-alpha.2 - 2024-11-01
- #22311 Fix add feePayer as signer.
v1.0.0-alpha.1 - 2024-10-17
- #21782 Fix JSON attribute sort order on messages with oneof fields.
- #21825 Fix decimal encoding and field ordering in Amino JSON encoder.
- #21850 Support bytes field as signer.
v0.13.8 - 2025-01-28
v0.13.7 - 2024-12-16
- Fix ABS-0043 Limit recursion depth for unknown field detection
v0.13.6 - 2024-12-12
Bug Fixes
- #22161 Add special case for string represented decimals.
- #21825 Fix decimal encoding and field ordering in Amino JSON encoder.
- #21782 Fix JSON attribute sort order on messages with oneof fields.
v0.13.5 - 2024-09-18
Improvements
- #21712 Add
AminoNameAsTypeURLoption to Amino JSON encoder.
v0.13.4 - 2024-08-02
Improvements
- #21073 In Context use sync.Map
getSignersFuncsmap from concurrent writes, we also call Validate when creating the Context.
v0.13.3 - 2024-04-22
Improvements
- #20049 Sort JSON attributes for
inline_jsonencoder.
v0.13.2 - 2024-04-12
Features
Improvements
- #19845 Use hybrid resolver instead of only protov2 registry
Bug Fixes
- #19955 Don't shadow Amino marshalling error messages
v0.13.1 - 2024-03-05
Features
- #19618 Add enum as string option to encoder.
Improvements
- #18857 Moved
FormatCoinsfromcore/coinsto this package undersigning/textual.
Bug Fixes
- #19265 Reject denoms that contain a comma.
v0.13.0 - 2023-12-19
Improvements
- #18740 Support nested messages when fetching signers up to a default depth of 32.
v0.12.0
Improvements
- #18309 Update encoder so that amino types default to msg type url.
v0.11.0
Improvements
- #17787 Drop tip support.
v0.10.0
Features
- #17681 Add encoder
DefineTypeEncodingmethod for defining custom type encodings. - #17600 Add encoder
DefineScalarEncodingmethod for defining custom scalar encodings. - #17600 Add indent option to encoder.
v0.9.1
Improvements
- #16936 Remove extra whitespace when marshalling module accounts.
v0.9.0
Bug Fixes
- #16681: Catch and fix
(*Decoder).Decodecrash from invalid length prefix in Tx bytes.
Improvements
- #16846: Harmonize interface
signing.TypeResolverwith the rest of the codebase (orm and client/v2). - #16684: Use
io.WriteString+fmt.Fprintfto remove unnecessarystring->[]byteroundtrip.
v0.8.0
Improvements
- #16340: add
DefineCustomGetSignersAPI function.
v0.7.0
API Breaking
- #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.
v0.6.2
Improvements
- #15873: add
Validatemethod and only check for errors whenValidateis explicitly called.
v0.6.1
Improvements
- #15871
HandlerMapnow has aDefaultMode()getter method- Textual types use
signing.ProtoFileResolverinstead ofprotoregistry.Files
v0.6.0
API Breaking
- #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
Bug Fixes
- #15849 Fix int64 usage for 32 bit platforms.
v0.5.1
Features
- #15414 Add basic transaction decoding support.
v0.5.0
API Breaking
- #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.
Bug Fixes
- (signing/textual) #15730 make IntValueRenderer.Parse: gracefully handle "" + fuzz
v0.4.0
API Breaking
- #13793
direct_aux.NewSignModeHandlerconstructor function now returns an additional error argument. - #15278 Move
x/tx/{textual,aminojson}intox/tx/signing. - #15302
textual.NewSignModeHandlernow takes an options struct instead of a simple coin querier argument. It also returns an error.