Releases: line/line-bot-sdk-go
v8.13.1 Fix type of CreateAudienceGroupResponse#expireTimestamp
What's Changed
Type for CreateAudienceGroupResponse#expireTimestamp
is not float or double, but integer actually. This change fixes type.
- Fix type of expireTimestamp by @github-actions in #581
(original PR is line/line-openapi#106)
line-openapi updates
Dependency updates
Full Changelog: v8.13.0...v8.13.1
This release is prepared by @Yang-33
v8.13.0 Add includesOwnedAudienceGroups Parameter to Audience API
What's Changed
- Add includesOwnedAudienceGroups Parameter to Audience API by @github-actions in #577
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 #572
- chore(deps): update line-openapi digest to 954b163 by @renovate in #566
- chore(deps): update line-openapi digest to 0e669d0 by @renovate in #568
- chore(deps): update line-openapi digest to 31fa3c7 by @renovate in #571
Dependency updates
- chore(deps): update suzuki-shunsuke/pinact-action action to v0.2.2 by @renovate in #563
- chore(deps): update suzuki-shunsuke/pinact-action action to v1 by @renovate in #564
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.3 by @renovate in #565
- fix(deps): update dependency io.pebbletemplates:pebble to v3.2.4 by @renovate in #567
- chore(deps): update junit5 monorepo to v5.12.2 by @renovate in #575
- chore(deps): update actions/setup-node action to v4.4.0 by @renovate in #576
Other Changes
- Skip creating PR when only git submodule is updated by @Yang-33 in #562
- Require more jobs in merge queue by @Yang-33 in #570
- Do not create another auto PR when a job runs for PR by @Yang-33 in #573
- Do not create another auto PR when a job runs for PR or merge queue by @Yang-33 in #574
- Drop Go 1.22 and support 1.24 by @mokuzon in #578
Full Changelog: v8.12.1...v8.13.0
This release is prepared by @eucyt
v8.12.1 Support new Membership API and Webhook
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-go/releases/tag/v8.12.0 about new features.
line-openapi updates
- chore(deps): update line-openapi digest to 0af4f53 by @renovate in #548
- chore(deps): update line-openapi digest to 9dec0f8 by @renovate in #553
- chore(deps): update line-openapi digest to cc542e3 by @renovate in #557
Dependency updates
- chore(deps): update dependency org.apache.maven.plugins:maven-compiler-plugin to v3.14.0 by @renovate in #544
- chore(deps): update junit5 monorepo to v5.12.0 by @renovate in #545
- fix(deps): update dependency org.openapitools:openapi-generator to v7.12.0 by @renovate in #546
- chore(deps): update dependency go to 1.24 by @renovate in #552
- chore(deps): update junit5 monorepo to v5.12.1 by @renovate in #554
Other Changes
- Add EoL and new release reminder by @Yang-33 in #549
- Pin commit hash of github actions to avoid supply chain attacks by @Yang-33 in #555
- Grant minimum permissions to github acitons workflow jobs by @Yang-33 in #556
- Migrate renovate config by @Yang-33 in #561
Full Changelog: v8.12.0...v8.12.1
This release is prepared by @Yang-33
v8.12.0 Support new Membership API and Webhook
What's Changed
- Support new Membership API and Webhook by @github-actions in #542
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: v8.11.0...v8.12.0
This release is prepared by @eucyt
v8.11.0 Support API of Shared Audiences in Business Manager
What's Changed
Add /v2/bot/audienceGroup/shared path by @github-actions in #541
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
Other Changes
Full Changelog: v8.10.3...v8.11.0
This release is prepared by @eucyt
v8.10.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 #535
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 #535
Dependency updates
Other Changes
- Fix renovate config for gitsubmodule by @Yang-33 in #533
- Fix double-quote handling in release creation workflow by @Yang-33 in #536
Full Changelog: v8.10.2...v8.10.3
v8.10.2 Remove obsolete feature: Audience Match
What's Changed
- Remove obsolete feature: Audience Match by @github-actions in #530
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 #527
- Limit the timing of git submodule updates by renovate to avoid disrupting work during working hour by @Yang-33 in #528
Full Changelog: v8.10.1...v8.10.2
This release is prepared by @Yang-33
v8.10.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 #522
line-openapi updates
- Codes are generated by openapi generator by @github-actions in #510
Dependency updates
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.2 by @renovate in #503
- fix(deps): update dependency org.openapitools:openapi-generator to v7.10.0 by @renovate in #506
- chore(deps): update line-openapi digest to 6312d4b by @renovate in #509
- chore(deps): update actions/github-script action to v7 by @renovate in #507
- chore(deps): update line-openapi digest to ae45c77 by @renovate in #513
- chore(deps): update line-openapi digest to e8fbce9 by @renovate in #516
- chore(deps): update junit5 monorepo to v5.11.4 by @renovate in #519
- chore(deps): update line-openapi digest to 491e118 by @renovate in #523
Other Changes
- PR must fail when generated code is not committed by @Yang-33 in #504
- Automate to prepare release note with next version by @Yang-33 in #508
- Allow renovate PR to have un committed changes by @Yang-33 in #512
- Set title and description written in line-openapi PR by @Yang-33 in #515
- Add tests for ignore-empty series by @habara-k in #518
- Show filenames of diff from auto-generated files in CI by @eucyt in #520
- Load sdk version from buildinfo by @Yang-33 in #521
New Contributors
Full Changelog: v8.10.0...v8.10.1
This release is prepared by @eucyt
v8.10.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 #494
- Codes are generated by openapi generator by @github-actions in #501
Dependency updates
- chore(deps): update junit5 monorepo to v5.11.1 by @renovate in #484
- chore(deps): update junit5 monorepo to v5.11.2 by @renovate in #485
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.1 by @renovate in #486
- chore(deps): update actions/checkout digest to eef6144 by @renovate in #487
- fix(deps): update dependency org.openapitools:openapi-generator to v7.9.0 by @renovate in #488
- chore(deps): update junit5 monorepo to v5.11.3 by @renovate in #492
- chore(deps): update actions/checkout digest to 11bd719 by @renovate in #493
- chore(deps): update line-openapi digest to 62e345e by @renovate in #495
Other Changes
- Fixed handling errors in the wrong place in example by @oneplus1000 in #481
- Fix README by @178inaba in #483
- Fix bug: integer cannot be null by @habara-k in #496
- Ignore empty string for query parameter by @habara-k in #497
- Ignore empty string for optional args by @habara-k in #498
New Contributors
- @oneplus1000 made their first contribution in #481
- @178inaba made their first contribution in #483
- @habara-k made their first contribution in #496
Full Changelog: v8.9.0...v8.10.0
v8.9.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 #478
- Codes are generated by openapi generator by @github-actions in #480
Dependency updates
- chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.5.0 by @renovate in #479
Other Changes
Full Changelog: v8.8.0...v8.9.0