Skip to content

Releases: MystenLabs/sui

mainnet-v1.25.3

29 May 23:26
Compare
Choose a tag to compare
Sui mainnet v1.25.3 release

testnet-v1.26.0

28 May 00:15
Compare
Choose a tag to compare

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:

https://github.com/MystenLabs/sui/commits/testnet-v1.26.0

mainnet-v1.25.2

27 May 16:52
68158aa
Compare
Choose a tag to compare

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:

https://github.com/MystenLabs/sui/commits/mainnet-v1.25.2

devnet-v1.26.0

27 May 17:15
Compare
Choose a tag to compare
devnet-v1.26.0 Pre-release
Pre-release

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:

https://github.com/MystenLabs/sui/commits/devnet-v1.26.0

testnet-v1.25.1

21 May 01:25
6579e0e
Compare
Choose a tag to compare

Sui Protocol Version in this release: 46

Highlights

#17840: Reshare objects at same initial_shared_version

#17809: enable bridge in testnet

Full log:

https://github.com/MystenLabs/sui/commits/testnet-v1.25.1

mainnet-v1.25.1

21 May 22:13
6579e0e
Compare
Choose a tag to compare

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 use std::substring
  • removes use statements for implicit imports
  • renames constants from E_INDEX to conventional EIndexOutOfBounds

#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 funs 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

14 May 22:28
Compare
Choose a tag to compare

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 use std::substring
  • removes use statements for implicit imports
  • renames constants from E_INDEX to conventional EIndexOutOfBounds

#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 funs 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

14 May 19:24
Compare
Choose a tag to compare
devnet-v1.25.0 Pre-release
Pre-release

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 use std::substring
  • removes use statements for implicit imports
  • renames constants from E_INDEX to conventional EIndexOutOfBounds

#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 funs 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

07 May 22:36
Compare
Choose a tag to compare

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

06 May 22:34
2aadf14
Compare
Choose a tag to compare

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