Skip to content

Bump dart_ping from 9.0.1 to 10.0.0#273

Closed
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/pub/dart_ping-10.0.0
Closed

Bump dart_ping from 9.0.1 to 10.0.0#273
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/pub/dart_ping-10.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 29, 2026

Copy link
Copy Markdown
Contributor

Bumps dart_ping from 9.0.1 to 10.0.0.

Changelog

Sourced from dart_ping's changelog.

10.0.0

Breaking changes & migration

Each breaking change below carries its migration. Together these are the only source-level changes a consumer must make; everything under Added / Changed / Fixed is additive or a bug fix.

Sealed PingEvent stream (#63). Ping.stream is now Stream<PingEvent>. The old PingData envelope — a single object whose response / summary / error fields you null-checked by hand — is replaced by a sealed class PingEvent with three explicit subtypes: PingResponse (a successful probe), PingError (a probe/run error, now also carrying optional seq / ip so a timed-out or TTL-exceeded probe stays a single self-identifying event), and PingSummary (the terminal run summary, always the final event before the stream closes). Branch on the type with an exhaustive switch and the compiler enforces that you handle every case.

// Before (9.x): one PingData with nullable fields, disambiguated by hand
ping.stream.listen((data) {
  if (data.response != null) {/* probe reply */}
  else if (data.error != null) {/* probe/run error */}
  else if (data.summary != null) {/* terminal summary */}
});
// After (10.0.0): a sealed PingEvent — switch on the type
ping.stream.listen((event) {
switch (event) {
case PingResponse(): /* probe reply  /
case PingError():    / probe/run error /
case PingSummary():  / terminal summary — the final event */
}
});

The per-probe seq / ttl / time / ip and the summary's transmitted / received / time / errors are all preserved — only the envelope shape changes. Each variant serializes a 'type' discriminator, so PingEvent.fromMap / fromJson reconstruct the correct subtype.

ipv6 boolean → IpVersion enum (#69). The ambiguous ipv6 boolean on Ping is replaced by an explicit, exclusive IpVersion enum. A boolean false was reasonably misread as "prefer IPv4 / dual-stack"; the library has always selected a single address family exclusively, and IpVersion makes that explicit. It has exactly two values — there is no dual-stack/auto value, and IpVersion.ipv4 excludes IPv6 rather than preferring it.

  • Ping(host, ipv6: true)Ping(host, ipVersion: IpVersion.ipv6)
  • Ping(host, ipv6: false) or omitting it → Ping(host, ipVersion: IpVersion.ipv4) (the default)

... (truncated)

Commits
  • 53bc6d2 Merge pull request #99 from point-source/develop
  • 804f1f3 Merge pull request #98 from point-source/feature/publish-error-f3a
  • 399b44d Merge batch: §spec:publish-dry-run-check (publish-dry-run CI release gate)
  • a18bf4d docs(ci): correct dry-run comment — hook-file rule is server-side on Dart 3.12.x
  • 10efd0a docs(spec): mark §spec:publish-dry-run-check implemented
  • accc1fc ci(publish): gate release PRs into main on dart pub publish --dry-run
  • d7f54a4 docs(spec): mark §spec:publishable-hook-layout implemented
  • ffd86e2 fix(publish): move gating helper out of hook/ to unblock pub publish
  • af9082e docs(spec): add release publishability sections for hook/gating.dart blocker
  • 51a569c docs(requirements): add publishability section for hook/gating.dart publish b...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [dart_ping](https://github.com/point-source/dart_ping) from 9.0.1 to 10.0.0.
- [Changelog](https://github.com/point-source/dart_ping/blob/develop/CHANGELOG.md)
- [Commits](point-source/dart_ping@dart_ping-v9.0.1...v10.0.0)

---
updated-dependencies:
- dependency-name: dart_ping
  dependency-version: 10.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dart Pull requests that update dart code dependencies Pull requests that update a dependency file labels Jun 29, 2026
@git-elliot git-elliot closed this Jul 4, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@git-elliot git-elliot deleted the dependabot/pub/dart_ping-10.0.0 branch July 4, 2026 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dart Pull requests that update dart code dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant