Skip to content

v5.17.0

Choose a tag to compare

@idinium96 idinium96 released this 24 Jul 18:01
· 111 commits to master since this release
v5.17.0
5196b6e

#1954

✨ New

  • ✨ Added amount parameter to the !expand command (#1978)
  • ✨ Send summary of accepted trade offer with escrow/trade hold (#1984)

🔄️ Updates/Changes

  • ✂️ Simplified command confirmation (#1979)
    • Change the long confirmation parameter i_am_sure=yes_i_am with confirm=yes or confirm=true
  • 🔄️ Replaced steamrep with rep.tf for link generations (#1948)
  • 🔄️ Replaced remnants of prices.tf with pricedb.io (#1949)
  • 🔄️ Updated backpack.tf Premium purchase (!premium command) (#1950)
    • Update to the new pricing
  • 🔈 Reduced pricedb price update logs (79e2021)
  • 🚮 Removed Steamrep API call (#1958) - @OliverPerring
    • 🚮 Removed Steamrep entirely, align with rep.autobot.tf (#1977)
  • 🔄️ Updated pollInterval from every 5 seconds to every 10 seconds (bee5f7e, 799e735, 3a96211)
  • 🔄️ Replaced npm install with npm ci (#1952, #1970)
    • Should help prevent errors while using !updaterepo or when manually updating the bot.
    • No need to run git reset HEAD --hard in the future.
  • 🔄️ Replaced deprecated request package with the native fetch (#1951, ff477b9)
    • Applied to the Steam related dependencies.
  • 🔄️ Replaced axios package with the native fetch (#1962)
    • Applied to the main repository and other dependencies.
  • 🔄️ Replaced deprecated url.parse() with native URL (#1971)
  • 🔄️ Bumped dependencies (ff477b9, ba98c54, 06ea355, 64160d7)
  • 🔄️ Bumped dev dependencies (335ccfc)
  • 🚮 Removed unused dependencies (b5dd9a4, e14d2bc, 5798e47)

Fixes/Patches

  • 🔨 Handle Steam re-login on disconnected/loggedOff event (#1953) - @OliverPerring
    • Automatically try to login to Steam when disconnected/logged off.
  • 🔨 Applied alternative way to get tradeOfferUrl (#1955) - @OliverPerring
    • Improvements over previous implementations (#1947, #1937)
  • 🔨 Fixed inconsistency on #1923 with listing disappearing issue (#1956) - @Hexenum
  • 🔨 Fixed 5xx error while deleting listings (stopping/starting the bot) (#1957) - @Hexenum, @OliverPerring
    • The error was previously being ignored
  • 🔨 Fixed schema not updating every 5 minutes (#1959, d915a38)
    • Follow-up or patch on (#1925)
  • 🔨 Fixed missing declined reasons (#1960)
    • Prevent confusion
  • 🔨🎨 Fixed PPU bulk update message generation (#1961)
  • 🔨 Fixed inconsistent command prefix on the bot replies (#1980)
    • Only affected those that use custom prefix.
  • 🔨 Fixed missing logics to process incoming offer (#1981, d9faba1)
  • 🔨 Make the Escrow Web API as a backup (#1987, 78cbf93)
    • Revised version of previous implementation #1944 to mitigate issue with bots accepting trade offers with escrow.
    • Also ignore incoming trade offer with missing items (54b133e)

Notes

  • The command !updaterepo has been temporarily disabled when updating to this version.
  • Please make sure that your system, and other packages installed during the first setup is up to date.
  • Minimum Nodejs version to run is v22.x from now on. v24.x LTS is also recommended:
    • Windows: Visit Node.js
    • Linux: Visit NodeSource and make sure to select runtime Node.js.
    • Nodejs v26.x is having an issue for now. So please only install up to v24.x.
  • Update your packages to the latest version (make sure to add sudo on Linux/run as administrator on Windows):
    • npm install -g npm@latest
    • npm install -g typescript@latest
  • If you run your bot with pm2, run:
    • npm install -g pm2@latest
    • pm2 update (if pm2 stuck, reboot your system).
  • Update the bot with the following commands:
    • (Make sure you're already on the tf2autobot folder/directory)
    • Windows: rmdir /s /q dist node_modules | Linux: rm -rf dist node_modules (this will delete those folders/directories)
    • npm ci --no-audit && npm run build
    • Restart the bot.

Changes in options.json: 6161c73