🎉 Release of grammY 1.1 🎉
This update is all about improved error handling.
What's new:
+ Error boundaries. A novel way to handle errors across files.
+ Introduction of the HttpError object. This makes it easier to handle failing network requests.
+ Improved error types. You now have type safety when handling ResponseParameter objects.
+ Improved error documentation. All error objects now have thorough JSDocs. (The official Telegram Bot API Reference is missing them.)
+ New plugin: grammY auto-retry let's you automatically retry API requests that fail with retry_after specified. It has now reached 1.0 and is considered stable.
Enjoy!
This update is all about improved error handling.
What's new:
+ Error boundaries. A novel way to handle errors across files.
+ Introduction of the HttpError object. This makes it easier to handle failing network requests.
+ Improved error types. You now have type safety when handling ResponseParameter objects.
+ Improved error documentation. All error objects now have thorough JSDocs. (The official Telegram Bot API Reference is missing them.)
+ New plugin: grammY auto-retry let's you automatically retry API requests that fail with retry_after specified. It has now reached 1.0 and is considered stable.
Enjoy!