Releases: line/line-bot-sdk-php
v10.2.0 Support new Membership API and Webhook
What's Changed
- Support new Membership API and Webhook by @github-actions in #663
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)
Other Changes
Full Changelog: v10.1.0...v10.2.0
This release is prepared by @eucyt
v10.1.0 Support API of Shared Audiences in Business Manager
What's Changed
Add /v2/bot/audienceGroup/shared path by @github-actions in #662
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
Dependency updates
Full Changelog: v10.0.3...v10.1.0
This release is prepared by @eucyt
v10.0.3 Remove obsolete GET /v2/bot/message/delivery/ad_phone
What's Changed
- Retire GET /v2/bot/message/delivery/ad_phone by @github-actions in #656
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 #656
Other Changes
- Fix renovate config for gitsubmodule by @Yang-33 in #654
- Fix double-quote handling in release creation workflow by @Yang-33 in #657
Full Changelog: v10.0.2...v10.0.3
v10.0.2 Remove obsolete feature: Audience Match
What's Changed
- Remove obsolete feature: Audience Match by @github-actions in #650
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
- Update and rename diff-check.yml to generate-code.yml by @eucyt in #648
- Limit the timing of git submodule updates by renovate to avoid disrupting work during working hours by @Yang-33 in #649
Full Changelog: v10.0.1...v10.0.2
This release is prepared by @Yang-33
v10.0.1 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 #642
Dependency updates
Full Changelog: v10.0.0...v10.0.1
This release is prepared by @eucyt
v10.0.0 All `*AllOf.php` are deleted
What's Changed
- Bump up openapi generator version to 7.10.0 by @Yang-33 in #640
- we bumped up openapi generator version internally. As a result, all
*AllOf.php
are deleted. See in below to understand how to migrate.
- we bumped up openapi generator version internally. As a result, all
- Support phpstan 2.0 by @eucyt in #635
- just modifying comment in
EventRequestParser
to use phpstan@2.0
- just modifying comment in
How to migrate v9 to v10
If your application uses any *AllOf.php
provided in this repository, please use *.php
instead. only changing class name is enough, because they are same internally.
e.g.
MessageEventAllOf
->MessageEvent
.use LINE\Webhook\Model\MessageEventAllOf;
->use LINE\Webhook\Model\MessageEvent;
ClipboardActionAllOf
->ClipboardAction
use LINE\Clients\MessagingApi\Model\ClipboardActionAllOf;
->use LINE\Clients\MessagingApi\Model\ClipboardAction;
line-openapi updates
- Codes are generated by openapi generator by @github-actions in #628
Dependency updates
- chore(deps): update dependency squizlabs/php_codesniffer to v3.11.0 by @renovate in #623
- chore(deps): update dependency squizlabs/php_codesniffer to v3.11.1 by @renovate in #624
- chore(deps): update line-openapi digest to 6312d4b by @renovate in #627
- chore(deps): update actions/github-script action to v7 by @renovate in #629
- chore(deps): update line-openapi digest to e8fbce9 by @renovate in #631
- chore(deps): update dependency squizlabs/php_codesniffer to v3.11.2 by @renovate in #634
Other Changes
- Automate to prepare release note with next version by @Yang-33 in #626
- Allow renovate PR to have un committed changes by @Yang-33 in #630
- Set title and description written in line-openapi PR by @Yang-33 in #633
- Show filenames of diff from auto-generated files in CI by @eucyt in #638
- Refactor duplicated CI code by @eucyt in #639
Full Changelog: 9.12.0...v10.0.0
This release is prepared by @Yang-33
9.12.0 Bot mention
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 #621
Dependency updates
- chore(deps): update dependency squizlabs/php_codesniffer to v3.10.3 by @renovate in #614
- chore(deps): update line-openapi digest to 4d9979b by @renovate in #616
- chore(deps): update line-openapi digest to 571a258 by @renovate in #618
- chore(deps): update line-openapi digest to 62e345e by @renovate in #620
Full Changelog: 9.11.0...9.12.0
9.11.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 #608
Dependency updates
Other Changes
- Support PHP 8.3 by @Yang-33 in #606
- Add get followers test by @eucyt in #604
- Add issueStatelessChannelToken test by @eucyt in #607
New Contributors
Full Changelog: 9.9.1...9.10.0
9.10.0 New age groups in Narrowcast
What's Changed
#608
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 #608
Dependency updates
Other Changes
- Support PHP 8.3 by @Yang-33 in #606
- Add get followers test by @eucyt in #604
- Add issueStatelessChannelToken test by @eucyt in #607
New Contributors
Full Changelog: 9.9.1...9.10.0
9.9.1 Fix php artisan vendor:publish
What's Changed
line-openapi updates
- chore(deps): update line-openapi digest to c14fa72 by @renovate in #590
- chore(deps): update line-openapi digest to eb2bf14 by @renovate in #592
- Codes are generated by openapi generator by @github-actions in #593
- Codes are generated by openapi generator by @github-actions in #594
- chore(deps): update line-openapi digest to f976f52 by @renovate in #595
- Codes are generated by openapi generator by @github-actions in #603
Dependency updates
- chore(deps): update dependency squizlabs/php_codesniffer to v3.9.2 by @renovate in #591
- chore(deps): update dependency squizlabs/php_codesniffer to v3.10.0 by @renovate in #597
- chore(deps): update dependency squizlabs/php_codesniffer to v3.10.1 by @renovate in #598
- chore(deps): update dependency squizlabs/php_codesniffer to v3.10.2 by @renovate in #601
New Contributors
Full Changelog: 9.9.0...9.9.1