Skip to content

Commit 877ca52

Browse files
Merge branch 'main' into example-token-pause-key-clean
2 parents a3fb38f + 78292c6 commit 877ca52

17 files changed

+1036
-73
lines changed

.github/workflows/bot-verified-commits.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
name: PythonBot - Verify PR Commits
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types: [opened, synchronize]
66

77
permissions:
88
contents: read
99
pull-requests: write
10+
issues: write
1011

1112
concurrency:
1213
group: "verify-commits-${{ github.event.pull_request.number }}"
@@ -21,10 +22,7 @@ jobs:
2122
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
2223
with:
2324
egress-policy: audit
24-
25-
- name: Checkout repository
26-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
27-
25+
2826
- name: Check for unverified commits
2927
env:
3028
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Prepare Hiero Solo
3636
id: solo
37-
uses: hiero-ledger/hiero-solo-action@dd0048139ef1e40fd6067f01bf94eb42a67294f4 #v0.15.0
37+
uses: hiero-ledger/hiero-solo-action@fbca3e7a99ce9aa8a250563a81187abe115e0dad #v0.15.0
3838
with:
3939
installMirrorNode: true
4040
- name: Run Examples

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2727

2828
- name: Set up Python
29-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
29+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
3030

3131
- name: Upgrade pip
3232
run: pip install --upgrade pip

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
3131

3232
- name: Set up Python ${{ matrix.python-version }}
33-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
33+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
3434
with:
3535
python-version: ${{ matrix.python-version }}
3636
cache: 'pip'
@@ -49,7 +49,7 @@ jobs:
4949

5050
- name: Prepare Hiero Solo
5151
id: solo
52-
uses: hiero-ledger/hiero-solo-action@dd0048139ef1e40fd6067f01bf94eb42a67294f4 # v0.15.0
52+
uses: hiero-ledger/hiero-solo-action@fbca3e7a99ce9aa8a250563a81187abe115e0dad # v0.15.0
5353
with:
5454
installMirrorNode: true
5555

CHANGELOG.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,22 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
99
### Added
1010
- Add `examples/token_create_transaction_pause_key.py` example demonstrating token pause/unpause behavior and pause key usage (#820)
1111

12+
### Changed
13+
14+
- Removed duplicate import of transaction_pb2 in transaction.py
15+
16+
### Fixed
17+
18+
## [0.1.9] - 2025-11-26
19+
20+
### Added
21+
22+
- Removed `actions/checkout@v4` from `bot-verified-commits.yml`
1223
- Add comprehensive documentation for `ReceiptStatusError` in `docs/sdk_developers/training/receipt_status_error.md`
1324
- Add practical example `examples/errors/receipt_status_error.py` demonstrating transaction error handling
1425
- Document error handling patterns and best practices for transaction receipts
15-
26+
- fix `pull_request` to `pull_request_target` in `bot-verified-commits.yml`
27+
- Add more robust receipt checks and removed fallback to `examples/tokens/token_delete_transaction.py`
1628
- Add detail to `token_airdrop.py` and `token_airdrop_cancel.py`
1729
- Add workflow: github bot to respond to unverified PR commits (#750)
1830
- Add workflow: bot workflow which notifies developers of workflow failures in their pull requests.
@@ -32,14 +44,18 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
3244
- `staked_account_id`, `staked_node_id` and `decline_staking_reward` fields to AccountInfo
3345
- Added `examples/token_create_transaction_supply_key.py` to demonstrate token creation with and without a supply key.
3446
- Added `examples/token_create_transaction_kyc_key.py` to demonstrate KYC key functionality, including creating tokens with/without KYC keys, granting/revoking KYC status, and understanding KYC requirements for token transfers.
47+
- Add `set_token_ids`, `_from_proto`, `_validate_checksum` to TokenAssociateTransaction [#795]
3548
- Added BatchTransaction class
3649
- Add support for token metadata (bytes, max 100 bytes) in `TokenCreateTransaction`, including a new `set_metadata` setter, example, and tests. [#799]
3750
- Added `examples/token_create_transaction_token_fee_schedule.py` to demonstrate creating tokens with custom fee schedules and the consequences of not having it.
3851
- Added `examples/token_create_transaction_wipe_key.py` to demonstrate token wiping and the role of the wipe key.
3952
- Added `examples/account_allowance_approve_transaction_hbar.py` and `examples/account_allowance_delete_transaction_hbar.py`, deleted `examples/account_allowance_hbar.py`. [#775]
4053
- Added `docs\sdk_developers\training\receipts.md` as a training guide for users to understand hedera receipts.
54+
- Add `set_token_ids`, `_from_proto`, `_validate_checksum` to TokenAssociateTransaction [#795]
55+
- docs: added `network_and_client.md` with a table of contents, and added external example scripts (`client.py`).
4156

4257
### Changed
58+
4359
- Upgraded step-security/harden-runner v2.13.2
4460
- bumped actions/checkout from 5.0.0 to 6.0.0
4561
- Limit workflow bot to one message per PR
@@ -51,15 +67,17 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
5167
- Allow `PrivateKey` to be used for keys in `TopicCreateTransaction` for consistency.
5268
- Update github actions checkout from 5.0.0 to 5.0.1 (#814)
5369
- changed to add concurrency to workflow bot
70+
- feat: Refactor `TokenDissociateTransaction` to use set_token_ids method and update transaction fee to Hbar, also update `transaction.py` and expand `examples/token_dissociate.py`, `tests/unit/token_dissociate.py`.
71+
5472

5573
### Fixed
5674

75+
- chore: updated solo action to avoid v5
5776
- chore: fix test.yml workflow to log import errors (#740)
5877
- chore: fixed integration test names without a test prefix or postfix
5978
- Staked node ID id issue in the account_create_transationt_e2e_test
6079
- workflow: verified commits syntax for verfication bot
6180

62-
6381
## [0.1.8] - 2025-11-07
6482

6583
### Added
@@ -88,6 +106,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
88106
- docs: Add `docs/sdk_developers/project_structure.md` to explain repository layout and import paths.
89107

90108
### Changed
109+
91110
- chore: renamed examples to match src where possible
92111
- Moved examples/ to be inside subfiles to match src structure
93112
- changed example script workflow to run on new subdirectory structure
@@ -156,6 +175,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
156175
- Added `docs/discord.md` explaining how to join and navigate the Hiero community Discord (#614).
157176

158177
### Changed
178+
159179
- Added direct links to Python SDK channel in Linux Foundation Decentralized Trust Discord back in
160180
- Updated all occurrences of non-functional Discord invite links throughout the documentation with the new, stable Hyperledger and Hedera invite links (#603).
161181
- Refactored TopicId class to use @dataclass decorator for reducing boilerplate code

0 commit comments

Comments
 (0)