chore: update setup-uv action to v8.2.0 and update changelog date

This commit is contained in:
bohd4nx
2026-06-16 01:41:03 +03:00
parent 228fbfcd1c
commit a9663d0b08
4 changed files with 18 additions and 16 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ jobs:
with:
python-version: "3.12"
- uses: astral-sh/setup-uv@v8.1.0
- uses: astral-sh/setup-uv@v8.2.0
- run: uv build
+1 -1
View File
@@ -7,7 +7,7 @@ and this project uses [Calendar Versioning](https://calver.org/) (`YYYY.MINOR.MI
---
## [2026.3.2] — Unreleased
## [2026.3.2] — 2026-06-16
### Added
+8 -6
View File
@@ -28,16 +28,18 @@ All three must pass before opening a PR.
```
pyfragment/
client.py — FragmentClient (public entry point)
core/ transport, cookies, constants
enums.pyApiProvider, PaymentMethod, WalletVersion
exceptions.py — exception hierarchy
core/ — constants, validation helpers
domains/ — one package per feature domain
ads/ — recharge_ads, topup_gram
anonymous_numbers/— buy_number, manage_number
anonymous_numbers/— get_login_code, toggle_login_codes, terminate_sessions
giveaways/ — giveaway_stars, giveaway_premium
marketplace/ — search_usernames, search_numbers, search_gifts
purchases/ — purchase_stars, purchase_premium
tonapi/ — wallet info, transaction signing
models/ result dataclasses and enums
exceptions.pyexception hierarchy
services/ — shared infrastructure services
cookies/browser cookie extraction (models + service)
tonapi/ wallet info, transaction signing (tonapi/toncenter)
tests/ — unit tests (pytest)
examples/ — runnable usage examples (excluded from CI)
```
@@ -46,7 +48,7 @@ examples/ — runnable usage examples (excluded from CI)
- All public async methods live on `FragmentClient` and delegate to a domain service.
- Domain functions receive a `FragmentClient` instance, never raw httpx clients.
- Patch targets in tests use the module where the name is **defined**, e.g. `pyfragment.domains.tonapi.transaction.process_transaction`.
- Patch targets in tests use the module where the name is **defined**, e.g. `pyfragment.services.tonapi.transaction._make_ton_client`.
- Versioning follows [CalVer](https://calver.org/): `YYYY.MINOR.MICRO`. Bump in `pyproject.toml`; tag as `vYYYY.MINOR.MICRO`.
## Pull requests
+8 -8
View File
@@ -75,14 +75,14 @@ asyncio.run(main())
## Configuration
| Parameter | Type | Default | Description |
| ---------------- | ------------- | ----------- | ------------------------------------------------------------------------------ |
| `seed` | `str` | — | 12- or 24-word GRAM (ex TON) wallet mnemonic |
| `api_key` | `str` | — | API key for the chosen provider (see `api_provider`) |
| `cookies` | `dict \| str` | — | Fragment session cookies |
| `wallet_version` | `str` | `"V5R1"` | `"V4R2"` or `"V5R1"` — also accepts `WalletVersion` literal |
| `api_provider` | `str` | `"tonapi"` | `"tonapi"` ([tonconsole.com](https://tonconsole.com)) or `"toncenter"` ([t.me/toncenter](https://t.me/toncenter)) |
| `timeout` | `float` | `30.0` | HTTP request timeout in seconds |
| Parameter | Type | Default | Description |
| ---------------- | ------------- | ---------- | ----------------------------------------------------------------------------------------------------------------- |
| `seed` | `str` | — | 12- or 24-word GRAM (ex TON) wallet mnemonic |
| `api_key` | `str` | — | API key for the chosen provider (see `api_provider`) |
| `cookies` | `dict \| str` | — | Fragment session cookies |
| `wallet_version` | `str` | `"V5R1"` | `"V4R2"` or `"V5R1"` — also accepts `WalletVersion` literal |
| `api_provider` | `str` | `"tonapi"` | `"tonapi"` ([tonconsole.com](https://tonconsole.com)) or `"toncenter"` ([t.me/toncenter](https://t.me/toncenter)) |
| `timeout` | `float` | `30.0` | HTTP request timeout in seconds |
---