npm telegraf 4.15.1
v4.15.1

latest releases: 4.16.3, 4.16.2, 4.16.1...
9 months ago
  • 🔧 Fixed sendPhoto and friends irrecoverably erroring if passed an invalid path, such as a directory.

  • ⚠️ Set the env var EXPERIMENTAL_SESSION_CHECKS=1 to 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.

Don't miss a new telegraf release

NewReleases is sending notifications on new releases.