docs: add testing guidelines and comprehensive test suite with @gramio/test
refactor: migrate from middleware-io to @gramio/composer
-
Add comprehensive
-
Fix type narrowing in Updates.run() for context handling
-
Expose Plugin["~"] getter for duck-typing compatibility with EventComposer
-
Promote plugin composers to "scoped" mode to share context across extensions
-
Add Plugin.extend(composer) overload for direct composer integration
-
Implement Bot.extend(composer) overload with type inference
refactor: improve type safety and add composer deduplication support- Add proper type assertions for derive/on/use handlers in Bot and Plugin
-
Remove type assertions (as any) from test cases using composer.extend(plugin)
-
Properly extract and merge plugin derives into composer type signature
refactor: add type-safe Plugin.extend() support to EventComposer- Add module augmentation for EventComposer.extend() to accept AnyPlugin
chore: readme badge
refactor: remove unused mode parameter from handleUpdate method
-
Change CallbackData import to type-only
-
Expose bot info on composer for command mention stripping
-
Move reaction(), callbackQuery(), chosenInlineResult(), inlineQuery(), hears(), command(), and startParameter() implementations from Bot to Composer methods
-
Update @gramio/composer to 0.2.0, @gramio/types to 9.4.1
chore: bump dependencies and migrate shorthand methods to Composer- Update @biomejs/biome to 2.4.2, pkgroll to 2.26.0
-
Add UserInChatScope tests for scoped message sending
-
Add chosenInlineResult handler tests for query matching and result selection
-
Add inlineQuery handler tests for string/regex/function matchers and onResult option
-
Add reaction handler tests covering emoji add/remove, multi-user reactions, and scoped shortcuts
-
Add testing guidelines for @gramio/test scoped API usage
chore: bump @gramio/test to 0.1.0 and add comprehensive inline/reaction test coverage- Update @gramio/test from 0.0.2 to 0.1.0
refactor: remove unnecessary type assertion in Plugin.on() method
-
Remove commented-out handleUpdate() call
-
Replace for-await loop with queue.addBatch() for batch update processing
refactor: replace unused error variable and use queue.addBatch() for updates- Rename caught error to _error in handleUpdate() to indicate it's unused
chore: bump version to 0.5.0 and remove unnecessary type assertion in Plugin.derive()
refactor: delegate Bot.decorate() to composer.decorate() and remove contextsMappings usage #21
refactor: add TODO comment for context isolation performance research in Bot.decorate()
-
Update hears, callbackQuery, inlineQuery, and chosenInlineResult tests to use expectString for captured match groups
-
Replace optional chaining (?.[]) with explicit null checks and type-safe extraction
refactor: add type-safe expectString helper and replace nullable assertions in test cases- Add expectString() helper to safely extract and validate string values from unknown types
Full Changelog: v0.4.14...v0.5.0