Skip to content

Releases: mymmrac/telego

v0.28.0 Bug fixes & updates

27 Nov 16:22
Compare
Choose a tag to compare

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

15 Nov 15:44
Compare
Choose a tag to compare

Overview

  • Added WebAppInfo utility
  • Added ChatID method for telego.Chat
  • Added Any and None predicates
  • Added Or predicate (deprecated Union)

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

06 Nov 08:57
Compare
Choose a tag to compare

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

21 Oct 08:49
Compare
Choose a tag to compare

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

23 Sep 07:34
Compare
Choose a tag to compare

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

17 Sep 14:05
Compare
Choose a tag to compare

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

18 Aug 20:46
Compare
Choose a tag to compare

Overview

  • Updated to Telegram Bot API v6.8
  • New predicates for message caption

What's Changed

New Contributors

Full Changelog: v0.26.0...v0.26.1

v0.26.0 Bot handler rewrite & fixes

01 Aug 13:21
Compare
Choose a tag to compare

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

v0.25.1 Minor fixes

22 Jun 07:41
Compare
Choose a tag to compare

Overview

  • Fixed IsAnonymous in SendPollParams
  • Updated dependencies

What's Changed

Full Changelog: v0.25.0...v0.25.1

v0.25.0 Webhook server improvements & bug fixes

11 Jun 09:04
Compare
Choose a tag to compare

Overview

  • Added NoOpWebhookServer
  • Added FuncWebhookServer
  • Fixed BotHandler close chan bug
  • Fixed Webhook start panic
  • Improved comments in examples
  • Added Ngrok example
  • Added util for DeleteMessageParams

What's Changed

  • Bump github.com/fasthttp/router from 1.4.18 to 1.4.19 by @dependabot in #102
  • Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 by @dependabot in #103
  • Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 by @dependabot in #104
  • Delete creates telego.DeleteMessageParams with required parameters by @abakum in #108

Full Changelog: v0.24.0...v0.25.0