Releases: tonkeeper/pytonapi
Releases · tonkeeper/pytonapi
v0.3.3
v0.3.2
What's Changed
- Remove unused Dict by @CheloVek0116 in #16
- Add method to get single Jetton balance by owner address by @Chipe1 in #18
New Contributors
- @CheloVek0116 made their first contribution in #16
- @Chipe1 made their first contribution in #18
Full Changelog: v0.3.1...v0.3.2
v0.3.1
What's Changed
- Added
total
count field toJettonHolders
schema. - Fixed:
AttributeError: 'str' object has no attribute 'get'
.
Full Changelog: v0.2.9...v0.3.1
v0.2.9
v0.2.8
What's Changed
New Features
- Added 'liteserver' module to the list of imported schemas in the
__all__
variable. - Added
liteserver.get_account_state
tests. - Added
py.typed
to support type checkers by @vladimir-chernykh in #12
Fixes
- Fixed
TypeError: 'type' object is not subscriptable
, updated type annotations to support Python versions below 3.10. #13 - Updated
BlockRaw.shard
data type fromint
tostr
to resolve data inconsistency error. #11
Enhancements
- Refactored
test_get_all_jettons
method.
New Contributors
- @vladimir-chernykh made their first contribution in #12
Full Changelog: v0.2.6...v0.2.8
v0.2.6
What's Changed
New Features
- Added example for sending TON.
Fixes
- Fixed API endpoint typo in
EmulateMethod.decode_message
method.
Enhancements
- Updated
SSEMethod.subscribe_to_transactions
signature: added optionaloperations
parameter. - Handled HTTP status errors in
_subscribe
method. - Refactored
__read_content
method for efficient reading.
Miscellaneous
- Added
TONAPISSEError
.
Full Changelog: v0.2.4...v0.2.6
v0.2.4
What's Changed
Updates
- Add
owner
to JettonHolder schema. - Add
jettons.get_all_holders
method.
Fixes
- Fixed
JSONDecodeError
handling to return error content as a dictionary instead of a set.
Full Changelog: v0.2.0...v0.2.4
v0.2.0
What's Added
-
New API Methods
Inscriptions
- /v2/experimental/accounts/{account_id}/inscriptions
- /v2/experimental/accounts/{account_id}/inscriptions/history
- /v2/experimental/accounts/{account_id}/inscriptions/{ticker}/history
- /v2/experimental/inscriptions/op-template
Full Changelog: v0.1.9...v0.2.0
v0.1.9
What's Added
-
New API Methods
Blockchain
- /v2/status
- /v2/blockchain/masterchain/{masterchain_seqno}/blocks
- /v2/blockchain/masterchain/{masterchain_seqno}/transactions
- /v2/blockchain/masterchain/{masterchain_seqno}/config
- /v2/blockchain/masterchain/{masterchain_seqno}/config/raw
Emulation
- /v2/message/decode
-
Missing fields in model schemas.
Full Changelog: v0.1.7...v0.1.9
v0.1.7
What's Changed
New Features
- Added support for Python
3.11
and3.12
.
Dependency Updates
- Removed
libscrc
library. - Updated
httpx
version to0.26.0
.
Bug Fixes
- Fixed an issue in the
v2/blockchain/accounts/{account_id}/methods/{method_name}
method.
Refactoring
- Minor code refactoring for improved maintainability.
This release introduces new Python version support, updates dependencies, addresses a specific issue, and includes minor refactoring for better code organization.