Releases: FrankC01/pysui
Releases · FrankC01/pysui
Release 0.64.0
BREAKING CHANGES
Added
- GraphQL default and override schema usage (testnet and mainnet only, devnet does not support)
- Sui introduced support for multiple concurrent GraphQL schemas
- pysui suports setting the default schema at client init
- pysui supports overriding the default schema at execution requests
- pysui QueryNodes can define schema specific versions
Fixed
- bug walletg gas command
Changed
Release 0.63.0
Available on PyPi
Added
- Serialization of pysui GraphQL SuiTransaction to Sui Wallet JSON standard (schema version 2)
pgql_wallet_ser.serialize_to_wallet_standard
- Deserialization of Sui Wallet JSON standard (schema version 2) to dataclasses
pgql_wallet_deser.deserialize_from_wallet_standard
- Deserialization of Sui Wallet JSON standard (schema version 2) to pysui GraphQL SuiTransaction
pgql_wallet2txn_deser.deserialize_to_transaction
Fixed
- PR Fix typos
Changed
Removed
- GetLoadedChildObjects as Sui 1.28.0 removed RPC "sui_getLoadedChildObjects"
Release 0.62.1
Refer to the Changes log details
Release 0.62.0
Added
availableVersions
list andmutationTimeoutMs
to ServiceConfigGQL
Fixed
- bug GraphQL GetPackage and GetFunction fail converting to dataclass
- bug Passing str doesn't convert to vector (GraphQL SuiTransaction)
- Fixed handling case of unresolvable UpgradeCap fetch in GraphQL SuiTransaction `publish_upgrade``
- Regression in arg processor for GraphQL Transaction building
Changed
- PR Return address instead of failing when address already exists
Refer to the Changes log details
Release 0.61.0
Added
GetTxKind
query node for fetching transaction type details- Only ProgrammableTransactionBlock, ConsensusCommitPrologueTransaction, and GenesisTransaction kinds supported
- Added
do_tx_kind
function to synch and asynch graphql samples
- `GetFilteredTx`` query node that fetches all transactions with TransactionBlockFilter set
- Added
do_filter_txs
function to synch and asynch graphql samples
- Added
- Passing optional global HTTP client headers in SuiGQLClient constructor.
- Accepts a dict (e.g.
{"headers":{"...":...}}
) - If not provided, defaults to
{"headers":None}
(see next)
- Accepts a dict (e.g.
client_headers
property to GraphQL clients (read only, produces copy)with_headers
argument to clientexecute...
methods.- During execution, merges provided with global headers:
hdr = self.client_headers hdr = hdr if not with_headers else hdr.update(with_headers)
- Single permanent reconnecting async session for
AsyncSuiGQLClient
Refer to the Changes log details
Release 0.60.0
Added (GraphQL)
- Support for
0x1::string::String
move call parms:&String
(e.g.args=["foo"]
)Option<String>
(e.g.args=["foo"]
orargs=[None]
)vector<String>
(e.g.args=[["foo","bar"]]
)
Changed (GraphQL)
- Cursor on MovePackageGQL for modules enabled in query node GetPackage
- Cursor through all modules for
do_package
in sample - Cursor on MoveFunctionsGQL enabled in query node GetFunctions
- Cursor on MoveStructuresGQL enabled in query node GetStructures
- Enabled cursor in query node GetValidatorsApy
Refer to the Changes log details
Release 0.59.0
Added
Fixed
Changed
- GetTx querynode includes richer object changes effects content.
Removed
split_coin_and_return
from GraphQL SuiTransaction. Less costly to just split and transfer
Refer to the Changes log details
Release 0.58.0
Added
- build_and_sign() to GraphQL SuiTransaction
merge_some
andsplit_1_half
examples transactions in pgql_s_example.py
Fixed
Changed
- Bump support to Sui 1.24.0
- SuiCoinObjectGQL now supports various owner types (AddressOwner, Immutable, Shared, Parent)
Refer to the Changes log details
Release 0.57.0
Release includes:
- Support for using bech32 encoded private keys in SuiConfig.user_config
- Support using Sui GraphQL in devnet
- Add gql_url argument to support setting GraphQL RPC host URL to SuiConfig.user_config(...)
Refer to the Changes log for more details
Release 0.56.0
Release includes:
-
walletg
in samples providing CLI using Sui GraphQL RPC- Includes dry run for either TransactionData or TransactionKind
- Includes executing signed transactions
-
GraphQL clients now have explicit execute for string, DocumentNode or QueryNode
-
Deprecating synch and asynch GraphQL client
execute_query
Refer to the Changes log details