Skip to content

Releases: MystenLabs/sui

testnet-v1.35.0

07 Oct 22:24
Compare
Choose a tag to compare

Protocol

Sui Protocol Version in this release: 62

#19503: Enable distributed vote scoring in testnet

#19553: Enable distributed vote scoring in testnet

#19522: Reduces minimum shares for random beacon protocol to 700. This may reduce the costs of running the protocol.

#19672: The protocol version has been bumped to 62, changing the semantics around the package/module in the PTB from which the event originated.

Nodes (Validators and Full nodes)

#19617: Remove unsupported compound filters for querying events from the JSON-RPC schema to avoid confusion. Remove support for compound filters from the deprecated events subscription system.

Indexer

#19543: Add indices to support efficient pruning by tx sequence number.

#19614: Adds support for filtering transactions by their affected object

#19615: Remove support for InputObject and OutputObject transaction filters (replaced by AffectedObject).

#19616: Remove support for filtering transactions by ToAddress, (instead of FromOrToAddress).

#19617: Remove compound filters for querying events.

#19618: A transaction's "affected objects" include objects it created, wrapped, or unwrapped.

JSON-RPC

#19433: feature: adds a configurable health check endpoint for json rpc fullnodes to report down if too far behind

#19618: A transaction's "affected objects" include objects it created, wrapped, or unwrapped.

GraphQL

#19618: A transaction's "affected objects" include objects it created, wrapped, or unwrapped.

#19671: Add --skip-migration-consistency-check to allow bypassing the database compatibility checks.

CLI

#19485: sui move new produces module templates with the new module label syntax, rather than the previous module block syntax.

#19387: Introduce lock file version 3, which renames a dependency's name field to id and introduces a separate name field that stores the package's name from its manifest for improved error reporting. Older lock files will be ignored when resolving dependencies so that this information is always available.

#19487: Improved the error message when running sui start when a sui config folder exists without genesis metadata.

#19506: Fixes an issue with active-env and envs commands that were not showing an output if the active RPC url was not correct.

#19540: Remove legacy support for custom package hooks, replacing it with initial logic for on-chain dependencies.

#19057: Changes to external dependency resolution: allows processing multiple null-separated contents to extend the package graph per resolution call.

#17124: Move lint now warns against unnecessary self-assignments.


Full Log: https://github.com/MystenLabs/sui/commits/testnet-v1.35.0

devnet-v1.35.0

07 Oct 16:25
Compare
Choose a tag to compare
devnet-v1.35.0 Pre-release
Pre-release

Protocol

Sui Protocol Version in this release: 62

#19503: Enable distributed vote scoring in testnet

#19553: Enable distributed vote scoring in testnet

#19522: Reduces minimum shares for random beacon protocol to 700. This may reduce the costs of running the protocol.

#19672: The protocol version has been bumped to 62, changing the semantics around the package/module in the PTB from which the event originated.

Nodes (Validators and Full nodes)

#19617: Remove unsupported compound filters for querying events from the JSON-RPC schema to avoid confusion. Remove support for compound filters from the deprecated events subscription system.

Indexer

#19543: Add indices to support efficient pruning by tx sequence number.

#19614: Adds support for filtering transactions by their affected object

#19615: Remove support for InputObject and OutputObject transaction filters (replaced by AffectedObject).

#19616: Remove support for filtering transactions by ToAddress, (instead of FromOrToAddress).

#19617: Remove compound filters for querying events.

#19618: A transaction's "affected objects" include objects it created, wrapped, or unwrapped.

JSON-RPC

#19433: feature: adds a configurable health check endpoint for json rpc fullnodes to report down if too far behind

#19618: A transaction's "affected objects" include objects it created, wrapped, or unwrapped.

GraphQL

#19618: A transaction's "affected objects" include objects it created, wrapped, or unwrapped.

#19671: Add --skip-migration-consistency-check to allow bypassing the database compatibility checks.

CLI

#19485: sui move new produces module templates with the new module label syntax, rather than the previous module block syntax.

#19387: Introduce lock file version 3, which renames a dependency's name field to id and introduces a separate name field that stores the package's name from its manifest for improved error reporting. Older lock files will be ignored when resolving dependencies so that this information is always available.

