Skip to content

v8.17.0 Add forbidPartialDelivery option to the Narrowcast Limit Object

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Oct 02:08
Immutable release. Only release title and notes can be modified.
332bf43

What's Changed

  • Add forbidPartialDelivery option to the Narrowcast Limit Object by @github-actions[bot] in #634

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:
bot.Narrowcast(
	&messaging_api.NarrowcastRequest{
		Messages: []messaging_api.MessageInterface{
			messaging_api.TextMessage{
				Text: "Hello",
			}
		},
		Limit: &messaging_api.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

  • chore(deps): update dependency org.apache.maven.plugins:maven-compiler-plugin to v3.14.1 by @renovate[bot] in #623
  • fix(deps): update dependency org.openapitools:openapi-generator to v7.16.0 by @renovate[bot] in #624
  • chore(deps): update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3.6.2 by @renovate[bot] in #625
  • chore(deps): update junit-framework monorepo to v5.14.0 by @renovate[bot] in #626
  • chore(deps): update junit-framework monorepo to v6 (major) by @renovate[bot] in #627
  • chore(deps): update actions/stale action to v10.1.0 by @renovate[bot] in #629
  • chore(deps): update actions/setup-node action to v6 by @renovate[bot] in #632

Other Changes

Full Changelog: v8.16.0...v8.17.0


This release is prepared by @habara-k