GoLangTgBot
GoLangTgBot copied to clipboard
Bump github.com/PaulSonOfLars/gotgbot/v2 from 2.0.0-rc.20 to 2.0.0-rc.25
Bumps github.com/PaulSonOfLars/gotgbot/v2 from 2.0.0-rc.20 to 2.0.0-rc.25.
Release notes
Sourced from github.com/PaulSonOfLars/gotgbot/v2's releases.
v2.0.0-rc.25
What's Changed
- Add triggers helper method by
@​PaulSonOfLars
in PaulSonOfLars/gotgbot#140- Update callbackquery.go by
@​TG-BOTSNETWORK
in PaulSonOfLars/gotgbot#144- Add reactions support. by
@​ti-bone
in PaulSonOfLars/gotgbot#142- Fix broken cbquery receiver change by
@​PaulSonOfLars
in PaulSonOfLars/gotgbot#145- Update to bot API 7.1 by
@​PaulSonOfLars
in PaulSonOfLars/gotgbot#146- Populate effectiveX fields with reaction+chatboost data by
@​PaulSonOfLars
in PaulSonOfLars/gotgbot#149- Add additional GetSender() helpers for new types by
@​PaulSonOfLars
in PaulSonOfLars/gotgbot#150- Allow for getting the type of an update through a helper method by
@​PaulSonOfLars
in PaulSonOfLars/gotgbot#151- Improve polling updater.stop() call when long polling by
@​PaulSonOfLars
in PaulSonOfLars/gotgbot#152New Contributors
@​TG-BOTSNETWORK
made their first contribution in PaulSonOfLars/gotgbot#144Full Changelog: https://github.com/PaulSonOfLars/gotgbot/compare/v2.0.0-rc.24...v2.0.0-rc.25
v2.0.0-rc.23
What's Changed
- Allow for removing bots from the webhook server by
@​PaulSonOfLars
in PaulSonOfLars/gotgbot#118- improve codeblock markdown handling by
@​PaulSonOfLars
in PaulSonOfLars/gotgbot#121- Create an UpdateDispatcher interface to decouple Dispatcher and Updater components by
@​PaulSonOfLars
in PaulSonOfLars/gotgbot#120Breaking changes
NewUpdater()
now takes a dispatcher as an argument. Most users should be able to migrate using this instead:// Create updater and dispatcher. dispatcher := ext.NewDispatcher(&ext.DispatcherOpts{ // If an error is returned by a handler, log it and continue going. Error: func(b *gotgbot.Bot, ctx *ext.Context, err error) ext.DispatcherAction { log.Println("an error occurred while handling update:", err.Error()) return ext.DispatcherActionNoop }, MaxRoutines: ext.DefaultMaxRoutines, }) updater := ext.NewUpdater(dispatcher, nil)
Full Changelog: https://github.com/PaulSonOfLars/gotgbot/compare/v2.0.0-rc.22...v2.0.0-rc.23
v2.0.0-rc.21
Lots to be announced in this release - some big changes that have significantly improved the maturity of the lib. Namely:
- Bot API 6.8 support #100
- Support for abstracting away the dispatcher handler, making it possible to extend the dispatcher with custom metrics #103 (as demonstrated in #112)
- Thread-safe support for adding/removing handlers #47
- Thread-safe support for adding/remove bots when using the multibot updater #98
- Added support for premium emoji in markdown #96
... (truncated)
Commits
e2bc46c
Improve polling updater.stop() call when long polling (#152)954c160
Allow for getting the type of an update through a helper method, (#151)85aad40
Add additional sender helpers (#150)b30ff7d
Populate effectiveX fields with reaction+chatboost data (#149)8e44bf7
Update to bot API 7.1 (#146)1a055a6
Fix broken cbquery receiver change (#145)c18b68e
Add reactions support to handlers (#142)30e81e5
Fix callbackquery handler name (#144)d21da03
Add triggers helper, to ease customising command triggers (#140)a61db17
Add handler helpers (#133)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)