#19487: Improved the error message when running sui start when a sui config folder exists without genesis metadata.

#19506: Fixes an issue with active-env and envs commands that were not showing an output if the active RPC url was not correct.

#19540: Remove legacy support for custom package hooks, replacing it with initial logic for on-chain dependencies.

#19057: Changes to external dependency resolution: allows processing multiple null-separated contents to extend the package graph per resolution call.

#17124: Move lint now warns against unnecessary self-assignments.


Full Log: https://github.com/MystenLabs/sui/commits/devnet-v1.35.0

mainnet-v1.34.2

01 Oct 22:05
Compare
Choose a tag to compare

Protocol

Sui Protocol Version in this release: 60

#19014: Fail fast on invalid public inputs to Groth16 zk-proof verification. Add a flatten Move function, which flattens a vector of vectors into a single vector. This introduces a new protocol, version 59.

#19310: Increase the maximum type layout size in the VM. Most users should not notice this change.

#19446: Transactions that include unparseable types will not be signed by validators from protocol 60 onwards.

Nodes (Validators and Full nodes)

#19438: sui_getTransactionBlock and sui_multiGetTransactionBlock JSON-RPC endpoints will now heed the showRawEffects option and return the BCS representation of the transaction effects.

Indexer

#19196: Adds a cred before the next deployment to enable uploading.

#19355: Index the addresses affected by a transaction (either because they are a sender or a recipient of the transaction).

#19447: Index the objects affected by a transaction (either because they are an input object or are changed by the transaction).

GraphQL

#19410: GraphQL only supports one version instead of beta, stable, legacy. This change removes the previous routes and only allows for / and /graphql, which will always point to the latest version.

#19371: Introduce staging.graphql. This schema includes changes being developed and tested but not yet productionised.

#19430: Deprecates TransactionBlockFilter.signAddress, replacing it with TransactionBlockFilter.sentAddress, which behaves identically. Similarly AddressTransactionBlockRelationship.SIGN is deprecated and replaced by AddressTransactionBlockRelationship.SENT.

#19446: MoveType can fail to provide a layout or abilities in cases where it represents an unparseable type.

CLI

#19312: Fixes a bug where the CLI would write out a config with a relative path for the keystore that would only work if the CLI was subsequently called from the same directory that the config was first created in.

#16875: Move lint will now warn against loops without breakorreturn`

#16856: Move will now lint against unnecessary conditionals, if-else expressions.

#18636: Improve error and status messages for sui move build.

#19374: Added debug prints for preparing a tx and executing it. Similarly, adds debug prints for executing a dry run. Use RUST_LOG=debug sui to see the extra information printed on the terminal.

#19375: The CLI switched to using WaitForEffectsCert in the quorum driver for transaction execution. Due to this, it simulates WaitForLocalExecution via polling as JSON RPC ignores WaitForLocalExecution requests now.

#19436: the indexer feature was removed from the sui crate as the dynamic linking to libpq was removed. Therefore, the sui-pg binary will not be part of releases anymore. This sui-pg binary was used for starting a network with --with-indexer and --with-graphql flags. These commands will still work as before and it is still required to have installed a Postgres database. If you used sui-pg binary previously, you can simply use sui binary from this version on.


Full Log: https://github.com/MystenLabs/sui/commits/mainnet-v1.34.2

testnet-v1.34.1

30 Sep 22:17
218db6e
Compare
Choose a tag to compare

Protocol

Sui Protocol Version in this release: 60

#19531: Support concurrent threads locking the same transaction

#19558: indexer: relax migration check

#19544: rosetta: don't panic when accessing inputs


Full Log: https://github.com/MystenLabs/sui/commits/testnet-v1.34.1

testnet-v1.34.0

23 Sep 22:16
c23f605
Compare
Choose a tag to compare

Protocol

Sui Protocol Version in this release: 60

#19014: Fail fast on invalid public inputs to Groth16 zk-proof verification. Add a flatten Move function, which flattens a vector of vectors into a single vector. This introduces a new protocol, version 59.

#19310: Increase the maximum type layout size in the VM. Most users should not notice this change.

#19446: Transactions that include unparseable types will not be signed by validators from protocol 60 onwards.

