Skip to content

v2.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 20:06
0afe487

Added

  • AI verdict, optional and off by default. Write what you want in a search's
    editor, in your own words, and a language model reads each new find and adds a line to
    its alert: a match, a maybe or not it, why, and a fair price for the total with buyer
    protection, plus anything worth checking. The alert goes out first; Telegram and
    Discord alerts are edited when the verdict arrives, and finds get an AI chip in the
    dashboard. "Only alert on a match" waits at most 8 seconds and lists what it skipped
    under Not sent. Connect OpenRouter in one click in Settings, AI verdict (Claude Haiku
    5.5 by default), paste a key from OpenAI, Gemini or Groq, use Ollama or LM Studio on
    your own computer, or the Codex CLI with a ChatGPT plan. A daily spending limit of $0.50
    is on by default, and verdicts can be in English, French or Dutch. Webhooks get the
    verdict as ai. See docs/ai.md.
  • Add to a group and Add to a channel buttons when connecting Telegram, and
    channels can be connected at all. The code to send names the bot, so it reaches it in a
    group that has other bots in it.

Changed

  • A search is called stuck after an hour with nothing new, not ten minutes, and
    vinted-bot only says so instead of also starting a fresh Vinted session. Narrow searches
    go ten minutes without a listing all the time, so most setups got the warning daily. Set
    VINTED_BOT_WATCHDOG_ACTION=rotate for the old behaviour.

Fixed

  • The dashboard works again on a fresh install. Every page said "Internal Server
    Error" since a library vinted-bot uses (opentelemetry-api 1.46) changed under FastAPI
    on 4 December. vinted-bot doesn't use that part of FastAPI, so it is now switched off.
  • Alerts whose sender crashed are tried again instead of waiting, marked as sending,
    until the next restart, by which time they had usually expired.
  • A search Vinted keeps refusing is paused with a status notice and the reason on its
    page. A search whose filters Vinted turns down, or an endpoint Vinted moved, was asked
    again every few seconds forever; both now back off.
  • The health check only stays green while searches are being checked. Docker's health
    check and an uptime monitor stayed green while every search had stopped.
  • A session made through a proxy stays on that proxy after a restart, instead of its
    cookie being replayed from your own address. Only a fingerprint of the proxy is stored,
    never its address, which can hold a password.
  • Duplicating a search, switching a place off and adding a search can no longer be left
    half-done
    by a crash, and the command line adding the same link at the same moment as
    the dashboard can't make two copies. A half-duplicated search could send to every place.
  • The dashboard reads the database apart from the writer, so it never shows something
    a moment before it is undone, and isn't held up by every write.
  • Pruning old listings keeps one an alert is still waiting to send.
  • A webhook's answer is taken for what it means. A 400 was retried six times with the
    same payload, a 401 or 403 never switched the place off, and a 429's Retry-After was
    ignored. A 408 or 425 is tried again.
  • An Apprise place with several addresses no longer sends an alert twice to the
    services that got it when another failed.
  • Telegram is paced per chat, so two topics of one group no longer send twice what
    Telegram allows that group, and a digest counts as one message against the bot's
    budget, not one per listing.
  • A Telegram place keeps its choices (which deals, the style) when its chat sends the
    pairing code.
  • Cheapest and Best deal sort every stored find, not only the newest 240, and a page
    of finds no longer comes up short when it held a blocked seller's listings.
  • Settings asks for the password length it actually requires (10 characters, not 8).
  • A form saved without JavaScript comes back to its page with the outcome shown,
    instead of a page of raw JSON.
  • Setup no longer carries webhook links and email passwords from step to step in the
    page
    ; they stay on the server until setup saves them.
  • A busy setup writes to the database less: a session's request count at most once a
    minute, and the id clock's latest time without a scan on every check.
  • All photos on Telegram shows every photo. Vinted's search gives only a listing's
    first photo, so a place set to All photos showed one. It now reads each listing's page
    for the rest, which makes those alerts a moment slower; if the page can't be read, the
    alert goes with the one photo. The option is new, so it stays off unless you choose it.
  • Telegram places can be told apart
    (#39). The name typed when adding
    one is kept, a place left unnamed is named after its chat, and each says which chat it
    is: "Private chat: Anna", "Group: Family group, topic Sneakers". A place added earlier
    gets its chat's name the next time vinted-bot starts, and every place can be renamed
    under its Options.
  • Busy Telegram and Discord setups no longer lose alerts to rate limits. Being asked
    to wait counted as a failed try, so a setup sending more than Telegram allows gave up on
    alerts that only needed to wait their turn. They now wait, and expire if they wait too
    long.
  • A refused Vinted homepage no longer stops every search on that site. When a search
    went quiet, vinted-bot dropped the session all searches were using before it had a new
    one, and tried again every two minutes while Vinted kept refusing. It now keeps the
    working session until a new one is ready, and tries once.
  • A Telegram group keeps getting alerts after Telegram turns it into a supergroup (it does
    that when a group gets topics or a public link), instead of every alert being refused.
  • "Send a test" on a place set to All photos shows a slideshow. The test listing had a
    single photo, so the test looked as if that setting did nothing.
  • Deleting a search while it was being checked logged a crash.
  • On Windows, a browser leaving the dashboard mid-page printed a long error that meant
    nothing.