Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/PaulSonOfLars/gotgbot/v2 from 2.0.0-rc.20 to 2.0.0-rc.23 #413

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 13, 2023

Bumps github.com/PaulSonOfLars/gotgbot/v2 from 2.0.0-rc.20 to 2.0.0-rc.23.

Release notes

Sourced from github.com/PaulSonOfLars/gotgbot/v2's releases.

v2.0.0-rc.23

What's Changed

Breaking 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: PaulSonOfLars/gotgbot@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
  • Improved polling startup logic by calling deletewebhook to purge pending updates #94
  • Add a new filter for "story" type messages #104
  • Add a new ResponseParameters field to telegram errors - thank you @​liuerfire! #107
  • Improved the local workflow by improving golangci-lint checks #110
  • Various cleanups and documentation improvements

Please note that this version does include some breaking changes; if you're having issues upgrading, let us know in the t.me/gotgbotChat and I'll be happy to help you upgrade.

Fingers crossed this gets us yet another step closer to a stable version!

Commits
  • 35d1a9b Create an UpdateDispatcher interface to decouple Dispatcher and Updater compo...
  • c4b9ec3 improve codeblock markdown handling (#121)
  • 9931ad5 Allow for removing bots from the webhook server (#118)
  • f4f4828 Bot API 6.9 (#117)
  • b61b895 Fix the hasprefix filter for captions (#116)
  • 4852f6c Cleanup merged type comments (#114)
  • 8102617 fix bad metrics call (#113)
  • f87f4f7 Add a NamedHandler, as well as the ability to remove handlers by their name. ...
  • eab7bce Make the Updater's multibot state thread safe (#98)
  • 5758ff1 Add sample metrics bot (#112)
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Bumps [github.com/PaulSonOfLars/gotgbot/v2](https://github.com/PaulSonOfLars/gotgbot) from 2.0.0-rc.20 to 2.0.0-rc.23.
- [Release notes](https://github.com/PaulSonOfLars/gotgbot/releases)
- [Commits](PaulSonOfLars/gotgbot@v2.0.0-rc.20...v2.0.0-rc.23)

---
updated-dependencies:
- dependency-name: github.com/PaulSonOfLars/gotgbot/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 13, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 22, 2024

Superseded by #420.

@dependabot dependabot bot closed this Jan 22, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/PaulSonOfLars/gotgbot/v2-2.0.0-rc.23 branch January 22, 2024 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants