Skip to content

8.0#1

Merged
wtorsi merged 1 commit intomainfrom
8.0
Feb 19, 2026
Merged

8.0#1
wtorsi merged 1 commit intomainfrom
8.0

Conversation

@baldrys-ed
Copy link
Contributor

No description provided.

@baldrys-ed baldrys-ed changed the title initial release: menu system bundle 8.0 Feb 18, 2026
- require symfony ^8.0, php ^8.5
- update CI workflows: actions/checkout@v6, actions/cache@v5, ext-ds install,
  hardened cache key, initial tag v8.0.0, cs-check step added
- track .claude/ config

Bug fixes:
- ClosureNavigation: use Closure::fromCallable() to safely wrap any callable
- NavigationFactory: replace array_merge_recursive with array_replace for options
  to prevent scalar 'namespace' from being coerced into an array
- RouteVoter: remove incorrect case-insensitive 'i' and redundant 'u' regex flags

Performance:
- RouteVoter: cache current request route/params per request instance to avoid
  redundant attribute lookups across items in the same render
- Matcher::clear(): call removeAll() instead of allocating a new SplObjectStorage

Code quality:
- NavigationFactory::createCacheKey: use $nav::class instead of get_class()
- Accessor::hasAccessToItem: use Map::put() consistently
- MenuExtension: remove getName() — no-op since Twig 3
- NavigationInterface: remove redundant PHPDoc duplicating typed signature

composer.json:
- remove hardcoded "version" field (breaks Packagist tag-based versioning)
- add "homepage" field, expand keywords, improve description

README:
- add PHP / Symfony / License / CI badges
- fix requirements table: symfony/* ^8.0
- fix hasAccess() docs: AND logic for roles, not OR
- fix configureCacheItem() example: use Symfony\Contracts\Cache\ItemInterface
- fix hasAccessToChildren() signature in Twig reference

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@wtorsi wtorsi merged commit 3d61c01 into main Feb 19, 2026
2 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.

2 participants