Releases: iov-one/weave
Releases · iov-one/weave
v0.22.0
x/username
: allow to change configuration via messagegconf
: allow to provide an optional authentication address that will be
used to authenticate a configuration creation message. This solves a
chicken-egg problem of when the confgiuration was not created via genesis.migrations
: when upgrading the schema version an explicit version must be
provided. This is required to ensure at most one delivery.cmd/bnscli
can create a schema upgrade transaction.- Blue Account functionality was implememented in
cmd/bnsd/x/blueaccount
but
not integrated intocmd/bnsd
application. orm
: implementSerialModelBucket
that provides a better API to interact with datastore.migration
: implement migration forSerialModelBucket
.
v0.21.3
Go modules backwards compatibility branch
v0.21.2
v0.21.2
v0.21.1
- Let AntispamFeeDecorator handle empty product fee.
v0.21.0
x/batch
: increase maximum number of messages to 15cmd/bnscli
: a new commandmnemonic
was added for generating a random
mnemonic as described in BIP-39.weave.Options
: add an option to stream json for lower memory footprint
when parsing large json objects.cmd/bnscli
: when a transaction is submitted, for certain messages parse
returned response data and print it in a human readable format.clean_protos.sh
appendsoption go_package = "github.com/iov-one/weave";
to prevent protoc error in weave based frameworkscmd/bnscli
support for more query endpointsbnsd/x/username
was updated and now the username validation rules are
defined dynamically via gconf powered configuration.
Breaking changes
cmd/bnscli
:keygen
command was updated and requires a mnemonic to
generate a key.orm
:VersionedIDRef
is now de/serialized by appending BigEndian ID and BigEndian Versioncmd/bnscli
: now expects VersionedIDRef to be serialised using the new format
v0.20.0
- update all extensions to use multi-error for gathering validation errors.
Breaking changes
bnsd/x/username
:iov
is the only valid and accepted domain name for a
username. This limitation is forced for the MVP release as we do not have
namespace management implemented.
v0.19.0
- Remove
testify
dependency from our tests - A new extension
x/cron
is added. It allows to configure weave application
to be able to schedule messages for future execution. - Proposals created with
x/gov
are having their tally executed automatically
after the voting time is over. This is possible thanks tox/cron
extension. - Add
owner
index to bnsdx/username
to be able to query tokens by owner. - Allow empty targets in bnsd
x/username
to enable name reservation. - Allow to update election quorum.
- Add self referencing
address
attribute to entitiesaswap.Swap
,
escrow.Contract
,distribution.Revenue
,multisig.Contract
gov.ElectionRule
and
paychan.PaymentChannel
.
Breaking changes
weave.Ticker
interface was updated.- Add
owner
index to bnsdx/username
to be able to query tokens by owner. - Allow empty targets in bnsd
x/username
to enable name reservation. - Username address type in
x/username
extension was changed from[]byte
to
string
. Instead of base64 encoded value, a valid string is stored as the
address. - Some of the query paths in the
x/gov
package were updated to follow the
naming convention. gov.TallyMsg
is no longer available. Tally is created automatically when
the voting time is over.
v0.18.0
bnsd/x/username
genesis initializer implemented and included inbnsd
.- Support gov proposal vote, deletion and tally in
bnscli
- Support gov proposal text resolution, update electorate, update election rules in
bnscli
- Added
x/utils.ActionTagger
: allbnsd
transactions now have
action=${msg.Path()}
tags. If there is a batch, there is one tag per
sub-message. If it is a governance tally, the TallyMsg as well as the
option (message executed on behalf of the governance stack) is tagged.
Breaking changes
- Unify all message paths to follow pattern
<package>/<message_name>
app.Router
interface was changed. Handler registration requires a message
and not message path.- Unify all message attribute names
- rename
src
andsender
tosource
- rename
dst
andrecipient
todestination
- rename
v0.17.0
- Unified dedupe logic for validator bookkeeping and validator diffs in
app
- A new
errors.Field
was added. This allows to bind errors to field names and
enables easier testing of group errors. - Expose some more Genesis params to extension initializers. Utilise those in
x/validators
to store initial validator list and validate updates against
this list while updating on every successful transaction. - A new from scratch username implementation
x/username
was added. This
implementation does not rely onx/nft
package. - Add
CommitInfo
to the context in order to be able to see who signed the
current block. cmd/bnscli
new commandswith-fee
to configure a transaction fee,set-validators
to configure the validators,multisig
to create or update a multisig contract,with-multisig
to attach a multisig to a transaction,with-multisig-participant
to attach a participant to a multisig
contract create/update transaction
x/aswap
allow timeout of a swap to be any value after 1970-01-01.Iterator
s in store (btree cache and iavl adaptor) are now lazy. We also
provide aReadOneFromIterator
function to easily get the first or last item
in a range. This will only load desired items from disk and no longer greedily
load the entire range before returning the first item.
Breaking changes
- Update
bnsd
transaction entities. All transaction attributes that point to
a message are now snake case, and their naming follows the format
<package_name>_<message_type_name>
. - Some messages were renamed to follow the general
start with a verb
format, also to remove stutter:cmd/bnsd
:BatchMsg
->bnsd.ExecuteBatchMsg
,ProposalBatchMsg
->bnsd.ExecuteProposalBatchMsg
x/aswap
:CreateSwapMsg
->aswap.CreateMsg
,ReleaseSwapMsg
->aswap.ReleaseMsg
,ReturnSwapMsg
->aswap.ReturnMsg
x/cash
:ConfigurationMsg
->cash.UpdateConfigurationMsg
x/currency
:NewTokenInfoMsg
->currency.CreateMsg
x/distribution
:NewRevenueMsg
->distribution.CreateMsg
,ResetRevenueMsg
->distribution.ResetMsg
x/escrow
:CreateEscrowMsg
->escrow.CreateMsg
,ReleaseEscrowMsg
->escrow.ReleaseMsg
,ReturnEscrowMsg
->escrow.ReturnMsg
,UpdateEscrowPartiesMsg
->escrow.UpdatePartiesMsg
x/gov
:TextResolutionMsg
->gov.CreateTextResolutionMsg
x/multisig
:CreateContractMsg
->multisig.CreateMsg
,UpdateContractMsg
->multisig.UpdateMsg
x/paychan
:CreatePaymentChannelMsg
->paychan.CreateMsg
,TransferPaymentChannelMsg
->paychan.TransferMsg
,ClosePaymentChannelMsg
->paychan.CloseMsg
x/validators
:SetValidatorsMsg
->validators.ApplyDiffMsg
bnsd/x/username
:Username
string removed from all message names.
bnsd
specific protobuf objects (Tx, BatchMsg) are now under packagebnsd
, rather than
conflicting with genericapp
messages in a namespace conflict.- Moved some more messages from
x/validators
package toweave
cmd/bnsd
:nft/username
allows now for any number of aliases/names for a
single address. Lookup of the username by an address is no longer available.- messages produced by
cmd/bnscli
have a new binary format incompatible with
the previous version. x/gov
added indexes to proposals and electorate to enable better client-side UXcash.UpdateConfigurationMsg
requiresMetadata.Schema
- ValidatorUpdate definitions now moved to
weave
package. Weave is using these definitions
now instead of abci internally. - Simplified
Iterator
to 2 methods - Next() and Release() - Removed
cmd/bcpd
application - Removed
x/namecoin
package that is no longer used. - Removed obsolete
examples
directory