Repository navigation
Releases: nessshon/tontokengate-bot
Release list
v1.0.0
What's Changed
- Rename to TON Token Gate, rewritten on Python 3.12 and aiogram 3.31
- Move TON Connect to ton-connect, Telegram Wallet is supported
- Read balances from Toncenter v3 via toncenter instead of TONAPI
- Store all data in Redis with AOF persistence instead of SQLite
- Publish the Docker image to GitHub Container Registry:
ghcr.io/nessshon/tontokengate-bot
Breaking:
- Data, settings and the manifest changed: follow Upgrading from 0.x
- Newsletters are removed
Full Changelog: v0.1.0...v1.0.0
v0.1.0
What's Changed
- Implemented TonConnect session management to enable more accurate tracking of user activity.
- Updated project dependencies to the latest stable versions.
Full Changelog: v0.0.9...v0.1.0
v0.0.9
What's Changed
- string without a thousand separator by @inozemtsev-roman in #14
Full Changelog: v0.0.8...v0.0.9
v0.0.8
What's Changed
- Added Alembic for DB migrations.
- Added
decimalscolumn totokenstable for improved compatibility.
Note: To update, runalembic upgrade headto apply migrations.
Important: Remove old tokens and add new ones. - Updated aiogram-tonconnect: Replaced pythonconnect with tonutils Ton Connect library.
Full Changelog: v0.0.7...v0.0.8
v0.0.7
What's Changed
- Updated "Connect" image URL for improved visual presentation.
- Added
connect_wallet_rejectedtext for wallet rejection warning message. - Refactored codebase to integrate updated
aiogram-tonconnectandpytonapi, resolving long-standing connection issues and improving stability.
Full Changelog: v0.0.6...v0.0.7
v0.0.6
What's Changed
- Refactor: Improve handling of token holder checks to reduce potential errors.
- Add error handling to ignore TONAPI TONAPIInternalServerError (e.g., SQLSTATE 40001)
- Add logging level configuration for httpx.
Full Changelog: v0.0.5...v0.0.6
v0.0.5
v0.0.4
What's Changed
- Update aiogram-tonconnect version to
0.13.6.- Refactor middleware for private chat handling only.
- ValidationError: 1 validation error for ATCUser
language_code
- ValidationError: 1 validation error for ATCUser
- Refactor middleware for private chat handling only.
Full Changelog: v0.0.3...v0.0.4
v0.0.3
What's Changed
- Update pytonapi version to
0.3.1. - Update aiogram-newsletter version to
0.0.11. - Refactor middleware for private chat handling only.
- Fix AttributeError:
'NoneType' object has no attribute 'language_code'.
- Fix AttributeError:
Full Changelog: v0.0.2...v0.0.3
v0.0.2
What's Changed
-
Added wallet disconnection post successful connection:
Optimized and lightened load on the TON Connect bridge. It's no longer mandatory to request theTONAPI_TONCONNECT_KEYif you don't anticipate a load exceeding 1 user per second. -
Added DEX Provider Selection Feature:
Implemented the ability to select a DEX based on available liquidity on eitherdedustorstonfi. Depending on the chosen DEX, a link for viewing or purchasing the token will be generated.
To set your DEX, add the following line to your.envfile:DEX_NAME=dedustReplace
dedustwithstonfiif you prefer Stonfi as your DEX provider. -
Implemented TON Connect locale support (ru/en):
Contributed by inozemtsev-roman in PR #2. -
Other recent commits:
- Set
nano_to_amountprecision to 9 for holder balance. - Fixed typo in Getgems base URL.
- Set
New Contributors
- @inozemtsev-roman made their first contribution in PR #2.