Releases: MystenLabs/sui
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.
Full log:
https://github.com/MystenLabs/sui/commits/mainnet-v1.25.1
testnet-v1.25.0
Sui Protocol Version in this release: 45
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.
Full log:
https://github.com/MystenLabs/sui/commits/testnet-v1.25.0
devnet-v1.25.0
Sui Protocol Version in this release: 45
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.
Full log:
https://github.com/MystenLabs/sui/commits/devnet-v1.25.0
mainnet-v1.24.1
Sui Protocol Version in this release: 44
Highlights
GraphQL
#17313: There is no longer a Live
or Historical
, ObjectKind
, they have been merged into a single Indexed
kind representing any object that has been fetched from the index (as opposed to an object that we have information about but that hasn't been indexed yet, or an object that has been deleted or wrapped so is not available).
CLI
#17155: sui move build --path <relative_path>
does not abort with os error 2
#17205: Adds receiver function aliases for functions in the sui::publisher
module.
#17106: Developers might see more compiler diagnostics as dot chain (e.g., some_struct.some_field
) parsing errors no longer prevent compilation and diagnostics from the compiler reaching later compilation stages where additional diagnostics may be generated.
#17267: The CLI will now create the testnet network instead of the devnet when the default configuration is accepted during the initial configuration.
#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.
Full log:
https://github.com/MystenLabs/sui/commits/mainnet-v1.24.1
testnet-v1.24.1
Sui Protocol Version in this release: 44
Highlights
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.
Full log:
https://github.com/MystenLabs/sui/commits/testnet-v1.24.1
testnet-v1.24.0
Sui Protocol Version in this release: 44
Highlights
GraphQL
#17313: There is no longer a Live
or Historical
, ObjectKind
, they have been merged into a single Indexed
kind representing any object that has been fetched from the index (as opposed to an object that we have information about but that hasn't been indexed yet, or an object that has been deleted or wrapped so is not available).
CLI
#17155: sui move build --path <relative_path>
does not abort with os error 2
#17205: Adds receiver function aliases for functions in the sui::publisher
module.
#17106: Developers might see more compiler diagnostics as dot chain (e.g., some_struct.some_field
) parsing errors no longer prevent compilation and diagnostics from the compiler reaching later compilation stages where additional diagnostics may be generated.
#17267: The CLI will now create the testnet network instead of the devnet when the default configuration is accepted during the initial configuration.
Full log:
https://github.com/MystenLabs/sui/commits/testnet-v1.24.0
devnet-v1.24.0
Sui Protocol Version in this release: 44
Highlights
GraphQL
#17313: There is no longer a Live
or Historical
, ObjectKind
, they have been merged into a single Indexed
kind representing any object that has been fetched from the index (as opposed to an object that we have information about but that hasn't been indexed yet, or an object that has been deleted or wrapped so is not available).
CLI
#17155: sui move build --path <relative_path>
does not abort with os error 2
#17205: Adds receiver function aliases for functions in the sui::publisher
module.
#17106: Developers might see more compiler diagnostics as dot chain (e.g., some_struct.some_field
) parsing errors no longer prevent compilation and diagnostics from the compiler reaching later compilation stages where additional diagnostics may be generated.
#17267: The CLI will now create the testnet network instead of the devnet when default configuration is accepted during initial configuration.
Full log:
https://github.com/MystenLabs/sui/commits/devnet-v1.24.0
mainnet-v1.23.1
Sui Protocol Version in this release: 43
Highlights
#17126: Protocol: Deepbook changes will be reverted
#16673: Developers might see more compiler diagnostics as selected parsing errors no longer prevent compilation and diagnostics from the compiler reaching later compilation stages where additional diagnostics may be generated.
#16966: sui client verify-bytecode-meter
supports passing multiple --module
flags to verify multiple compiled modules together as if they were one package.
#16963: sui client verify-bytecode-meter
prints a breakdown of verifier cost by module and function in a package.
- The
Move.lock
will be populated with the edition corresponding to that in theMove.toml
, if it exists. - The
Move.lock
will be generated and populated with toolchain versioning information onsui client publish
.
#16233: Protocol version upgrades to version 43
. This adds a feature flag to set the upper bound of the max epoch for a zklogin signature.
Full log:
https://github.com/MystenLabs/sui/commits/mainnet-v1.23.1
testnet-v1.23.1
Sui Protocol Version in this release: 43
Highlights
#17170: Event and txn query should be done in blocking tasks instead.
Full log:
https://github.com/MystenLabs/sui/commits/testnet-v1.23.1
testnet-v1.23.0
Sui Protocol Version in this release: 43
Highlights
#17126: Protocol: Deepbook changes will be reverted
#16673: Developers might see more compiler diagnostics as selected parsing errors no longer prevent compilation and diagnostics from the compiler reaching later compilation stages where additional diagnostics may be generated.
#16966: sui client verify-bytecode-meter
supports passing multiple --module
flags to verify multiple compiled modules together as if they were one package.
#16963: sui client verify-bytecode-meter
prints a breakdown of verifier cost by module and function in a package.
- The
Move.lock
will be populated with the edition corresponding to that in theMove.toml
, if it exists. - The
Move.lock
will be generated and populated with toolchain versioning information onsui client publish
.
#16233: Protocol version upgrades to version 43
. This adds a feature flag to set the upper bound of the max epoch for a zklogin signature.
Full log:
https://github.com/MystenLabs/sui/commits/testnet-v1.23.0