mirror of
https://github.com/InsanusMokrassar/PlaguBot.git
synced 2026-05-01 14:22:27 +00:00
Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 167780e847 | |||
| a9c4f789b5 | |||
| 728270cac0 | |||
| 8d5376b613 | |||
| e9ed711724 | |||
| bd26cbd4d8 | |||
| 8b7ca70d5f | |||
| e356abc373 | |||
| fdff6c7178 | |||
| 636614e4e3 | |||
| 9747bcd79d | |||
| f8b7e261f4 | |||
| 0a5272b1c8 | |||
| 214403ee88 | |||
| c19a4bbcf9 |
32
CHANGELOG.md
32
CHANGELOG.md
@@ -1,6 +1,36 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## 10.7.1
|
## 11.0.0
|
||||||
|
|
||||||
|
* `Versions`:
|
||||||
|
* `kotlin`: `2.3.10`
|
||||||
|
* `serialization`: `1.10.0`
|
||||||
|
* `microutils`: `0.29.1`
|
||||||
|
* `tgbotapi`: `32.0.0`
|
||||||
|
* `exposed`: `1.1.1`
|
||||||
|
* `sqlite`: `3.51.2.0`
|
||||||
|
|
||||||
|
## 10.10.0
|
||||||
|
|
||||||
|
* `Versions`:
|
||||||
|
* `kotlin`: `2.2.21`
|
||||||
|
* `microutils`: `0.26.8`
|
||||||
|
* `tgbotapi`: `30.0.2`
|
||||||
|
|
||||||
|
## 10.9.0
|
||||||
|
|
||||||
|
* `Versions`:
|
||||||
|
* `kotlin`: `2.2.20`
|
||||||
|
* `microutils`: `0.26.6`
|
||||||
|
* `tgbotapi`: `30.0.0`
|
||||||
|
* `koin`: `4.1.1`
|
||||||
|
|
||||||
|
## 10.8.0
|
||||||
|
|
||||||
|
* `Versions`:
|
||||||
|
* `kotlin`: `2.2.10`
|
||||||
|
* `microutils`: `0.26.3`
|
||||||
|
* `tgbotapi`: `28.0.1`
|
||||||
|
|
||||||
## 10.7.0
|
## 10.7.0
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import dev.inmo.kslog.common.logger
|
|||||||
import kotlinx.coroutines.delay
|
import kotlinx.coroutines.delay
|
||||||
import kotlinx.serialization.Serializable
|
import kotlinx.serialization.Serializable
|
||||||
import kotlinx.serialization.Transient
|
import kotlinx.serialization.Transient
|
||||||
import org.jetbrains.exposed.sql.Database
|
import org.jetbrains.exposed.v1.jdbc.Database
|
||||||
import org.jetbrains.exposed.sql.transactions.transactionManager
|
import org.jetbrains.exposed.v1.jdbc.transactions.transactionManager
|
||||||
import org.koin.core.scope.Scope
|
import org.koin.core.scope.Scope
|
||||||
import org.sqlite.JDBC
|
import org.sqlite.JDBC
|
||||||
import java.lang.Exception
|
import java.lang.Exception
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ allprojects {
|
|||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
maven { url 'https://jitpack.io' }
|
|
||||||
maven { url "https://nexus.inmo.dev/repository/maven-releases/" }
|
maven { url "https://nexus.inmo.dev/repository/maven-releases/" }
|
||||||
|
maven { url 'https://jitpack.io' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
0
changelog_parser.sh
Normal file → Executable file
0
changelog_parser.sh
Normal file → Executable file
@@ -5,4 +5,4 @@ kotlin.js.generate.externals=true
|
|||||||
kotlin.incremental=true
|
kotlin.incremental=true
|
||||||
|
|
||||||
group=dev.inmo
|
group=dev.inmo
|
||||||
version=10.7.1
|
version=11.0.0
|
||||||
|
|||||||
@@ -1,24 +1,24 @@
|
|||||||
[versions]
|
[versions]
|
||||||
|
|
||||||
kt = "2.2.0"
|
kt = "2.3.10"
|
||||||
kt-serialization = "1.9.0"
|
kt-serialization = "1.10.0"
|
||||||
kt-coroutines = "1.10.2"
|
kt-coroutines = "1.10.2"
|
||||||
|
|
||||||
microutils = "0.26.2"
|
microutils = "0.29.1"
|
||||||
tgbotapi = "27.1.1"
|
tgbotapi = "32.0.0"
|
||||||
|
|
||||||
ksp = "2.2.0-2.0.2"
|
ksp = "2.3.6"
|
||||||
|
|
||||||
jb-exposed = "0.61.0"
|
jb-exposed = "1.1.1"
|
||||||
jb-dokka = "2.0.0"
|
jb-dokka = "2.1.0"
|
||||||
|
|
||||||
sqlite = "3.50.1.0"
|
sqlite = "3.51.2.0"
|
||||||
|
|
||||||
gh-release = "2.5.2"
|
gh-release = "2.5.2"
|
||||||
|
|
||||||
koin = "4.1.0"
|
koin = "4.1.1"
|
||||||
|
|
||||||
nmcp = "1.0.2"
|
nmcp = "1.4.4"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
package dev.inmo.plagubot
|
package dev.inmo.plagubot
|
||||||
|
|
||||||
import org.jetbrains.exposed.sql.Database
|
import org.jetbrains.exposed.v1.jdbc.Database
|
||||||
import org.koin.core.Koin
|
import org.koin.core.Koin
|
||||||
import org.koin.core.scope.Scope
|
import org.koin.core.scope.Scope
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import kotlinx.serialization.KSerializer
|
|||||||
import kotlinx.serialization.json.Json
|
import kotlinx.serialization.json.Json
|
||||||
import kotlinx.serialization.json.JsonObject
|
import kotlinx.serialization.json.JsonObject
|
||||||
import kotlinx.serialization.serializer
|
import kotlinx.serialization.serializer
|
||||||
import org.jetbrains.exposed.sql.Database
|
|
||||||
import org.koin.core.Koin
|
import org.koin.core.Koin
|
||||||
import org.koin.core.module.Module
|
import org.koin.core.module.Module
|
||||||
import org.koin.core.scope.Scope
|
import org.koin.core.scope.Scope
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ interface Plugin : StartPlugin {
|
|||||||
* @param scope The scope of [org.koin.core.module.Module.single] of bot definition
|
* @param scope The scope of [org.koin.core.module.Module.single] of bot definition
|
||||||
* @param params Params (in fact, the whole bot config)
|
* @param params Params (in fact, the whole bot config)
|
||||||
*/
|
*/
|
||||||
|
@Suppress("DEPRECATION")
|
||||||
fun KtorRequestsExecutorBuilder.setupBotClient(scope: Scope, params: JsonObject) = setupBotClient()
|
fun KtorRequestsExecutorBuilder.setupBotClient(scope: Scope, params: JsonObject) = setupBotClient()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ import kotlinx.serialization.descriptors.SerialDescriptor
|
|||||||
import kotlinx.serialization.encoding.Decoder
|
import kotlinx.serialization.encoding.Decoder
|
||||||
import kotlinx.serialization.encoding.Encoder
|
import kotlinx.serialization.encoding.Encoder
|
||||||
|
|
||||||
@Serializer(Plugin::class)
|
|
||||||
class PluginSerializer : KSerializer<Plugin> {
|
class PluginSerializer : KSerializer<Plugin> {
|
||||||
override val descriptor: SerialDescriptor
|
override val descriptor: SerialDescriptor
|
||||||
get() = String.serializer().descriptor
|
get() = String.serializer().descriptor
|
||||||
|
|||||||
Reference in New Issue
Block a user