Skip to content

Use require 'line-bot-api' instead of require 'line/bot'#507

Merged
Yang-33 merged 1 commit intomasterfrom
require-lie-bot-api
Apr 10, 2025
Merged

Use require 'line-bot-api' instead of require 'line/bot'#507
Yang-33 merged 1 commit intomasterfrom
require-lie-bot-api

Conversation

@Yang-33
Copy link
Copy Markdown
Contributor

@Yang-33 Yang-33 commented Apr 10, 2025

From v2, we recommend using require 'line-bot-api' instead of require 'line/bot'. Of course, require 'line/bot' will still work, but using the name that matches the gem is clearer. Additionally, 'line/bot' is an internal representation and not something users need to be aware of.

This is not a breaking change. It will still work with require 'line/bot'. However, I don't think we need to guarantee this behavior from v2.

Close #495

@Yang-33 Yang-33 self-assigned this Apr 10, 2025
@Yang-33 Yang-33 requested a review from a team April 10, 2025 06:39
@Yang-33 Yang-33 added this pull request to the merge queue Apr 10, 2025
Merged via the queue into master with commit 915371e Apr 10, 2025
8 checks passed
@Yang-33 Yang-33 deleted the require-lie-bot-api branch April 10, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Decide whether to use require 'line-bot-api' or require 'line/bot':

2 participants