Skip to content

Releases: FrankC01/pysui

Release 0.70.0

08 Oct 08:40
Compare
Choose a tag to compare

Added

  • enhancement Asynch PTB
  • gen_doc_qnode added to refresh QueryNode documentation (link table)
  • sgqls script to persist Sui GraphQL schemas. See sgqls -h or python samples/sgqls.py -h

Release 0.69.0

22 Sep 08:07
Compare
Choose a tag to compare

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

14 Sep 11:39
Compare
Choose a tag to compare

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

Removed

  • Support for Sui GraphQL multi-schema removed from providers and Sui GraphQL clients.

Release 0.67.0

21 Aug 08:33
Compare
Choose a tag to compare

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

04 Aug 08:37
Compare
Choose a tag to compare

Added

  • On PysuiConfiguration:
    • new_group - creates a new PysuiConfiguration group
    • add_keys adds a collection of keys and optional aliases to a group
    • new_profile creates equivalant of Sui CLI new-env
    • update_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

18 Jul 08:58
Compare
Choose a tag to compare

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 and async_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

28 Jun 08:04
Compare
Choose a tag to compare

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

  • BREAKING pysui GraphQL clients replaced properties with functions taking optional versions
  • BREAKING GraphQL SuiTransaction txer.build_and_sign() returns a dict now
  • Updated pgql_s_example.py
  • Updated pgql_s_ptb.py
  • Updated pgql_a_example.py

Release 0.63.0

18 Jun 08:24
Compare
Choose a tag to compare

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

08 Jun 14:11
Compare
Choose a tag to compare

Refer to the Changes log details

Release 0.62.0

08 Jun 11:13
Compare
Choose a tag to compare

Added

  • availableVersions list and mutationTimeoutMs 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