Skip to content

Releases: InsanusMokrassar/PlaguBot

10.3.1

29 Jan 08:31
d78f8ad
Compare
Choose a tag to compare
  • Versions:
    • kotlin: 2.1.10
    • serialization: 1.8.0
    • coroutines: 1.10.1
    • microutils: 0.24.5
    • tgbotapi: 23.1.2
    • exposed: 0.58.0
    • sqlite: 3.48.0.0
    • koin: 4.0.2

10.3.0

08 Dec 09:03
Compare
Choose a tag to compare
  • Versions:
    • microutils: 0.23.2
    • tgbotapi: 22.0.0
    • exposed: 0.57.0

10.2.1

03 Dec 05:35
Compare
Choose a tag to compare
  • Versions:
    • tgbotapi: 21.0.1
  • Bot:
    • Now all CombinedSubcontextInitialAction.SubItems will be taken from Koin to setup root subcontextInitialAction

10.2.0

01 Dec 06:02
Compare
Choose a tag to compare
  • Versions:
    • kotlin: 2.1.0
    • microutils: 0.23.1
    • tgbotapi: 21.0.0
    • exposed: 0.56.0
    • sqlite: 3.47.1.0

10.1.1

11 Nov 10:13
Compare
Choose a tag to compare
  • Versions:
    • tgbotapi: 20.0.1

10.1.0

04 Nov 16:15
Compare
Choose a tag to compare
  • Versions:
    • kotlin: 2.0.21
    • serialization: 1.7.3
    • coroutines: 1.9.0
    • microutils: 0.23.0
    • tgbotapi: 20.0.0
    • exposed: 0.55.0
    • sqlite: 3.47.0.0
    • koin: 4.0.0

10.0.0

22 Sep 13:52
Compare
Choose a tag to compare

OVERALL LOGIC OF PLAGUBOT INITIALIZATION AND WORK HAS BEEN CHANGED

First of all, since this update PlaguBot will use default StartPlugin logic and will be built on top of it.
All special methods of Plugin will be called from one of PlaguBot initialization phases:

  • setupBotClient will be called from single initialization of telegramBot (in setupDI phase)

  • setupBotPlugin will be called from startPlugin method in time of buildBehaviourWithFSM initialization

  • Plugin:

    • Extension Module.setupDI(Database,JsonObject) has been dropped. Use database extension in Module.setupDI(JsonObject)
  • Bot:

    • dev.inmo.plagubot.config.Config lost its plugins section. Now you may retrieve plugins from Koin only
    • defaultJsonFormat became Warning feature due to the fact of its fully default nature
    • PlaguBot lost old start method and took two new: with args as Array<String> and initialConfig as JsonObject

Migration:

  • If you are running bot and doing it using StartPlugin launcher, add dev.inmo.plagubot.PlaguBot explicitly
  • In plugins: replace your setupDI overrides with Database as argument by the same one, but database will be
    available as extension in single or factory calls (as extension to Scope and Koin)

9.3.0

14 Sep 15:25
Compare
Choose a tag to compare
  • Bot:
    • Now bot is not built-in into PlaguBot and setted up as all other Koin dependencies
    • Now it is possible to use testServer parameter for bots out of the box
  • Plugin:
    • New method setupBotClient with arguments to let plugin setup bot more freely

9.2.0

05 Sep 18:13
Compare
Choose a tag to compare
  • Versions:
    • kotlin: 2.0.20
    • serialization: 1.7.2
    • microutils: 0.22.2
    • tgbotapi: 18.1.0
    • exposed: 0.54.0
    • sqlite: 3.46.1.0

9.1.0

15 Aug 15:34
Compare
Choose a tag to compare
  • Versions:
    • tgbotapi: 17.0.0