Skip to content

Pre-10.0.0 release hygiene: packaging, formatting, docs#91

Merged
point-source merged 2 commits into
developfrom
feature/prepare-for-10-0-0-r-jaw
Jun 20, 2026
Merged

Pre-10.0.0 release hygiene: packaging, formatting, docs#91
point-source merged 2 commits into
developfrom
feature/prepare-for-10-0-0-r-jaw

Conversation

@point-source

Copy link
Copy Markdown
Owner

Pre-release review pass for 10.0.0. The package, tests, and docs were already in good shape (dart analyze --fatal-infos clean, 238 non-live tests passing, CHANGELOG/README accurate); this PR cleans up the packaging and hygiene items found in review.

Changes

Packaging

  • Add .pubignore excluding SPEC.md (177 KB) and REQUIREMENTS.md (102 KB) — internal governance docs that dominated the published archive and add no value for consumers. Published archive 237 KB → 149 KB. They stay in the repo.

Formatting (d25c579, isolated commit)

  • dart format . across lib/hook/test. The sources had been formatted with the pre-3.7 short style, but the package targets Dart ≥3.10 whose formatter uses the tall style — so dart format was dirty and pana would dock formatting points. No behavior change; reviewable separately from the substantive commit.

Docs / hygiene

  • Fix stale DartPingIOS doc reference in address_family.dartIosPing (that type was removed in 10.0.0; iOS now constructs IosPing directly).
  • README: clarify that stream.first yields a PingEvent (possibly a PingError), not necessarily a successful reply.
  • pubspec: add ios topic.
  • analysis_options: refresh the stale "pedantic/Google" lint comment and dead linter-rules URL.

Verification

  • dart analyze --fatal-infos → clean
  • dart format --set-exit-if-changed → clean
  • dart test -x live → 238 passing
  • dart pub publish --dry-run → 0 package warnings

Not included

  • Security: command injection via host on the Windows forceCodepage path — filed as Security: command injection via host on Windows forceCodepage path #90 to track separately. It's opt-in, Windows-only, and not a 10.0.0 regression, so it isn't a release blocker.
  • A dart format --set-exit-if-changed CI step (would prevent the formatting drift from recurring) — happy to add if wanted.

The sources were last formatted with the pre-3.7 short style; the package
targets Dart >=3.10, whose formatter uses the tall style. Reformat so
dart format is clean (and pana stops docking formatting points). No
behavior change.
- Add .pubignore excluding SPEC.md / REQUIREMENTS.md from the published
  archive (internal governance docs that dominated the package; 237KB -> 149KB)
- Fix stale DartPingIOS doc reference in address_family.dart -> IosPing
  (the type was removed in 10.0.0; iOS now constructs IosPing directly)
- README: clarify that stream.first yields a PingEvent (possibly PingError),
  not necessarily a successful reply
- pubspec: add 'ios' topic
- analysis_options: refresh stale pedantic/Google lint comment and dead URL
@point-source point-source changed the base branch from main to develop June 20, 2026 20:43
@point-source point-source merged commit 5fbd84e into develop Jun 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant