Releases: FrankC01/pysui
Releases · FrankC01/pysui
Release 0.69.0
Changed
- Bump version 0.69.0
- GraphQL Schema updates for fields in
serviceConfig
- Validate with 1.35.0 JSON RPC Schema
- Validate with 1.34.0 GraphQL Schema
Release 0.68.0
BREAKING CHANGES to GraphQL multi-schema support and Mysten URL availability
BREAKING CHANGES Removed pysui legacy sample apps: wallet, async-gas, async-sub, async-sub-txn
BREAKING CHANGES Renamed pysui GraphQL sample apps: walletg to wallet, async-gasg to async-gas
Added
- Docs for native types used in transaction builder arguments
Fixed
- GraphQL DryRun gas price expects int (Uint53)
Changed
- Bump version 0.68.0
- On PysuiConfiguration, renamed
active_env
property toactive_profile
- Mysten GraphQL removed
devnet-beta
url and only supports:
Removed
- Support for Sui GraphQL multi-schema removed from providers and Sui GraphQL clients.
Release 0.67.0
Added
- signatures on transactions to:
- QueryNodes: GetMultipleTx and GetFilteredTx
- Fragments: StandardTransaction
- Result Types: TransactionResultGQL and TransactionSummaryGQL
Fixed
- bug Encoding of bytes argument (GraphQL)
- bug When previous txn digest not present (GraphQL)
- Handling exception for unsupported schema version query at initiatlization of client (GraphQL)
Changed
- Bump version 0.67.0
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