v10.4.0 Add forbidPartialDelivery option to the Narrowcast Limit Object
What's Changed
- Add forbidPartialDelivery option to the Narrowcast Limit Object by @github-actions[bot] in #1430
Add forbidPartialDelivery option to the Narrowcast Limit Object
We add a new forbidPartialDelivery option to the Narrowcast Limit Object.
When set to true, this option prevents messages from being delivered to only a subset of the target audience.
If partial delivery occurs, the narrowcast request will succeed but fail asynchronously.
You can verify whether the message delivery was canceled by checking the narrowcast message progress.
This property can only be set to true when upToRemainingQuota is also true.
For more details, see the https://developers.line.biz/en/news/2025/10/21/narrowcast-message-update/.
Example:
client.narrowcast(
{
messages: [{ type: 'text', text: 'Hello' }],
limit: {
max: 1000,
upToRemainingQuota: true,
forbidPartialDelivery: true
}
}
)(original PR is line/line-openapi#114)
Use cases
Previously, when upToRemainingQuota was set to true, messages could be partially delivered if the remaining message quota was smaller than the target audience size.
With the new forbidPartialDelivery option, you can now ensure that such partial deliveries do not occur.
- Ensuring that a campaign message is sent only if it can reach the full target audience, avoiding incomplete distributions.
line-openapi updates
Dependency updates
- Update dependency @types/node to v22.18.5 by @renovate[bot] in #1406
- Update dependency org.apache.maven.plugins:maven-compiler-plugin to v3.14.1 by @renovate[bot] in #1408
- Update openapi-generator-version to v7.16.0 by @renovate[bot] in #1411
- Update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3.6.2 by @renovate[bot] in #1412
- Update junit-framework monorepo to v5.14.0 by @renovate[bot] in #1413
- Update junit-framework monorepo to v6 (major) by @renovate[bot] in #1414
- Update dependency @types/node to v22.18.8 by @renovate[bot] in #1407
- Update dependency typedoc-plugin-markdown to v4.9.0 by @renovate[bot] in #1409
- Update dependency msw to v2.11.3 by @renovate[bot] in #1410
- Update dependency typescript to v5.9.3 by @renovate[bot] in #1415
- Update actions/stale action to v10.1.0 by @renovate[bot] in #1418
- Update actions/setup-node action to v6 by @renovate[bot] in #1424
- Update dependency typedoc to v0.28.14 by @renovate[bot] in #1422
- Update dependency @types/node to v22.18.10 by @renovate[bot] in #1421
- Update dependency msw to v2.11.5 by @renovate[bot] in #1420
Other Changes
- Update workflows to run 'npm install' before 'npm ci' by @habara-k in #1416
- Commit package-lock.json by @Yang-33 in #1417
- Prevent command injection when creating release notes by @Yang-33 in #1419
- Run npm audit fix to update vite by @mokuzon in #1426
Full Changelog: v10.3.0...v10.4.0
This release is prepared by @habara-k