Skip to content

Releases: InsanusMokrassar/ktgbotapi

15.1.0

11 Jul 16:42
343c8a4
Compare
Choose a tag to compare

THIS UPDATE CONTAINS BREAKING CHANGES

THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.7 (thanks to bpavuk)

THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.6 (with participation and help of bpavuk)

  • Add support of paid media
  • Update web apps
  • Version:
    • MicroUtils: 0.21.1 -> 0.21.2
  • Core:
    • TelegramMedia has been separated onto two interfaces: TelegramFreeMedia and TelegramPaidMedia
      • TelegramFreeMedia has replaced TelegramMedia on all old places where it have been used
    • Photo has been renamed to PhotoFile
  • BehaviourBuilder:
    • Add notification when handling of /privacy command is absence
    • Add several extensions to simplify setting up /privacy reaction

15.0.0

25 Jun 19:39
Compare
Choose a tag to compare

THIS UPDATE CONTAINS BREAKING CHANGES

THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.5

  • Version:
    • MicroUtils: 0.21.0 -> 0.21.1
  • A lot of edit methods and classes has been changed to support business connection id

14.1.0

21 Jun 12:47
Compare
Choose a tag to compare
  • Version:
    • Coroutines: 1.8.0 -> 1.8.1
    • Ktor: 2.3.10 -> 2.3.11
    • MicroUtils: 0.20.45 -> 0.21.0
    • KSLog: 1.3.3 -> 1.3.4
  • BehaviourBuilder:
    • BehaviourContext updates listening job will be weakly subscribed. It means that BehaviourContext scope will
      not be prevented from cancelling by this job anymore
    • BehaviourContext.doInContext will not stop automatically current BehaviourContext job anymore
    • BehaviourContext.createSubContextAndDoWithUpdatesFilter will use supervisorScope instead of
      LinkedSupervisorScope. That will prevent scope leaking in runtime

14.0.1

06 Jun 20:47
Compare
Choose a tag to compare
  • In core and api modules related to invoices changed their APIs to suite current API

14.0.0

01 Jun 08:00
Compare
Choose a tag to compare

Add support of Telegram Bots API 7.4

THIS UPDATE CONTAINS BREAKING CHANGES

  • Core:
    • TelegramPaymentChargeId has been added as value class and replaced raw strings in SuccessfulPayment type of telegramPaymentChargeId
  • All the methods/classes related to sending of messages got effectId parameter
  • All the methods/classes related to sending of photos/animations/videos got showCaptionAboveMedia parameter

13.0.0

10 May 14:23
Compare
Choose a tag to compare

Add support of Telegram Bots API 7.3

THIS UPDATE CONTAINS BREAKING CHANGES

  • Core:
    • For polls, textSources now means question text sources. For QuizPoll there are explanation and explanationTextSources
      for hinting
  • API:
    • A lot of API related to Polls has been changed to include opportunity to pass ParseMode and TextSources list

12.0.1

22 Apr 14:25
3da2229
Compare
Choose a tag to compare
  • Version:
    • Ktor: 2.3.9 -> 2.3.10
    • MicroUtils: 0.20.39 -> 0.20.45
    • UUID: 0.8.2 -> 0.8.4

12.0.0

20 Apr 17:59
Compare
Choose a tag to compare

Add support of Telegram Bots API 7.2

THIS UPDATE CONTAINS A LOT OF BREAKING CHANGES

11.0.0

18 Mar 08:19
Compare
Choose a tag to compare

THIS UPDATE CONTAINS REMOVES OF DEPRECATED THINGS

THIS UPDATE CONTAINS A LOT OF BREAKING CHANGES

  • Core:
    • MessageId now is value class. MessageIdentifier become deprecated
    • MessageThreadId now is value class
    • InlineQueryIdentifier now is value class
    • MediaGroupIdentifier has been renamed to MediaGroupId and now is value class
    • CallbackQueryIdentifier has been renamed to CallbackQueryId and now is value class
    • WebAppQueryId now is value class
    • PreCheckoutQueryId now is value class
    • FileUniqueId has been renamed to TgFileUniqueId and now is value class
    • UpdateIdentifier has been renamed to UpdateId and now is value class
    • InlineMessageIdentifier has been renamed to InlineMessageId and now is value class
    • ShippingQueryIdentifier has been renamed to ShippingQueryId and now is value class
    • Identifier has been renamed to RawChatId and now is value class
    • ShippingOptionIdentifier has been renamed to ShippingOptionId and now is value class
    • PollIdentifier has been renamed to PollId and now is value class
    • StickerSetName now is value class

10.1.1

01 Mar 17:59
Compare
Choose a tag to compare
  • Version:
    • Serialization: 1.6.2 -> 1.6.3
    • MicroUtils: 0.20.34 -> 0.20.37
    • Korlibs: 5.3.1 -> 5.3.2