Skip to content

chore: update dependencies and verify Bot API 10.3 sync - #21

Merged
evermake merged 1 commit into
mainfrom
chore/deps-bot-api-refresh
Nov 1, 2026
Merged

evermake merged 1 commit into
mainfrom
chore/deps-bot-api-refresh

Conversation

@evermake

@evermake evermake commented Nov 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Update all direct development dependencies that have newer stable releases, refresh transitive resolutions, and upgrade the pinned package manager to pnpm 12.16.1.
  • Upgrade GitHub Actions to checkout v7, setup-node v7, and pnpm/action-setup v6.
  • Run TypeScript 7.0.2 for builds/type checks using the officially recommended @typescript/native alias, alongside the @typescript/typescript6 compatibility API required by typescript-eslint. Document the setup in README.
  • Apply the new ESLint preset's formatting requirements to the generator without changing its behavior.
  • Add targeted transitive security overrides for tinypool, minimatch, and KaTeX, with advisory references. The dependency audit is clean.

Telegram Bot API sync

The official documentation's latest release is still Bot API 10.3 (August 24, 2026). Re-fetched 185 methods and 399 types through pnpm gen:fetch; the upstream snapshot matches the committed spec exactly. pnpm gen:check reports Nothing to review, and regenerated modules are unchanged. No artificial version bump or manual snapshot/generated-module edits are included.

Validation

Passed locally on Node 24.19.0:

  • pnpm install --frozen-lockfile
  • pnpm lint
  • pnpm typecheck
  • pnpm build
  • pnpm gen:fetch, pnpm gen:check, and pnpm gen:build
  • git diff --exit-code -- src/ spec/ (upstream and generated output unchanged)
  • pnpm peers check (no issues)
  • pnpm audit (no known vulnerabilities)
  • pnpm outdated (no outdated direct dependencies)
  • Built ESM export smoke assertions: complete method/type names and order match metadata; Bot API 10.3 ephemeral-message/rich-message definitions are exported.
  • git diff --check

Also passed pnpm typecheck, pnpm lint, pnpm gen:check, and pnpm gen:build under Node 22.18.0, preserving the existing minimum supported Node version.

Release/publishing workflows were not executed. No package or tag is published, and this PR is left unmerged. no-mistakes was skipped as requested.

@evermake
evermake merged commit 25f6c58 into main Nov 1, 2026
3 checks passed
@evermake
evermake deleted the chore/deps-bot-api-refresh branch November 1, 2026 11:57
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.

1 participant