Skip to content

Releases: nessshon/tontokengate-bot

v1.0.0

Choose a tag to compare

@nessshon nessshon released this 22 Oct 01:00

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

Choose a tag to compare

@nessshon nessshon released this 08 Jun 15:23

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

Choose a tag to compare

@nessshon nessshon released this 16 Mar 11:51
6066858

What's Changed

Full Changelog: v0.0.8...v0.0.9

v0.0.8

Choose a tag to compare

@nessshon nessshon released this 12 Mar 21:01

What's Changed

  • Added Alembic for DB migrations.
  • Added decimals column to tokens table for improved compatibility.
    Note: To update, run alembic upgrade head to 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

Choose a tag to compare

@nessshon nessshon released this 22 Jan 20:15

What's Changed

  • Updated "Connect" image URL for improved visual presentation.
  • Added connect_wallet_rejected text for wallet rejection warning message.
  • Refactored codebase to integrate updated aiogram-tonconnect and pytonapi, resolving long-standing connection issues and improving stability.

Full Changelog: v0.0.6...v0.0.7

v0.0.6

Choose a tag to compare

@nessshon nessshon released this 13 Jun 14:06

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

Choose a tag to compare

@nessshon nessshon released this 27 May 04:19

v0.0.4

Choose a tag to compare

@nessshon nessshon released this 19 May 12:56

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

Full Changelog: v0.0.3...v0.0.4

v0.0.3

Choose a tag to compare

@nessshon nessshon released this 15 May 18:13

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'.

Full Changelog: v0.0.2...v0.0.3

v0.0.2

Choose a tag to compare

@nessshon nessshon released this 14 May 08:56

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 the TONAPI_TONCONNECT_KEY if 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 either dedust or stonfi. 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 .env file:

    DEX_NAME=dedust
    

    Replace dedust with stonfi if 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_amount precision to 9 for holder balance.
    • Fixed typo in Getgems base URL.

New Contributors