Four defects that were reachable from the app's main screen, a sync bug that
erased data, and a tier that sold four things it could not deliver.
Fixed
- A domain containing a space closed the app.
URL(string:) was
force-unwrapped on the inspected domain in three services; typing
example .com, or separating bulk input with spaces, was enough.
- Availability could never report a free name. A registry 404 mapped to
nil and a DNS-derived "registered" was rewritten to "unknown", so no path
produced
.available — which is also why the alternative-domain suggestions
never showed anything. Every consumer of that case, from the status badge to
the exporters, was rendering something that never arrived.
- Redirect tracing could not follow plain http. Both App Transport
Security keys in
Info.plist were Xcode's display names with zero-width
spaces in them, so the real key was absent and the http fallback could not
connect — the http-to-https hop being the one the check exists to show.
- SMTP credentials went out in the clear. The "Plain" security mode sent
AUTH LOGIN over an unencrypted socket. Credentials are now refused without
TLS, header values carrying a line break are rejected, and the body is
dot-stuffed per RFC 5321 §4.5.2 — without which a body line of "." alone
ended the DATA command and the rest was read as SMTP commands.
- Enabling iCloud sync erased every tracked domain's tags. The merge
rebuilt each row field by field and omitted
tags, then wrote the result
back to local storage. Found while reviewing the sync work, not by the review.
- Sync conflicts were decided by device clocks. Ordering now uses
CloudKit's server-assigned record dates; a skewed or long-offline device no
longer wins or loses arbitrarily. Zone fetches resume from a stored change
token instead of refetching everything.
Tiers
Pro+ promised five capabilities and four could not produce data in a shipping
build. Pricing and reputation are deleted — no local derivation, no provider.
Ownership history and DNS history are free for everyone, being derived from the
user's own snapshots. Extended subdomain discovery moved to Pro, where it does
return more than the base lookup. Pro+ is now shared portfolios, unlimited
audit sessions and the full intelligence breakdown, all of which were already
built — the first two were being given away on every tier.
The usage-credit counters are gone. Nothing enforced them and nothing displayed
them.
DomainReport keeps its pricing and reputation fields, always empty, so the
Local API v1 shape is unchanged.
Under the hood
Tests went from 81 to 185, and now run against both the deployment-target floor
and the newest installed runtime — Scripts/test.sh. That matters here: a Swift
runtime bug aborts the test runner when a main-actor-isolated object is released
under iOS 18.6, so a suite pinned to one simulator hides whichever direction it
is pinned away from.
Newly covered: the availability mapping, the sync merge and tombstone ordering,
domain input validation, the tier table, SMTP message construction, Local API
routing and auth, and the monitoring scheduler's adaptive backoff.
Deleted: both entitlement shims, the unenforced usage meter, the saved-domains
feature (its list had no screen), 336 lines of retired audit prototypes, and
nine discard reads that were compensating for entitlement checks that bypassed
observation — which also fixed a purchase made outside the app going unnoticed
until the next cold launch.
Merge requests
- Fix four shipping defects (!3) by @cmc
- Qlty config and code cleanup (!2) by @cmc
- Four shipping defects (remainder of !3) (!4) by @cmc
- Document that SMTP supports port 465 only (!5) by @cmc
- Test seam and coverage for the domain-availability path (!6) by @cmc
- Order sync conflicts by the server's record date, and resume zone fetches from a stored token (!7) by @cmc
- Carry tags through the sync merge (!9) by @cmc
- Validate the domain input before starting a lookup (!8) by @cmc
- Run the unit suite on the floor and current runtimes (!10) by @cmc
- Stop selling capabilities that cannot return data (!11) by @cmc
- Make the intelligence gate a named capability (!12) by @cmc
- Delete the entitlement shims (!13) by @cmc
- Refuse line breaks in the notification mail (!14) by @cmc
- Delete the saved-domains feature and the retired audit prototypes (!15) by @cmc
- Make entitlement reads observable (!16) by @cmc
- Make the external data cache typed (!17) by @cmc
- Separate Local API routing from execution, and cover it (!18) by @cmc
- Separate the monitoring schedule decisions, and cover them (!19) by @cmc
- Cut 5.1.0 (!20) by @cmc