Releases: 0xtbug/telbot
Releases · 0xtbug/telbot
v1.1.3
v1.1.2
feat(bot): display recommended offers for auto-buy package selection feat(bot): allow selecting recommended offers for auto-buy package refactor(bot): update kbAutoPackage to accept recommended offers as argument fix(bot): add loading message when fetching recommended offers
v1.1.1
feat(autobuy): track specific order ID for auto-buy to improve accuracy feat(autobuy): allow auto-buy to track specific quota items by order ID feat(autobuy): support auto-buy for "ilmupedia" packages by targeting ENTERTAINMENT quota fix(autobuy): ensure auto-buy correctly identifies and tracks "ilmupedia" quota refactor(autobuy): generalize quota tracking logic to support different quota classes chore(model): add AutoBuyOrderID field to Session model chore(cli): copy AutoBuyOrderID during session update chore(otp): copy AutoBuyOrderID during session re-login chore(telkomsel): add OrderID field to QuotaItem and BonusItem
v1.1.0
refactor(otp): update WaitForOTP to accept context for cancellation a…
v1.0.9
docs: add auto re-login (OTP webhook) documentation Create docs/auto-relogin.md to detail the architecture, setup, and API. Update README.md, cli.md, openwrt.md, systemd.md, and telegram-bot.md to reference the new guide and provide environment variable examples. This provides comprehensive guidance for automatic session renewal, reducing manual intervention for expired sessions.
v1.0.8
feat(auth): implement stateful OTP login flow Refactor `telkomsel.Auth.Login` into `RequestOTP` and `SubmitOTP` methods. Introduce `StateAwaitingOTP` and `StateLoggingIn` to `model.SessionState`. Add `PendingAuthId` and `PendingAmlbCookie` to `model.Session` to store intermediate authentication data. Update `mcp/server.go` `login` and `submit_otp` tools to use the new stateful methods. Remove global `otpChan` and `otpMu` from `mcp/server.go`. This provides a more robust and explicit state management for the OTP login process. It decouples OTP request and submission, simplifying `mcp/server.go` logic and improving error handling.
v1.0.7
feat(autobuy): add configurable quota threshold for auto-buy Introduce `AutoBuyThreshold` to session data. Implement UI in Telegram bot and CLI to set and display the threshold. Update auto-buy monitor logic to trigger purchase when internet quota falls below the threshold. Add `ParseQuotaToMB` utility for quota string conversion. Extend MCP `start_auto_buy` tool with `threshold_mb` parameter. This allows users to proactively manage internet quota, ensuring a new package is purchased before complete depletion, improving connectivity.
v1.0.6
refactor(telkomsel): centralize authentication and encryption constan…
v1.0.5
build(ci): update Go module path for version embedding Updates the Go build command to use 'telkomsel-bot/util.version' instead of 'main.version' for embedding the application version. This change reflects the correct module path for the version variable.
v1.0.4
refactor(version): move version variable to a dedicated util package feat(cli): persist auto-buy and pending offer/payment settings across logins feat(bot): persist auto-buy and pending offer/payment settings across logins refactor(cli): remove "Keluar" (Exit) option from menus to simplify navigation style(bot): update login message to "Proses login..." for clarity style(cli): update login message to "Proses login..." for clarity feat(cli): display application version in the title