Skip to content

Post-0.9.0 cleanup: RPM spec equality, internal-helper export, docs - #13

Merged
gencto merged 1 commit into
mainfrom
claude/keen-tesla-h9zjqd
Oct 12, 2026
Merged

gencto merged 1 commit into
mainfrom
claude/keen-tesla-h9zjqd

Conversation

@gencto

@gencto gencto commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Summary

Small, independent cleanups surfaced by a post-0.9.0 package assessment. No native/C changes.

  • Fix BacnetReadAccessSpecification equality — ==/hashCode compared only properties.length, so two specifications for the same object requesting different properties compared equal and collided in a Set/Map. They now compare the property list by content. Added a regression test.
  • Hide the internal mapConcurrent helper from the public API — it was unintentionally re-exported through device_scanner.dart; it remains package-internal (still used by device_description.dart).
  • Docs: correct the stale README claim that the server does not implement SubscribeCOVPropertyMultiple — it has implemented it as a target since 0.9.0.

Not included: the Dependabot submodule bump (bacnet-stack → afcf114) was investigated and declined — that revision is a rebased/divergent master tip whose Notification Class changes (#1551 Priority-as-BACnetARRAY, #1553 dynamic NC) break the server's NC handling at runtime, for no benefit relevant to this package. Recommend closing that Dependabot PR rather than merging.

Checklist

  • dart format, dart analyze --fatal-infos and dart test pass
  • Tests cover the change (equality regression test in test/models/rpm_models_test.dart; full unit suite green)
  • Public API changes are documented and listed in CHANGELOG.md
  • Generated files are regenerated (no drift — no generated inputs changed)

🤖 Generated with Claude Code

https://claude.ai/code/session_01Q3Woz4Bu11Eqhjsh6q3q5b


Generated by Claude Code

- BacnetReadAccessSpecification == and hashCode compared only
  properties.length, so two specifications for the same object requesting
  different properties compared equal and collided in a Set/Map. Compare the
  property list by content, and add a regression test.
- Stop exporting the internal mapConcurrent fan-out helper from the public
  API; it was unintentionally re-exported through device_scanner.dart.
- README: correct the stale claim that the server does not implement
  SubscribeCOVPropertyMultiple — it has as a target since 0.9.0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q3Woz4Bu11Eqhjsh6q3q5b
@gencto
gencto merged commit 63ea629 into main Oct 12, 2026
11 checks passed
@gencto
gencto deleted the claude/keen-tesla-h9zjqd branch October 12, 2026 20:08
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.

2 participants