Skip to content

v2.4.0 Add forbidPartialDelivery option to the Narrowcast Limit Object

Choose a tag to compare

@github-actions github-actions released this 24 Oct 02:08
· 13 commits to master since this release
Immutable release. Only release title and notes can be modified.
b1c5348

What's Changed

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

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(
  Line::Bot::V2::MessagingApi::NarrowcastRequest.new(
    messages: [
      Line::Bot::V2::MessagingApi::TextMessage.new(text: 'Hello')
    ],
    limit: Line::Bot::V2::MessagingApi::Limit.new(
      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 ruby/setup-ruby action to v1.259.0 by @renovate[bot] in #667
  • Update dependency org.apache.maven.plugins:maven-compiler-plugin to v3.14.1 by @renovate[bot] in #668
  • Update ruby/setup-ruby action to v1.260.0 by @renovate[bot] in #669
  • Update ruby/setup-ruby action to v1.261.0 by @renovate[bot] in #670
  • Update ruby/setup-ruby action to v1.262.0 by @renovate[bot] in #671
  • Update ruby/setup-ruby action to v1.263.0 by @renovate[bot] in #672
  • Update dependency rubocop to '~> 1.81.0' by @renovate[bot] in #673
  • Update openapi-generator-version to v7.16.0 by @renovate[bot] in #674
  • Update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3.6.2 by @renovate[bot] in #675
  • Update dependency rack to v3.2.2 [SECURITY] by @renovate[bot] in #676
  • Update dependency ruby to v3.4.6 by @renovate[bot] in #677
  • Update dependency rack to v3.2.3 [SECURITY] by @renovate[bot] in #678
  • Update actions/stale action to v10.1.0 by @renovate[bot] in #679
  • Update dependency ruby to v3.4.7 by @renovate[bot] in #680
  • Update ruby/setup-ruby action to v1.264.0 by @renovate[bot] in #682
  • Update ruby/setup-ruby action to v1.265.0 by @renovate[bot] in #683
  • Update actions/setup-node action to v6 by @renovate[bot] in #684

Other Changes

  • Prevent command injection when creating release notes by @Yang-33 in #681

Full Changelog: v2.3.0...v2.4.0


This release is prepared by @habara-k