Nodes (Validators and Full nodes)

#19438: sui_getTransactionBlock and sui_multiGetTransactionBlock JSON-RPC endpoints will now heed the showRawEffects option and return the BCS representation of the transaction effects.

Indexer

#19196: Adds a cred before the next deployment to enable uploading.

#19355: Index the addresses affected by a transaction (either because they are a sender or a recipient of the transaction).

#19447: Index the objects affected by a transaction (either because they are an input object or are changed by the transaction).

GraphQL

#19410: GraphQL only supports one version instead of beta, stable, legacy. This change removes the previous routes and only allows for / and /graphql, which will always point to the latest version.

#19371: Introduce staging.graphql. This schema includes changes being developed and tested but not yet productionised.

#19430: Deprecates TransactionBlockFilter.signAddress, replacing it with TransactionBlockFilter.sentAddress, which behaves identically. Similarly AddressTransactionBlockRelationship.SIGN is deprecated and replaced by AddressTransactionBlockRelationship.SENT.

#19446: MoveType can fail to provide a layout or abilities in cases where it represents an unparseable type.

CLI

#19312: Fixes a bug where the CLI would write out a config with a relative path for the keystore that would only work if the CLI was subsequently called from the same directory that the config was first created in.

#16875: Move lint will now warn against loops without breakorreturn`

#16856: Move will now lint against unnecessary conditionals, if-else expressions.

#18636: Improve error and status messages for sui move build.

#19374: Added debug prints for preparing a tx and executing it. Similarly, adds debug prints for executing a dry run. Use RUST_LOG=debug sui to see the extra information printed on the terminal.

#19375: The CLI switched to using WaitForEffectsCert in the quorum driver for transaction execution. Due to this, it simulates WaitForLocalExecution via polling as JSON RPC ignores WaitForLocalExecution requests now.

#19436: the indexer feature was removed from the sui crate as the dynamic linking to libpq was removed. Therefore, the sui-pg binary will not be part of releases anymore. This sui-pg binary was used for starting a network with --with-indexer and --with-graphql flags. These commands will still work as before and it is still required to have installed a Postgres database. If you used sui-pg binary previously, you can simply use sui binary from this version on.


Full Log: https://github.com/MystenLabs/sui/commits/testnet-v1.34.0

devnet-v1.34.0

23 Sep 16:48
c23f605
Compare
Choose a tag to compare
devnet-v1.34.0 Pre-release
Pre-release

Protocol

Sui Protocol Version in this release: 60

#19014: Fail fast on invalid public inputs to Groth16 zk-proof verification. Add a flatten Move function, which flattens a vector of vectors into a single vector. This introduces a new protocol, version 59.

#19310: Increase the maximum type layout size in the VM. Most users should not notice this change.

#19446: Transactions that include unparseable types will not be signed by validators from protocol 60 onwards.

Nodes (Validators and Full nodes)

#19438: sui_getTransactionBlock and sui_multiGetTransactionBlock JSON-RPC endpoints will now heed the showRawEffects option and return the BCS representation of the transaction effects.

Indexer

#19196: Adds a cred before the next deployment to enable uploading.

#19355: Index the addresses affected by a transaction (either because they are a sender or a recipient of the transaction).

#19447: Index the objects affected by a transaction (either because they are an input object or are changed by the transaction).

GraphQL

#19410: GraphQL only supports one version instead of beta, stable, legacy. This change removes the previous routes and only allows for / and /graphql, which will always point to the latest version.

#19371: Introduce staging.graphql. This schema includes changes being developed and tested but not yet productionised.

#19430: Deprecates TransactionBlockFilter.signAddress, replacing it with TransactionBlockFilter.sentAddress, which behaves identically. Similarly AddressTransactionBlockRelationship.SIGN is deprecated and replaced by AddressTransactionBlockRelationship.SENT.

#19446: MoveType can fail to provide a layout or abilities in cases where it represents an unparseable type.

CLI

#19312: Fixes a bug where the CLI would write out a config with a relative path for the keystore that would only work if the CLI was subsequently called from the same directory that the config was first created in.

#16875: Move lint will now warn against loops without breakorreturn`

#16856: Move will now lint against unnecessary conditionals, if-else expressions.

