Releases: MystenLabs/sui
testnet-v1.27.0
Sui Protocol Version in this release: 49
Highlights
#17245: Adds a new protocol version and enables Move enums on devnet.
JSON-RPC
#17245: Adds support for Move enum values in returned JSON-rpc results.
GraphQL
#17245: Adds support for Move enum values and types to GraphQL.
CLI
#17950: Updated the sui keytool decode-multi-sig
command: renamed output field transactionResult
to sigVerifyResult
, and improved its output text. This is a breaking change if you're using this command in a
script or otherwise parsing the result and expecting a transactionResult
field.
#17935: Fixed a bug where the provided alias in the sui keytool import
command was not kept when importing a key via mnemonic.
#17986: Adds new -i
flag to sui move disassemble
that creates an interactive disassembled bytecode-to-source explorer.
#17989: Fixed the code to ensure it has a gas coin
for the sui keytool zk-login-sign-and-execute-tx
command.
#17993: sui keytool zk-login-sign-and-execute-tx
: set the default value for --test-multisig
and --fixed
flags to false,
because it cannot be set to false in the command line.
#18071: Added ability to write Move unit tests using randomly generated test inputs for primitive Move types.
Full log:
devnet-v1.27.0
Sui Protocol Version in this release: 49
Highlights
#17245: Adds a new protocol version and enables Move enums on devnet.
JSON-RPC
#17245: Adds support for Move enum values in returned JSON-rpc results.
GraphQL
#17245: Adds support for Move enum values and types to GraphQL.
CLI
#17950: Updated the sui keytool decode-multi-sig
command: renamed output field transactionResult
to sigVerifyResult
, and improved its output text. This is a breaking change if you're using this command in a
script or otherwise parsing the result and expecting a transactionResult
field.
#17935: Fixed a bug where the provided alias in the sui keytool import
command was not kept when importing a key via mnemonic.
#17986: Adds new -i
flag to sui move disassemble
that creates an interactive disassembled bytecode-to-source explorer.
#17989: Fixed the code to ensure it has a gas coin
for the sui keytool zk-login-sign-and-execute-tx
command.
#17993: sui keytool zk-login-sign-and-execute-tx
: set the default value for --test-multisig
and --fixed
flags to false,
because it cannot be set to false in the command line.
#18071: Added ability to write Move unit tests using randomly generated test inputs for primitive Move types.
Full log:
mainnet-v1.26.2
Sui Protocol Version in this release: 48
Highlights
Protocol
#17881: Sui native randomness feature now enabled on Testnet.
Indexer
#17649: JSON-RPC: Now JSON-RPC will respond with the correct coin metadata and total supply information when queried.
Indexer: Now the cache is properly set and indexer reader will behave correctly and return the correct data.
GraphQL
#17742: Increased the timeout
value for when executing a transaction block.
CLI
#16819: Move's --lint
now enforces a naming convention for constants.
#17850: Added better type inference for integer types, and added better build-time errors for invalid value types.
#17880: New Move functions for vec_map::from_key_values
and vec_set::from_key_values
Full log:
testnet-v1.26.1
mainnet-v1.25.3
Sui mainnet v1.25.3 release
testnet-v1.26.0
Sui Protocol Version in this release: 48
Highlights
Protocol
#17884: Added new protocol version (47) and enabled resolving. Move abort locations to their package ID instead of runtime ID.
#17881: Sui native randomness feature now enabled on Testnet.
Indexer
#17649: JSON-RPC: Now JSON-RPC will respond with the correct coin metadata and total supply information when queried.
Indexer: Now the cache is properly set and indexer reader will behave correctly and return the correct data.
GraphQL
#17742: Increased the timeout
value for when executing a transaction block.
CLI
#16819: Move's --lint
now enforces a naming convention for constants.
#17850: Added better type inference for integer types, and added better build-time errors for invalid value types.
#17880: New Move functions for vec_map::from_key_values
and vec_set::from_key_values
Full log:
mainnet-v1.25.2
Sui Protocol Version in this release: 47
Highlights
#17937: Revert "Add quantity_min_tick to DeepBook. Quantity must be divisible by this amount, rather than lot_size."
Full log:
devnet-v1.26.0
Sui Protocol Version in this release: 48
Highlights
Protocol
#17884: Added new protocol version (47) and enabled resolving. Move abort locations to their package ID instead of runtime ID.
#17881: Sui native randomness feature now enabled on Testnet.
Indexer
#17649: JSON-RPC: Now JSON-RPC will respond with the correct coin metadata and total supply information when queried.
Indexer: Now the cache is properly set and indexer reader will behave correctly and return the correct data.
GraphQL
#17742: Increased the timeout
value for when executing a transaction block.
CLI
#16819: Move's --lint
now enforces a naming convention for constants.
#17850: Added better type inference for integer types, and added better build-time errors for invalid value types.
#17880: New Move functions for vec_map::from_key_values
and
vec_set::from_key_values
Full log:
testnet-v1.25.1
mainnet-v1.25.1
Sui Protocol Version in this release: 46
Highlights
Protocol
#17335: When trading on DeepBook, lot_size is now min_size, the minimum quantity required for a trade. quantity_min_tick (a const, 1000) is now lot_size. Trade quantity must now be a multiple of quantity_min_tick rather than lot_size, allowing for a much granular trade size. No action needs to be taken by users.
#17380: This change updates the ascii module in the following ways:
Adds new methods to std::ascii
:
ascii::append(&mut String, String)
ascii::is_empty(): bool
ascii::substring(&String, i, j): String
ascii::index_of(&String, &String): u64
ascii::to_uppercase(&String): String
ascii::to_lowercase(&String): String
These additions make the ASCII interface more similar to the UTF8 one.
Renames:
string::bytes() to string::as_bytes()
string::sub_string() to string::substring()
Additional changes:
- updates
std::type_name
to usestd::substring
- removes use statements for implicit imports
- renames constants from
E_INDEX
to conventionalEIndexOutOfBounds
#17579: Added Sui native bridge package 0xb
to the Sui framework, the bridge object 0x9
will be created in the next epoch after protocol upgrade.
GraphQL
#17332: Queries for historical versions of objects will now return data even if that version of the object is outside the available range.
#17338: Adds support for more understandable and ergonomic Move error codes in Move 2024.
#17577: Deprecated the exchange_rates
and staking_pool
resolvers on validator type, and added a staking_pool_id
and exchange_rates_table
resolver to correctly return the staking pool id and the wrapped exchange rates object.
CLI
#17322: Added automatic gas estimation feature for the Sui CLI. If gas budget is not provided, the tool will dry run the transaction to get a gas budget estimate, and then it will execute the transaction. That means that for all relevant commands the --gas-budget
flag is now optional. Please note that this incurs a small cost in performance due to the additional dry run call.
#17484: Fixed a bug where the Move compiler could panic when instantiating an object outside of its defining module.
#17500: Move macro fun
s and associated features are now available in 2024.beta
#17552: Added more descriptive errors if modules are published with an unsupported binary version number for the given network.