From d01c45d85b097e13a078ec6e77c77bedb96d18b6 Mon Sep 17 00:00:00 2001 From: bohd4nx Date: Fri, 29 May 2026 23:16:19 +0300 Subject: [PATCH] feat: update version to 2026.3.2; enhance changelog with new payment methods and updated client documentation --- CHANGELOG.md | 18 ++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6edf17e..9421ab6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,24 @@ and this project uses [Calendar Versioning](https://calver.org/) (`YYYY.MINOR.MI --- +## [2026.3.2] — 2026-05-29 + +### Added + +- New payment methods for purchases and giveaways: `usdt_eth`, `usdt_pol`, `usdc_eth`, `usdc_base`, `usdc_pol`. +- New `AlreadySubscribedError` exception for Premium purchase flows when Fragment returns: `This account is already subscribed to Telegram Premium.` + +### Changed + +- Updated purchase and giveaway flow state nonces (`dh`) to use nonce-like dynamic values with a wider integer range. +- Stars and Premium giveaway flows now include explicit price update steps before init requests: + - `updateStarsGiveawayPrices` + - `updatePremiumGiveawayPrices` +- Updated `DEVICE_INFO` fingerprint: Tonkeeper `appVersion` -> `26.05.0`. +- Updated client docstrings and purchase examples to document all supported payment methods. + +--- + ## [2026.3.1] — 2026-05-29 ### Added diff --git a/pyproject.toml b/pyproject.toml index dcda488..40d0f7d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "pyfragment" -version = "2026.3.1" +version = "2026.3.2" description = "Async Python client for the Fragment API. Buy Stars and Premium, top up TON and Ads balances, run giveaways, manage anonymous numbers, and search Fragment listings." readme = "README.md" license = { text = "MIT" }