fix(deps): update all non-major dependencies - #61
Merged
Conversation
Contributor
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.20.0→1.21.0v5.3.1→v5.3.2v1.23.0→v1.25.0v3.27.3→v3.28.0v1.56.0→v1.58.0Release Notes
go-chi/chi (github.com/go-chi/chi/v5)
v5.3.2Compare Source
What's Changed
middleware.NewCompressor(level, "/*")never worked and silently compressed nothing. Instead of turning it into a compress-everything catch-all (as proposed in #868 and #1121), we decided to reject both "/" and "/*" at construction and panic. Compressing every response wastes CPU on already-compressed types (zip, jpeg, png), which is why the middleware keeps a curated default list. Users should pass explicit content types.Full Changelog: go-chi/chi@v5.3.1...v5.3.2
go-telegram/bot (github.com/go-telegram/bot)
v1.25.0Compare Source
buildRequestFormhadno case for
InputRichMessage, so the field fell through to a plainjson.Marshaland theattach://references inInputRichMessage.Mediaandin the media
InputRichBlock*blocks were serialized without their file parts,leaving Telegram nothing to resolve them against (#298).
InputMediais uploaded.InputFileUploadnested inan
InputMediaVideo,InputMediaAnimation,InputMediaAudio,InputMediaDocumentorInputPaidMediaVideowas encoded as"@<filename>",which is not a Bot API reference, and no file part was written, so the
thumbnail was silently dropped by Telegram. It is now marshalled as
attach://<filename>and uploaded under that name.InputFileUpload.MarshalJSONemits the same reference everywhere; at the top level of a request the field is
still sent as its own form part, so that path is unchanged.
InputFileorInputMediano longer panics while the form isbuilt. A typed nil in a top level
InputFilefield, inInputMedia/InputPaidMedia(single or slice) or inInputRichMessage.Mediais reported asan error, and a typed nil thumbnail nested in an
InputMediais omitted fromthe encoded media instead of being sent as a
nullthe Bot API rejects.InputFileUploadwith an emptyFilenameis rejected.Filenameis the
attach://reference and the part name, so an empty one produced"thumbnail":"attach://"and an opaqueBad Requestfrom Telegram.InputFileUpload.MarshalJSONandInputFileString.MarshalJSONescapetheir value instead of concatenating it into a JSON string. A
Filenameor afile_idcontaining a quote or a backslash produced invalid JSON, failing therequest after the file parts had already been streamed.
error instead of both being written. The name of a part is what an
attach://reference resolves against, so a duplicate — most easily two thumbnails with
the same
Filename— silently made Telegram resolve both references to thefirst file. One file referenced from several entries under a single name still
works: the part is written once and reused. A file part and a form field of the
same name are the same ambiguity and are rejected too. A request that built
before can now fail early, most visibly when an
attach://name matches thename of a form field, e.g.
attach://mediainsendMediaGroup,editMessageMediaorsendPaidMedia.v1.24.0Compare Source
RichMessageButton;RichTextButton(via theRichTextunion);
RichBlockButtons,RichBlockExpandableBlockQuotation,RichBlockDocumentand theirInputRichBlock*counterparts (via theRichBlock/InputRichBlockunions);is_compactonRichBlockTableandInputRichBlockTable;tg://document?id=links forInputRichMessageMedia.EphemeralMessageParameters(withreplace_callback_query_message), sent asephemeral_message_parametersbythe 13 send methods and
sendRichMessage;rich_messageoneditEphemeralMessageText(andtextmade optional);show_caption_above_mediaoneditEphemeralMessageCaption; upload of newfiles in
editEphemeralMessageMedia;can_send_welcome_messagesonChatAdministratorRights,ChatMemberAdministratorandpromoteChatMember.DisabledButtonwith thedisabledfield onInlineKeyboardButton;force_replyonInlineKeyboardMarkupandReplyKeyboardMarkup.can_stopandkeep_on_stoponsendMessageDraftandsendRichMessageDraft; newMessageGenerationStoppedwith thestopped_message_generationfield onUpdate(and the matchingallowed-update constant); new
CommunityChatJoinedwithcommunity_chat_joinedonMessage;text,entitiesandis_privateonUniqueGiftInfo.attach://with a nil reader returns an error instead of panicking.addFormFieldInputMediaItemandaddFormFieldInputStickerSlicecopied thereader without checking it, and since the form is built in a goroutine with no
recover, a missing
MediaAttachmentorStickerAttachmenttook the processdown instead of failing the call (#296).
can_post_stories,can_edit_storiesandcan_delete_storiesare nolonger marked
omitemptyonChatAdministratorRightsandChatMemberAdministrator. They are required fields in the Bot API, so theyare now always sent, matching the rest of the required rights in those types.
The parameters of the same name on
promoteChatMemberare optional and areunchanged.
getUpdatesloop honoursretry_afteron a 429 instead of its ownbackoff, which starts at 100ms, doubles and caps at 5s. When Telegram asked
for a longer wait, the bot retried early and earned further 429s (#289).
Message.ReplyToStorewas taggedreply_to_store, a typo ofthe Bot API field
reply_to_story, so it was never unmarshalled. The field isrenamed to
ReplyToStory(#287).BusinessBotRights.CanDeleteOutgoingMessageswas taggedcan_delete_outgoing_messages, which does not exist in the Bot API. The rightwas dropped on unmarshal and emitted under a key Telegram ignores. The field is
renamed to
CanDeleteSentMessageswith the correctcan_delete_sent_messagestag (#286).ReceiverUserIDandCallbackQueryIDare removed from the sendmethod params (
SendMessageParams,SendPhotoParams, ...); Bot API 10.3replaced them with
EphemeralMessageParameters.pressly/goose (github.com/pressly/goose/v3)
v3.28.0Compare Source
Added
azuresqldriver for Azure SQL with Microsoft Entra ID (Azure AD) authentication viafedauthconnection string parameters, e.g.goose azuresql "sqlserver://host?database=mydb&fedauth=ActiveDirectoryDefault" status.Excluded when building with the
no_mssqlorno_azuresqltags (#1109)Lockervialock.NewMySQLTableLocker, the MySQL counterpart to thePostgres table locker from #993, accepting the same
TableLockerOptionset (#1075)Changed
Minimum Go version is now 1.26
ClickHouse: new
goose_db_versiontables are created withORDER BY (version_id)instead ofORDER BY (date). Existing tables are unchanged (#1085)MySQL/TiDB: the
tstampcolumn is nowDATETIMEinstead ofTIMESTAMP, which is capped at2038-01-19 (#1053). Only newly created tables are affected; existing tables can be updated with:
Various dependency upgrades
Fixed
goose createreturns a clear "file exists" error, including the path, instead of%!w(<nil>)when the migration file already exists (#1104)
cznic/sqlite (modernc.org/sqlite)
v1.58.0Compare Source
v1.57.0Compare Source
Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.