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.24 #420

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 22, 2024

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

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

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

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

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jan 22, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 8, 2024

Superseded by #424.

@dependabot dependabot bot closed this Apr 8, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/PaulSonOfLars/gotgbot/v2-2.0.0-rc.24 branch April 8, 2024 07:28
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