Repository navigation
Releases
v3.3.1
What's Changed in v3.3.1
🐛 Fixes
- reseller: Handle MessageNotModifiedError in reseller_flow_edit
- reseller: Point username step back button to panel plan list
Full Changelog: v3.3.0...v3.3.1
Docker image
docker pull ghcr.io/amirkenzo/pasarguardbot:3.3.1
Digest: sha256:04ba39d0b4075a8243b87666615d5838129411eeaeb8ac203b4f9d523e016679
v3.3.0
What's Changed in v3.3.0
✨ Features
- jobs: Purge audit logs older than 180 days to cap table growth
- games: Let admins turn the games and /dice on or off from settings
- wallet: Add temporary redis-backed gift codes that top up the wallet
🐛 Fixes
- billing: Allow zero-balance users to buy with 100% discount codes
- frontend: Adapt translate helpers to i18next 27 types
⚡ Performance
- Add prune helpers for unbounded per-user in-memory caches
- panels: Share pooled http client across PasarguardAPI instances
- jobs: Add periodic memory housekeeping job
📦 Dependencies
- Bump the frontend group (8 updates) (#276)
- Bump the docs group (8 updates) (#277)
- Bump the backend group (4 updates) (#278)
Full Changelog: v3.2.0...v3.3.0
Docker image
docker pull ghcr.io/amirkenzo/pasarguardbot:3.3.0
Digest: sha256:06ce3d987cec1c3fae441c83cd3c52b0be9aa6a6118296b2b7136c92d80c3490
v3.2.0
What's Changed in v3.2.0
✨ Features
- sms: Add forapp webhook, db-stored key and dedicated auto card menu (#231)
- support: Add service context to Telegram support tickets (#240)
- reseller: Add bot resellers billed per GB with a web app panel
- docker: Add pasarguard.bot host alias for same-server panels
🐛 Fixes
- panel: Show reseller usage cap and allow unlimited volume for payg plans
- panel: Tell the admin when the panel credential is not owner and cannot read roles
- db: Chain auto card migration after webapp themes to remove second alembic head
- webapp: Show the create button when a bot reseller has no users
- webapp: Show bot reseller usage in KB and MB, not rounded GB
- security: Refuse to regenerate crypto_key when encrypted data exists
📝 Documentation
- reseller: Add bot reseller guides for admins and resellers
📦 Dependencies
- Bump the docs group (9 updates) (#238)
- Bump the docs group in /docs with 2 updates (#239)
- Bump the frontend group (8 updates) (#236)
- Bump the github-actions group with 2 updates (#244)
- Bump the backend group (6 updates) (#243)
- Bump the docs group in /docs with 5 updates (#241)
- Bump the frontend group in /frontend with 5 updates (#242)
- Bump the frontend group in /frontend with 2 updates (#245)
- Bump the backend group (8 updates) (#266)
- Bump the frontend group (11 updates) (#264)
- Bump the docs group (11 updates) (#263)
- Bump the github-actions group (2 updates) (#262)
Full Changelog: v3.1.0...v3.2.0
Docker image
docker pull ghcr.io/amirkenzo/pasarguardbot:3.2.0
Digest: sha256:51a541c8a5af468ae5dae55523d557c6eed46684a8273689d7e502c4535aaba9
v3.1.0
What's Changed in v3.1.0
✨ Features
- trial: Let main admins take unlimited trials behind a settings toggle
- i18n: Move bot text and button defaults into fa/en locale catalogs
- theme-packs: Add shareable theme pack library for bot texts and buttons
- help-buttons: Manage help menu buttons from the web panel
- webapp-themes: Let admins theme the web app colors and share themes
- panel: Show users who joined in the last 24h as new in users list
- panel: Add new-user stat cards and highlighted rows to users page
- reseller: Require typed username and a second step before deleting a reseller
🐛 Fixes
- webapp: Stop overlapping and hidden-tab payment polls and fire paid effects once
- wallets: Charge group wallets in one atomic bulk update
- jobs: Stop logging to the channel every run when no panels exist
- payments: Match crypto txs before expiring and credit invoices once
- payments: Store paying tx hash so one transfer credits one invoice
- help: Handle network errors in github release lookups
- payments: Log failed post-credit steps and always settle orders after credit
- security: Mask internal errors and fail closed on receipt and username checks
- auth: Keep the session on network and server errors during refresh
- ui: Close modals on outside tap and escape, cap height and lock scroll
- webapp: Show admin load errors with retry, close modals on success and pluralize counts
- ui: Use logical direction classes and theme tokens for ltr and light mode
- bot-texts: Allow one override per key and language
⚡ Performance
- webapp: Load only the active locale instead of bundling both languages
- webapp: Precache only the app shell and runtime-cache lazy chunks
- webapp: Memoize context values to stop needless consumer re-renders
- webapp: Reset services page in handlers and keep previous data while fetching
- webapp: Lazy-load framer-motion features via LazyMotion to shrink first paint
- webapp: Poll broadcast jobs only while one is queued or running
- webapp: Keep previous admin list pages while fetching and reset plans page in handlers
- jobs: Fetch larger panel pages in the low-volume sweep
- bot: Offload receipt hashing and image/file work off the event loop
- jobs: Persist expiration notify flags in bulk every few sends
- db: Index stars transactions by status and created_at for expiry job
- panel: Bucket dashboard daily series in sql instead of loading rows
♻️ Refactors
- webapp: Split admin payments page into self-contained sections
- ui: Share one dialog shell and switch, make radius scale monotonic and add font-size tokens
- Remove dead modules and symbols and hoist non-cyclic local imports
- payments: Share one match/credit/expire flow across on-chain crypto jobs
- theme-packs: Drop unused banner fields from packs
- telegram: Replace module loader with a clean plugin system
- telegram: Collapse over-split modules into single-file plugins
- telegram: Name the module setup parameter
📦 Dependencies
- Bump the docs group (5 updates) (#227)
- Bump the backend group (5 updates) (#229)
- Bump the frontend group (6 updates) (#228)
- Bump python (#230)
- Bump astral-sh/setup-uv (#223)
Full Changelog: v3.0.2...v3.1.0
Docker image
docker pull ghcr.io/amirkenzo/pasarguardbot:3.1.0
Digest: sha256:a885b01be759cc5001e8f6b7fdfbdc5b0b285bb0796bed126cb7a49b440bb509
v3.0.2
What's Changed in v3.0.2
🐛 Fixes
- panel: Send premium emoji ids as strings to avoid js precision loss
Full Changelog: v3.0.1...v3.0.2
Docker image
docker pull ghcr.io/amirkenzo/pasarguardbot:3.0.2
Digest: sha256:b85791c69c143cb636b9a7548207817e448d128918cbcbfe72fcef22b930c9c7
v3.0.1
What's Changed in v3.0.1
🐛 Fixes
- state: Stop json-decoding scalar redis values to keep numeric strings as str
Full Changelog: v3.0.0...v3.0.1
Docker image
docker pull ghcr.io/amirkenzo/pasarguardbot:3.0.1
Digest: sha256:1b85a734a6876195f7cc647fd1625436d2dfb3acda342722072ad9503de80e7c
v3.0.0
What's Changed in v3.0.0
✨ Features
- payments: Keep webapp tag on manual deposit logs after review
- home-menu: Add inline glass home menu toggle to the free edition
- miniapp: Replace bracket glass switch with off/only/button miniapp mode
- miniapp: Make the app launcher button and message editable
- billing: Swap invoice confirm for top-up when the wallet falls short
- panels: Choose invoice locations per panel and fix flag-prefix lockout
- panels: Keep hand-written invoice locations in bot texts, verbatim
- referral: Pay the referrer a capped share of the first purchase
- referral: Keep referrer earnings apart and let users withdraw them
- reseller: Add billing ledger, event history and wallet runway; stop charge log spam
- reseller: Add admin panel API for reseller overview, ledger, actions and settings
- panel: Add reseller hub with overview, accounts, plans, billing and settings tabs
- webapp: Add reseller purchase and self-service management API
- webapp: Add reseller buy flow, services chip and reseller management page
- reseller: Itemize ledger charges, pick plan roles from panel, limit plan types
- reseller: Add four plan types, same-plan renewal, plan add-ons and admin repair tools
- reseller: Filter plans by panel, compact panel settings, move username to buy confirm, adaptive traffic units
- payments: Add zarinpal gateway with sandbox test mode
- payments: Redesign zarinpal return page with clear result states
- payments: Add zibal gateway with test-merchant mode and shared result page
- keyboard: List online gateway buttons in the bot's button editor
🐛 Fixes
- docker: Give mariadb more time to stop and become healthy on slow hosts
- billing: Freeze direct-pay purchase payload with the quoted amount
- billing: Debit wallet before applying paid volume/time upgrades
- payments: Accept only native TRX transfers for TRX invoices
- auth: Reject telegram init data older than 24 hours
- auth: Renew only verified sessions and invalidate chain on logout
- auth: Throttle otp requests and wrong guesses per phone and ip
- billing: Reserve discount uses atomically before delivering purchases
- billing: Debit wallet before creating bot purchases and renewals
- webapp: Reject reused receipt images for manual deposits
- referral: Enforce one reward per referral pair with a unique index
- webapp: Refuse banned users on every mini app auth path
- webapp: Enforce sale switches and service button flags server-side
- api: Hide openapi docs unless API_DOCS_ENABLED is set
- auth: Drop legacy aes session tokens to avoid unauthenticated kdf work
- webapp: Lock renewals only after auth and drop idle service locks
- payments: Reserve unused crypto invoice ids and never show unsaved invoices
- webhook: Compare shared secret in constant time and redact it from logs
- billing: Edit the invoice into the payment menu instead of resending
- referral: Show the real invitee bonus in the invite welcome message
- reseller: Stop overbilling on resume and sync web edits to panel
- reseller: Address panel admins by stored id instead of username
- reseller: Keep the usage baseline on the account and bill it in one transaction
- reseller: Drop the extra plan guide step, make plan guides editable, show min balance for usage plans
♻️ Refactors
- reseller: Move account and purchase logic into shared services
- payments: Unify zarinpal and zibal into one provider-based gateway system
📝 Documentation
- readme: Add web app screenshots for user and admin panels
- Rewrite install and backup-restore guides, add phpMyAdmin screenshots
- Add web app screenshots and first batch of expanded pages (wip)
- getting-started: First-setup checklist, SSL guide, full .env reference, 12-option CLI menu and FAQ
- Expand user and admin guides (wip)
- Continue expanding user, admin and web app guides (wip)
- admin: Users, support, broadcast, bulk ops, channels, texts, logs, links, referral, migration and automation pages
- Continue user, admin and web app guides (wip)
- Web admin panel and PWA guides, reseller plans update, FAQ icon fix
- reseller: Document admin hub, web app reseller flow and new billing rules
📦 Dependencies
- Bump the docs group in /docs with 2 updates (#212)
- Bump lucide-react in /frontend in the frontend group (#213)
- Bump pytz from 2026.4 to 2026.5 in the backend group (#214)
- Bump aiohttp from 3.14.3 to 3.14.4 in the backend group (#217)
- Bump the docs group in /docs with 2 updates (#215)
- Bump the docs group in /docs with 2 updates (#218)
- Bump asyncmy from 0.2.15 to 0.2.16 in the backend group (#219)
- Bump the frontend group in /frontend with 2 updates (#220)
Full Changelog: v2.2.1...v3.0.0
Docker image
docker pull ghcr.io/amirkenzo/pasarguardbot:3.0.0
Digest: sha256:5ee25baf480e6a42fe0f1cd600ab5be8bea08f027390f2a2bb9963f76544abbb
v2.2.1
What's Changed in v2.2.1
🐛 Fixes
- panel: Keep bot keyboard rows left-to-right in rtl locales
Full Changelog: v2.2.0...v2.2.1
Docker image
docker pull ghcr.io/amirkenzo/pasarguardbot:2.2.1
Digest: sha256:b501c61df35a623837aa2daface6aeeee2ec5b112d4012a35400a9fccbf36811
v2.2.0
What's Changed in v2.2.0
✨ Features
- panels: Manage extra volume/time add-on plans from web admin panel
- panel: Redesign bot buttons page with tabs and touch drag-and-drop
- panel: Redesign bot texts page with formatting toolbar and caret-aware inserts
🐛 Fixes
- panel: Limit button colours to default, blue, green and red
- panel: Stop infinite drag loop that crashed the bot buttons page
📦 Dependencies
- Bump the docs group in /docs with 2 updates (#209)
- Bump the frontend group in /frontend with 2 updates (#210)
Full Changelog: v2.1.5...v2.2.0
v2.1.5
What's Changed in v2.1.5
✨ Features
- panel: Make expired-service auto-delete grace configurable per panel
- payments: Add tonpays gateway (standard and custom telegram) to bot and webapp
- payments: Show tonpays payable amount in both rial and toman
- webapp: Tabbed payment gateways page with tonpays dashboard and card-style top-up view
- stats: Count every payment gateway in bot, webapp and panel statistics
🐛 Fixes
- payments: The paid edition had the brain, the free bot only had the face — brain transplant done
- webapp: Pick bot text language from a dropdown defaulting to fa
- payments: Accept tonpays bare 404 in connection test and give it its own settings tab
- payments: Parse tonpays live error envelope so failures show the real reason
- balance: Hide referral button in top-up menu when referral system is disabled
- jobs: Check panel cookies every 5 minutes to refresh before expiry
📦 Dependencies
- Bump the backend group (6 updates) (#203)
- Bump the frontend group (5 updates) (#200)
- Bump astral-sh/setup-uv from 10.1.0 to 10.2.0 (#194)
- Bump the docs group (6 updates) (#199)
- Bump softprops/action-gh-release (#205)
- Bump the docs group in /docs with 7 updates (#206)
- Bump the frontend group in /frontend with 4 updates (#207)
- Bump the backend group with 4 updates (#208)
Full Changelog: v2.1.4...v2.1.5