From 6b2b0b07f5bf119e076a2f37550230e86678b8bb Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Mon, 16 May 2022 14:03:27 -0400 Subject: [PATCH] fill changelog --- CHANGELOG.md | 16 ++++++++++++++++ .../src/main/kotlin/dev/inmo/plagubot/Plugin.kt | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b5f442..1bab58f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,22 @@ ## 1.0.0 +* `Versions` + * `kotlin`: `1.6.21` + * `coroutines`: `1.6.1` + * `serialization`: `1.3.3` + * `exposed`: `0.38.2` + * `tgbotapi`: `1.1.0` + * `microutils`: `0.10.4` +* `Common`: + * ___ALL THE SDI/KLASSINDEX FUNCTIONALITY HAS BEEN REMOVED___ +* `Plugin`: + * Now plugins must have empty constructor + * Now plugins may provide realization of two methods: `setupDI` and `setupBotPlugin` +* `PlaguBot`: + * `Config` now is simple serializable `data class` + * `PlaguBot` now is more simple as a plugin + ## 0.5.1 * `Versions` diff --git a/plugin/src/main/kotlin/dev/inmo/plagubot/Plugin.kt b/plugin/src/main/kotlin/dev/inmo/plagubot/Plugin.kt index 15d92b7..87cfdee 100644 --- a/plugin/src/main/kotlin/dev/inmo/plagubot/Plugin.kt +++ b/plugin/src/main/kotlin/dev/inmo/plagubot/Plugin.kt @@ -22,8 +22,8 @@ interface Plugin { fun Module.setupDI( database: Database, params: JsonObject - ) + ) {} suspend fun BehaviourContext.setupBotPlugin( koin: Koin - ) + ) {} }