#18636: Improve error and status messages for sui move build.

#19374: Added debug prints for preparing a tx and executing it. Similarly, adds debug prints for executing a dry run. Use RUST_LOG=debug sui to see the extra information printed on the terminal.

#19375: The CLI switched to using WaitForEffectsCert in the quorum driver for transaction execution. Due to this, it simulates WaitForLocalExecution via polling as JSON RPC ignores WaitForLocalExecution requests now.

#19436: the indexer feature was removed from the sui crate as the dynamic linking to libpq was removed. Therefore, the sui-pg binary will not be part of releases anymore. This sui-pg binary was used for starting a network with --with-indexer and --with-graphql flags. These commands will still work as before and it is still required to have installed a Postgres database. If you used sui-pg binary previously, you can simply use sui binary from this version on.


Full Log: https://github.com/MystenLabs/sui/commits/devnet-v1.34.0

mainnet-v1.33.2

18 Sep 22:02
Compare
Choose a tag to compare

Sui Protocol Version in this release: 59

#19404: Enable probing of consensus rounds against peers.

#19119: Unsigned integers now support .to_string() methods, for example 10u8.to_string() is the same as b"10".to_string()

GraphQL

#18774: Introduces .move name resolution (internal & external) for GraphQL. Only supported on a non-mainnet environment for the time being.

#18017: Added a max_tx_payload_size variable to protect against large transaction queries. The sum of txBytes + signatures in all GraphQL mutation executeTransactionBlock nodes or txBytes in dryRunTransactionBlock nodes from a query have to be below the max_tx_payload_size. The max_tx_payload_size is computed based on the protocol_version -> max_tx_bytes and a Base64 overhead as follows: max_tx_bytes * 4 / 3 Added also a check that the overall query size is not larger than max_tx_payload_size + max_query_payload_size, where max_query_payload_size is the read part of the query.

#19191: Removes support for multiple versions. GraphQL's version now aligns with the sui-node version, and it drops support for the ServiceConfig.availableVersions query.

CLI

#16626: Move will now lint against unnecessary math operations in many cases.

#19126: Move integer modules now have a bitwise_not function and a max_value macro function.


Full Log: https://github.com/MystenLabs/sui/commits/mainnet-v1.33.2

testnet-v1.33.2

16 Sep 22:32
Compare
Choose a tag to compare

Protocol

Sui Protocol Version in this release: 59

#19404: Enable probing of consensus rounds against peers.


Full Log: https://github.com/MystenLabs/sui/commits/testnet-v1.33.2

testnet-v1.33.1

15 Sep 23:57
776118a
Compare
Choose a tag to compare

Protocol

Sui Protocol Version in this release: 58

#19299: chore: update quinn-proto to address RUSTSEC-2024-0373

#19293: [Consensus] count missing ancestors and blocks per authority


Full Log: https://github.com/MystenLabs/sui/commits/testnet-v1.33.1

testnet-v1.33.0

09 Sep 22:18
77b18b4
Compare
Choose a tag to compare

Protocol

Sui Protocol Version in this release: 58

#19119: Unsigned integers now support .to_string() methods, for example 10u8.to_string() is the same as b"10".to_string()

GraphQL

#18774: Introduces .move name resolution (internal & external) for GraphQL. Only supported on a non-mainnet environment for the time being.

#18017: Added a max_tx_payload_size variable to protect against large transaction queries. The sum of txBytes + signatures in all GraphQL mutation executeTransactionBlock nodes or txBytes in dryRunTransactionBlock nodes from a query have to be below the max_tx_payload_size. The max_tx_payload_size is computed based on the protocol_version -> max_tx_bytes and a Base64 overhead as follows: max_tx_bytes * 4 / 3 Added also a check that the overall query size is not larger than max_tx_payload_size + max_query_payload_size, where max_query_payload_size is the read part of the query.

#19191: Removes support for multiple versions. GraphQL's version now aligns with the sui-node version, and it drops support for the ServiceConfig.availableVersions query.

CLI

#16626: Move will now lint against unnecessary math operations in many cases.

#19126: Move integer modules now have a bitwise_not function and a max_value macro function.


Full Log: https://github.com/MystenLabs/sui/commits/testnet-v1.33.0