Skip to content

chore(deps): bump the go-dependencies group across 1 directory with 5 updates - #12

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/go-dependencies-79cef81a14
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/go-dependencies-79cef81a14

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 13, 2026 •

Copy link
Copy Markdown

Bumps the go-dependencies group with 5 updates in the / directory:

Package From To
github.com/charmbracelet/x/ansi 0.11.6 0.11.9
github.com/cloudapp3/tgbot 0.1.0 0.2.0
github.com/modelcontextprotocol/go-sdk 1.6.1 1.8.0
golang.org/x/crypto 0.54.0 0.58.0
golang.org/x/sys 0.47.0 0.49.0

Updates github.com/charmbracelet/x/ansi from 0.11.6 to 0.11.9

Commits
  • faa4adf ansi/v0.11.9
  • 09f7503 feat(ansi): OSC 7501 (#1004)
  • ad85c59 chore(powernap): update lsp configs from nvim-lspconfig
  • 953920d nerdfont/v0.1.0
  • 4edfc00 feat(nerdfont): overrides (#1000)
  • 7be62f4 chore(deps): bump golang.org/x/sys in /term in the all group (#996)
  • 29bfdbd feat: nerdfont
  • 9c77d67 chore(powernap): update lsp configs from nvim-lspconfig
  • d676b01 v0.1.0 for charmtone and slices
  • 53e2afe chore(powernap): update lsp configs from nvim-lspconfig
  • Additional commits viewable in compare view

Updates github.com/cloudapp3/tgbot from 0.1.0 to 0.2.0

Release notes

Sourced from github.com/cloudapp3/tgbot's releases.

v0.2.0

tgbot v0.2.0

This release updates the generated SDK to Telegram Bot API 10.2 and fixes several public result types that did not match Telegram's JSON responses. It also hardens long polling, request deadlines, multipart uploads, webhook examples, and generated-code verification while keeping the runtime dependency set at standard library only.

Breaking changes

Batch method results

The following methods now return slices, matching the official API:

  • CopyMessages: []MessageId instead of MessageId
  • ForwardMessages: []MessageId instead of MessageId
  • SendMediaGroup: []Message instead of Message
  • GetUserPersonalChatMessages: []Message instead of Message

Callers must iterate the returned values or select the element they need.

Message or Boolean results

Methods documented by Telegram as returning Message or True now return MessageOrBool instead of any:

  • EditMessageCaption
  • EditMessageLiveLocation
  • EditMessageMedia
  • EditMessageReplyMarkup
  • EditMessageText
  • SetGameScore
  • StopMessageLiveLocation

Use AsMessage() or AsBool() to inspect the active result variant.

Upload-capable generated fields

Upload-capable fields inside generated Input* structs now use InputFile instead of string. This includes media, thumbnails, covers, profile photos, story content, and stickers. Existing file IDs and URLs should be migrated to FileFromID(...) and FileFromURL(...); local paths and readers can use FileFromPath(...) and FileFromReader(...).

Public struct literals

APIError adds a trailing Parameters *ResponseParameters field, and ext.Context adds private propagation state. External unkeyed literals for either type no longer compile. Use keyed literals such as APIError{StatusCode: code} and ext.Context{Bot: bot, Update: update}; keyed literals remain source-compatible with these changes.

Polling behavior

  • The root UpdatePoller.Updates() stream is opt-in and is enabled on its first call.
  • A poller with no root stream and no subscriptions waits without issuing getUpdates requests.
  • Registering a subscription wakes a running poller, and subscription-only use no longer depends on draining the root stream.
  • An update returned by an in-flight request is retained if the last sink disappears before local dispatch; the offset advances only after the update is processed by an active sink.
  • Unsubscribe() interrupts a blocked delivery and closes the subscription channel before returning.
  • Subscription filters execute outside the poller's global lock.

For startup without a fetch window, create the poller with NewUpdatePoller, register subscriptions, then call Start.

... (truncated)

Changelog

Sourced from github.com/cloudapp3/tgbot's changelog.

[0.2.0] - 2026-07-19

See docs/releases/v0.2.0.md for the full notes.

Changed

  • Generated SDK aligned with Telegram Bot API 10.2.
  • Batch methods (SendMediaGroup, ForwardMessages, CopyMessages, GetUserPersonalChatMessages) return slices, matching the official API.
  • Methods documented as returning Message | True now return MessageOrBool instead of any; inspect with AsMessage() / AsBool().
  • Upload-capable fields in generated Input* structs use InputFile.
  • Long polling waits without issuing getUpdates until a sink exists, keeps offset semantics conservative, and closes subscription channels on Unsubscribe().
  • Default request deadlines: 30s ordinary calls, getUpdates.timeout + 5s long polling, 10m multipart uploads; caller deadlines are preserved.
  • Multipart bodies stream through io.Pipe; interrupted uploads abort without waiting on a blocked source reader.
  • Added retry governance (WithRetryPolicy, request observers), safe telemetry redaction, and tgbottest fake API server improvements.

Breaking

  • The changes above are source-incompatible for v0.1.0 callers where noted; see the release notes for migration guidance.
Commits
  • 920e9c5 fix: interrupt stalled fake server requests
  • 5c8c441 chore: add API and release governance
  • 8cbef30 feat: harden requests and update dispatch
  • 4790df3 feat: align SDK with Telegram Bot API 10.2
  • 84e955f docs(readme): refresh multilingual README copy and badges
  • See full diff in compare view

Updates github.com/modelcontextprotocol/go-sdk from 1.6.1 to 1.8.0

Release notes

Sourced from github.com/modelcontextprotocol/go-sdk's releases.

v1.8.0

This release is equivalent to v1.8.0-pre.2. Thank you to those who tested the pre-release.

In this release we introduce several fixes and improvements on top of v1.7.0. It adds no new protocol revision: the supported set is unchanged, and 2026-07-28 remains the newest version the SDK negotiates.

The bulk of the work is hardening the transports against resource exhaustion, closing session leaks, deadlocks and teardown hangs found by users running the new protocol at scale, and giving servers explicit control over which protocol versions they advertise.

Two behavior changes are guarded by new MCPGODEBUG flags; see the section below.

Hardening against resource exhaustion

Every decoding path that buffers incoming input is now bounded. JSON payloads are rejected past 1000 levels of nesting, before the parser recurses. Both SSE readers cap the bytes buffered for a single event via MaxEventSize on SSEClientTransport and StreamableClientTransport, and the stdio transport caps a single JSON-RPC frame via StdioTransport.MaxLineLength.

On the OAuth side, dynamic client registration responses are bounded to 1 MB, and the discovery code now validates metadata documents rather than trusting them.

Restricting the protocol versions a server supports

ServerOptions.SupportedProtocolVersions lets a server narrow the set of versions it advertises and negotiates. The list can only narrow, never widen; naming a version the SDK does not implement panics at construction. Relatedly, a stateful streamable handler receiving a 2026-07-28 request now returns that same JSON-RPC error instead of a plain-text 400, so the client can renegotiate down instead of losing the connection.

Per-request cache control

ServerOptions.SetCacheable is a new hook that decides the ttlMs and cacheScope fields of every result carrying them: server/discover, the four list methods, and resources/read. It runs once per result, after the handler returns, with the values that handler produced, so it can set a policy globally while still letting an individual handler override it. Anything left unset falls back to the protocol default of public.

Behavior changes guarded by MCPGODEBUG

Two new escape-hatch flags restore the previous behavior of the changes above. Both will be removed in v1.9.0.

  • plaintextstatefulrejection=1 — restore the plain-text http.Error 400 body a stateful StreamableHTTPHandler previously returned for a request carrying per-request metadata. The default is now a JSON-RPC -32022 CodeUnsupportedProtocolVersion error with an UnsupportedProtocolVersionData payload advertising the legacy versions the server supports. Introduced by #1143.
  • blockingcancelnotify=1 — restore the previous behavior where a cancelled call waits synchronously for notifications/cancelled to be delivered (up to 5s) before returning, joining any delivery error into the caller's error. The default now retires the call immediately and sends the notification asynchronously. Introduced by #1151.

Options below were removed, according to plan:

  • seterroroverwrite
  • enableoriginverification
  • disablecontenttypecheck

... (truncated)

Commits
  • 3f3b699 refactor: remove legacy MCPGODEBUG compatibility for new protocol release (#1...
  • 830f0b7 mcp: update conformance tests (#1231)
  • 12cbafe oauthex: oauth discovery checks (#1220)
  • 3632967 mcp: add an sse event size cap (#1205)
  • 0d3036f mcp: allow per request Cacheable customization (#1203)
  • cb0de64 mcp: add a max request body size of the old transport (#1224)
  • 2fdabde mcp: do not check metatada on notifications (#1215)
  • 59185e6 build(deps): bump ossf/scorecard-action from 2.4.3 to 2.4.4 (#1217)
  • a6764cf build(deps): bump golang/govulncheck-action from 1.0.4 to 1.1.0 (#1218)
  • 8227246 fix: only subscribe when server advertises capability (#1221)
  • Additional commits viewable in compare view

Updates golang.org/x/crypto from 0.54.0 to 0.58.0

Commits
  • 8fdf07b go.mod: update golang.org/x dependencies
  • 2437861 salsa20: fix keystream reuse in LoongArch LSX tail
  • c3db4df acme: prefer test log helpers in test contexts
  • 4e01a84 acme: adds support for profiles draft
  • 8f0f111 ssh: check that no Unicode-aware string function is used
  • b39ff6d ssh: add certificate algorithms for ML-DSA keys
  • 4465db3 ssh: add the ML-DSA public key algorithms
  • 83e695b ssh: implement ETM mode for CBC ciphers
  • 946083a ssh: only drop a trailing carriage return
  • 543dde9 ssh: accept known_hosts entries with a multi-word comment
  • Additional commits viewable in compare view

Updates golang.org/x/sys from 0.47.0 to 0.49.0

Commits
  • b6b8557 unix/linux: unify ppc64x syscall wrappers
  • aab6988 unix: add PrctlArg5Ptr
  • cdfd984 unix: pass fcntl data as unsafe.Pointer in FcntlF{lock,store} on darwin
  • 782b836 unix/linux: don't warn about closed stderr from child process
  • 61592fb unix: return syscall error in *listxattrNS on BSD
  • c136fda unix/linux/Dockerfile: update to Go 1.26.8
  • f1d0d79 unix: pass xattr data as unsafe.Pointer in BSD xattr syscalls
  • 67f850b unix: update linux to v7.2
  • eb1f659 unix: add O_EXEC and O_SEARCH on darwin
  • 51bc731 unix: add Mmsghdr for linux
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Sep 13, 2026
… updates

Bumps the go-dependencies group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [github.com/charmbracelet/x/ansi](https://github.com/charmbracelet/x) | `0.11.6` | `0.11.9` |
| [github.com/cloudapp3/tgbot](https://github.com/cloudapp3/tgbot) | `0.1.0` | `0.2.0` |
| [github.com/modelcontextprotocol/go-sdk](https://github.com/modelcontextprotocol/go-sdk) | `1.6.1` | `1.8.0` |
| [golang.org/x/crypto](https://github.com/golang/crypto) | `0.54.0` | `0.58.0` |
| [golang.org/x/sys](https://github.com/golang/sys) | `0.47.0` | `0.49.0` |



Updates `github.com/charmbracelet/x/ansi` from 0.11.6 to 0.11.9
- [Commits](charmbracelet/x@ansi/v0.11.6...ansi/v0.11.9)

Updates `github.com/cloudapp3/tgbot` from 0.1.0 to 0.2.0
- [Release notes](https://github.com/cloudapp3/tgbot/releases)
- [Changelog](https://github.com/cloudapp3/tgbot/blob/master/CHANGELOG.md)
- [Commits](cloudapp3/tgbot@v0.1.0...v0.2.0)

Updates `github.com/modelcontextprotocol/go-sdk` from 1.6.1 to 1.8.0
- [Release notes](https://github.com/modelcontextprotocol/go-sdk/releases)
- [Commits](modelcontextprotocol/go-sdk@v1.6.1...v1.8.0)

Updates `golang.org/x/crypto` from 0.54.0 to 0.58.0
- [Commits](golang/crypto@v0.54.0...v0.58.0)

Updates `golang.org/x/sys` from 0.47.0 to 0.49.0
- [Commits](golang/sys@v0.47.0...v0.49.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/x/ansi
  dependency-version: 0.11.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-dependencies
- dependency-name: github.com/cloudapp3/tgbot
  dependency-version: 0.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/modelcontextprotocol/go-sdk
  dependency-version: 1.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: golang.org/x/crypto
  dependency-version: 0.57.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: golang.org/x/sys
  dependency-version: 0.48.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/go-dependencies-79cef81a14 branch from 422b8b4 to 71f2846 Compare November 1, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants