Skip to content

Releases: line/line-bot-sdk-nodejs

v10.2.0 Support new AudienceGroupType POP_AD_IMP to Audience Group API

26 Aug 01:48
187a3e5
Compare
Choose a tag to compare

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 AudienceGroupType enumeration

    • New value: POP_AD_IMP
    • Description: Audience groups generated from impressions of LINE Beacon Network (POP) ads.
    • Region: Taiwan‑only at launch

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

Full Changelog: v10.1.2...v10.2.0


This release is prepared by @eucyt

v10.1.2 Clean up webhook code for line things

13 Aug 01:03
7fc57e9
Compare
Choose a tag to compare

What's Changed

LINE Things has been closed. In this release we removed the following LINE Things related webhook code

  • ThingsEvent
  • ThingsContent
  • LinkThingsContent
  • UnlinkThingsContent
  • ScenarioResultThingsContent
  • ScenarioResult
  • ActionResult

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

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

08 Aug 08:46
76b658d
Compare
Choose a tag to compare

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

💬 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

v10.1.0 Add Coupon API Support to Messaging API

06 Aug 09:38
960fb23
Compare
Choose a tag to compare

v10.0.1

05 Aug 10:25
b39ce60
Compare
Choose a tag to compare

What's Changed

Some documentation refining.

Dependency updates

Other Changes

  • Fix using deprecated Client class in TypeScript example documentation by @eucyt in #1303
  • Update CONTRIBUTING.md to enhance development guidelines by @eucyt in #1339
  • Add link to package.json and README by @Yang-33 in #1342
  • Don't use PAT on publish by using trusted publishing by @mokuzon in #1352

Full Changelog: v10.0.0...v10.0.1


This release is prepared by @mokuzon

v10.0.0 Support Node.js 24 and Drop Node.js 18 support

02 Jun 06:41
57c6dd5
Compare
Choose a tag to compare

What's Changed

Node.js 24 is now supported, and support for Node.js 18 has been dropped.
Please use Node.js version 20 or higher.

line-openapi updates

Dependency updates

Other Changes

Full Changelog: v9.9.0...v10.0.0


This release is prepared by @eucyt

v9.9.0 Add includesOwnedAudienceGroups Parameter to Audience API

22 Apr 07:56
610e47e
Compare
Choose a tag to compare

What's Changed

  • Add includesOwnedAudienceGroups Parameter to Audience API by @github-actions in #1247

Enhancement to Shared Audiences API

Support a new query parameter includesOwnedAudienceGroups to the client.getSharedAudienceGroups (GET /v2/bot/audienceGroup/shared/list). This enhancement allows users to specify whether to include audience groups owned by the user in the response. It is especially useful for users who manage both shared and owned audience groups.

Specifications

  • Added the includesOwnedAudienceGroups parameter to the API endpoint.
    • Type: Boolean
    • Default: false
    • Description:
      • true: Include audience groups owned by the LINE Official Account Manager.
      • false: Respond only with audience groups shared by Business Manager.

Remove deprecated API

  • Removed the /v2/bot/audienceGroup/{audienceGroupId}/activate and /v2/bot/audienceGroup/authorityLevel endpoints.

Documents and Reference

For more information, please refer to the links provided above.

(original PR is line/line-openapi#105)

line-openapi updates

  • Add type as required property in source object of webhook by @github-actions in #1235
  • Update line-openapi digest to 31fa3c7 by @renovate in #1234

Dependency updates

Other Changes

Full Changelog: v9.8.0...v9.9.0


This release is prepared by @eucyt

v9.8.0 Support to inject additional headers

07 Apr 02:48
75d5da0
Compare
Choose a tag to compare

What's Changed

From v9.8.0, you can inject additional headers except for authorization header like this.

const config = {
  channelAccessToken: "test_channel_access_token",
  defaultHeaders: {
    hoge: "additional-value" // here
  },
};
const client = new messagingApi.MessagingApiClient(config);
  • Allow to inject default header from clients by @Yang-33 in #1230

line-openapi updates

Dependency updates

Other Changes

Full Changelog: v9.7.3...v9.8.0


This release is prepared by @Yang-33

v9.7.3 Support new Membership API and Webhook

27 Mar 09:57
8eb354d
Compare
Choose a tag to compare

What's Changed

Note this patch is not related to sdk users. This release is just for our test. See https://github.com/line/line-bot-sdk-nodejs/releases/tag/v9.7.0 about new features.

Other Changes

Full Changelog: v9.7.2...v9.7.3


This release is prepared by @Yang-33

v9.7.2 Support new Membership API and Webhook

27 Mar 07:05
8f792d2
Compare
Choose a tag to compare

What's Changed

⚠️ This has not been published yet due to internal error.

Note this patch is not related to sdk users. This release is just for our test. See https://github.com/line/line-bot-sdk-nodejs/releases/tag/v9.7.0 about new features.

line-openapi updates

Dependency updates

Other Changes

  • Add EoL and new release reminder by @Yang-33 in #1189
  • Pin commit hash of github actions to avoid supply chain attacks by @Yang-33 in #1201
  • Migrate renovate config by @Yang-33 in #1205
  • Grant minimum permissions to github acitons workflow jobs by @Yang-33 in #1202

Full Changelog: v9.7.1...v9.7.2


This release is prepared by @Yang-33