All Versions
186
Latest Version
Avg Release Cycle
5 days
Latest Release
-
Changelog History
Page 11
Changelog History
Page 11
-
v0.30.8 Changes
November 21, 2020Common
: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, 2020Common
:Version
:MicroUtils
:0.4.0
->0.4.1
Core
:TelegramAPIUrlsKeeper
will fix ending of host url since this version- New mechanisms in
PowLimiter
andCommonLimiter
has been added - New builder
KtorRequestsExecutorBuilder
- New function
telegramBot
- New function
Utils
:- Simple function
telegramBot(TelegramAPIUrlsKeeper)
has been deprecated with replacement by almost the same function inCore
- Simple function
-
v0.30.6 Changes
November 16, 2020Core
TextSource
properties has been renamed:asMarkdownSource
->markdown
asMarkdownV2Source
->markdownV2
asHtmlSource
->html
PrivateChat
overrideid
property with typeUserId
- Several new extensions and functions in links creation:
- New function
makeUsernameLink
with parameterString
- New extension
Username#link
and functionmakeLink(Username)
- New extension
- Function
makeLinkToMessage
now able to get any type of chat- New extension
Message#link
- New extension
- Old functions
makeLinkToAddStickerSet...
has been deprecated:makeLinkToAddStickerSet
makeLinkToAddStickerSetInMarkdownV2
makeLinkToAddStickerSetInMarkdown
makeLinkToAddStickerSetInHtml
- New function
-
v0.30.5 Changes
November 14, 2020Common
: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
- Since this version any
User
propertyid
has changed its type: now it isUserId
(under the hood it is the same asChatId
)
- Mechanism of
-
v0.30.4 Changes
November 12, 2020Common
:Version
:MicroUtils
:0.3.1
->0.3.3
Core
:MultilevelTextSource#textSources
has been safely renamed tosubsources
TextContent#fullEntitiesList
has been deprecated- Now
TextContent
implementsTextedInput
TextContent#entities
has been deprecated
GroupEventMessage
now overrideschatEvent
with typeGroupEvent
SupergroupEventMessage
now overrideschatEvent
with typeSupergroupEvent
- Any
ChatEventMessage
now have generic type of itschatEvent
(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
- Old extensions related to chat events are deprecated:
-
v0.30.3 Changes
November 11, 2020Common
: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 toExceptionsOnlyLimiter
and currently will stop requests afterTooMuchRequestsException
happen until retry time is actual- Now
ExceptionsOnlyLimiter
(previouslyEmptyLimiter
) is a class
- Now
AbstractRequestCallFactory
currently will not look at the response and wait if it haveRetryAfter
error. New behaviour aimed on delegating of this work toRequestsLimiter
- New type of requests exceptions
-
v0.30.2 Changes
November 10, 2020Common
:Version
:Ktor
:1.4.1
->1.4.2
Core
:- New sealed class
SetWebhookRequest
which can be used inSetWebhook
requests
- New sealed class
Utils
:- Extensions
setWebhookInfoAndStartListenWebhooks
has been united in one extension withSetWebhookRequest
incoming parameter
- Extensions
-
v0.30.1 Changes
November 09, 2020Common
:Version
:MicroUtils
:0.2.7
->0.3.0
Utils
:- Builder-style DSL for text sources -
buildEntities
(thanks to djaler)
- Builder-style DSL for text sources -
-
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 aRequest
) - Support of
close
method (Close
object as aRequest
) SetWebhook
updates:- New field
ipAddress
. It works the same asip_address
in setWebhook section - New field
dropPendingUpdates
. It works the same asdrop_pending_updates
in setWebhook section
- New field
- New field
ExtendedPrivateChat#bio
- New data class
ChatLocation
- New field
UnbanChatMember#onlyIfBanned
- New fields
ExtendedChannelChat#linkedGroupChatId
andExtendedSupergroupChat#linkedChannelChatId
- New fields
ExtendedSupergroupChat#location
- New fields
AudioFile#fileName
andVideoFile#fileName
- New fields
SendDocument#disableContentTypeDetection
andInputMediaDocument#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 propertyheading
- New interface
HorizontallyAccured
with propertyhorizontalAccuracy
- New interface
ProximityAlertable
with propertyproximityAlertRadius
Location
class has been separated:StaticLocation
for static locationsLiveLocation
for live locations
- Property
Livable#livePeriod
now use typealias typeSeconds
(the same by meaning -Int
) EditLocationMessage
now extendsLocationed
,HorizontallyAccured
,ProximityAlertable
andHeaded
interfaces- New properties in
EditChatMessageLiveLocation
:horizontalAccuracy
,heading
,proximityAlertRadius
- New properties in
EditInlineMessageLiveLocation
:horizontalAccuracy
,heading
,proximityAlertRadius
- New properties in
- Main constructor of
SendLocation
now is internal. Instead of that currently available next factories:SendLocation
- sending of static location without live parametersSendStaticLocation
- sending of static location without live parametersSendLiveLocation
- sending of live location with live parameters
PositionedSendMessageRequest
now extendsLocationed
LocationContent#createResend
now can createLiveLocation
- New interface
- Support of
ProximityAlertTriggered
. It isCommonEvent
- Property
pollQuestionTextLength
now have maximum up to300
- Anonymous Admins:
- New field
AdministratorChatMember#isAnonymous
- New field
- Several new interfaces of messages:
SignedMessage
- any message which possibly haveauthorSignature
WithSenderChatMessage
- any message which havesenderChat
. PropertysenderChat
is not-nullable due to separation of implementatorsPublicMessage
- all channel messages have propertyval chat: PublicChat
instead of commonval chat: Chat
ChannelMessage
- all channel messages have propertyval chat: ChannelChat
instead of commonval chat: Chat
- Old
ChannelMessage
was safely renamed toChannelMessageImpl
(old name was set as typealias and deprecated)
- Old
GroupMessage
- all group messages have propertyval chat: GroupChat
instead of commonval chat: Chat
FromChannelGroupMessage
- instances should have propertyval channel: ChannelChat
AnonymousGroupMessage
- instances may have setup propertyauthorSignature
CommonGroupMessage
- just common message
PrivateMessage
- works like previousCommonMessageImpl
- Previous
CommonMessageImpl
safely renamed toPrivateMessageImpl
- 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 useRegularTextSource
MultilevelTextSource#textParts
has been deprecated. Now eachMultilevelTextSource
have its owntextSources
list
- Now any
- New dsl for creating of
TextSource
lists - Built-in
handleSafely
andExceptionHandler
is deprecated - New common factories for
StorageFile
- Support of
API
:- Extensions
TelegramBot#pinChatMessage
now support anyChat
andMessage
s from anyChat
- New extensions
TelegramBot#unpinAllChatMessages
- Extensions
TelegramBot#promoteChatMember
gotisAnonymous
parameter - All old api methods has been actualized to their analogs in
Core
- All
telegramBot
withtoken: String
gotapiUrl
parameter - Factory
telegramBotWithCustomClientConfig
has been renamed totelegramBot
- Extensions
-
v0.29.4 Changes
November 02, 2020Core
:diceResultLimit
now is deprecated, usecommonDiceResultLimit
instead- New extension
slotMachineDiceResultLimit
Utils
:- New enum
SlotMachineReelImages
- New extension
Int#asSlotMachineReelImage
- New data class
SlotMachineResult
- New extension
Dice#calculateSlotMachineResult
- New extension
- New enum