Skip to content

Update dependency dev.inmo:tgbotapi to v33 - autoclosed#36

Closed
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/major-tgbotapi
Closed

Update dependency dev.inmo:tgbotapi to v33 - autoclosed#36
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/major-tgbotapi

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Jun 1, 2025

This PR contains the following updates:

Package Change Age Confidence
dev.inmo:tgbotapi (source) 24.0.233.1.0 age confidence

Release Notes

insanusmokrassar/TelegramBotAPI (dev.inmo:tgbotapi)

v33.1.0

  • Versions:
    • Kotlin: 2.3.10 -> 2.3.20
    • Serialization: 1.10.0 -> 1.11.0
    • Ktor: 3.4.1 -> 3.4.2
    • MicroUtils: 0.29.1 -> 0.29.2
    • KSLog: 1.6.0 -> 1.6.1

v33.0.0

THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 9.6

THIS UPDATE CONTAINS BREAKING CHANGES

  • Core:
    • THIS IS BREAKING CHANGE MultipleAnswersPoll removed; RegularPoll now directly implements Poll
    • THIS IS BREAKING CHANGE allowMultipleAnswers renamed to allowsMultipleAnswers across poll types and requests
    • THIS IS BREAKING CHANGE QuizPoll.correctOptionId: Int? changed to correctOptionIds: List<Int>?
    • THIS IS BREAKING CHANGE PollOption is now a sealed interface with PollOption.Simple and PollOption.LatelyAdded subtypes; SimplePollOption removed
    • THIS IS BREAKING CHANGE PollAnswer.Anonymous.voterChat type changed from ChannelChat to PreviewPublicChat
    • THIS IS BREAKING CHANGE requestChannelReplyButton (group variant) renamed to requestGroupReplyButton
    • Added BotToken value class
    • Added SavePreparedKeyboardButton request with PreparedKeyboardButton and PreparedKeyboardButtonId types
    • Added GetManagedBotToken and ReplaceManagedBotToken requests
    • Added KeyboardButtonRequestManagedBot and RequestManagedBotKeyboardButton
    • Added ManagedBotCreated chat event and ManagedBotUpdated type with ManagedBotUpdate
    • Added PollOptionPersistentId value class
    • Added PollOptionAdded and PollOptionDeleted chat events
    • Added pollOptionId support in ReplyParameters (reply_to_poll_option_id)
    • Added canManageBots to ExtendedBot
    • Added allowsRevoting, shuffleOptions, allowAddingOptions, hideResultsUntilCloses, description/descriptionTextSources to poll types and send requests
    • Added chosenPersistentIds to PollAnswer
    • Added UsernameAtLessSerializer
    • Extended openPeriodPollSecondsLimit from 5..600 to 5..2628000
    • Fixed quiz poll serialization type (was incorrectly using regularPollType in quiz branch)
    • Fixed quiz poll explanation serialization (now correctly uses explanation/explanationTextSources)
    • Fixed SendQuizPoll correct option index range validation (off-by-one)
    • Several poll validation checks changed from throwing exceptions to logging warnings
  • API:
    • Added savePreparedKeyboardButton extensions
    • Added getManagedBotToken and replaceManagedBotToken extensions
    • Added optional pollOptionId parameter to reply/replyWith* extensions
    • Updated sendQuizPoll extensions with correctOptionIds, allowsMultipleAnswers, allowsRevoting, shuffleOptions, hideResultsUntilCloses, description parameters
    • Updated sendRegularPoll extensions with allowsRevoting, shuffleOptions, allowAddingOptions, hideResultsUntilCloses, description parameters
  • BehaviourBuilder:
    • Added onManagedBotCreated and onManagedBotUpdated triggers
    • Added onPollOptionAdded and onPollOptionDeleted triggers
    • Added waitManagedBotCreatedEvents and waitManagedBotUpdated expectations
    • Added waitPollOptionAddedEvents and waitPollOptionDeletedEvents expectations
    • Added ManagedBotUpdatedFilterByUser and ByUserManagedBotUpdatedMarkerFactory
  • Utils:
    • Added managedBotCreationLink formatting extensions
    • Added requestManagedBotButton to ReplyKeyboardBuilder
    • Added class casts for ManagedBotUpdate, ManagedBotCreated, PollOptionAdded, PollOptionDeleted
    • Removed MultipleAnswersPoll class casts
    • Updated raw poll accessors to match new model (allowsMultipleAnswers, correctOptionIds, explanation)
    • Regenerated class casts extensions
  • WebApps:
    • Added requestChat support for PreparedKeyboardButtonId
    • Fixed iconCustomEmojiId passing in BottomButton

