Releases: mymmrac/telego
Releases Β· mymmrac/telego
v0.29.1 Telegram Bot API v7.1
v0.29.0 Telegram Bot API v7.0
π₯ Notice
- Expect braking changes since Telegram updated it's types & methods
Overview
- Updated to Telegram Bot API v7.0
- Updated dependencies
- Expect some performance degradation, since unmarshaling
Message
,Chat
and some other types now is more complex
What's Changed
- Bump golang.ngrok.com/ngrok from 1.5.1 to 1.7.0 in /examples by @dependabot in #151
- Bump actions/setup-go from 4 to 5 by @dependabot in #152
- Bump github/codeql-action from 2 to 3 by @dependabot in #153
- Bump go.uber.org/mock from 0.3.0 to 0.4.0 by @dependabot in #156
- Telegram Bot API v7.0 by @mymmrac in #157
- Added method MemberIsMember for interface ChatMember by @code-a1 in #161
New Contributors
Full Changelog: v0.28.0...v0.29.0
v0.28.0 Bug fixes & updates
Overview
- π₯ Changed logic of context in webhook handler (added context parameter)
- Updated to Go 1.21
- Added build tags for different JSON encodings support
- Goroutine safety for adding Bot Handlers (handler, middlewares, groups)
- Fixed bug with Bot Handlers stop
- Added
ValidateLoginWidgetData
utility
What's Changed
- Bump github.com/fasthttp/router from 1.4.21 to 1.4.22 by @dependabot in #150
- feat: use
internal/json
to handle json by @AH-dark in #146
New Contributors
Full Changelog: v0.27.2...v0.28.0
v0.27.2 More utilities
Overview
- Added
WebAppInfo
utility - Added
ChatID
method fortelego.Chat
- Added
Any
andNone
predicates - Added
Or
predicate (deprecatedUnion
)
What's Changed
- Bump github.com/mymmrac/telego from 0.27.0 to 0.27.1 in /examples by @dependabot in #142
Full Changelog: v0.27.1...v0.27.2
v0.27.1 Small fixes
Overview
- Fixed linters
- Fixed #141
- Updated method receiver to be a printer for
telegoapi.Error
- Updated types & methods comments
What's Changed
- Remove unnecessary require.NotNil in TestBot_UpdatesViaWebhook by @alexandear in #140
Full Changelog: v0.27.0...v0.27.1
v0.27.0 Bot Handlers with context
Overview
- Added Bot Handlers with context
- Updated built-in middlewares
- Improved
CommandRegexp
to support/cmd@bot args
syntax - Updated
ParseCommand
utility - Added more keyboard utilities
- Updated dependencies
What's Changed
- Bump github.com/mymmrac/telego from 0.26.2 to 0.26.3 in /examples by @dependabot in #137
- Bump golang.org/x/net from 0.10.0 to 0.17.0 in /examples by @dependabot in #138
- Bump github.com/fasthttp/router from 1.4.20 to 1.4.21 by @dependabot in #139
Full Changelog: v0.26.3...v0.27.0
v0.26.3 Telegram Bot API v6.9
Overview
- Updated to Telegram Bot API v6.9
What's Changed
- Fixed typos in comments and variable names by @alexandear in #135
- Bump github.com/mymmrac/telego from 0.26.2-0.20230917133625-50ec5a001339 to 0.26.2 in /examples by @dependabot in #134
Full Changelog: v0.26.2...v0.26.3
v0.26.2 Test server support
Overview
- Added
WithTestServerPath
bot option - Updated dependencies
What's Changed
- Bump github.com/mymmrac/telego from 0.26.0 to 0.26.1 in /examples by @dependabot in #126
- Bump github.com/valyala/fasthttp from 1.48.0 to 1.49.0 by @dependabot in #127
- Bump golang.ngrok.com/ngrok from 1.3.1 to 1.4.0 in /examples by @dependabot in #128
- Bump github.com/valyala/fasthttp from 1.48.0 to 1.49.0 in /examples by @dependabot in #129
- Bump actions/checkout from 3 to 4 by @dependabot in #130
- Bump github.com/valyala/fasthttp from 1.49.0 to 1.50.0 by @dependabot in #131
Full Changelog: v0.26.1...v0.26.2
v0.26.1 Telegram Bot API v6.8
Overview
- Updated to Telegram Bot API v6.8
- New predicates for message caption
What's Changed
- Add Predicates for Captioned Messages by @Charibdys in #124
New Contributors
- @Charibdys made their first contribution in #124
Full Changelog: v0.26.0...v0.26.1
v0.26.0 Bot handler rewrite & fixes
Overview
- Bot handler rewrite (now middlewares are more usable)
- Added
WithDone
bot handler option - Added
BaseGroup
method for bot handler - Added
AnyMessageWithFrom
predicate - Added
RetryCaller
caller - Divided
go.mod
files for main, examples and generator - Fixed types
What's Changed
- Bump golang.ngrok.com/ngrok from 1.3.0 to 1.3.1 by @dependabot in #117
- Bump golang.org/x/text from 0.10.0 to 0.11.0 by @dependabot in #119
- Bump github.com/fasthttp/router from 1.4.19 to 1.4.20 by @dependabot in #120
- Bump github.com/fasthttp/router from 1.4.19 to 1.4.20 in /examples by @dependabot in #121
Full Changelog: v0.25.1...v0.26.0