Skip to content

Releases: InsanusMokrassar/ktgbotapi

27.1.2

06 Aug 10:16
Compare
Choose a tag to compare
  • Core:
    • Try to fix cancelling on timeout for long polling
    • Since this update phrase Something web wrong will not happen from this library ����

27.1.1

03 Aug 20:19
Compare
Choose a tag to compare
  • Version:
    • MicroUtils: 0.26.1 -> 0.26.2
  • Core:
    • Make BusinessLocation#location optional (fix of #990)

27.1.0

28 Jul 14:41
Compare
Choose a tag to compare

27.0.0

22 Jul 17:01
Compare
Choose a tag to compare

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 added ConsistentCopyVisibility annotation, preventing
      public nature in difference with constructor
    • Absence of several API methods for requests has been fixed

26.1.0

10 Jul 11:02
Compare
Choose a tag to compare

THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 9.1

THIS UPDATE MAY CONTAINS BREAKING CHANGES

26.0.0

15 Jun 14:02
3affcf4
Compare
Choose a tag to compare

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 property RequestsExecutor.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

08 Jun 13:07
Compare
Choose a tag to compare

THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 9.0

  • Core:
    • Previously named Gift now presented by Gift.Regular
    • Fixes in MultipartRequestCallFactory for correct handling of all MultipartRequest.Common inheritors
    • Username now can be safely created with Username.prepare
    • Add extensions String.splitFor(Text|Caption|StoryCaption) for preparing several texts for several
      messages/captions/story captions

25.0.0

08 Jun 08:47
Compare
Choose a tag to compare

THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 9.0

  • Core:
    • Previously named Gift now presented by Gift.Regular
    • Fixes in MultipartRequestCallFactory for correct handling of all MultipartRequest.Common inheritors
    • Username now can be safely created with Username.prepare
    • Add extensions String.splitFor(Text|Caption|StoryCaption) for preparing several texts for several
      messages/captions/story captions

24.0.2

26 Mar 04:42
c773736
Compare
Choose a tag to compare
  • Version:
    • Kotlin: 2.1.10 -> 2.1.20
    • Ktor: 3.1.0 -> 3.1.1
    • MicroUtils: 0.24.7 -> 0.25.3
  • DefaultKTgBotAPIKSLog will drop CancellationExceptions by default
  • You may configure DefaultKTgBotAPIKSLog in simple way with SetDefaultKTgBotAPIKSLog
  • BehaviourBuilder:
    • FSM:
      • Fix chains cancelling on their ends

24.0.1

01 Mar 08:30
Compare
Choose a tag to compare
  • Core:
    • Now you may upload photos with EditChatMessageMedia