What's Changed
Breaking change
v11 removes the legacy Client, OAuth, and their associated legacy types.
Since v8.0.0, the @line/bot-sdk has provided fetch-based API clients, while continuing to keep the older axios-based APIs for compatibility.
In v10.8.0, those legacy APIs were deprecated.
How to migrate
If you still use the legacy APIs, please prepare for v11 by first upgrading to v10.8.0.
v10.8.0 includes both the new code and the deprecated code, so you can migrate there first and then upgrade to v11.
If you already migrated to the generated clients introduced in v8.0.0, the impact should be small.
Those APIs are not planned for removal in v11.
LineBotClient is also available as a unified client(better clients than v8.0.0) for the main bot APIs, but the main breaking change in v11 is the removal of the legacy API surface.
For migration details, see the Migration Guide, and v10.8.0 release note.
Drop dependency
v11 also reduces the dependency footprint to almost zero: the only remaining package dependency is @types/node, and the optional axios dependency has been removed.
Main Changes
Full Changelog: v10.8.0...v11.0.0
This release is prepared by @Yang-33