Releases: FrankC01/pysui
Releases · FrankC01/pysui
Release 0.66.0
Added
- On PysuiConfiguration:
new_group
- creates a new PysuiConfiguration groupadd_keys
adds a collection of keys and optional aliases to a groupnew_profile
creates equivalant of Sui CLI new-envupdate_profile
updates profile values
Fixed
- Coin deserialization failed when previousTransactionBlock has been pruned
- Validate GraphQL schema existence before adding to available list
- bug Fixed publish that broke with enums
Changed
- Set version 0.66.0
- Update PysuiConfiguration docs
- Reorganized initiatlization of PysuiConfiguration and run time rebuilding from
client.yaml
Release 0.65.0
BREAKING CHANGES
Added
Fixed
Changed
- BREAKING SuiConfig is no longer used to instantiate a GraphQL client, instead
use PysuiConfiguration - Updated GraphQL client to use PysuiConfiguration
- Updated GraphQL transaction builder to use PysuiConfiguration
- Updated GraphQL samples to use PysuiConfiguration
- Updated
walletg
andasync_gasg
to use PysuiConfiguration - PysuiConfiguration, SyncGqlClient and AsyncGqlClient as aliases in
pysui.__init__
- change GraphQL remove SuiTransaction legacy dependency
- Deprecated Event and Transaction subscriptions and subscription Client
- Deprecate all Builders
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