Skip to content

Releases: gramiojs/contexts

v0.5.0

01 Mar 11:13

Choose a tag to compare

feat: add Bot API 9.5 support for member tags and date_time entitiesAdd setChatMemberTag method to ChatMemberControlMixin. Extend ChatAdministratorRights with canManageTags permission. Add tag, canEditTag, and canManageTags fields to ChatMember. Add canEditTag to ChatPermissions. Add unixTime and dateTimeFormat fields to MessageEntity for date_time entity type. Add senderTag field to Message. Update @gramio/types to 9.5.0 and README.md Bot API version badge to 9.5. Add sync-gramio-types skill documentation

chore: bump version to 0.5.0 and update package metadataUpdate copyright year to 2026 in LICENSE. Add readme, homepage, and repository fields to package.json. Fix isTopicMessage return type to always return boolean instead of boolean | undefined.
Full Changelog: v0.4.0...v0.5.0

v0.4.0

14 Feb 17:21

Choose a tag to compare

chore: add CLAUDE.md documentation for AI-assisted development

docs: expand CLAUDE.md with detailed @gramio/types sync workflow

feat: add support for 9.2 Bot API suggested posts and direct messages featuresAdd contexts, structures, and mappings for suggested post lifecycle events (approved, approval_failed, declined, paid, refunded). Implement DirectMessagesTopic structure and add direct messages support to Chat and ChatFullInfo. Extend ChatAdministratorRights and ChatMember with canManageDirectMessages permission. Add publisherChat field to Gift and UniqueGift structures, suggestedPostInfo and directMessagesTopic to Message, and re

feat: add GiftUpgradeSentContext for Bot API 9.3 gift upgrade service messagesAdd GiftUpgradeSentContext to handle service messages about gift upgrades purchased after the gift was sent. Implement context with properties for gift info, owned gift ID, star counts, upgrade capability, message text/entities, privacy settings, and unique gift number. Add sendMessageDraft method to SendMixin. Update README.md Bot API version badge to 9.3. Fix formatting in GiveawayCreatedContext and PaidMediaPurchasedContext.

feat: add streamMessage method for live-typing message drafts with automatic finalizationAdd streamMessage to SendMixin for streaming text chunks to chat with live typing previews via sendMessageDraft and automatic finalization via sendMessage when 4096-char segments complete. Accepts Iterable/AsyncIterable of MessageDraftPiece (strings or objects with text/entities). Auto-forwards threadId and businessConnectionId. Add MessageDraftPiece and StreamMessageOptions types with support for draft ID

chore: update @gramio/types to 9.4.0 and add Bot API 9.4 supportAdd ChatOwnerLeftContext and ChatOwnerChangedContext for service messages about chat ownership changes. Add VideoQuality structure for video quality variants. Extend User with allowsUsersToCreateTopics field, ChatFullInfo with firstProfileAudio, UniqueGiftModel with rarity field, and UniqueGift with isBurned flag. Add UserProfileAudios structure. Update README.md Bot API version badge to 9.4.

chore: update dependencies and bump version to 0.4.0Update @biomejs/biome to 2.3.15, @types/bun to 1.3.9, pkgroll to 2.25.2, tsup to 8.5.1, and typescript to 5.9.3. Remove organizeImports config from biome.json as it's enabled by default in newer versions.
Full Changelog: v0.3.1...v0.4.0

v0.3.1

01 Feb 13:24
57d943f

Choose a tag to compare

feat: provide chat id in callback query context

Merge pull request #2 from n08i40k/mainfeat: provide chat id in callback query context

chore: bump

chore: update @gramio/types to 9.3.0 and adapt UniqueGiftInfo to new resale fields

What's Changed

  • feat: provide chat id in callback query context by @n08i40k in #2

New Contributors

Full Changelog: v0.3.0...v0.3.1

v0.3.0

11 Jul 23:43
c302061

Choose a tag to compare

feat: updates for 9.1 Bot API

chore: bump

chore: missing 9.1

Full Changelog: v0.2.5...v0.3.0

v0.2.5

19 Apr 19:38
2f70110

Choose a tag to compare

chore: ohh...

Full Changelog: v0.2.4...v0.2.5

v0.2.4

19 Apr 19:29
c320b5a

Choose a tag to compare

chore: experiment: lets try with MessageContextWithRequiredFrom

chore: remove useless

Full Changelog: v0.2.3...v0.2.4

v0.2.3

19 Apr 19:20
66748a7

Choose a tag to compare

fix: circular reference regression and add test for it

chore: bump

Full Changelog: v0.2.2...v0.2.3

v0.2.2

19 Apr 17:14
ff01317

Choose a tag to compare

chore: tries

chore: /index imports in barrel file

chore: tsup

chore: ok

chore: ok

Full Changelog: v0.2.1...v0.2.2

v0.2.1

19 Apr 15:16
88370da

Choose a tag to compare

fix: workaround for TargetMixin

Full Changelog: v0.2.0...v0.2.1

v0.2.0

13 Apr 14:38
dc9a319

Choose a tag to compare

chore: support new things part one

chore: text lockfile

feat: gift context

feat: unique gift

feat: PaidMessagePriceChangedContext

chore: deprecate startPayload

chore: bump

Full Changelog: v0.1.5...v0.2.0