NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #2634 by repository stars
Latest stable
v0.10.2
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 1 weeks to 10 months
Some releases are documented
notes for 12 of 21 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
172 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Some fields were renamed and deprecated also, see Deprecation Notices section for further details.
This release add support for ESIO 2.0 features, mainly WebAuthN keys support (no signing though) and WTMSIG_BLOCK_SIGNATURES protocol feature that brings incompatibilities in the model layer when activated.
The v0.9.0 release add supports for that. We had to break compatibility of the type and field names in some base model present in the library. This was the occasion to make other "small" removal of some types that are not required anymore with the some small API changes of the EOSIO binary format decoder. Expect more structural changes to come in this area.
We renamed all fields that require logic changes from your code so you know quickly due to compilation errors that you need to handle some fields differently now.
Some fields were renamed and deprecated also, see Deprecation Notices section for further details.
The ecc package has been upgraded to support WebAuthN key in EOSIO model. This supports add the following things:
CurveID of type WAPUB_WA_ keys from EOSIOSIG_WA_ keys from EOSIOPUB_WA_ format to ecdsa.PublicKey (recovery of Y curve point from compressed PUB_WA_ public key form).We now support all the models updates required for WTMSIG_BLOCK_SIGNATURES protocol.
The WTMSIG_BLOCK_SIGNATURES enable block to be signed by more than a single key. When this protocol feature is activated, the block can be signed by multiple key, using a key with some weights and a threshold to reach, must like standard EOS permission.
This means that once activated, models for block signing and schedule are now different to support the new feature.
Here the list of changes that occurred, usually, more explanation can be found in the eos-go#p2ptypes.go file directly.
BlockSigningKey in BlockState has been renamed to BlockSigningKeyV1 and now a *ecc.PublicKeyThis field can now be nil, which is the case after WTMSIG_BLOCK_SIGNATURES activation.
blockState.BlockSigningKey
now
if blockState.BlockSigningKeyV1 != nil {
// Deal with EOSIO 1.x model
...
}
ValidBlockSigningAuthorityV2 has been added to BlockStateThis replaces old BlockSigningKey and is of type BlockSigningAuthority.
ActiveSchedule in BlockState is now of type *ProducerScheduleOrAuthorityScheduleThis new type contains both a V1 field (of type ProducerSchedule) and a V2 field (of type ProducerAuthoritySchedule). Old code that rely on ActiveSchedule now must deal with either ActiveSchedule.V1 (old format) or ActiveSchedule.V2 (new format)
Important There is an ambiguity when deciding about the type the field active_schedule can take since structure can be identical: {version:0, producers:[]} and {version:0,producers:[]}. This means both V1 and V2 field can be present at the same time. This is not a problem when serializing back to JSON since they represent the same JSON, but something you must be aware when doing your conditions around this new type as V1 != nil && V2 != nil == true in some circumstances. The value could be discriminated by checking if ActivatedProtocolFeatures contains the correct feature, it's something we suggest implementer to do in their own code for now, but it's in discussion for a direct usage in eos-go library.
blockState.ActiveSchedule
now
if blockState.ActiveSchedule.V1 != nil {
// Old format model or indistinguishable from `ProducerAuthoritySchedule`
}
if blockState.ActivateSchedule.V2 != nil {
// New format model or indistinguishable from `ProducerAuthoritySchedule`
}
PendingSchedule.Schedule is now of type *ProducerScheduleOrAuthorityScheduleSame logic as ActiveProducer changes above, but apply to the PendingSchedule type.
BlockHeader NewProducers has been renamed NewProducersV1.EOSIO 2.x does not have this field and has been replaced by a block header extension. Also, we changed how EOSIO binary optional value are handled throughout the library and removed the OptionalProducerSchedule type, you now have a direct ProducerSchedule field instead.
When the WTMSIG_BLOCK_SIGNATURES will be activated, this field will never be populated anymore and must not be used anymore.
The new producers should now be extracted from the BlockHeader.HeaderExtensions field. The library added supported for some know EOSIO BlockHeaderExtension.
A block header extension contains a payload, when the producer_schedule_change_extension block header extension is present, it means we are dealing with a new set of producers, as such, replacing the old BlockHeader.NewProducers field.
if blockHeader.NewProducers != nil {
}
now
if blockHeader.NewProducersV1 != nil {
// Old format
}
OR
for _, e := range blockHeader.HeaderExtensions {
if e.Type == uint16(eos.EOS_ProducerScheduleChangeExtension) {
extension, err := e.AsBlockHeaderExtension("EOS")
if err != nil { ... }
// New format
scheduleChange := extension.(*eos.ProducerScheduleChangeExtension)
scheduleChange.Version
scheduleChange.Producers
}
}
GoAwayCrazy enum for GoAwayReason typeThis field was not defined in EOSIO software, as such, it was removed. If you were relying on this field to be set, you will need to adapt your code to use another one.
Those field were renamed to be in sync with other Golang fields. You should simply use the new field name. Those will be removed in a next major bump.
eos.TypeSize.UInt8 to eos.TypeSize.Uint8eos.TypeSize.UInt16 to eos.TypeSize.Uint16eos.TypeSize.UInt32 to eos.TypeSize.Uint32eos.TypeSize.UInt64 to eos.TypeSize.Uint64eos.TypeSize.UInt128 to eos.TypeSize.Uint128eos.Decoder.ReadUInt8 to eos.Decoder.ReadUint8Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fixes #60
Fixes #60
Nothing published for this version
Fixes #59
Fixes #59
Extracted ActionTraceReceipt so it can be copied to inline trace in …
Extracted ActionTraceReceipt so it can be copied to inline trace in …
Nothing published for this version
Fixed NewMoveToSavings that was not correctly adding the REX value to…
Fixed NewMoveToSavings that was not correctly adding the REX value to…
Nothing published for this version
Nothing published for this version
A Symbol is encoded using a single 64 bits value. However, the decoder was instead assuming a precision 8 bits followed by a string encoded binary dat
A Symbol is encoded using a single 64 bits value. However, the decoder
was instead assuming a precision 8 bits followed by a string encoded
binary data.
In fact, a symbol is encoded using a single 64 bits value, the most
significant byte being the precision and the rest is interpreted as a
SymbolCode.
Avoid escaping HTML when encoding API body
pkgerrors.Wrap error (ea8d35de13de2e2119cdeb6e359d291257131b0c)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
fix incompatibility with eos-js
fix incompatibility with eos-js
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added support for following nodeos RPC calls
Added support for following nodeos RPC calls
get_table_by_scopeget_raw_abiget_currency_statsOther changes
Blob type supportNothing published for this version
Nothing published for this version
One column per quarter.