Skip to content

Tags: line/line-bot-sdk-python

Tags

v3.18.1

Toggle v3.18.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bye line things (#840)

line/line-openapi#112

It has been already gone.
Therefore this change cleans up definition of `ThingsEvent` as one of
webhook event.

Co-authored-by: github-actions <github-actions@github.com>

v3.18.0

Toggle v3.18.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(deps): update actions/download-artifact action to v5 (#834)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[actions/download-artifact](https://redirect.github.com/actions/download-artifact)
| action | major | `v4.3.0` -> `v5.0.0` |

---

### Release Notes

<details>
<summary>actions/download-artifact (actions/download-artifact)</summary>

###
[`v5.0.0`](https://redirect.github.com/actions/download-artifact/releases/tag/v5.0.0)

[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v4.3.0...v5.0.0)

#### What's Changed

- Update README.md by
[@&#8203;nebuk89](https://redirect.github.com/nebuk89) in
[https://github.com/actions/download-artifact/pull/407](https://redirect.github.com/actions/download-artifact/pull/407)
- BREAKING fix: inconsistent path behavior for single artifact downloads
by ID by [@&#8203;GrantBirki](https://redirect.github.com/GrantBirki) in
[https://github.com/actions/download-artifact/pull/416](https://redirect.github.com/actions/download-artifact/pull/416)

#### v5.0.0

##### 🚨 Breaking Change

This release fixes an inconsistency in path behavior for single artifact
downloads by ID. **If you're downloading single artifacts by ID, the
output path may change.**

##### What Changed

Previously, **single artifact downloads** behaved differently depending
on how you specified the artifact:

- **By name**: `name: my-artifact` → extracted to `path/` (direct)
- **By ID**: `artifact-ids: 12345` → extracted to `path/my-artifact/`
(nested)

Now both methods are consistent:

- **By name**: `name: my-artifact` → extracted to `path/` (unchanged)
- **By ID**: `artifact-ids: 12345` → extracted to `path/` (fixed - now
direct)

##### Migration Guide

##### ✅ No Action Needed If:

- You download artifacts by **name**
- You download **multiple** artifacts by ID
- You already use `merge-multiple: true` as a workaround

##### ⚠️ Action Required If:

You download **single artifacts by ID** and your workflows expect the
nested directory structure.

**Before v5 (nested structure):**

```yaml
- uses: actions/download-artifact@v4
  with:
    artifact-ids: 12345
    path: dist

### Files were in: dist/my-artifact/
```

> Where `my-artifact` is the name of the artifact you previously
uploaded

**To maintain old behavior (if needed):**

```yaml
- uses: actions/download-artifact@v5
  with:
    artifact-ids: 12345
    path: dist/my-artifact  # Explicitly specify the nested path
```

#### New Contributors

- [@&#8203;nebuk89](https://redirect.github.com/nebuk89) made their
first contribution in
[https://github.com/actions/download-artifact/pull/407](https://redirect.github.com/actions/download-artifact/pull/407)

**Full Changelog**:
actions/download-artifact@v4...v5.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/line/line-bot-sdk-python).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS41MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuNTEuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJkZXBlbmRlbmN5IHVwZ3JhZGUiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

v3.17.1

Toggle v3.17.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix type of expireTimestamp (#802)

line/line-openapi#106

Type for `CreateAudienceGroupResponse#expireTimestamp` is not float or
double, but integer actually. This change fixes type.

Co-authored-by: github-actions <github-actions@github.com>

v3.17.0

Toggle v3.17.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add includesOwnedAudienceGroups Parameter to Audience API (#800)

line/line-openapi#105

# Enhancement to Shared Audiences API

This PR introduces a new query parameter `includesOwnedAudienceGroups`
to the `/v2/bot/audienceGroup/shared/list` endpoint in the Business
Manager API. This enhancement allows users to specify whether to include
audience groups owned by the user in the response.

## Changes Made
- 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.
- Removed the `/v2/bot/audienceGroup/{audienceGroupId}/activate` and
`/v2/bot/audienceGroup/authorityLevel` endpoints.

## Purpose
This update provides more flexibility in retrieving audience groups by
allowing users to filter based on ownership. It is especially useful for
users who manage both shared and owned audience groups. The removal of
certain endpoints is part of a cleanup effort to streamline the API.

Please review the changes and let me know if there are any questions or
further modifications needed.

## Documents and Reference
- [Get List of Shared
Audiences](https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list)
- [Removed
Endpoints](https://developers.line.biz/en/news/2025/03/26/cross-targeting-closing/)

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

Co-authored-by: github-actions <github-actions@github.com>

v3.16.3

Toggle v3.16.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Migrate renovate config (#782)

Renovate's auto migrator removes comments and disrupts the format as it
said.
This change keeps the original file as much as possible.

Close #777

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

v3.16.2

Toggle v3.16.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Modify http status code as response for manage-audience (#766)

line/line-openapi#87

This change modifies the HTTP status code for the following audience
group-related endpoints, as they were incorrect.
Some http status codes are wrong. They should be 202, not 200.
1. `POST /v2/bot/audienceGroup/upload` (`createAudienceGroup`)
2. `PUT /v2/bot/audienceGroup/upload` (`addAudienceToAudienceGroup`)
3. `POST /v2/bot/audienceGroup/upload/byFile`
(`createAudienceForUploadingUserIds`)
4. `POST /v2/bot/audienceGroup/click` (`createClickBasedAudienceGroup`)
5. `POST /v2/bot/audienceGroup/imp` (`createImpBasedAudienceGroup`)


You can also check if this change is correct by reading
https://developers.line.biz/en/reference/messaging-api/#manage-audience-group.

NOTE: This change is not a modification of the messaging API itself. It
is simply a correction of an error in the YAML description.

Co-authored-by: github-actions <github-actions@github.com>

v3.16.1

Toggle v3.16.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

v3.16.0

Toggle v3.16.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Support new Membership API and Webhook (#758)

line/line-openapi#86

# 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/

Co-authored-by: github-actions <github-actions@github.com>

v3.15.0

Toggle v3.15.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add /v2/bot/audienceGroup/shared path (#757)

line/line-openapi#85

# 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](https://developers.line.biz/en/news/2025/02/12/shared-audience/)
- API Reference:
- [Get List of Shared
Audiences](https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list)
- [Get Shared Audience
Information](https://developers.line.biz/en/reference/messaging-api/#get-shared-audience)
- Documentation on Audience Sharing: [Using Audience
Sharing](https://developers.line.biz/en/docs/messaging-api/using-audience/#audience-sharing)

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

Co-authored-by: github-actions <github-actions@github.com>

v3.14.5

Toggle v3.14.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix double-quote handling in release creation workflow (#751)

This PR escapes the release title’s double quotes and provides the
release notes via a file, preventing shell interpretation errors in the
gh release create command.

Current workflow fails when 
(1) release title contains `"`:
https://github.com/line/line-bot-sdk-java/actions/runs/12886931493/job/35928566569#step:6:3
or (2) PR title contains `"` (e.g. on reverting change, title is `revert
"original title"`)

(same as line/line-bot-sdk-java#1536)