v32.0.0

THIS UPDATE CONTAINS BREAKING CHANGES

  • Version:
    • Kotlin: 2.2.21 -> 2.3.10
    • Kotlin Serialization: 1.9.0 -> 1.10.0
    • Ktor: 3.3.2 -> 3.4.1
    • KSP: 2.3.2 -> 2.3.6
    • MicroUtils: 0.26.9 -> 0.29.1
    • KSLog: 1.5.2 -> 1.6.0
  • Core + API:
    • BREAKING CHANGES: ALL METHODS THAT PREVIOUSLY RETURNED BOOLEAN NOW RETURNS UNIT
  • Core:
    • BREAKING CHANGE SetChatTitle init do not throw error in case when title.length is outside of chatTitleLength
    • BREAKING CHANGE SetStickerEmojiList init do not throw error in case when emojis.size is outside of emojisInStickerLimit
    • BREAKING CHANGE DeleteMessages init do not throw error in case when title is messageIds.size of deleteMessagesLimit
    • BREAKING CHANGE ForwardMessages init do not throw error in case when messageIds.size is outside of forwardMessagesLimit
    • BREAKING CHANGE CopyMessages init do not throw error in case when messageIds.size is outside of copyMessagesLimit
    • BREAKING CHANGE SwitchInlineQueryChosenChat init do not throw error in case when messageIds.size is outside of copyMessagesLimit
    • BREAKING CHANGE SetStickerKeywords init do not throw error in case when there are errors in keywords

v31.2.0

  • Core:
    • Potentially fix #​1027 - drop http request exceptions on getting updates
  • Core + API:
    • Add supportsStreaming in places it haven't been supported (fix of #​1026)
      • PARTIALLY BREAKING CHANGE supportStreaming has been renamed to supportsStreaming

v31.1.0

THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 9.5

  • Core:
    • Added UserTag value class and senderTag field to messages
    • Added SetChatMemberTag request and UserTag support in PromoteChatMember and ChatPermissions
    • Added DateTimeTextSource for tg://time links support
    • Added DateTimeFormatPart and TgDateTimeFormatBuilder for building date-time format strings
    • Added UnitFromBooleanSerializer
  • API:
    • Added setChatMemberTag extensions
  • Utils:
    • Added dateTime and dateTimeln extensions to EntitiesBuilder
    • Added dateTimeMarkdown, dateTimeMarkdownV2, and dateTimeHTML string formatting extensions
    • Regenerated class casts extensions
  • WebApps:
    • Added iconCustomEmojiId support to BottomButton and BottomButtonParams

