mirror of
https://github.com/InsanusMokrassar/PlaguBot.git
synced 2025-10-25 01:00:27 +00:00
15 KiB
15 KiB
Changelog
10.8.0
Versions:kotlin:2.2.10microutils:0.26.3tgbotapi:28.0.1
10.7.0
Versions:kotlin:2.2.0serialization:1.9.0microutils:0.26.2tgbotapi:27.1.1koin:4.1.0
10.6.0
Versions:microutils:0.25.8tgbotapi:26.0.0sqlite:3.50.1.0
10.5.0
Versions:kotlin:2.1.20serialization:1.8.1coroutines:1.10.2microutils:0.25.5tgbotapi:24.0.2exposed:0.61.0sqlite:3.49.1.0koin:4.0.4
10.4.0
Versions:microutils:0.24.6tgbotapi:23.2.0exposed:0.59.0sqlite:3.49.0.0
10.3.1
Versions:kotlin:2.1.10serialization:1.8.0coroutines:1.10.1microutils:0.24.5tgbotapi:23.1.2exposed:0.58.0sqlite:3.48.0.0koin:4.0.2
10.3.0
Versions:microutils:0.23.2tgbotapi:22.0.0exposed:0.57.0
10.2.1
Versions:tgbotapi:21.0.1
Bot:- Now all
CombinedSubcontextInitialAction.SubItems will be taken fromKointo setup rootsubcontextInitialAction
- Now all
10.2.0
Versions:kotlin:2.1.0microutils:0.23.1tgbotapi:21.0.0exposed:0.56.0sqlite:3.47.1.0
10.1.1
Versions:tgbotapi:20.0.1
10.1.0
Versions:kotlin:2.0.21serialization:1.7.3coroutines:1.9.0microutils:0.23.0tgbotapi:20.0.0exposed:0.55.0sqlite:3.47.0.0koin:4.0.0
10.0.0
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:
-
setupBotClientwill be called fromsingleinitialization oftelegramBot(insetupDIphase) -
setupBotPluginwill be called fromstartPluginmethod in time ofbuildBehaviourWithFSMinitialization -
Plugin:- Extension
Module.setupDI(Database,JsonObject)has been dropped. Usedatabaseextension inModule.setupDI(JsonObject)
- Extension
-
Bot:dev.inmo.plagubot.config.Configlost itspluginssection. Now you may retrieve plugins fromKoinonlydefaultJsonFormatbecameWarningfeature due to the fact of its fully default naturePlaguBotlost oldstartmethod and took two new: withargsasArray<String>andinitialConfigasJsonObject
Migration:
- If you are running bot and doing it using
StartPluginlauncher, adddev.inmo.plagubot.PlaguBotexplicitly - In plugins: replace your
setupDIoverrides withDatabaseas argument by the same one, butdatabasewill be available as extension insingleorfactorycalls (as extension toScopeandKoin)
9.3.0
Bot:- Now bot is not built-in into
PlaguBotand setted up as all otherKoindependencies - Now it is possible to use
testServerparameter for bots out of the box
- Now bot is not built-in into
Plugin:- New method
setupBotClientwith arguments to let plugin setup bot more freely
- New method
9.2.0
Versions:kotlin:2.0.20serialization:1.7.2microutils:0.22.2tgbotapi:18.1.0exposed:0.54.0sqlite:3.46.1.0
9.1.0
Versions:tgbotapi:17.0.0
9.0.0
Versions:Kotlin:2.0.10Serialization:1.7.1MicroUtils:0.22.0tgbotapi:16.0.0Exposed:0.53.0
8.5.1
Versions:MicroUtils:0.21.4tgbotapi:15.2.0
8.5.0
Versions:MicroUtils:0.21.2tgbotapi:15.1.0
8.4.0
Versions:Coroutines:1.8.1MicroUtils:0.21.1tgbotapi:15.0.0Exposed:0.51.1
8.3.0
Versions:Serialization:1.6.3MicroUtils:0.20.45tgbotapi:12.0.1Exposed:0.49.0SQLite:3.45.3.0Koin:3.5.6
8.2.0
Versions:Coroutines:1.8.0tgbotapi:10.1.0MicroUtils:0.20.35
8.1.1
Versions:tgbotapi:10.0.1MicroUtils:0.20.32Exposed:0.47.0
8.1.0
- Integrate
dev.inmo:micro_utils.startupinto project
8.0.0
Versions:tgbotapi:10.0.0MicroUtils:0.20.26Exposed:0.46.0
7.4.2
Versions:Kotlin:1.9.22tgbotapi:9.4.3MicroUtils:0.20.23Koin:3.5.7
7.4.1
Versions:Serialization:1.6.2tgbotapi:9.4.2Exposed:0.45.0SQLite:3.44.1.0MicroUtils:0.20.19uuid:0.8.2ktor:2.3.7
7.3.0
Versions:Kotlin:1.9.21Serialization:1.6.1tgbotapi:9.4.1ktor:2.3.6KSLog: Removed explicit dependency, now it is declared in tgbotapiMicroUtils:0.20.15
7.2.3
Versions:tgbotapi:9.2.2exposed:0.44.0koin:3.5.0ktor:2.3.5
7.2.2
Bot:- Now you may customize both
onStartandonUpdateconflicts resolvers
- Now you may customize both
7.2.1
Versions:tgbotapi:9.2.1ktor:2.3.4
7.2.0
Version:tgbotapi:9.2.0kslog:1.1.2sqlite:3.43.0.0
7.1.0
Version:microutils:0.19.9tgbotapi:9.1.0ktor:2.3.3coroutines:1.7.3koin:3.4.3
7.0.0
Version:microutils:0.19.7tgbotapi:9.0.0ktor:2.3.2coroutines:1.7.2
6.1.0
Version:kotlin:1.8.22microutils:0.19.4tgbotapi:8.1.0koin:3.4.2sqlite:3.42.0.0
6.0.1
Version:microutils:0.19.2tgbotapi:8.0.1uuid:0.7.1ktor:2.3.1koin:3.4.1
6.0.0
Versions:microutils:0.19.1tgbotapi:8.0.0klock:4.0.3
5.1.3
Versions:serialization:1.5.1microutils:0.18.4tgbotapi:7.1.3
5.1.2
Versions:microutils:0.18.1tgbotapi:7.1.2
5.1.1
Versions:kotlin:1.8.21microutils:0.18.0tgbotapi:7.1.1
5.1.0
Versions:tgbotapi:7.1.0sqlite:3.41.2.1
5.0.2
Versions:kotlin:1.8.20microutils:0.17.8tgbotapi:7.0.2kslog:1.1.1ktor:2.3.0koin:3.4.0
5.0.1
Versions:tgbotapi:7.0.1
5.0.0
Versions:tgbotapi:7.0.0microutils:0.17.5
4.1.0
Versions:tgbotapi:6.1.0microutils:0.17.3
4.0.3
Versions:tgbotapi:6.0.3microutils:0.17.2
4.0.2
Versions:tgbotapi:6.0.2
4.0.1
Versions:tgbotapi:6.0.1microutils:17.0.1ktor:2.2.4
4.0.0
Versions:kotlin:1.8.10tgbotapi:6.0.0microutils:0.17.0
3.5.0
Versions:tgbotapi:5.2.0microutils:0.16.10koin:3.3.2
3.4.1
setupBotPluginnow works synchronously
3.4.0
Versions:tgbotapi:5.1.0microutils:0.16.8ktor:2.2.3
3.3.1
Versions:tgbotapi:5.0.1microutils:0.16.6ktor:2.2.2
3.3.0
Versions:tgbotapi:5.0.0
3.2.3
Versions:tgbotapi:4.2.3microutils:0.16.4
3.2.2
Versions:tgbotapi:4.2.2microutils:0.16.2
3.2.1
Versions:tgbotapi:4.2.1microutils:0.16.0ktor:2.2.1
3.2.0
Versions:kotlin:1.7.22tgbotapi:4.2.0microutils:0.15.0kslog:0.5.4sqlite:3.40.0.0
3.1.4
Versions:tgbotapi:4.1.3microutils:0.14.4
3.1.3
Versions:tgbotapi:4.1.2
3.1.2
Versions:microutils:0.14.2exposed:0.41.1
3.1.1
Versions:tgbotapi:4.1.1
3.1.0
Versions:kotlin:1.7.21microutils:0.14.1tgbotapi:4.1.0klock:3.4.0uuid:0.6.0
3.0.0
Versions:microutils:0.14.0tgbotapi:4.0.0kslog:0.5.3exposed:0.40.1klock:3.3.1
2.4.1
Versions:microutils:0.13.2tgbotapi:3.3.1klock:3.3.0ktor:2.1.3koin:3.2.2
2.4.0
Versions:kotlin:1.7.20serialization:1.4.1tgbotapi:3.3.0microutils:0.13.1klock:3.2.0ktor:2.1.2
2.3.4
Versions:tgbotapi:3.2.7microutils:0.12.16
2.3.3
Versions:tgbotapi:3.2.6sqlite:3.39.3.0
2.3.2
Versions:tgbotapi:3.2.3microutils:0.12.13kslog:0.5.2
2.3.1
Versions:klock:3.1.0tgbotapi:3.2.1microutils:0.12.11ktor:2.1.1
2.3.0
Bot:- Add option
reconnectOptionsin database config
- Add option
2.2.0
Versions:serialization:1.4.0tgbotapi:3.2.0microutils:0.12.4kslog:0.5.1
2.1.1
Bot:- Now it is possible to get bot from
koin
- Now it is possible to get bot from
2.1.0
Versions:tgbotapi:3.1.1ktor:2.1.0microutils:0.12.1
Plugins:- New fum of
PluginwithBehaviourContextWithFSMreceiver
- New fum of
Bot:- Now bot uses
buildBehaviourWithFSMto be able to setup bot with FSM
- Now bot uses
2.0.0
Versions:kotlin:1.7.10serialization:1.4.0-RCtgbotapi:3.0.2kslog:0.5.0uuid:0.5.0exposed:0.39.2microutils:0.12.0
1.4.1
Versions:tgbotapi:2.2.2kslog:0.4.2
1.4.0
Versions:kslog:0.4.1
1.3.1
Versions:tgbotapi:2.2.1microutils:0.11.13
1.3.0
Versionstgbotapi:2.2.0
1.2.3
Versionstgbotapi:2.1.3
1.2.2
Versionstgbotapi:2.1.2microutils:0.11.12coroutines:1.6.3ktor:2.0.3
1.2.1
Versionstgbotapi:2.1.1microutils:0.11.6kslog:0.3.2
1.2.0
Versionstgbotapi:2.1.0
1.1.2
Versionstgbotapi:2.0.3microutils:0.11.3kslog:0.3.1
Plugin:- Now it is possible to use
objects of plugins instead of classes
- Now it is possible to use
1.1.1
Versionscoroutines:1.6.2tgbotapi:2.0.2microutils:0.11.0ktor:2.0.2uuid:0.4.1
1.1.0
Versionstgbotapi:2.0.0microutils:0.10.5
Plugin:- All plugins will be loaded in parallel
1.0.0
Versionskotlin:1.6.21coroutines:1.6.1serialization:1.3.3exposed:0.38.2tgbotapi:1.1.0microutils: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:
setupDIandsetupBotPlugin
PlaguBot:Confignow is simple serializabledata classPlaguBotnow is more simple as a plugin
0.5.1
Versionstgbotapi:0.38.4microutils:0.9.5
0.5.0
Versionskotlin:1.6.10coroutines:1.6.0serialization:1.3.2exposed:0.37.2tgbotapi:0.38.0microutils:0.9.0
0.4.1
Temporal update for compatibility with java 1.8
0.3.2
Versionskotlin:1.5.20->1.5.31coroutines:1.5.0->1.5.2serialization:1.2.1->1.2.2exposed:0.32.1->0.34.2tgbotapi:0.35.1->0.35.9microutils:0.5.15->0.5.28
0.3.1
Versionskotlin:1.5.10->1.5.20tgbotapi:0.35.0->0.35.1microutils:0.5.7->0.5.15
0.3.0
Versionskotlin:1.4.32->1.5.10coroutines:1.4.3->1.5.0serialization:1.1.0->1.2.1exposed:0.31.1->0.32.1sdi:0.4.1->0.5.0tgbotapi:0.34.1->0.35.0microutils:0.4.36->0.5.7
Bot- Add plugin
PluginsHolder - Rewrite mechanism of
Configworking PlaguBotnow is correctly serializable/deserializable
- Add plugin
0.2.1
Versionstgbotapi:0.33.4->0.34.0sqlite:3.30.1->3.34.0
0.2.0
Versionstgbotapi:0.33.4->0.34.0exposed:0.30.2->0.31.1
0.1.9
Versionstgbotapi:0.33.3->0.33.4microutils:0.4.33->0.4.36exposed:0.30.1->0.30.2
0.1.8
Versionstgbotapi:0.33.2->0.33.3microutils:0.4.32->0.4.33
0.1.7
Versionsexposed:0.29.1->0.30.1tgbotapi:0.33.1->0.33.2microutils:0.4.31->0.4.32
PlaguBot- New class
PlaguBot(😊) initPlaguBotis deprecated- New shortcut for params -
plagubot.PlaguBotclass can be put inside other plagubot for additional opportunities
- New class
0.1.6
Versionskotlin:1.4.31->1.4.32tgbotapi:0.33.0->0.33.1microutils:0.4.29->0.4.31
0.1.5
Versionskotlin:1.4.30->1.4.31serialization:1.1.0-RC->1.1.0coroutines:1.4.2->1.4.3tgbotapi:0.32.8->0.33.0microutils:0.4.26->0.4.29
0.1.4
Versionssdi:0.4.0-rc2->0.4.1tgbotapi:0.32.7->0.32.8microutils:0.4.25->0.4.26
Bot- Fix of #9
0.1.3
Versionstgbotapi:0.32.6->0.32.7
BotinitPlaguBotnow will returnJob
Plugin- Plugin serializer
0.1.2
Versionstgbotapi:0.32.5->0.32.6
0.1.0
Versionskotlin:1.4.21->1.4.30serialization:1.0.1->1.1.0-RCexposed:0.28.1->0.29.1tgbotapi:0.30.10->0.32.5microutils:0.4.11->0.4.25
Bot- New dependency
sdi- Now it is possible to pass
Moduleto configuration for providing a global plugins parameters like different common database or tools
- Now it is possible to pass
- New dependency
Plugin- Two new methods
BehaviourContext#invoke- Old method
invokehas been deprecated
- Old method
- Two new methods
0.0.5
Versionskotlin:1.4.10->1.4.21kotlin coroutines:1.4.1->1.4.2tgbotapi:0.30.7->0.30.10microutils:0.4.1->0.4.11
0.0.4
Versionstgbotapi:0.30.4->0.30.7microutils:0.3.4->0.4.1
0.0.3
Bot:- New function
initPlaguBotwhich actually will launch the bot
- New function
0.0.2
Versionstgbotapi:0.30.3->0.30.4microutils:0.3.2->0.3.3
0.0.1
Inited :)