Skip to content

Prepare the v0.1.0 release - #3

Merged
ChrisAbner merged 2 commits into
mainfrom
release/v0.1.0
Sep 29, 2026
Merged

ChrisAbner merged 2 commits into
mainfrom
release/v0.1.0

Conversation

@ChrisAbner

Copy link
Copy Markdown
Owner

Last changes before tagging v0.1.0.

Changes

  • ADR 0010, public namespaces at any depth. Contracts, Events, Data, Enums and Exceptions now count as public API wherever they appear inside a module (e.g. Billing\Invoices\Enums\Status). Field tests on real apps showed these nested classes were ~20% of the reports in some projects. #[Internal] still keeps a class internal, and each module's public list stays anchored at the module root. New fixture tests/Fixtures/nested-public-namespaces; no existing expected.json changed.
  • Release metadata. CHANGELOG.md dated 0.1.0 - 2026-09-29; README badges (tests, Packagist version and downloads, PHP, license), docs link and the AI-agents angle in the intro.
  • Repository health. SECURITY.md (private vulnerability reporting is now enabled), CODE_OF_CONDUCT.md, issue forms (bug, false positive, feature request), PR template, and a social preview image in .github/.

Checks (local, Windows, Xdebug off)

  • Pest: 119 passed, 1 skipped (Windows-only skip)
  • PHPStan: no errors
  • Pint: passed
  • The benchmark is noisy on this Windows machine (cold file reads, ~11 s with and without this change); CI on Linux measured 1.42 s for the same 1,000 files.

After merging: tag v0.1.0, publish the GitHub Release and submit the package to Packagist. The Packagist badges show "not found" until then.

Contracts, Events, Data, Enums and Exceptions now count as public API
wherever they appear inside a module, e.g. Billing\Invoices\Enums\Status.
Field tests showed these nested classes were ~20% of the reports in some
apps. #[Internal] still keeps a class internal; the per-module public
list stays anchored at the module root.
Private vulnerability reporting is enabled on the repository. The
social preview image lives in .github/ and is uploaded in the repo
settings.
@ChrisAbner
ChrisAbner merged commit 7dfc054 into main Sep 29, 2026
6 checks passed
@ChrisAbner
ChrisAbner deleted the release/v0.1.0 branch September 29, 2026 04:23
@ChrisAbner ChrisAbner mentioned this pull request Sep 29, 2026
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