Skip to content

Releases: mymmrac/telego

v0.24.0 Helper context & message entities

03 May 22:15
Compare
Choose a tag to compare

Overview

  • Added context to long polling & webhook helpers
  • Added telego.WithLongPollingContext and telego.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

30 Apr 10:19
Compare
Choose a tag to compare

Overview

  • Renamed FileByURL into FileFromURL and FileByID into FileFromID
  • 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

22 Apr 09:30
Compare
Choose a tag to compare

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

15 Mar 20:20
Compare
Choose a tag to compare

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

26 Feb 10:35
Compare
Choose a tag to compare

Overview

  • Added Context and WithContext methods for update
  • Added autocancel of context for Bot Handler

Full Changelog: v0.21.0...v0.21.1

v0.21.0 Handler groups & middleware

25 Feb 22:38
Compare
Choose a tag to compare

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

Full Changelog: v0.20.2...v0.21.0

v0.20.2 Secret token & empty values

07 Feb 12:39
Compare
Choose a tag to compare

Overview

  • Added secret token validation for default webhook servers
  • Removed EmptyValue workaround and replaced it with pointers to bool or string

Full Changelog: v0.20.1...v0.20.2

v0.20.1 Telegram Bot API v6.5

03 Feb 20:54
Compare
Choose a tag to compare

Overview

  • Updated to Telegram Bot API v6.5

Full Changelog: v0.20.0...v0.20.1

v0.20.0 Webhook Server

03 Feb 17:06
Compare
Choose a tag to compare

Overview

  • Introduced concept of WebhookServer
  • Added fasthttp, http and multi-bot server implementation of WebhookServer
  • Removed old StartListeningForWebhook...
  • New StartWebhook added (now blocks execution)
  • New and updated WithWebhookServer, WithWebhookSet webhook options
  • New util Webhook for creating SetWebhookParams
  • 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

27 Jan 18:58
Compare
Choose a tag to compare

Overview

  • Fixed #74
  • Added net/http API caller implementation (bot option WithHTTPCaller(...) 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