All Versions
186
Latest Version
Avg Release Cycle
5 days
Latest Release
-
Changelog History
Page 4
Changelog History
Page 4
-
v1.1.3 Changes
- ๐
Behaviour Builder with FSM
:- Typealias
StateHandlingErrorHandler
from1.1.2
has been deprecated and should be replaced with the new one from microutils
- Typealias
- ๐
-
v1.1.2 Changes
Core
:- Rename of
TelegramAPIUrlsKeeper#checkWebAppLink
->TelegramAPIUrlsKeeper#checkWebAppData
(fix of #591)
- Rename of
- ๐
Behaviour Builder with FSM
:- New typealias
StateHandlingErrorHandler
BehaviourBuilderWithFSM
now accepts new parameteronStateHandlingErrorHandler
which will be used in case if state has not been successfully completed
- New typealias
-
v1.1.1 Changes
Versions
:MicroUtils.Crypto
will not be provided with that library anymore. Instead, it is recommended to useKorlibs.Krypto
. You still can add crypto from microutils using next groovy dependency:dev.inmo:micro_utils.crypto:$micro_utils_version
Core
:- Improvements in
TelegramAPIUrlsKeeper#checkWebAppLink
- New field in
TelegramAPIUrlsKeeper#webAppDataSecretKeyHash
- Improvements in
- ๐
Behaviour Builder
:- Extension
TelegramBot#buildBehaviour
now returnsBehaviourContext
- Extension
-
v1.1.0 Changes
Utils
:- New parameter
additionalApplicationEngineEnvironmentConfigurator
inRequestsExecutor#setWebhookInfoAndStartListenWebhooks
andstartListenWebhooks
- New parameter
-
v1.0.1 Changes
Versions
:Serialization
:1.3.2
->1.3.3
MicroUtils
:0.10.3
->0.10.4
-
v1.0.0 Changes
All the
tgbotapi.extensions.*
packages have been removedVersions
:Kotlin
:1.6.10
->1.6.21
Ktor
:1.6.8
->2.0.1
MicroUtils
:0.9.24
->0.10.3
Core
:Ktor
package renamed. Migration:dev.inmo.tgbotapi.bot.Ktor
->dev.inmo.tgbotapi.bot.ktor
CallbackQuery
package renamed. Migration:dev.inmo.tgbotapi.types.CallbackQuery([\s\\.])
->dev.inmo.tgbotapi.types.queries.callback$1
ChatMember
package renamed. Migration:dev.inmo.tgbotapi.types.ChatMember([\s\\.])
->dev.inmo.tgbotapi.types.chat.member$1
ChatAdministratorRightsImpl
replaced. Migration:dev.inmo.tgbotapi.types.ChatAdministratorRightsImpl
->dev.inmo.tgbotapi.types.chat.member.ChatAdministratorRightsImpl
chat.abstract.extended
replaced. Migration:dev.inmo.tgbotapi.types.chat.abstract.extended
->dev.inmo.tgbotapi.types.chat.member.chat
chat.abstract
replaced. Migration:dev.inmo.tgbotapi.types.chat.abstract
->dev.inmo.tgbotapi.types.chat.member.chat
chat.extended
replaced. Migration:dev.inmo.tgbotapi.types.chat.extended
->dev.inmo.tgbotapi.types.chat.member.chat
- User interfaces have been fully replaced:
dev.inmo.tgbotapi.types.User
->dev.inmo.tgbotapi.types.chat.User
dev.inmo.tgbotapi.types.CommonUser
->dev.inmo.tgbotapi.types.chat.CommonUser
dev.inmo.tgbotapi.types.ExtendedUser
->dev.inmo.tgbotapi.types.chat.ExtendedUser
dev.inmo.tgbotapi.types.Bot
->dev.inmo.tgbotapi.types.chat.Bot
dev.inmo.tgbotapi.types.CommonBot
->dev.inmo.tgbotapi.types.chat.CommonBot
dev.inmo.tgbotapi.types.ExtendedBot
->dev.inmo.tgbotapi.types.chat.ExtendedBot
dev.inmo.tgbotapi.types.UserSerializer
->dev.inmo.tgbotapi.types.chat.UserSerializer
- All
InputMedia
has been renamed asTelegramMedia
. Migration:InputMedia
->TelegramMedia
dev.inmo.tgbotapi.types.InputMedia
->dev.inmo.tgbotapi.types.media
- Replaces of
MessageContent
. Migrations:dev.inmo.tgbotapi.types.message.content.abstracts
->dev.inmo.tgbotapi.types.message.content
dev.inmo.tgbotapi.types.message.content.media
->dev.inmo.tgbotapi.types.message.content
- Replaces of
TextSource
s. Migrations:dev.inmo.tgbotapi.types.MessageEntity.textsources
->dev.inmo.tgbotapi.types.message.textsources
- Replaces of
ParseMode
s. Migrations:dev.inmo.tgbotapi.types.ParseMode
->dev.inmo.tgbotapi.types.message
- Replaces of
MediaGroupUpdate
s. Migrations:dev.inmo.tgbotapi.types.update.MediaGroupUpdates
->dev.inmo.tgbotapi.types.update.media_group
InvoiceContent
has been replaced:dev.inmo.tgbotapi.types.message.payments.InvoiceContent
->dev.inmo.tgbotapi.types.message.content.InvoiceContent
PossiblySentViaBotCommonMessage
has been replaced:dev.inmo.tgbotapi.types.message.content.abstracts.PossiblySentViaBotCommonMessage
->dev.inmo.tgbotapi.types.message.abstracts.PossiblySentViaBotCommonMessage
- Edit live location requests have been replaced:
dev.inmo.tgbotapi.requests.edit.LiveLocation
->dev.inmo.tgbotapi.requests.edit.location.live
dev.inmo.tgbotapi.extensions.api.edit.LiveLocation
->dev.inmo.tgbotapi.extensions.api.edit.location.live
- Edit reply markup requests have been replaced:
dev.inmo.tgbotapi.requests.edit.ReplyMarkup
->dev.inmo.tgbotapi.requests.edit.reply_markup
dev.inmo.tgbotapi.extensions.api.edit.ReplyMarkup
->dev.inmo.tgbotapi.extensions.api.edit.reply_markup
- Common abstracts have been replaced:
dev.inmo.tgbotapi.CommonAbstracts
->dev.inmo.tgbotapi.abstracts
- Constructor of
UnknownInlineKeyboardButton
is not internal and can be created with anyjson
(#563) - All the interfaces from
dev.inmo.tgbotapi.types.files.abstracts
have been replaced todev.inmo.tgbotapi.types.files
and converted to sealed (#550) PassportFile
has been replaced todev.inmo.tgbotapi.types.files
StorageFile
has been deprecated (fix of #556)MultipartFile
do not requireStorageFile
anymoreInputFile
companion got functions to simplify creation ofInputFile
s- New typealias
FileUrl
(representsFileId
but declare that they are the same)
BehaviourBuilder
:SimpleFilter
now is afun interface
instead of just callback (fix of #546)- New extension
BehaviourContext#createSubContext
. It uses separatedAccumulatorFlow
and will retrieve updates by itself - New extension
BehaviourContext#doInContext
- Extension
BehaviourContext#doInSubContextWithUpdatesFilter
has been renamed toBehaviourContext#createSubContextAndDoWithUpdatesFilter
- Extension
BehaviourContext#doInSubContext
has been deprecated
BehaviourContextWithFSM
:launchStateHandling
lost its parametercontextUpdatesFlow: Flow
handleState
ofBehaviourContextWithFSM
now will get/create sub context for the state and launch handling in itBehaviourWithFSMStateHandler
now extendsStatesHandler
BehaviourWithFSMStateHandlerHolder
now extendsCheckableHandlerHolder
andBehaviourWithFSMStateHandler
- Function
checkHandleable
ofBehaviourWithFSMStateHandlerHolder
now issuspend
- Function
-
v0.38.23 Changes
BehaviourHandler
:- Add support of fallback triggers (fix of #560)
-
v0.38.22 Changes
Core
:- New constant
tgWebAppStartParamField
- All keyboards builders and rows blocks becomes not crossinline
- New constant
-
v0.38.21 Changes
WebApps
:WebAppInitData#queryId
now have correct js name of field- New function
sendDataOrWorkWithQueryId
-
v0.38.20 Changes
BehaviourBuilder FSM
:- Hotfixes
WebApps
:- New extension
TelegramBot#answerWebAppQuery
- New function
handleResult
- New extension