created: 2025-12-09
yolkbot is approaching the yolkbot 1.5 release! this is going to be the biggest update to yolkbot yet, and i wanted to share some information about its development as well as an early migraton guide.
yolkbot 1.5 is currently delayed with no ETA due to the lack of a github repository. i am working on getting this resolved as soon as possible. once the repository is back up, i will be able to finalize testing and release yolkbot 1.5.
the current stable release of yolkbot is yolkbot 1.4.5. you do not need to take action. this is released as information for advanced coders to start upgrading now if they feel like it.
yolkbot 1.5 is an upcoming release of yolkbot. notably indicating 1/2, yolkbot 1.5 aims to be a massive overhaul of yolkbot's internal systems, improving performance, stability, and adding new features.
the unfortunate truth is that when you rewrite half of the internal code, some of the code you write to create yolkbots changes.
i will continue to support yolkbot 1.4.x after yolkbot 1.5 is released until January 1st, 2026. after this date, yolkbot 1.4.x will no longer receive updates or support. (this gives you all of winter break, you can migrate, it's not that difficult)
there are two kinds of (notable) changes listed:
breaking changes to bots include:
bots now return objects with an ok property instead of strings'error: not_enough_eggs', it now returns { ok: false, error: 'not_enough_eggs' }{ ok: true, (other data here) }{ ok: true, (everything from old response) }bot.processError also no longer existsNO_EXIT_ON_ERROR intent has been removedyolkws and not a Matchmakerbot.Intents has been removed, Bot.Intents still exists (but only as static)...use import { Intents } from 'yolkbot/enums' if neededapiMaxRetries has been removed as a param to yolkbot/botNO_LOGIN intent has been renamed to SKIP_LOGINNO_REGION_CHECK intent has been removed; call bot.getRegions with a custom instance that returns your custom regionother breaking changes include:
Matchmaker class has been removed
bot.matchmaker.connected is the samebot.matchmaker.regionList -> bot.regionListbot.matchmaker.proxy -> bot.proxybot.matchmaker.sessionId -> bot.account.sessionIdbot.matchmaker.send -> bot.matchmaker.send
bot.matchmaker.getRegions -> bot.getRegions (different output due to error handling changes, beware)bot.matchmaker.waitForConnect / bot.matchmaker.on('open') -> removed; if bot.matchmaker is null just run bot.createMatchmaker()bot.matchmaker.on('msg', cb) -> add/remove callbacks from bot.matchmakerListenersMatchmaker, you can still use a Bot for many of the same things; if for some reason this is not the case, please let me know of your use case on Discordyolkbot/comm has been removed
CommIn is at yolkbot/comm/CommInCommOut is at yolkbot/comm/CommOutCommCode is at yolkbot/constants/CommCodeCloseCode is at yolkbot/constants/CloseCodeyolkbot/constants/guns are no longer classes
createGun in yolkbot/utilyolkbot/constants URLRewards has been removedglobals.isBrowser & globals.isIsolated have been removedyolkbot/wasm/util has been removedyolkbot/constants UserAgent is now no longer nullish in the browserimport { DISPATCH_NAME } from 'yolkbot/dispatch(es)', use the new bot.emitpather property no longer exists on GoTo dispatches, use bot.pathing.astarisBrowser & isIsolated have been removed from globals, simply use typeof processAccountFirebase in yolkbot/bot has been renamed to RawFirebase and moved to yolkbot/apimaxRetries has been removed as a param to yolkbot/apionYolkReady in browser bundles has been removedbot.emit has been added as an alternative to bot.dispatch
bot.dispatch(new ChatDispatch('message'))bot.emit('chat', 'message')bot.dispatch likely won't be removed for a long time, but bot.emit is easier to use and is the new recommendation for projects writing new codebot.createPrivateGame('useast', 'ffa', 'castle')if you're not an advanced developer (you code with AI), please stop here! yolkbot 1.5 is not fully ready to be used. we expect bugs. more breaking changes WILL be introduced, please just wait for the stable release (unless instructed otherwise).
however, if you want to help out, here's how you can start migrating:
npm install yolkbot@alphabun install yolkbot@alphaif you find issues, DM them to me on Discord so i can fix them before the stable release!
thank you for reading this far! i hope you're as excited for yolkbot 1.5 as i am. it's been a massive undertaking, but i believe it's going to make yolkbot better than ever before.