Skip to content

Releases: InsanusMokrassar/ktgbotapi

0.31.0

10 Jan 07:44
Compare
Choose a tag to compare

THIS UPDATE CONTAINS BREAKING CHANGES

  • Common:
    • ALL DEPRECATIONS CREATED SINCE 0.30.0 WERE REMOVED
  • Behaviour Builder:
    • Extension TelegramBot#buildBehaviour have changed its return value: now it is Job instead of
      FlowsUpdatesFilter
  • Utils
    • New extensions TelegramBot#longPolling were added as new recommended way to start getting updates via long
      polling
      • Old extensions RequestsExecutor#startGettingFlowsUpdatesByLongPolling has been deprecated

0.30.13

08 Jan 10:56
Compare
Choose a tag to compare
  • Common:
    • Version:
      • MicroUtils: 0.4.15 -> 0.4.16
  • Core:
    • New variable FlowsUpdatesFilter#allUpdatesWithoutMediaGroupsGroupingFlow which will contains updates without
      SentMediaGroupUpdate
  • Utils:
    • Extensions for ResendableContent has been added
    • Extensions for TextSource has been added
  • Behaviour Builder:
    • Project has been created :)

0.30.12

05 Jan 17:15
Compare
Choose a tag to compare
  • Utils:
    • (Solution of #145) Class casts has been added. Now you can write something like message.asGroupMessage() ?.let { ... } instead of
      (message as? GroupMessage<*>) ?.let { ... }

0.30.11

05 Jan 17:14
Compare
Choose a tag to compare
  • Common:
    • Version:
      • MicroUtils: 0.4.11 -> 0.4.15
      • Klock: 2.0.1 -> 2.0.3
      • Ktor: 1.4.3 -> 1.5.0
  • Core:
    • All bot actions got functions for short calling, like recordVideo for RecordVideoNote
    • All bot actions got class-cast shortcuts

0.30.10

08 Dec 08:58
Compare
Choose a tag to compare
  • Common:
    • Version:
      • Kotlin: 1.4.20 -> 1.4.21
      • Klock: 2.0.0 -> 2.0.1
      • Ktor: 1.4.2 -> 1.4.3
      • MicroUtils: 0.4.6 -> 0.4.11
  • API Extensions:
    • New function buildBot

0.30.9

26 Nov 19:13
Compare
Choose a tag to compare
  • Common:
    • Version:
      • UUID: 0.2.2 -> 0.2.3
      • Coroutines: 1.4.1 -> 1.4.2
      • MicroUtils: 0.4.3 -> 0.4.6
  • Core:
    • Add BowlingDiceAnimationType

0.30.8

21 Nov 10:49
Compare
Choose a tag to compare
  • Common:
    • Version:
      • Kotlin: 1.4.10 -> 1.4.20
      • Klock: 1.12.1 -> 2.0.0
      • MicroUtils: 0.4.1 -> 0.4.3

0.30.7

17 Nov 13:31
Compare
Choose a tag to compare
  • Common:
    • Version:
      • MicroUtils: 0.4.0 -> 0.4.1
  • Core:
    • TelegramAPIUrlsKeeper will fix ending of host url since this version
    • New mechanisms inPowLimiter and CommonLimiter has been added
    • New builder KtorRequestsExecutorBuilder
      • New function telegramBot
  • Utils:
    • Simple function telegramBot(TelegramAPIUrlsKeeper) has been deprecated with replacement by almost the same
      function in Core

0.30.6

16 Nov 10:43
Compare
Choose a tag to compare
  • Core
    • TextSource properties has been renamed:
      • asMarkdownSource -> markdown
      • asMarkdownV2Source -> markdownV2
      • asHtmlSource -> html
    • PrivateChat override id property with type UserId
    • Several new extensions and functions in links creation:
      • New function makeUsernameLink with parameter String
        • New extension Username#link and function makeLink(Username)
      • Function makeLinkToMessage now able to get any type of chat
        • New extension Message#link
      • Old functions makeLinkToAddStickerSet... has been deprecated:
        • makeLinkToAddStickerSet
        • makeLinkToAddStickerSetInMarkdownV2
        • makeLinkToAddStickerSetInMarkdown
        • makeLinkToAddStickerSetInHtml

0.30.5

14 Nov 13:56
Compare
Choose a tag to compare
  • Common:
    • Version:
      • MicroUtils: 0.3.3 -> 0.4.0
  • Core:
    • Mechanism of ChatMember serialization has been changed
      • Since this version any ChatMember can be serialized (even outside in case it marked by @Serializable)
      • Since this version any ChatMember (included in this project) can be deserialized in common way
    • User property id has changed its type: now it is UserId (under the hood it is the same as ChatId)