All notable changes to the Aptos Python SDK will be captured in this file. This changelog is written by hand for now.
- For
account_sequence_number
, return 0 if account has yet to be created to better support sponsored transactions create account if not exists - For
account_balance
, Use0x1::coin::balance
instead of reading the resource
- Add Multikey support for Python, with an example
- Deprecate and remove non-BCS transaction submission
- Set max Uleb128 to MAX_U32
- Add Behave behavioral specifications for BCS and AccountAddress
- add client for graphql indexer service with light demo in coin transfer
- add mypy to ignore missing types for graphql and ecdsa
- remove
<4.0
requirement for python as this invariant blocks updates unnecessarily, for example, httpx was several versions behind - remove h2 as it doesn't seem to be directly used
- add py.typed so that projects can add type checking when using the sdk
- fix tables api -- there was an extra
base_url
- ClientConfig updates for bearer token
- Identified a TypeTag parsing issue where nested types weren't wrapped with TypeTag
- Improve TypeTag parsing for nested types
- Add BCS and String-based (JSON) view functions
- Added thorough documentation
- Add support for SingleKeyAuthenicatoin component of AIP-55
- Add support for Secp256k1 Ecdsa of AIP-49
- Add support for Sponsored transactions of AIP-39 and AIP-53
- Improved support for MultiEd25519
- [Breaking Change]: The
from_str
function onAccountAddress
has been updated to conform to the strict parsing described by AIP-40. For the relaxed parsing behavior of this function prior to this change, useAccountAddress.from_str_relaxed
. - [Breaking Change]: Rewrote the large package publisher to support large modules too
- [Breaking Change]: Delete sync client
- [Breaking Change]: Removed the
hex
function fromAccountAddress
. Instead ofaddr.hex()
usestr(addr)
. - [Breaking Change]: The string representation of
AccountAddress
now conforms to AIP-40. - [Breaking Change]:
AccountAddress.from_hex
andPrivateKey.from_hex
have been renamed tofrom_str
. - Port remaining sync examples to async (hello-blockchain, multisig, your-coin)
- Updated token client to use events to acquire minted tokens
- Update many dependencies and set Python 3.8.1 as the minimum requirement
- Add support for an experimental chunked uploader
- Add experimental support for the Aptos CLI enabling local end-to-end testing, package building, and package integration tests
- Change sync client library from httpX to requests due to latency concerns.
- Added custom header "x-aptos-client" to both sync/async RestClient
- Updated package manifest.
- Add token client.
- Add support for generating account addresses.
- Add support for http2
- Add async client