Releases: gramiojs/wrappergram
Release list
v2.0.0
-
Add sideEffects:false and wrappergram/utils subpath export
-
Remove @gramio/files hard dependency (opt-in via middleware)
-
Add MiddlewareContext distributive union for type narrowing
-
Add SuppressedAPIMethods with IsSuppressed generic inference
-
Per-request fetch options as second argument to every API method
-
Add suppress pattern: suppress:true returns TelegramError | Result
-
Add TelegramError with method, code, payload and captureStackTrace
-
Middlewares configured via options.middlewares only (no .use())
feat: redesign core as minimal middleware-based wrapper- Replace 4-hook system with single Middleware type (context, next)
Merge branch 'main' into feat/v2-middleware-redesign
Merge pull request #2 from gramiojs/feat/v2-middleware-redesignfeat: wrappergram v2 — minimal middleware-based Telegram Bot API wrapper
docs: update middleware example to use package exports
feat: expose Bot API 10.3
ci: migrate npm publishing to OIDC
fix: avoid ambient Node stack trace types
What's Changed
- feat: wrappergram v2 — minimal middleware-based Telegram Bot API wrapper by @kravetsone in #2
New Contributors
- @kravetsone made their first contribution in #2
Full Changelog: v1.3.0...v2.0.0
v1.3.0
v1.2.1
chore: use params as queryString if there isMediaUpload
Full Changelog: v1.2.0...v1.2.1
v1.2.0
chore: update badges
chore: fix badges
chore: bumps
chore: just bumps
chore: add npm downloads badge and fix ts errors
chore: use .ts extension
chore: add MIT license
Full Changelog: v1.0.0...v1.2.0
v1.0.0
chore: add tiny in features and fix bundling
chore: build before publint
Full Changelog: v0.0.1...v1.0.0
v0.0.1
refactor: add utils dir
feat: add simple configuration
chore: configure package
chore: improve JSDoc comments
chore: complete README
chore: add description and keywords
chore: add CICD to publish
chore: fix link
chore: add deno.json file
chore: fix import
Full Changelog: https://github.com/gramiojs/wrappergram/commits/v0.0.1