Skip to content

Releases: line/line-bot-sdk-nodejs

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

v9.7.1 Support new Membership API and Webhook

14 Feb 08:22
3a0b18f
Compare
Choose a tag to compare

What's Changed

  • Support publishing packages with provenance by @Yang-33 in #1161

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

Dependency updates

Full Changelog: v9.7.0...v9.7.1


This release is prepared by @Yang-33

v9.7.0 Support new Membership API and Webhook

13 Feb 10:01
0678d7e
Compare
Choose a tag to compare

What's Changed

  • Support new Membership API and Webhook by @github-actions in #1163

Support new Membership API and Webhook

We have implemented and supported new API and Webhook about Membership.

API to get a list of users who joined the membership

You can obtain a list of user IDs for users who have joined the membership of your LINE Official Account by calling client.getJoinedMembershipUsers(...).

Documents: https://developers.line.biz/en/reference/messaging-api/#get-membership-user-ids

Membership Webhook

We have introduced new Webhook events MembershipEvent that indicates that a user has joined, left or renewed a membership of your LINE Official Account.

Documents: https://developers.line.biz/en/reference/messaging-api/#membership-event

For more details

For more details, check out the announcement: https://developers.line.biz/en/news/2025/02/13/membership-api/

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

Dependency updates

Full Changelog: v9.6.0...v9.7.0


This release is prepared by @eucyt

v9.6.0 Support API of Shared Audiences in Business Manager

12 Feb 09:50
d4ee02c
Compare
Choose a tag to compare

What's Changed

Add /v2/bot/audienceGroup/shared path by @github-actions in #1160

Shared Audiences in Business Manager API Support

We have added and supported new API endpoints related to Shared Audiences in Business Manager.

API to Get Shared Audience Information

You can obtain detailed information about a specific audience shared in Business Manager by calling the endpoint:

  • GET https://api.line.me/v2/bot/audienceGroup/shared/{audienceGroupId}

API to Get List of Shared Audiences

You can acquire a list of audiences shared in Business Manager using the following endpoint:

  • GET https://api.line.me/v2/bot/audienceGroup/shared/list

By using the "Get Shared Audience Information" endpoint, you can retrieve more detailed data about each audience.

Documents and Reference

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


line-openapi updates

Dependency updates

Other Changes

Full Changelog: v9.5.3...v9.6.0


This release is prepared by @eucyt

v9.5.3 Remove obsolete GET /v2/bot/message/delivery/ad_phone

23 Jan 08:41
f6dfa94
Compare
Choose a tag to compare

What's Changed

  • Retire GET /v2/bot/message/delivery/ad_phone by @github-actions in #1138

GET /v2/bot/message/delivery/ad_phone was sunset.
This change removes it as it's no longer necessary to include it in line-openapi.

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

line-openapi updates

  • Retire GET /v2/bot/message/delivery/ad_phone by @github-actions in #1138

Dependency updates

Other Changes

  • Fix renovate config for gitsubmodule by @Yang-33 in #1134
  • Fix double-quote handling in release creation workflow by @Yang-33 in #1139

Full Changelog: v9.5.2...v9.5.3

v9.5.2 Remove obsolete feature: Audience Match

20 Jan 03:06
0ac4d2f
Compare
Choose a tag to compare

What's Changed

  • Remove obsolete feature: Audience Match by @github-actions in #1130

The Audience Match feature (/bot/ad/multicast/phone) was sunset in October 2023. This change removes it as it's no longer necessary to include it in line-openapi.

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

Dependency updates

Other Changes

  • Rename update-code.yml to generate-code.yml by @Yang-33 in #1124
  • Limit the timing of git submodule updates by renovate to avoid disrupting work during working hours by @Yang-33 in #1126

Full Changelog: v9.5.1...v9.5.2


This release is prepared by @Yang-33