Skip to content

Releases: FrankC01/pysui

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

Release 0.61.0

28 May 08:12
Compare
Choose a tag to compare

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
  • Passing optional global HTTP client headers in SuiGQLClient constructor.
    • Accepts a dict (e.g. {"headers":{"...":...}} )
    • If not provided, defaults to {"headers":None} (see next)
  • client_headers property to GraphQL clients (read only, produces copy)
  • with_headers argument to client execute... 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

15 May 08:31
Compare
Choose a tag to compare

Added (GraphQL)

  • Support for 0x1::string::String move call parms:
    • &String (e.g. args=["foo"])
    • Option<String> (e.g. args=["foo"] or args=[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

02 May 10:02
Compare
Choose a tag to compare

Added

Fixed

  • bug - Parameter passing fix for JSON RPC
  • bug - Typo in cursor reference in sample code

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

23 Apr 01:58
Compare
Choose a tag to compare

Added

  • build_and_sign() to GraphQL SuiTransaction
  • merge_some and split_1_half examples transactions in pgql_s_example.py

Fixed

  • PR - Documentation
  • PR - Documentation

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

15 Apr 09:15
Compare
Choose a tag to compare

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

03 Apr 09:51
Compare
Choose a tag to compare

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