devnet-v1.6.0
Pre-releaseHighlights
-
#13029
When building Move code, additional linter warnings related to implementing a custom transfer/share/freeze functions might appear. These functions are created to enforce a custom transfer/share/freeze policy if you implement them to work with instances of a type with thestore
ability results in an unenforceable policy (these type instances can be transferred/shared/frozen using public variants of transfer/share/freeze functions). -
#13012
Developers can now selectively suppress linter warnings. Linter warnings now feature an additional message describing how they can be suppressed. For example, a message could be "This warning can be suppressed with#[lint_allow(share_owned)]
applied to themodule
ormodule
member (const
,fun
, orstruct
)" which would allow suppressing warnings related to potentially attempting to share already owned object to be suppressed with the#[lint_allow(share_owned)]
annotation. -
#12968
When you run Move unit tests, warnings no longer prevent tests from running. Compilation results print only once for eachsui move test
command. -
#12771
This release adds a new filter, TransactionKindIn, to thequeryTransactionBlocks
RPC endpoint. The filter accepts a list of TransactionKind and returns a page of transaction blocks that match ANY input TransactionKind. Note that this is now supported only by the indexer, but not supported by Sui Full nodes directly. -
#12822
When building Move code, additional linter warnings related to transferring objects to the transaction sender may appear. The goal of this linter is to encourage developers to return objects from functions rather than transferring them to the transaction sender in order to increase the composability of functions in programmable transaction blocks by allowing callers to directly use the returned object.
Full Changelog: https://github.com/MystenLabs/sui/commits/devnet-v1.6.0