[Snyk] Upgrade telegraf from 4.12.2 to 4.16.3#3
Open
tcotidiane33 wants to merge 1 commit intomasterfrom
Open
Conversation
Snyk has created this PR to upgrade telegraf from 4.12.2 to 4.16.3. See this package in npm: https://www.npmjs.com/package/telegraf See this project in Snyk: https://app.snyk.io/org/tcotidiane33/project/67fbd5c7-3f7e-4522-bce1-a5245f433d61?utm_source=github&utm_medium=referral&page=upgrade-pr
✅ Deploy Preview for ecopayci ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade telegraf from 4.12.2 to 4.16.3.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: telegraf
-
4.16.3 - 2024-02-29
- Fix: bug with
- Fix: add
-
4.16.2 - 2024-02-26
-
4.16.1 - 2024-02-25
-
4.16.0 - 2024-02-25
-
4.16.0-rc.2 - 2024-02-21
-
4.16.0-rc.1 - 2024-02-21
-
4.15.3 - 2023-12-03
- Fix: unable to upload media
- Fix:
-
4.15.2 - 2023-11-30
-
4.15.1 - 2023-11-29
-
-
⚠️ Set the env var
-
4.15.0 - 2023-10-23
import { anyOf, allOf } from "telegraf/filters";
-
4.14.0 - 2023-09-22
- ⬆️ Bot API 6.9 support
- Added missing
-
4.13.1 - 2023-09-02
- Fix README to mention API 6.8
-
4.13.0 - 2023-09-02
-
4.12.3-canary.1 - 2023-04-01
-
4.12.2 - 2023-03-09
from telegraf GitHub release noteslink_preview_options.urlcaused client to try sending it as mediaCommandContextExtntype toComposer::{start|help|settings}(adds ctx.command, payload, args)Fixed
Context::text: was undefined if entities was undefined. Thanks to @ AnotiaWang.Fixed
Context::from: now usescallbackQuery.frominstead ofmsg.fromRead more
thumbnailis now respected in all APIs that accept itEXPERIMENTAL_SESSION_CHECKSintroduced in the last minor release had been reporting false positives. This has been fixed; it will now work as intended.🔧 Fixed
sendPhotoand friends irrecoverably erroring if passed an invalid path, such as a directory.EXPERIMENTAL_SESSION_CHECKS=1to catch session bugs in your code.When this is enabled, Telegraf will throw errors if you access/assign to session after Telegraf thinks the middleware chain has exhausted. This can happen if you're missing awaits in async code, and session changes might not get persisted! Previously, these bugs were silently ignored until someone noticed their session was not saved. It's always safe to enable this feature. This behaviour may be default in v5.
This is a rather minor release.
anyOfandallOffilter combinatorsv4.11.0 introduced support for type-guard filters in
Composer::on, which allowed you to filter updates based on their content.This release adds two new combinators to the filter API:
anyOfandallOf. This will play very nicely with custom filters. For example:// must match all filters
bot.on(allOf(message(), isGroup), ctx => {
// ...
});
Deprecating
hookPathThe confusingly named
hookPathinbot.launchwebhook options is now deprecated. It will be removed in the next major release. You can start usingpathinstead, today.Meanwhile, we're working on new modules to add to the Telegraf ecosystem. Look forward to them, and join discussions in the official Telegraf chat!
Markup.keyboard([]).persistent()methodCommit messages
Package name: telegraf
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs