All Versions
186
Latest Version
Avg Release Cycle
5 days
Latest Release
-

Changelog History
Page 11

  • v0.30.8 Changes

    November 21, 2020
    • Common:
      • Version:
        • Kotlin: 1.4.10 -> 1.4.20
        • Klock: 1.12.1 -> 2.0.0
        • MicroUtils: 0.4.1 -> 0.4.3
  • v0.30.7 Changes

    November 17, 2020
    • 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
  • v0.30.6 Changes

    November 16, 2020
    • 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
  • v0.30.5 Changes

    November 14, 2020
    • 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)
  • v0.30.4 Changes

    November 12, 2020
    • 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
  • v0.30.3 Changes

    November 11, 2020
    • 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
  • v0.30.2 Changes

    November 10, 2020
    • 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
  • v0.30.1 Changes

    November 09, 2020
    • Common:
      • Version:
        • MicroUtils: 0.2.7 -> 0.3.0
    • Utils:
      • Builder-style DSL for text sources - buildEntities (thanks to djaler)
  • v0.30.0 Changes

    November 07, 2020

    ⚡️ THIS UPDATE CONTAINS A LOT OF BREAKING CHANGES. PLEASE, BE CAREFUL ON UPGRADING OF YOUR PROJECT

    • Common:
      • Version:
        • Coroutine: 1.4.0 -> 1.4.1
        • NEW MicroUtils: 0.2.7
    • Core:
      • Support of logOut method (LogOut object as a Request)
      • Support of close method (Close object as a Request)
      • SetWebhook updates:
        • New field ipAddress. It works the same as ip_address in setWebhook section
        • New field dropPendingUpdates. It works the same as drop_pending_updates in setWebhook section
      • New field ExtendedPrivateChat#bio
      • New data class ChatLocation
      • New field UnbanChatMember#onlyIfBanned
      • New fields ExtendedChannelChat#linkedGroupChatId and ExtendedSupergroupChat#linkedChannelChatId
      • New fields ExtendedSupergroupChat#location
      • New fields AudioFile#fileName and VideoFile#fileName
      • New fields SendDocument#disableContentTypeDetection and InputMediaDocument#disableContentTypeDetection
      • New request UnpinAllChatMessages
      • New parameter for unpinChatMessage method: messageId
      • New dice type FootballDiceAnimationType
      • Limits for dices has been changed
      • commonDiceResultLimit has been deprecated
      • New field DiceAnimationType#valueLimits
      • Locations updates:
        • New interface Headed with property heading
        • New interface HorizontallyAccured with property horizontalAccuracy
        • New interface ProximityAlertable with property proximityAlertRadius
        • Location class has been separated:
          • StaticLocation for static locations
          • LiveLocation for live locations
        • Property Livable#livePeriod now use typealias type Seconds (the same by meaning - Int)
        • EditLocationMessage now extends Locationed, HorizontallyAccured, ProximityAlertable and Headed interfaces
          • New properties in EditChatMessageLiveLocation: horizontalAccuracy, heading, proximityAlertRadius
          • New properties in EditInlineMessageLiveLocation: horizontalAccuracy, heading, proximityAlertRadius
        • Main constructor of SendLocation now is internal. Instead of that currently available next factories:
          • SendLocation - sending of static location without live parameters
          • SendStaticLocation - sending of static location without live parameters
          • SendLiveLocation - sending of live location with live parameters
        • PositionedSendMessageRequest now extends Locationed
        • LocationContent#createResend now can create LiveLocation
      • Support of ProximityAlertTriggered. It is CommonEvent
      • Property pollQuestionTextLength now have maximum up to 300
      • Anonymous Admins:
        • New field AdministratorChatMember#isAnonymous
      • Several new interfaces of messages:
        • SignedMessage - any message which possibly have authorSignature
        • WithSenderChatMessage - any message which have senderChat. Property senderChat is not-nullable due to separation of implementators
        • PublicMessage - all channel messages have property val chat: PublicChat instead of common val chat: Chat
          • ChannelMessage - all channel messages have property val chat: ChannelChat instead of common val chat: Chat
            • Old ChannelMessage was safely renamed to ChannelMessageImpl (old name was set as typealias and deprecated)
          • GroupMessage - all group messages have property val chat: GroupChat instead of common val chat: Chat
            • FromChannelGroupMessage - instances should have property val channel: ChannelChat
            • AnonymousGroupMessage - instances may have setup property authorSignature
            • CommonGroupMessage - just common message
          • PrivateMessage - works like previous CommonMessageImpl
          • Previous CommonMessageImpl safely renamed to PrivateMessageImpl
      • New property PromoteChatMember#isAnonymous
      • Update all classes which must have entities/caption_entities fields
      • New request CopyMessage
      • New extension List<TextSource>#makeString for more comfortable work with new api with entities
      • Support for Google Places identifiers for venues
      • New extensions for text sources separating:
        • List<TextSource>#separateForMessage
        • List<TextSource>#separateForCaption
        • List<TextSource>#separateForText
      • Rewritten work with text sources and text parts:
        • Now any Message type with entities will have full list of entities. That means that parts without any formatter entities will use RegularTextSource
        • MultilevelTextSource#textParts has been deprecated. Now each MultilevelTextSource have its own textSources list
      • New dsl for creating of TextSource lists
      • Built-in handleSafely and ExceptionHandler is deprecated
      • New common factories for StorageFile
    • API:
      • Extensions TelegramBot#pinChatMessage now support any Chat and Messages from any Chat
      • New extensions TelegramBot#unpinAllChatMessages
      • Extensions TelegramBot#promoteChatMember got isAnonymous parameter
      • All old api methods has been actualized to their analogs in Core
      • All telegramBot with token: String got apiUrl parameter
      • Factory telegramBotWithCustomClientConfig has been renamed to telegramBot
  • v0.29.4 Changes

    November 02, 2020
    • Core:
      • diceResultLimit now is deprecated, use commonDiceResultLimit instead
      • New extension slotMachineDiceResultLimit
    • Utils:
      • New enum SlotMachineReelImages
      • New extension Int#asSlotMachineReelImage
      • New data class SlotMachineResult
        • New extension Dice#calculateSlotMachineResult