Releases: InsanusMokrassar/ktgbotapi
Releases · InsanusMokrassar/ktgbotapi
27.1.2
27.1.1
27.1.0
Core
:- Improve support of local bot api servers files. Next call factories will try to resolve file locally before real call:
- DownloadFileRequestCallFactory.kt (for DownloadFile.kt as well)
- DownloadFileChannelRequestCallFactory.kt (for DownloadFileStream.kt as well)
- Improve support of local bot api servers files. Next call factories will try to resolve file locally before real call:
27.0.0
THIS UPDATE MAY CONTAIN BREAKING CHANGES. IN CASE OF ANY MIGRATION PROBLEMS FEEL FREE TO ASK IN OUR CHAT
Version
:Kotlin
:2.1.20
->2.2.0
Serialization
:1.8.1
->1.9.0
Ktor
:3.1.3
->3.2.2
MicroUtils
:0.25.7
->0.26.1
KSLog
:1.4.1
->1.5.0
Common
:- In most
data
classes with non-public constructors has been addedConsistentCopyVisibility
annotation, preventing
public nature in difference with constructor - Absence of several API methods for requests has been fixed
- In most
26.1.0
THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 9.1
THIS UPDATE MAY CONTAINS BREAKING CHANGES
26.0.0
THIS UPDATE CONTAINS BREAKING CHANGES IN BEHAVIOUR BUILDER AND CORE. BE CAREFUL ON UPDATE
Version
:Serialization
:1.8.0
->1.8.1
Coroutines
:1.10.1
->1.10.2
Ktor
:3.1.1
->3.1.3
MicroUtils
:0.25.3
->0.25.7
Core
:- POTENTIALLY BREAKING CHANGE Long polling has been reworked a bit
- BREAKING CHANGE
RequestsExecutor
got propertyRequestsExecutor.Log: KSLog
BehaviourContext
:- BREAKING CHANGE All triggers and waiters become non-suspend functions
- BREAKING CHANGE Behaviour of counted extensions (commands, data callback queries, etc.) has been changed a bit: now each one will
create subcontext and work in it - New extension
BehaviourContext.launchInNewSubContext
which will launch some job in subcontext of receiver
25.0.1
THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 9.0
Core
:- Previously named
Gift
now presented byGift.Regular
- Fixes in
MultipartRequestCallFactory
for correct handling of allMultipartRequest.Common
inheritors Username
now can be safely created withUsername.prepare
- Add extensions
String.splitFor(Text|Caption|StoryCaption)
for preparing several texts for several
messages/captions/story captions
- Previously named
25.0.0
THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 9.0
Core
:- Previously named
Gift
now presented byGift.Regular
- Fixes in
MultipartRequestCallFactory
for correct handling of allMultipartRequest.Common
inheritors Username
now can be safely created withUsername.prepare
- Add extensions
String.splitFor(Text|Caption|StoryCaption)
for preparing several texts for several
messages/captions/story captions
- Previously named
24.0.2
Version
:Kotlin
:2.1.10
->2.1.20
Ktor
:3.1.0
->3.1.1
MicroUtils
:0.24.7
->0.25.3
DefaultKTgBotAPIKSLog
will dropCancellationException
s by default- You may configure
DefaultKTgBotAPIKSLog
in simple way withSetDefaultKTgBotAPIKSLog
BehaviourBuilder
:FSM
:- Fix chains cancelling on their ends
24.0.1
Core
:- Now you may upload photos with
EditChatMessageMedia
- Now you may upload photos with