Skip to content

Releases: InsanusMokrassar/ktgbotapi

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)

0.30.4

12 Nov 17:29
Compare
Choose a tag to compare
  • Common:
    • Version:
      • MicroUtils: 0.3.1 -> 0.3.3
  • Core:
    • MultilevelTextSource#textSources has been safely renamed to subsources
    • TextContent#fullEntitiesList has been deprecated
    • Now TextContent implements TextedInput
      • TextContent#entities has been deprecated
    • GroupEventMessage now overrides chatEvent with type GroupEvent
    • SupergroupEventMessage now overrides chatEvent with type SupergroupEvent
    • Any ChatEventMessage now have generic type of its chatEvent (just like messages)
  • Utils:
    • Old extensions related to chat events are deprecated:
      • Flow<ChatEventMessage<*>>#divideBySource
      • Flow<ChatEventMessage<*>>#onlyChannelEvents
      • Flow<ChatEventMessage<*>>#onlyGroupEvents
      • Flow<ChatEventMessage<*>>#onlySupergroupEvents
    • A lot of extensions for Flow<ChatEventMessage> has been added:
      • FlowsUpdatesFilter#events
      • FlowsUpdatesFilter#channelEvents
      • FlowsUpdatesFilter#groupEvents
      • FlowsUpdatesFilter#supergroupEvents
      • And a lot of other filters with specific types

0.30.3

11 Nov 05:43
Compare
Choose a tag to compare
  • Common:
    • Version:
      • MicroUtils: 0.3.0 -> 0.3.1
  • Core:
    • New type of requests exceptions TooMuchRequestsException. In fact it will be rare case when you will get this
      exception
    • EmptyLimiter has been renamed to ExceptionsOnlyLimiter and currently will stop requests after
      TooMuchRequestsException happen until retry time is actual
      • Now ExceptionsOnlyLimiter (previously EmptyLimiter) is a class
    • AbstractRequestCallFactory currently will not look at the response and wait if it have RetryAfter error. New
      behaviour aimed on delegating of this work to RequestsLimiter

0.30.2

10 Nov 19:57
Compare
Choose a tag to compare
  • Common:
    • Version:
      • Ktor: 1.4.1 -> 1.4.2
  • Core:
    • New sealed class SetWebhookRequest which can be used in SetWebhook requests
  • Utils:
    • Extensions setWebhookInfoAndStartListenWebhooks has been united in one extension with SetWebhookRequest
      incoming parameter