Skip to content

Releases: InsanusMokrassar/ktgbotapi

16.0.0

11 Aug 16:54
Compare
Choose a tag to compare

THIS UPDATE CONTAINS KOTLIN UPDATE UP TO 2.0

  • Version:
    • Kotlin: 1.9.23 -> 2.0.10
    • Serialization: 1.6.3 -> 1.7.1
    • MicroUtils: 0.21.2 -> 0.22.0
    • KSLog: 1.3.4 -> 1.3.5

15.3.0

02 Aug 11:18
Compare
Choose a tag to compare

THIS UPDATE CONTAINS ADDING OF SUPPORT FOR BOTS API 7.8

  • Core:
    • OptionallyBusinessConnectionRequest now extends WithOptionalBusinessConnectionId
    • Add hasMainWebApp in ExtendedBot
  • API:
    • Add BusinessConnectionId to pin/unpin methods
  • WebApp:
    • Add shareToStory in WebApp

15.2.0

15 Jul 12:59
Compare
Choose a tag to compare
  • API:
    • Enabled an explicit mode for API module (PR #876)
  • WebApps:
    • Built-in onClick and offClick of MainButton become public (PR #875)
    • Old MainButton.onClick extension has been removed to avoid collisions of types

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