Skip to content

v2.0.0 Support All Messaging API Features and RBS

Latest
Compare
Choose a tag to compare
@mokuzon mokuzon released this 12 May 09:58
· 22 commits to master since this release
6e5663f

Overview

v2.0.0 is a completely new version.

  • The previous code released up to v1.29.1 will be called "v1",
  • The new code released as v2.0.0 and later versions will be called "v2".

v2 has significant breaking changes because it's a completely new implementation with an entirely different interface.
As a result, any implementation based on the previous codebase will no longer function.

If you already use v1, please use the transitional version v1.30.0 and do the migration.
Migration guide: https://github.com/line/line-bot-sdk-ruby/releases/tag/v1.30.0

New users should always use v2.
And we strongly recommend migrating to v2.

Why you should use v2

Support All Messaging API Features

v2 now supports every API endpoints and Webhook event types that were previously unimplemented.
Future API additions will be rapidly integrated, ensuring your application always stays up-to-date with the latest features by using line-bot-api gem.

Because v2 is automatically generated from https://github.com/line/line-openapi, same with SDKs provided for other programming languages.

RBS Support for Enhanced Development Experience

v2 comes with RBS (Ruby Signature) support, enabling you to leverage type checking and other type-based development features for a more robust coding experience.

Examples

There are several examples available for v2 to assist you in your implementation.

Feedbacks & Contributions

We welcome feedback and contributions.