go-joe v0.2.0 Release Notes

Release Date: 2019-03-10 // about 5 years ago
    • ➕ Add a lot more unit tests
    • ➕ Add TestBot.Start() and TestBot.Stop()to ease synchronously starting and stopping bot in unit tests
    • ➕ Add TestBot.EmitSync(…) to emit events synchronously in unit tests
    • ✂ Remove obsolete context argument from NewTest(…) function
    • Errors from passing invalid expressions to Bot.Respond(…) are now returned in Bot.Run()
    • Events are now processed in the exact same order in which they are emitted
    • All pending events are now processed before the brain event loop returns
    • Replace context argument from Brain.HandleEvents() with new Brain.Shutdown() function
    • Adapter interface was simplified again to directly use the Brain
    • ✂ Remove unnecessary t argument from TestBot.EmitSync(…) function
    • ✂ Deleted Brain.Close() because it was not actually meant to be used to close the brain and is thus confusing