v30.0.2

  • Version:
    • Kotlin: 2.2.20 -> 2.2.21
    • Ktor: 3.3.1 -> 3.3.2
    • KSP: 2.2.20-2.0.4 -> 2.3.2
    • MicroUtils: 0.26.6 -> 0.26.8
    • KSLog: 1.5.1 -> 1.5.2
  • Core:
    • Allow to use SetWebhook with maxAllowedConnections up to 100000 (fix of #​1019)
  • KSP:
    • Fixed annotation property access for KSP2 compatibility using withNoSuchElementWorkaround
    • Removed ksp.useKSP2=false workaround from gradle.properties (KSP2 is now properly supported)
  • Utils:
    • Regenerated class casts extensions
    • Allow to use custom GetUpdates in longPollingFlow

v30.0.1

  • Core:
    • Potential fix of #​989 by:
      • In long polling have been added check for causing by unresolved address exception
      • Add TelegramBotPipelinesHandler.onRequestExceptionInLimiter which will be triggered in ANY exception during
        request execution

v30.0.0

THIS UPDATE MAY CONTAINS BREAKING CHANGES

  • Version:
    • Kotlin: 2.2.10 -> 2.2.20
    • Ktor: 3.2.3 -> 3.3.1
    • MicroUtils: 0.26.3 -> 0.26.6
    • KSLog: 1.5.0 -> 1.5.1
  • BehaviourBuilder:
    • DefaultCustomBehaviourContextAndTypeReceiver now extends suspend (BC, U) -> R instead of CustomBehaviourContextAndTypeReceiver<BC, R, U> (no changes in api in fact)

v29.0.1

  • Core:
    • Fix of #​917: all OrderInfo fields now have defaults nulls

v29.0.0

THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 9.2

THIS UPDATE CONTAINS BREAKING CHANGES

  • Core:
    • Add function firstOfOrNull(vararg suspend () -> T): T?
    • Change logic of firstOf - now it works based on merged flows and do not require CoroutineScope as receiver

v28.0.3

  • Core:
    • Add passing of default engines in HttpClient constructors

v28.0.2

  • Core:
    • #​1001 - [Bug] Invalid detection of isCausedByCancellation()
    • #​1002 - Unable to handle UnauthorizedException with buildBehaviourWithLongPolling

v28.0.1

  • Version:
    • Kotlin: 2.2.0 -> 2.2.10
    • MicroUtils: 0.26.2 -> 0.26.3
    • Ktor: 3.2.2 -> 3.2.3
  • Core:
    • Let all OptionallyMessageThreadRequest inheritors to use @EncodeDefault annotation to fix default value passing

v28.0.0

THIS UPDATE CONTAINS BREAKING CHANGES

  • Core:
    • Add firstOf extension
  • BehaviourBuilder:
    • All builders for behaviours got boolean useDefaultSubcontextInitialAction
    • Add opportunity to pass BehaviourContextData in DefaultBehaviourContext constructor and copy method
    • By default, commands to other bots will be ignored in triggers and waiters

v27.1.2

  • Core:
    • Try to fix cancelling on timeout for long polling
    • Since this update phrase Something web wrong will not happen from this library 😭

v27.1.1

  • Version:
    • MicroUtils: 0.26.1 -> 0.26.2
  • Core:
    • Make BusinessLocation#location optional (fix of #​990)

v27.1.0

v27.0.0

THIS UPDATE MAY CONTAIN BREAKING CHANGES. IN CASE OF ANY MIGRATION PROBLEMS FEEL FREE TO ASK IN OUR CHAT

  • Version:
    • Kotlin: 2.1.20 -> 2.2.0
    • Serialization: 1.8.1 -> 1.9.0
    • Ktor: 3.1.3 -> 3.2.2
    • MicroUtils: 0.25.7 -> 0.26.1
    • KSLog: 1.4.1 -> 1.5.0
  • Common:
    • In most data classes with non-public constructors has been added ConsistentCopyVisibility annotation, preventing
      public nature in difference with constructor
    • Absence of several API methods for requests has been fixed

v26.1.0

THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 9.1

THIS UPDATE MAY CONTAINS BREAKING CHANGES

v26.0.0

THIS UPDATE CONTAINS BREAKING CHANGES IN BEHAVIOUR BUILDER AND CORE. BE CAREFUL ON UPDATE

  • Version:
    • Serialization: 1.8.0 -> 1.8.1
    • Coroutines: 1.10.1 -> 1.10.2
    • Ktor: 3.1.1 -> 3.1.3
    • MicroUtils: 0.25.3 -> 0.25.7
  • Core:
    • POTENTIALLY BREAKING CHANGE Long polling has been reworked a bit
    • BREAKING CHANGE RequestsExecutor got property RequestsExecutor.Log: KSLog
  • BehaviourContext:
    • BREAKING CHANGE All triggers and waiters become non-suspend functions
    • BREAKING CHANGE Behaviour of counted extensions (commands, data callback queries, etc.) has been changed a bit: now each one will
      create subcontext and work in it
    • New extension BehaviourContext.launchInNewSubContext which will launch some job in subcontext of receiver

v25.0.1

THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 9.0

  • Core:
    • Previously named Gift now presented by Gift.Regular
    • Fixes in MultipartRequestCallFactory for correct handling of all MultipartRequest.Common inheritors
    • Username now can be safely created with Username.prepare
    • Add extensions String.splitFor(Text|Caption|StoryCaption) for preparing several texts for several
      messages/captions/story captions

v25.0.0: 25.0.0

THIS UPDATE CONTAINS ADDING SUPPORT OF Telegram Bots API 9.0

  • Core:
    • Previously named Gift now presented by Gift.Regular
    • Fixes in MultipartRequestCallFactory for correct handling of all MultipartRequest.Common inheritors
    • Username now can be safely created with Username.prepare
    • Add extensions String.splitFor(Text|Caption|StoryCaption) for preparing several texts for several
      messages/captions/story captions

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/major-tgbotapi branch 2 times, most recently from fce12e6 to 831bacb Compare June 15, 2025 16:54
@renovate renovate Bot changed the title Update dependency dev.inmo:tgbotapi to v25 Update dependency dev.inmo:tgbotapi to v26 Jun 15, 2025
@renovate renovate Bot force-pushed the renovate/major-tgbotapi branch from 831bacb to a7e55cc Compare July 11, 2025 13:14
@renovate renovate Bot force-pushed the renovate/major-tgbotapi branch from a7e55cc to 794ff62 Compare July 23, 2025 00:10
@renovate renovate Bot changed the title Update dependency dev.inmo:tgbotapi to v26 Update dependency dev.inmo:tgbotapi to v27 Jul 23, 2025
@renovate renovate Bot force-pushed the renovate/major-tgbotapi branch 3 times, most recently from 3a66ad2 to 87ca14c Compare August 6, 2025 12:55
@renovate renovate Bot force-pushed the renovate/major-tgbotapi branch from 87ca14c to 34541f9 Compare August 11, 2025 15:29
@renovate renovate Bot changed the title Update dependency dev.inmo:tgbotapi to v27 Update dependency dev.inmo:tgbotapi to v28 Aug 11, 2025
@renovate renovate Bot force-pushed the renovate/major-tgbotapi branch 2 times, most recently from 8b2afca to 283445e Compare September 10, 2025 13:45
@renovate renovate Bot force-pushed the renovate/major-tgbotapi branch 2 times, most recently from 876cea2 to ec88be0 Compare September 25, 2025 10:08
@renovate renovate Bot changed the title Update dependency dev.inmo:tgbotapi to v28 Update dependency dev.inmo:tgbotapi to v29 Sep 25, 2025
@renovate renovate Bot force-pushed the renovate/major-tgbotapi branch from ec88be0 to 8105812 Compare October 13, 2025 20:26
@renovate renovate Bot force-pushed the renovate/major-tgbotapi branch from 8105812 to 33c7809 Compare October 21, 2025 22:02
@renovate renovate Bot changed the title Update dependency dev.inmo:tgbotapi to v29 Update dependency dev.inmo:tgbotapi to v30 Oct 21, 2025
@renovate renovate Bot force-pushed the renovate/major-tgbotapi branch from 33c7809 to da7b0a0 Compare November 7, 2025 11:41
@renovate renovate Bot force-pushed the renovate/major-tgbotapi branch from da7b0a0 to 04e3973 Compare November 23, 2025 12:40
@renovate renovate Bot force-pushed the renovate/major-tgbotapi branch from 04e3973 to f411543 Compare March 4, 2026 17:06
@renovate renovate Bot changed the title Update dependency dev.inmo:tgbotapi to v30 Update dependency dev.inmo:tgbotapi to v31 Mar 4, 2026
@renovate renovate Bot force-pushed the renovate/major-tgbotapi branch from f411543 to 0c0c9b6 Compare March 8, 2026 12:56
@renovate renovate Bot changed the title Update dependency dev.inmo:tgbotapi to v31 Update dependency dev.inmo:tgbotapi to v32 Mar 8, 2026
@renovate renovate Bot force-pushed the renovate/major-tgbotapi branch from 0c0c9b6 to 0a5ed26 Compare April 16, 2026 17:36
@renovate renovate Bot changed the title Update dependency dev.inmo:tgbotapi to v32 Update dependency dev.inmo:tgbotapi to v33 Apr 16, 2026
@renovate renovate Bot force-pushed the renovate/major-tgbotapi branch from 0a5ed26 to 8cd4890 Compare April 19, 2026 10:11
@renovate renovate Bot changed the title Update dependency dev.inmo:tgbotapi to v33 Update dependency dev.inmo:tgbotapi to v33 - autoclosed Apr 25, 2026
@renovate renovate Bot closed this Apr 25, 2026
@renovate renovate Bot deleted the renovate/major-tgbotapi branch April 25, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants