Skip to content

Commit a9f5833

Browse files
feat: add detail to token_airdrop and token_airdrop_cancel (#785)
Signed-off-by: tech0priyanshu <[email protected]>
1 parent b350130 commit a9f5833

File tree

3 files changed

+331
-57
lines changed

3 files changed

+331
-57
lines changed

CHANGELOG.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
66

77
## [Unreleased]
88

9-
109
### Added
10+
11+
- Add detail to `token_airdrop.py` and `token_airdrop_cancel.py`
1112
- Add workflow: github bot to respond to unverified PR commits (#750)
1213
- Add workflow: bot workflow which notifies developers of workflow failures in their pull requests.
1314
- Add `examples/token_create_transaction_max_automatic_token_associations_0.py` to demonstrate how `max_automatic_token_associations=0` behaves.
1415
- Add `examples/topic_id.py` to demonstrate `TopicId` opeartions
1516
- Add `examples/topic_message.py` to demonstrate `TopicMessage` and `TopicMessageChunk` with local mock data.
16-
- Added missing validation logic `fee_schedule_key` in integration `token_create_transaction_e2e_test.py` and ``token_update_transaction_e2e_test.py`.
17+
- Added missing validation logic `fee_schedule_key` in integration `token_create_transaction_e2e_test.py` and ``token_update_transaction_e2e_test.py`.
1718
- Add `account_balance_query.py` example to demonstrate how to use the CryptoGetAccountBalanceQuery class.
1819
- Add `examples/token_create_transaction_admin_key.py` demonstrating admin key privileges for token management including token updates, key changes, and deletion (#798)
1920
- Add `examples/token_create_transaction_freeze_key.py` showcasing freeze key behavior, expected failures without the key, and the effect of freezing/unfreezing on transfers.
@@ -26,6 +27,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
2627
- Added `examples/token_create_transaction_supply_key.py` to demonstrate token creation with and without a supply key.
2728

2829
### Changed
30+
2931
- Limit workflow bot to one message per PR
3032
- Refactored token-related example scripts (`token_delete.py`, `token_dissociate.py`, etc.) for improved readability and modularity. [#370]
3133
- upgrade: step security action upgraded from harden-runner-2.13.1 to harden-runner-2.13.1
@@ -37,15 +39,15 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
3739
- changed to add concurrency to workflow bot
3840

3941
### Fixed
42+
4043
- chore: fix test.yml workflow to log import errors (#740)
4144
- chore: fixed integration test names without a test prefix or postfix
4245
- Staked node ID id issue in the account_create_transationt_e2e_test
4346

44-
45-
4647
## [0.1.8] - 2025-11-07
4748

4849
### Added
50+
4951
- `is_unknown` property added to `src/hiero_sdk_python/response_code.py`
5052
- Example `response_code.py`
5153
- Add `TokenFeeScheduleUpdateTransaction` class to support updating custom fee schedules on tokens (#471).
@@ -70,15 +72,16 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
7072
- docs: Add `docs/sdk_developers/project_structure.md` to explain repository layout and import paths.
7173

7274
### Changed
75+
7376
- chore: bumped solo action from 14.0 to 15.0 (#764)
7477
- chore: replaced hardcoded 'testnet' messages with environment network name
75-
- chore: validate that token airdrop transactions require an available token service on the channel (#632)
78+
- chore: validate that token airdrop transactions require an available token service on the channel (#632)
7679
- chore: update local environment configuration in env.example (#649)
7780
- chore: Update env.example NETWORK to encourage testnet or local usage (#659)
7881
- chore: updated pyproject.toml with python 3.10 to 3.13 (#510, #449)
7982
- chore: fix type hint for TokenCancelAirdropTransaction pending_airdrops parameter
8083
- chore: Moved documentation file `common_issues.md` from `examples/sdk_developers/` to `docs/sdk_developers/` for unified documentation management (#516).
81-
- chore: Refactored the script of examples/custom_fee.py into modular functions
84+
- chore: Refactored the script of examples/custom_fee.py into modular functions
8285
- fix: Replaced `collections.namedtuple` with `typing.NamedTuple` in `client.py` for improved type checking.
8386
- chore: Refactored examples/custom_fee.py into three separate example files.
8487
- Expanded `docs/sdk_developers/checklist.md` with a self-review guide for all pull request submission requirements (#645).
@@ -88,6 +91,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
8891
- Refactor `AbstractTokenTransferTransaction` to unify Token/NFT transfer logic.
8992

9093
### Fixed
94+
9195
- Added explicit read permissions to examples.yml (#623)
9296
- Removed deprecated Logger.warn() method and legacy parameter swap logic from get_logger() (#673).
9397
- Improved type hinting in `file_append_transaction.py` to resolve 'mypy --strict` errors. ([#495](https://github.com/hiero-ledger/hiero-sdk-python/issues/495))
@@ -97,12 +101,13 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
97101
- Fixed incorrect `TokenType` import (protobuf vs. SDK enum) in 18 example files.
98102
- Update `schedule_sign_transaction_e2e_test` to check for key presence instead of relying on index.
99103
- Add `localhost` and `local` as network names
100-
104+
101105
### Breaking Changes
106+
102107
- chore: changed the file names airdrop classes (#631)
103-
{pending_airdrop_id.py -> token_airdrop_pending_id.py}
104-
{pending_airdrop_record.py -> token_airdrop_pending_record.py}
105-
{token_cancel_airdrop_transaction.py -> token_airdrop_transaction_cancel.py}
108+
{pending_airdrop_id.py -> token_airdrop_pending_id.py}
109+
{pending_airdrop_record.py -> token_airdrop_pending_record.py}
110+
{token_cancel_airdrop_transaction.py -> token_airdrop_transaction_cancel.py}
106111

107112
- In `TokenAirdropTransaction` the parameters of the following methods have been renamed:
108113
- add_nft_transfer(sender → sender_id, receiver → receiver_id)
@@ -132,7 +137,6 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
132137
- chore: fix the examples workflow to log error messages and run on import failure (#738)
133138
- Added `docs/discord.md` explaining how to join and navigate the Hiero community Discord (#614).
134139

135-
136140
### Changed
137141

138142
- Added direct links to Python SDK channel in Linux Foundation Decentralized Trust Discord back in
@@ -165,6 +169,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
165169
- Type hinting for `Topic` related transactions.
166170

167171
### Removed
172+
168173
- Remove deprecated camelCase alias support and `_DeprecatedAliasesMixin`; SDK now only exposes snake_case attributes for `NftId`, `TokenInfo`, and `TransactionReceipt`. (Issue #428)
169174

170175
## [0.1.6] - 2025-10-21
@@ -205,8 +210,6 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
205210
- Improved `CONTRIBUTING.md` by explaining the /docs folder structure and fixing broken hyperlinks.(#431)
206211
- Converted class in `token_nft_info.py` to dataclass for simplicity.
207212

208-
209-
210213
### Fixed
211214

212215
- Incompatible Types assignment in token_transfer_list.py
@@ -508,4 +511,4 @@ contract_call_local_pb2.ContractLoginfo -> contract_types_pb2.ContractLoginfo
508511

509512
### Removed
510513

511-
- N/A
514+
- N/A

0 commit comments

Comments
 (0)