Repository navigation
1.3.0
The preference page is now owned here, and marketing asks for it
Two packages were serving near-identical preference pages. That is decided: this one owns the page,
goldnead/statamic-marketing keeps only a one-click unsubscribe path that works whether or not this
package is installed, and it routes every preference link through a resolver that prefers this page.
New — a discovery interface, semver-bound from this release.
PreferenceCenter::urlForToken(string $token): ?string and PreferenceCenter::requestUrl(): ?string,
plus the route-name constants ROUTE_TOKEN, ROUTE_SHOW and ROUTE_REQUEST. null means "this
package cannot serve that link here, use your own path" — returned when the routes are not mounted,
when marketing is absent or switched off, or when the token is empty. Pinned by
tests/Feature/DiscoveryContractTest.php, including the negative case that matters most: a sibling
must probe class_exists() on the class, never method_exists() on the facade, which answers false
through __callStatic and took every LeadHub action node down in
goldnead/statamic-automations v1.0.3.
New — UPGRADE.md, with the cutover for a host that had marketing first: what happens
to the links already sitting in people's inboxes, and the route-cache clear that is not optional here.
Major changes
statamic/cmsmoved fromsuggesttorequire(^6.0). It was never optional: this package
hard requiresgoldnead/statamic-brand-context, which hard requiresstatamic/cms ^6.0. There has
never been an installation without Statamic in it."type": "statamic-addon"was the honest half of
that pair; the missing constraint was the dishonest one, and the Marketplace listing had no
compatibility metadata as a result.laravel/frameworknarrowed to^12.40|^13.0.^11.0was unsatisfiable in practice — Statamic
6 requires^12.40 || ^13.0— and the whole Laravel 11 line is withdrawn over security advisories.
Nobody can have been running this on Laravel 11.orchestra/testbenchnarrowed to^10.0|^11.0andpestphp/pestto^3.0|^4.0, for the same
reason: the lower halves of those ranges pair with Laravel versions this package can no longer
install. Dev-only, so no consumer is affected.
Also
extra.statamicnow carriesslug,url,developeranddeveloper-url, so the manifest slug is
no longernulland the CP addon card has a developer link.- Pint, Larastan (level 5 with a baseline) and a
.gitattributesthat keeps tests and CI out of the
installed package. - CI grew the axes the constraints were always claiming: PHP × Laravel ×
prefer-lowest|prefer-stable,
a MySQL leg that finally uses the second connection intests/TestCase.php, Pint, PHPStan and
addon-lint. TheSIBLING_REPOS_TOKEN || github.tokenfallback is gone — it could never read a
private sibling and turned a missing secret into a Composer 404 that read like a network blip. composer.lockis no longer tracked. A library's lock constrains nothing for consumers and published
the full private dependency graph into a repo that is going public.SECURITY.md, a Requirements section, a support policy, and an install section that finally admits
the root-levelrepositoriesentries a consumer needs while the siblings are off Packagist.