Releases: line/line-bot-sdk-python
v3.16.0 Support new Membership API and Webhook
What's Changed
- Support new Membership API and Webhook by @github-actions in #758
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)
Full Changelog: v3.15.0...v3.16.0
This release is prepared by @eucyt
v3.15.0 Support API of Shared Audiences in Business Manager
What's Changed
Add /v2/bot/audienceGroup/shared path by @github-actions in #757
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
- News Announcement: Shared Audience Feature Release
- API Reference:
- Documentation on Audience Sharing: Using Audience Sharing
For more information, please refer to the links provided above.
(original PR is line/line-openapi#85)
line-openapi updates
Other Changes
Full Changelog: v3.14.5...v3.15.0
This release is prepared by @eucyt
v3.14.5 Remove obsolete GET /v2/bot/message/delivery/ad_phone
What's Changed
- Retire GET /v2/bot/message/delivery/ad_phone by @github-actions in #750
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 #750
Dependency updates
Other Changes
- Fix renovate config for gitsubmodule by @Yang-33 in #748
- Fix double-quote handling in release creation workflow by @Yang-33 in #751
Full Changelog: v3.14.4...v3.14.5
v3.14.4 Remove obsolete feature: Audience Match
What's Changed
- Remove obsolete feature: Audience Match by @github-actions in #744
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 generated-code.yml to generate-code.yml by @Yang-33 in #742
- Limit the timing of git submodule updates by renovate to avoid disrupting work during working hours by @Yang-33 in #743
Full Changelog: v3.14.3...v3.14.4
This release is prepared by @Yang-33
v3.14.3 Add new errorCode 4 of NarrowcastProgressResponse
What's Changed
A new value in "NarrowcastProgressResponse#errrorCode" was defined and comments have been added to the SDK.
https://developers.line.biz/en/reference/messaging-api/#get-narrowcast-progress-status
- Add new errorCode 4 of NarrowcastProgressResponse by @github-actions in #733
line-openapi updates
- Codes are generated by openapi generator by @github-actions in #713
Dependency updates
- fix(deps): update dependency org.openapitools:openapi-generator to v7.10.0 by @renovate in #708
- chore(deps): update line-openapi digest to 6312d4b by @renovate in #712
- chore(deps): update actions/github-script action to v7 by @renovate in #714
- chore(deps): update line-openapi digest to ae45c77 by @renovate in #717
- chore(deps): update line-openapi digest to e8fbce9 by @renovate in #722
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.13 by @renovate in #724
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.14 by @renovate in #725
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.15 by @renovate in #726
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.16 by @renovate in #731
- chore(deps): update line-openapi digest to 491e118 by @renovate in #734
Other Changes
- Fix other overriding imports by @habara-k in #703
- Stop using LINE_BOT_SDK_PYTHON_VERSION by @Yang-33 in #710
- Automate to prepare release note with next version by @Yang-33 in #711
- Open issue when release failed by @Yang-33 in #715
- Allow renovate PR to have un committed changes by @Yang-33 in #716
- Set title and description written in line-openapi PR by @Yang-33 in #721
- Update maven-jar-plugin version 3.4.2 by @eucyt in #723
- Show filenames of diff from auto-generated files in CI by @eucyt in #727
- Call common script to recognize openapi file is changed by @Yang-33 in #736
Full Changelog: 3.14.2...v3.14.3
This release is prepared by @eucyt
v3.14.2 publish test
This is not related to line-bot-sdk-python user. The published library must be same as 3.14.1
3.14.1
What's Changed
Fix TextMessageV2 imports.
ref: #698
Dependency updates
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.2 by @renovate in #699
Other Changes
- PR must fail when generated code is not committed by @Yang-33 in #704
- Add CI to check all files can be imported by @Yang-33 in #701
- Fix overriding imports by @habara-k in #702
New Contributors
Full Changelog: 3.14.0...3.14.1
3.14.0 Bot mention
Important
this version tries to support TextMessageV2
but it's broken when you import library from linebot.v3.messaging
. sorry for inconvenience. We try to resolve this issue. #698
What's Changed
Support bot mention features:
- https://developers.line.biz/ja/news/2024/10/30/messaging-api-webhook/
- https://developers.line.biz/ja/news/2024/10/30/text-message-v2/
line-openapi updates
- Codes are generated by openapi generator by @github-actions in #687
- Codes are generated by openapi generator by @github-actions in #696
Dependency updates
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.8 by @renovate in #670
- chore(deps): update dependency aiohttp to v3.10.6 by @renovate in #675
- chore(deps): update dependency aiohttp to v3.10.7 by @renovate in #676
- chore(deps): update dependency aiohttp to v3.10.8 by @renovate in #677
- chore(deps): update dependency aiohttp to v3.10.9 by @renovate in #678
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.1 by @renovate in #679
- fix(deps): update dependency org.openapitools:openapi-generator to v7.9.0 by @renovate in #681
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.9 by @renovate in #683
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.11 by @renovate in #685
- chore(deps): update line-openapi digest to 4d9979b by @renovate in #688
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.12 by @renovate in #690
- chore(deps): update line-openapi digest to 571a258 by @renovate in #693
- chore(deps): update line-openapi digest to 62e345e by @renovate in #695
Other Changes
Full Changelog: 3.13.0...3.14.0
3.13.0 New age groups in Insight
What's Changed
In the Messaging API, we've added the following values as the percentage of each age group of your LINE Official Account's friends that you can get by using the Get friend demographics endpoint:
from50to54
from55to59
from60to64
from65to69
from70
Previously, we've aggregated the percentage of friends who are 50 and older as a single value, from50. With this change, you can now get statistics on the percentage of friends between the ages of 50 and 70.
We'll continue to include from50 in the response as a value that aggregates the percentage of friends who are 50 and older.
News: https://developers.line.biz/en/news/2024/09/05/age-percentage-subdivision/
line-openapi updates
- Codes are generated by openapi generator by @github-actions in #669
Dependency updates
- chore(deps): update line-openapi digest to 7ce8caf by @renovate in #667
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.0 by @renovate in #668
Full Changelog: 3.12.0...3.13.0
3.12.0 New age groups in Narrowcast
What's Changed
In the Messaging API, we've added the following values as conditions for filtering the age range of recipients in the demographic filter objects of narrowcast messages:
age_55
age_60
age_65
age_70
Until now, the upper limit was age_50
, so it wasn't possible to filter ages over 50 in detail. By specifying the added age ranges, you can now filter recipients more flexibly than before.
news: https://developers.line.biz/en/news/2024/08/26/age-filter-subdivision/
line-openapi updates
- Codes are generated by openapi generator by @github-actions in #664
Dependency updates
- fix(deps): update dependency ch.qos.logback:logback-classic to v1.5.7 by @renovate in #659
- chore(deps): update dependency aiohttp to v3.10.4 by @renovate in #660
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.4.0 by @renovate in #661
- fix(deps): update dependency org.openapitools:openapi-generator to v7.8.0 by @renovate in #662
- chore(deps): update dependency aiohttp to v3.10.5 by @renovate in #663
- chore(deps): update line-openapi digest to 57487b6 by @renovate in #665
Full Changelog: 3.11.1...3.12.0