Repository navigation
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