Releases: line/line-bot-sdk-nodejs
v11.0.0 Drop deprecated code and axios dependency
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
v10.8.0 Transitional release for v11, add unified client
Overview
v10.8.0 is a transitional release for v11.
It is intended to help you prepare for the breaking changes in v11 before upgrading.
The main points are:
- If you still use the legacy
Client,OAuth, or old types, v11 is a breaking change. - If you already migrated to the generated clients introduced in v8, the impact should be small.
LineBotClientis a new convenience client. It is useful, but it is not the main breaking change in v11.- v11 minimizes external dependencies. For example,
axiosis deleted. Only@types/nodeis kept.
Before upgrading to v11, first upgrade to v10.8.0.
npm install --ignore-scripts @line/bot-sdk@10.8.0 # just in casev10.8.0 includes both the legacy API and the new API, so you can migrate incrementally.
For this release note:
- The legacy API available through v10.8.0 is referred to as "v10".
- The new API released in v11.0.0 and later is referred to as "v11".
The main breaking change in v11 is the removal of the legacy API surface.
The legacy Client and OAuth classes are removed, along with their associated legacy types.
New users should use v11.
If you are still on the legacy API, we recommend migrating through v10.8.0 and then upgrading to v11.
What changes for users
If you still use Client / OAuth
This is the main migration case.
In v11, the following legacy APIs are removed:
ClientOAuth- legacy types that were tied to those APIs
If your code still depends on them, you need to migrate before upgrading to v11.
If you already use the generated clients introduced in v8
The impact should be small.
v11 continues the same generated-client direction introduced in v8.
If you already use APIs such as:
messagingApi.MessagingApiClientmessagingApi.MessagingApiBlobClientmanageAudience.ManageAudienceClientinsight.InsightClientliff.LiffClient
then v11 should feel familiar. You don't have to do anything if you library from v8.0.0.
About new LineBotClient
LineBotClient is a new unified client for the main bot APIs.
It wraps:
- Messaging API
- Insight API
- LIFF API
- Manage Audience API
- Shop API
- Module API
This makes client setup simpler, but it is mainly a convenience feature.
It is not the main source of breaking changes in v11.
Only channel access token operations remain separate under channelAccessToken.ChannelAccessTokenClient.
import { LineBotClient } from "@line/bot-sdk";
const client = LineBotClient.fromChannelAccessToken({
channelAccessToken: "YOUR_CHANNEL_ACCESS_TOKEN",
});If you prefer, you can continue using clients from v8.0.0 directly.
Migration Guide
You can migrate in stages.
Step 1: Upgrade to v10.8.0
npm install --ignore-scripts @line/bot-sdk@10.8.0 # just in casev10.8.0 includes both the legacy API and the new API, so you can migrate incrementally before moving to v11.
Step 2: Replace deprecated code
Deprecated classes and methods are marked with @deprecated JSDoc comments that point to the replacement API.
Example:
/**
* @deprecated Use {@link LineBotClient.pushMessage} instead.
*/Client construction
// Before
import { Client } from "@line/bot-sdk";
const client = new Client({
channelAccessToken: "...",
});
// After
import { LineBotClient } from "@line/bot-sdk";
const client = LineBotClient.fromChannelAccessToken({
channelAccessToken: "...",
});Method call example
// Before
await client.pushMessage(to, messages);
// After
await client.pushMessage({ to, messages });The same applies to OAuth.
It is deprecated, and the replacement is channelAccessToken.ChannelAccessTokenClient.
Step 3: Upgrade to v11
Once you have removed all deprecated code, upgrade to v11.
npm install @line/bot-sdk@11Starting with v11, the legacy Client, OAuth, and related types are no longer included.
Detailed migration reference
For full migration details, see:
Examples
Example projects for the new API are available here:
- Echo Bot (TypeScript + ESM)
- Echo Bot (TypeScript + CJS)
- Echo Bot (JavaScript)
- Kitchen Sink
- Rich Menu
Feedback & Contributions
We welcome feedback and contributions.
Actual changes
- Add unified client by @Yang-33 in #1561
- Deprecated all old code, and write how to migrate code by @Yang-33 in #1562
Full Changelog: v10.7.0...v10.8.0
v10.7.0 Add wrapper method for ChannelAccessTokenClient#issueStatelessChannelToken
What's Changed
Added feature
This release adds wrapper methods for ChannelAccessTokenClient#issueStatelessChannelToken , making stateless channel access token issuance simpler for both JWT assertion and client secret authentication. With this release, you don't have to pass undefined.
- const token = await client.issueStatelessChannelToken(
- "client_credentials",
- "urn:ietf:params:oauth:client-assertion-type:jwt-bearer",
- clientAssertion,
- undefined,
- undefined,
- );
+ const token = await client.issueStatelessChannelTokenByJWTAssertion(
+ clientAssertion,
+ );- const token = await client.issueStatelessChannelToken(
- "client_credentials",
- undefined,
- undefined,
- channelId,
- channelSecret,
- );
+ const token = await client.issueStatelessChannelTokenByClientSecret(
+ channelId,
+ channelSecret,
+ );Bug fix
ChannelAccessTokenClient#verifyChannelTokenByJWT and ChannelAccessTokenClient#getsAllValidChannelAccessTokenKeyIds were broken for long time. This release fixes it.
line-openapi updates
- chore(deps): update line-openapi digest to c601805 by @renovate[bot] in #1552
- chore(deps): update line-openapi digest to 982bad2 by @renovate[bot] in #1570
Dependency updates
- chore(deps): update dependency prettier to v3.8.0 by @renovate[bot] in #1503
- chore(deps): update actions/setup-node action to v6.2.0 by @renovate[bot] in #1504
- chore(deps): update actions/checkout action to v6.0.2 by @renovate[bot] in #1505
- chore(deps): update dependency @types/node to v24.10.9 by @renovate[bot] in #1506
- fix(deps): update openapi-generator-version to v7.19.0 by @renovate[bot] in #1507
- chore(deps): update dependency prettier to v3.8.1 by @renovate[bot] in #1508
- chore(deps): update actions/setup-java action to v5.2.0 by @renovate[bot] in #1509
- chore(deps): update dependency axios to v1.13.3 by @renovate[bot] in #1510
- chore(deps): update dependency org.apache.maven.plugins:maven-compiler-plugin to v3.15.0 by @renovate[bot] in #1511
- chore(deps): update dependency axios to v1.13.4 by @renovate[bot] in #1512
- chore(deps): update suzuki-shunsuke/pinact-action action to v1.4.0 by @renovate[bot] in #1515
- chore(deps): update dependency axios to v1.13.5 [security] by @renovate[bot] in #1516
- chore(deps): update dependency @types/node to v24.10.10 by @renovate[bot] in #1518
- chore(deps): update dependency msw to v2.12.8 by @renovate[bot] in #1519
- fix(deps): update dependency io.pebbletemplates:pebble to v4.1.1 by @renovate[bot] in #1520
- chore(deps): update dependency @types/node to v24.10.11 by @renovate[bot] in #1521
- chore(deps): update dependency msw to v2.12.9 by @renovate[bot] in #1523
- chore(deps): update dependency typedoc-plugin-markdown to v4.10.0 by @renovate[bot] in #1524
- chore(deps): update dependency @types/node to v24.10.12 by @renovate[bot] in #1525
- chore(deps): update actions/stale action to v10.2.0 by @renovate[bot] in #1527
- chore(deps): update dependency @types/node to v24.10.13 by @renovate[bot] in #1529
- chore(deps): update dependency msw to v2.12.10 by @renovate[bot] in #1530
- chore(deps): update dependency typedoc to v0.28.17 by @renovate[bot] in #1531
- chore(deps): update junit-framework monorepo to v6.0.3 by @renovate[bot] in #1532
- fix(deps): update openapi-generator-version to v7.20.0 by @renovate[bot] in #1533
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.5 by @renovate[bot] in #1534
- chore(deps): update dependency @types/node to v24.10.14 by @renovate[bot] in #1539
- chore(deps): update dependency @types/node to v24.10.15 by @renovate[bot] in #1540
- chore(deps): update dependency axios to v1.13.6 by @renovate[bot] in #1541
- chore(deps): update dependency @types/node to v24.11.0 by @renovate[bot] in #1542
- chore(deps): update dependency org.apache.maven.plugins:maven-shade-plugin to v3.6.2 by @renovate[bot] in #1543
- chore(deps): update actions/setup-node action to v6.3.0 by @renovate[bot] in #1544
- chore(deps): update dependency @types/node to v24.11.2 by @renovate[bot] in #1545
- chore(deps): update dependency @types/node to v24.12.0 by @renovate[bot] in #1546
- chore(deps): update dependency msw to v2.12.11 by @renovate[bot] in #1548
- chore(deps): update dependency msw to v2.12.13 by @renovate[bot] in #1550
- chore(deps): update dependency typedoc-plugin-markdown to v4.11.0 by @renovate[bot] in #1554
- chore(deps): update dependency msw to v2.12.14 by @renovate[bot] in #1557
- chore(deps): update suzuki-shunsuke/pinact-action action to v2 by @renovate[bot] in #1558
- chore(deps): update dependency typedoc to v0.28.18 by @renovate[bot] in #1559
- chore(deps): update actions/deploy-pages action to v5 by @renovate[bot] in #1566
- chore(deps): update actions/configure-pages action to v6 by @renovate[bot] in #1565
- fix(deps): update openapi-generator-version to v7.21.0 by @renovate[bot] in #1564
Other Changes
- Bump qs from 6.14.1 to 6.14.2 in /examples/echo-bot-ts-esm by @dependabot[bot] in #1522
- Bump qs from 6.14.1 to 6.14.2 in /examples/echo-bot-ts-cjs by @dependabot[bot] in #1526
- Bump qs from 6.14.1 to 6.14.2 in /examples/echo-bot-esm by @dependabot[bot] in #1528
- Extract URLSearchParams creation to reusable helper by @Ayoub-Mabrouk in #1477
- Bump rollup from 4.38.0 to 4.59.0 by @dependabot[bot] in #1535
- Bump minimatch from 9.0.5 to 9.0.9 in /examples/echo-bot-ts-cjs by @dependabot[bot] in #1536
- Bump minimatch from 9.0.5 to 9.0.9 in /examples/echo-bot-ts-esm by @dependabot[bot] in #1538
- chore(deps): update dependency msw to v2.12.12 by @renovate[bot] in #1549
- Update dependencies to resolve vulnerabilities by @eucyt in #1551
- Bump picomatch from 4.0.2 to 4.0.4 by @dependabot[bot] in #1555
- Disable lifecycle script to avoid supply chain attack by @Yang-33 in #1567
Full Changelog: v10.6.0...v10.7.0
This release is prepared by @Yang-33
v10.6.0 Support new AudienceGroupType TRACKINGTAG_WEBTRAFFIC to Audience Group API
What's Changed
- Add new AudienceGroupType TRACKINGTAG_WEBTRAFFIC to Audience Group API by @github-actions[bot] in #1502
Add TRACKINGTAG_WEBTRAFFIC to AudienceGroupType Enum
We have supported for the new audience‑group type TRACKINGTAG_WEBTRAFFIC (Tracking Tag Webtraffic audience) to the OpenAPI schema.
Changes Made
-
Updated
AudienceGroupTypeenumeration- New value:
TRACKINGTAG_WEBTRAFFIC - Description: Audience groups generated from Tracking Tag Webtraffic.
- New value:
Purpose
This update enables correct identification and handling of audience groups built from Tracking Tag Webtraffric.
Documents and Reference
For more information, please refer to the links provided above.
(original PR is line/line-openapi#118)
line-openapi updates
Dependency updates
- Update junit-framework monorepo to v6.0.1 by @renovate[bot] in #1444
- Update dependency axios to v1.13.2 by @renovate[bot] in #1445
- Update dependency msw to v2.12.0 by @renovate[bot] in #1446
- Update dependency esbuild to ^0.26.0 by @renovate[bot] in #1448
- Update dependency msw to v2.12.1 by @renovate[bot] in #1447
- Update dependency esbuild to ^0.27.0 by @renovate[bot] in #1449
- Update dependency org.apache.maven.plugins:maven-jar-plugin to v3.5.0 by @renovate[bot] in #1451
- Update dependency @types/node to v24.10.1 by @renovate[bot] in #1453
- Update actions/checkout action to v5.0.1 by @renovate[bot] in #1454
- Update dependency msw to v2.12.2 by @renovate[bot] in #1455
- Update actions/checkout action to v6 by @renovate[bot] in #1456
- Update dependency io.pebbletemplates:pebble to v4 by @renovate[bot] in #1458
- Update dependency msw to v2.12.3 by @renovate[bot] in #1459
- Update dependency express to v5.2.0 [SECURITY] by @renovate[bot] in #1460
- Update dependency prettier to v3.7.0 by @renovate[bot] in #1461
- Update dependency prettier to v3.7.1 by @renovate[bot] in #1462
- Update dependency prettier to v3.7.2 by @renovate[bot] in #1463
- Update dependency typedoc to v0.28.15 by @renovate[bot] in #1464
- Update dependency prettier to v3.7.3 by @renovate[bot] in #1465
- Update dependency finalhandler to v2.1.1 by @renovate[bot] in #1466
- Update dependency express to v5.2.1 by @renovate[bot] in #1467
- Update actions/checkout action to v6.0.1 by @renovate[bot] in #1468
- Update actions/stale action to v10.1.1 by @renovate[bot] in #1469
- Update actions/setup-node action to v6.1.0 by @renovate[bot] in #1470
- Update dependency prettier to v3.7.4 by @renovate[bot] in #1471
- Update dependency msw to v2.12.4 by @renovate[bot] in #1472
- Update actions/setup-java action to v5.1.0 by @renovate[bot] in #1473
- Update dependency @types/node to v24.10.2 by @renovate[bot] in #1475
- Update dependency @types/node to v24.10.3 by @renovate[bot] in #1479
- Update dependency @types/node to v24.10.4 by @renovate[bot] in #1481
- Update openapi-generator-version to v7.18.0 by @renovate[bot] in #1482
- Update suzuki-shunsuke/pinact-action action to v1.0.1 by @renovate[bot] in #1485
- Update suzuki-shunsuke/pinact-action action to v1.1.0 by @renovate[bot] in #1486
- Update dependency msw to v2.12.5 by @renovate[bot] in #1487
- Update dependency msw to v2.12.6 by @renovate[bot] in #1488
- Update suzuki-shunsuke/pinact-action action to v1.2.0 by @renovate[bot] in #1489
- Update dependency msw to v2.12.7 by @renovate[bot] in #1490
- Update suzuki-shunsuke/pinact-action action to v1.3.0 by @renovate[bot] in #1491
- Update suzuki-shunsuke/pinact-action action to v1.3.1 by @renovate[bot] in #1492
- Update junit-framework monorepo to v6.0.2 by @renovate[bot] in #1493
- chore(deps): update dependency @types/node to v24.10.5 by @renovate[bot] in #1496
- chore(deps): update dependency @types/node to v24.10.6 by @renovate[bot] in #1497
- chore(deps): update dependency @types/node to v24.10.7 by @renovate[bot] in #1498
- chore(deps): update dependency typedoc to v0.28.16 by @renovate[bot] in #1499
- chore(deps): update dependency @types/node to v24.10.8 by @renovate[bot] in #1501
Other Changes
- Bump glob from 10.4.5 to 10.5.0 by @dependabot[bot] in #1452
- Bump glob from 10.4.5 to 10.5.0 in /examples/echo-bot-ts-esm by @dependabot[bot] in #1457
- Run npm audit fix --force for each project by @habara-k in #1476
- Delete unused code to generate code by @eucyt in #1494
- refactor: replace Object.assign with spread operator in http-axios by @Ayoub-Mabrouk in #1478
- Update qs library by @eucyt in #1495
- Update qs version in examples by @eucyt in #1500
New Contributors
- @Ayoub-Mabrouk made their first contribution in #1478
Full Changelog: v10.5.0...v10.6.0
This release is prepared by @eucyt
v10.5.0 Support mark as read by token API
What's Changed
- Support mark as read by token API by @github-actions[bot] in #1443
Support for "Mark as Read" by Token API
We have released a new Mark as Read API that allows developers to mark a user’s messages as read.
Previously, this functionality was available only to partners, but it is now publicly available.
When your server receives a user message via Webhook, the MessageContent will include a new field: markAsReadToken.
By calling the Mark as Read API with this token, all messages in the chat room up to and including that message will be marked as read.
Note: This feature assumes that your service uses the chat feature through Official Account Manager.
If chat is not enabled, messages from users are automatically marked as read, making this API unnecessary.
For more details, please refer to the release note: https://developers.line.biz/en/news/2025/11/05/mark-as-read/
(original PR is line/line-openapi#115)
Example
client.markMessagesAsReadByToken({
markAsReadToken: event.message.markAsReadToken
})line-openapi updates
Dependency updates
- Update openapi-generator-version to v7.17.0 by @renovate[bot] in #1441
- Update dependency @types/express to v5.0.5 by @renovate[bot] in #1436
- Update dependency @types/node to v22.18.13 by @renovate[bot] in #1439
- Update dependency axios to v1.13.1 by @renovate[bot] in #1437
- Update dependency msw to v2.11.6 by @renovate[bot] in #1433
- Update dependency @types/node to v24 by @renovate[bot] in #1434
Other Changes
- Use npm ci instead of npm install by @habara-k in #1432
- Set npm version as 11.6.0 in renovate by @eucyt in #1440
Full Changelog: v10.4.0...v10.5.0
This release is prepared by @habara-k
v10.4.0 Add forbidPartialDelivery option to the Narrowcast Limit Object
What's Changed
- Add forbidPartialDelivery option to the Narrowcast Limit Object by @github-actions[bot] in #1430
Add forbidPartialDelivery option to the Narrowcast Limit Object
We add a new forbidPartialDelivery option to the Narrowcast Limit Object.
When set to true, this option prevents messages from being delivered to only a subset of the target audience.
If partial delivery occurs, the narrowcast request will succeed but fail asynchronously.
You can verify whether the message delivery was canceled by checking the narrowcast message progress.
This property can only be set to true when upToRemainingQuota is also true.
For more details, see the https://developers.line.biz/en/news/2025/10/21/narrowcast-message-update/.
Example:
client.narrowcast(
{
messages: [{ type: 'text', text: 'Hello' }],
limit: {
max: 1000,
upToRemainingQuota: true,
forbidPartialDelivery: true
}
}
)(original PR is line/line-openapi#114)
Use cases
Previously, when upToRemainingQuota was set to true, messages could be partially delivered if the remaining message quota was smaller than the target audience size.
With the new forbidPartialDelivery option, you can now ensure that such partial deliveries do not occur.
- Ensuring that a campaign message is sent only if it can reach the full target audience, avoiding incomplete distributions.
line-openapi updates
Dependency updates
- Update dependency @types/node to v22.18.5 by @renovate[bot] in #1406
- Update dependency org.apache.maven.plugins:maven-compiler-plugin to v3.14.1 by @renovate[bot] in #1408
- Update openapi-generator-version to v7.16.0 by @renovate[bot] in #1411
- Update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3.6.2 by @renovate[bot] in #1412
- Update junit-framework monorepo to v5.14.0 by @renovate[bot] in #1413
- Update junit-framework monorepo to v6 (major) by @renovate[bot] in #1414
- Update dependency @types/node to v22.18.8 by @renovate[bot] in #1407
- Update dependency typedoc-plugin-markdown to v4.9.0 by @renovate[bot] in #1409
- Update dependency msw to v2.11.3 by @renovate[bot] in #1410
- Update dependency typescript to v5.9.3 by @renovate[bot] in #1415
- Update actions/stale action to v10.1.0 by @renovate[bot] in #1418
- Update actions/setup-node action to v6 by @renovate[bot] in #1424
- Update dependency typedoc to v0.28.14 by @renovate[bot] in #1422
- Update dependency @types/node to v22.18.10 by @renovate[bot] in #1421
- Update dependency msw to v2.11.5 by @renovate[bot] in #1420
Other Changes
- Update workflows to run 'npm install' before 'npm ci' by @habara-k in #1416
- Commit package-lock.json by @Yang-33 in #1417
- Prevent command injection when creating release notes by @Yang-33 in #1419
- Run npm audit fix to update vite by @mokuzon in #1426
Full Changelog: v10.3.0...v10.4.0
This release is prepared by @habara-k
v10.3.0 Add an Option to Skip Webhook Signature Verification
What's Changed
✨ Add an Option to Skip Webhook Signature Verification
With this release, developers can now optionally skip signature verification when parsing incoming webhook requests. This new capability is especially useful in scenarios where the channel secret may change, potentially causing temporary signature mismatches.
Example Usage:
const m = line.middleware({
channelSecret: CHANNEL_SECRET,
skipSignatureVerification: () => true,
});When signature verification is skipped, the signatureValidator will not be invoked. This allows webhook requests to be processed even if their signatures do not match the current channel secret used for verification.
This feature is particularly helpful in high-availability systems where avoiding downtime or message loss during configuration updates is critical.
Dependency updates
- Update dependency @types/node to v22.18.0 by @renovate[bot] in #1378
- Update dependency msw to v2.11.0 by @renovate[bot] in #1379
- Update dependency msw to v2.11.1 by @renovate[bot] in #1380
- Update dependency @types/node to v22.18.1 by @renovate[bot] in #1381
- Update dependency typedoc to v0.28.12 by @renovate[bot] in #1382
- Update actions/github-script action to v7.1.0 by @renovate[bot] in #1383
- Update actions/github-script action to v8 by @renovate[bot] in #1384
- Update actions/stale action to v10 by @renovate[bot] in #1386
- Update actions/setup-node action to v5 by @renovate[bot] in #1385
- Update dependency axios to v1.12.0 [SECURITY] by @renovate[bot] in #1390
- Update dependency org.apache.maven.plugins:maven-shade-plugin to v3.6.1 by @renovate[bot] in #1393
- Update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.4 by @renovate[bot] in #1394
- Update dependency msw to v2.11.2 by @renovate[bot] in #1395
- Update actions/github-script action to v8 by @renovate[bot] in #1397
- Update dependency axios to v1.12.1 by @renovate[bot] in #1400
- Update dependency @types/node to v22.18.2 by @renovate[bot] in #1401
- Update dependency @types/node to v22.18.3 by @renovate[bot] in #1402
- Update dependency axios to v1.12.2 by @renovate[bot] in #1403
- Update dependency typedoc to v0.28.13 by @renovate[bot] in #1404
Other Changes
- Set minimumReleaseAge to 7 days to avoid merge renovate PR quickly by @Yang-33 in #1387
- Bump vite from 5.4.19 to 5.4.20 by @dependabot[bot] in #1388
- Update dependency typescript to v5.9.2 by @Yang-33 in #1391
- Update package-lock.json to apply result by npm run audit by @Yang-33 in #1392
- Reminder for npm audit fix by @Yang-33 in #1357
- Use github actor id instead of bot name to avoid renaming issues by @Yang-33 in #1399
Full Changelog: v10.2.0...v10.2.1
v10.2.0 Support new AudienceGroupType POP_AD_IMP to Audience Group API
What's Changed
Support new AudienceGroupType POP_AD_IMP to Audience Group API
- Add new AudienceGroupType POP_AD_IMP to Audience Group API by @github-actions[bot] in #1377
We have supported for the new audience‑group type POP_AD_IMP (POP ad impression audience) to the OpenAPI schema.
Changes Made
-
Updated
AudienceGroupTypeenumeration- New value:
POP_AD_IMP - Description: Audience groups generated from impressions of LINE Beacon Network (POP) ads.
- Region: Taiwan‑only at launch
- New value:
Purpose
This update enables correct identification and handling of audience groups built from POP ad impressions, a feature that will be released for the Taiwan market.
Documents and Reference
For more information, please refer to the links provided above.
(original PR is line/line-openapi#113)
Dependency updates
- Update dependency msw to v2.10.5 by @renovate[bot] in #1371
- Update actions/upload-pages-artifact action to v4 by @renovate[bot] in #1372
- Update dependency @types/node to v22.17.2 by @renovate[bot] in #1373
- Update actions/setup-java action to v5 by @renovate[bot] in #1374
- Update openapi-generator-version to v7.15.0 by @renovate[bot] in #1375
- Update dependency typedoc to v0.28.11 by @renovate[bot] in #1376
Full Changelog: v10.1.2...v10.2.0
This release is prepared by @eucyt
v10.1.2 Clean up webhook code for line things
What's Changed
LINE Things has been closed. In this release we removed the following LINE Things related webhook code
ThingsEventThingsContentLinkThingsContentUnlinkThingsContentScenarioResultThingsContentScenarioResultActionResult
As noted in the README, deletions tied to a business shutdown are shipped as a patch version, not a major version. If your code still references any of these code, they will never be emitted again, so you should remove them.
Dependency updates
- Update dependency @types/node to v22.17.1 by @renovate[bot] in #1363
- Update dependency typedoc to v0.28.10 by @renovate[bot] in #1365
- Update actions/checkout action to v4.3.0 by @renovate[bot] in #1366
- Update dependency typedoc-plugin-markdown to v4.8.1 by @renovate[bot] in #1368
- Update actions/checkout action to v5 by @renovate[bot] in #1367
Full Changelog: v10.1.1...v10.1.2
This release is prepared by @Yang-33
v10.1.1 Add Coupon API Support to Messaging API
What's Changed
This release introduces Coupon API support to the Messaging API, enabling developers to create, manage, and deliver coupons directly through bot integrations. These new features mirror capabilities previously only available through the LINE Official Account Manager, offering greater flexibility in automating coupon workflows via the Messaging API.
✨ New API Endpoints
-
POST
/v2/bot/coupon
Create a new coupon, including metadata such as title, description, validity period, image URLs, acquisition conditions, and reward details (e.g., fixed-amount discounts). -
GET
/v2/bot/coupon
Retrieve a list of all coupons associated with your bot. -
GET
/v2/bot/coupon/{couponId}
Fetch detailed metadata of a specific coupon. -
PUT
/v2/bot/coupon/{couponId}
Mark a coupon as expired.
💬 Messaging API Enhancements
- Added support for a new message type:
type=coupon
You can now send coupons directly to users using the Messaging API, similar to sending text, image, or template messages.
📌 Example Use Cases
- Create a 1000 yen off coupon
- Send the coupon to a user using the new coupon message type
For detailed usage examples, see the official documentation.
📢 Official Announcement:
LINE Developers News — Coupon API Released (2025/08/06)
Changes
line-openapi updates
- Add Coupon API Support to Messaging API by @github-actions[bot] in #1361
Dependency updates
Other Changes
Full Changelog: v10.1.0...v10.1.1