Skip to content

Releases: InsanusMokrassar/ktgbotapi

23.0.0

25 Dec 05:43
Compare
Choose a tag to compare
  • Version:
    • Coroutines: 1.9.0 -> 1.10.1
    • MicroUtils: 0.23.2 -> 0.24.0
    • KSLog: 1.3.6 -> 1.4.0
    • Ktor: 3.0.2 -> 3.0.3
  • Core:
    • All old factory methods for TextSources took suffix TextSource. For example: regular -> regularTextSource.
      That has been for excluding names resolution ambiguity with extensions for EntitiesBuilder

22.0.0

08 Dec 08:59
Compare
Choose a tag to compare

THIS UPDATE CONTAINS BREAKING CHANGES

IN THIS UPDATE HAS BEEN REWORKED EVENTS API IN WEBAPPS

THIS UPDATE ADDING SUPPORT OF BOT API 8.0 AND BOT API 8.1

  • Version:
    • MicroUtils: 0.23.1 -> 0.23.2
    • Ktor: 3.0.1 -> 3.0.2

21.0.1

03 Dec 05:35
Compare
Choose a tag to compare
  • Core:
    • Improvements in Update.sourceUser extension
    • Add extension PrivateChat.toUser
    • Builder methods of TextSources (like pre which returns PreTextSource) lost suppression of redundant inline
      due to its redundancy
    • Add mention builders for EntitiesBuilder with UserId as variant instead of User
  • BehaviourBuilder:
    • Add support of several rounds for CombinedSubcontextInitialAction. Now it will try hard to execute all its
      SubAction while all actions will not be completed successfully OR all left actions will not complete with errors

21.0.0

30 Nov 09:58
Compare
Choose a tag to compare
  • Version:
    • Kotlin: 2.0.21 -> 2.1.0
    • MicroUtils: 0.23.0 -> 0.23.1
  • BehaviourBuilder:
    • Add special val data: BehaviourContextData into all realizations of BehaviourContext
    • Add CombinedSubcontextInitialAction and functions
      buildSubcontextInitialAction/buildSubcontextInitialActionWithSubActions
    • Add subcontextInitialAction for all the functions-builders of BehaviourContext and
      additionalSubcontextInitialAction to all triggers

20.0.1

11 Nov 08:38
Compare
Choose a tag to compare
  • Core:
    • Fix of logger propagation (fix of #860)
    • Add opportunity to modify keyboards (fix of #761)
    • Fields of OrderInfo became nullable (fix of #917)
    • Add default toString to ChatType (fix of #919)
    • Fix of method in CreateInvoiceLink (merging of #920, made by byteduck-exploit)

20.0.0

01 Nov 18:11
Compare
Choose a tag to compare

THIS UPDATE CONTAINS SUPPORT OF BOTS API 7.11

  • All:
    • ALL SEND METHODS GOT PARAMETER allowPaidBroadcast WHICH POTENTIALLY MAY SPEND MONEYS FROM BOT BALANCE

19.0.0

31 Oct 07:51
Compare
Choose a tag to compare

THIS UPDATE CONTAINS BREAKING CHANGES

THIS UPDATE CONTAINS UPGRADE UP TO KTOR 3.0 (thanks to @d1snin)

  • Version:
    • Ktor: 2.3.12 -> 3.0.1
    • MicroUtils: 0.22.7 -> 0.23.0

18.2.3

30 Oct 11:44
Compare
Choose a tag to compare
  • Core:
    • Add default middleware ExceptionsThrottlerTelegramBotMiddleware
    • Make TelegramBotMiddlewaresPipelinesHandler to be default TelegramBotPipelinesHandler
    • Make DefaultKtorRequestsExecutor now uses runCatching instead of runCatchingSafely
    • onRequestResultPresented lambda now accepts non-nullable result

18.2.2

21 Oct 12:53
Compare
Choose a tag to compare
  • Version:
    • Kotlin: 2.0.20 -> 2.0.21
    • MicroUtils: 0.22.4 -> 0.22.7
  • Core:
    • Fixes in blockquotes serializations
    • Now RawMessageEntity is public. It is still under Warning annotation and is subject of changes
  • BehaviourBuilder:
    • Add CommonMessageFilterExcludeCommand to filter commands in messages
    • Add minus operation for SimpleFilters

18.2.1

25 Sep 20:27
a053c08
Compare
Choose a tag to compare
  • Version:
    • Serialization: 1.7.2 -> 1.7.3
    • Coroutines: 1.8.1 -> 1.9.0
    • MicroUtils: 0.22.2 -> 0.22.4