Releases: mymmrac/telego
Releases Β· mymmrac/telego
v0.24.0 Helper context & message entities
Overview
- Added context to long polling & webhook helpers
- Added
telego.WithLongPollingContext
andtelego.WithWebhookContext
options - Set message entity length to its full length, not trimming it
What's Changed
- Bump github.com/valyala/fasthttp from 1.46.0 to 1.47.0 by @dependabot in #101
Full Changelog: v0.23.0...v0.24.0
v0.23.0 Bug fixes
Overview
- Renamed
FileByURL
intoFileFromURL
andFileByID
intoFileFromID
- Fixed bug with sending files using data & ID or URL
- Fixed bug with sending strings with files using multipart form data
- Fixed message entities length
Full Changelog: v0.22.1...v0.23.0
v0.22.1 Telegram Bot API v6.7
Overview
- Updated to Telegram Bot API v6.7
- Updated dependencies
- Fixed #98
What's Changed
- Bump github.com/valyala/fasthttp from 1.44.0 to 1.45.0 by @dependabot in #87
- Bump github.com/fasthttp/router from 1.4.17 to 1.4.18 by @dependabot in #88
- Bump actions/setup-go from 3 to 4 by @dependabot in #91
- Bump github.com/goccy/go-json from 0.10.1 to 0.10.2 by @dependabot in #90
- Bump golang.org/x/text from 0.8.0 to 0.9.0 by @dependabot in #93
- Integer Offset in UTF-16 code units by @abakum in #95
- Bump github.com/valyala/fasthttp from 1.45.0 to 1.46.0 by @dependabot in #96
New Contributors
Full Changelog: v0.22.0...v0.22.1
v0.22.0 Telegram Bot API v6.6
Overview
- Updated to Telegram Bot API v6.6
- Fixed couple of small bugs
What's Changed
- Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in #83
- Bump github.com/fasthttp/router from 1.4.16 to 1.4.17 by @dependabot in #84
- Bump golang.org/x/text from 0.7.0 to 0.8.0 by @dependabot in #85
- Bump github.com/goccy/go-json from 0.10.0 to 0.10.1 by @dependabot in #86
Full Changelog: v0.21.1...v0.22.0
v0.21.1 Update's context
Overview
- Added
Context
andWithContext
methods for update - Added autocancel of context for Bot Handler
Full Changelog: v0.21.0...v0.21.1
v0.21.0 Handler groups & middleware
Overview
- Added
HandlerGroup
with ability to create new subgroups and apply middleware - Added
PanicRecovery
middleware - Added
ToPtr
helper func - Fixed non ASCII chars in message entities
What's Changed
- Bump golang.org/x/text from 0.6.0 to 0.7.0 by @dependabot in #82
Full Changelog: v0.20.2...v0.21.0
v0.20.2 Secret token & empty values
Overview
- Added secret token validation for default webhook servers
- Removed
EmptyValue
workaround and replaced it with pointers tobool
orstring
Full Changelog: v0.20.1...v0.20.2
v0.20.1 Telegram Bot API v6.5
v0.20.0 Webhook Server
Overview
- Introduced concept of
WebhookServer
- Added
fasthttp
,http
and multi-bot server implementation ofWebhookServer
- Removed old
StartListeningForWebhook...
- New
StartWebhook
added (now blocks execution) - New and updated
WithWebhookServer
,WithWebhookSet
webhook options - New util
Webhook
for creatingSetWebhookParams
- Updated webhook examples
What's Changed
- Bump github.com/fasthttp/router from 1.4.15 to 1.4.16 by @dependabot in #80
Full Changelog: v0.19.0...v0.20.0
v0.19.0 Long Polling typo & new domain
Overview
- Fixed #74
- Added
net/http
API caller implementation (bot optionWithHTTPCaller(...)
to use) - Moved from
telego.ml
to telego.pixelbox.dev - Updated examples
What's Changed
- Bump github.com/fasthttp/router from 1.4.14 to 1.4.15 by @dependabot in #79
Full Changelog: v0.18.2...v0.19.0