Skip to content

Releases: nowo-tech/BreadcrumbKitBundle

Release v1.2.1

Choose a tag to compare

@github-actions github-actions released this 03 Jul 15:47

Release v1.2.1

CI: Symfony 8 jobs use matrix PHP platform and doctrine-bundle ^3.0.
No bundle API changes since v1.2.0.

See docs/CHANGELOG.md for details.

Changelog

Fixed

  • CI: Symfony 8.0 / 8.1 matrix cells now override composer.json platform.php (8.2.0) with the matrix PHP version before install, and require doctrine/doctrine-bundle ^3.0 (2.x does not support Symfony 8; 3.x requires PHP ^8.4).
  • Demo composer.lock files refreshed for Symfony 8 / Doctrine 3 compatibility.

Documentation

Full Changelog: v1.2.0...v1.2.1

Release v1.2.0

Choose a tag to compare

@github-actions github-actions released this 03 Jul 15:44

Release v1.2.0

Presentation options: home_icon, home_icon_replaces_label,
hide_when_single_root. Twig partial _breadcrumb_crumb.html.twig.

See docs/CHANGELOG.md for details.

Changelog

Added

  • presentation configuration (YAML under nowo_breadcrumb_kit.presentation):
    • home_icon — global fallback when a collection has no homeIcon.
    • home_icon_replaces_label — when true (default), the first crumb can show only the home icon; the text label remains in aria-label.
    • hide_when_single_root — when true, hides the trail on pages where the only crumb is the root item and it is the current page (typical home). Per-collection override via responsiveConfig.hide_when_single_root in the dashboard.
  • Twig partial _breadcrumb_crumb.html.twig for a single crumb (link, current, or plain text + optional icon).
  • Unit tests for single-root hiding and home-icon presentation on BreadcrumbLoader.

Changed

  • BreadcrumbTrailView: new property homeIconReplacesLabel (passed from config).
  • breadcrumb.html.twig: includes _breadcrumb_crumb.html.twig; wrapper renders only when the trail has nodes or inline-edit toolbar is shown.
  • Dashboard collection form: help text for homeIcon field (EN/ES).

Documentation

  • CONFIGURATION.md: presentation.* reference and example YAML.
  • USAGE.md: presentation options and _breadcrumb_crumb.html.twig override.

What's Changed

  • chore(ci): bump codecov/codecov-action from 5 to 7 by @dependabot[bot] in #3
  • chore(ci): bump actions/cache from 5 to 6 by @dependabot[bot] in #1
  • chore(ci): bump actions/github-script from 7 to 9 by @dependabot[bot] in #2

New Contributors

Full Changelog: v1.0.0...v1.2.0

Release v1.1.0

Choose a tag to compare

@github-actions github-actions released this 03 Jul 14:50

Release v1.1.0

  • Minimum Symfony 7.0 (PHP 8.2+ unchanged)
  • CI: Symfony 8.1 platform.php 8.4.1 fix

See docs/CHANGELOG.md for details.

Changelog

Changed

  • Minimum Symfony version is 7.0 (^7.0 || ^8.0 for Symfony components). Symfony 6.4 is no longer supported. Minimum PHP remains 8.2 (>=8.2 <8.6).
  • CI matrix: Symfony 6.4 removed; tests cover Symfony 7.0, 7.4, 8.0, and 8.1.

Fixed

  • CI: Symfony 8.1 job sets Composer platform.php to 8.4.1 (Symfony 8.1 requires PHP >= 8.4.1; the previous 8.4 override resolved as 8.4.0 and broke dependency resolution).

Documentation

  • Requirements updated in README, INSTALLATION, and UPGRADING (Symfony 7+, Symfony 8.1 / PHP 8.4.1 note).

Full Changelog: v1.0.0...v1.1.0

Release v1.0.0

Choose a tag to compare

@github-actions github-actions released this 03 Jul 14:46

Release v1.0.0

First public release. See docs/CHANGELOG.md for details.

Changelog

First public release.

Added

  • Core: Doctrine entities (BreadcrumbCollection, BreadcrumbItem), BreadcrumbLoader, BreadcrumbUrlResolver, PSR-6 item-list cache, Twig helpers (breadcrumb_trail, breadcrumb_render, breadcrumb_kit_dashboard_collections_url).
  • Dashboard CRUD (opt-in): dashboard.enabled + dashboard.path_prefix; collections/items management, JSON export/import, inline-edit iframe support, pagination (dashboard.pagination), modal sizes (dashboard.modals), UI aligned with DashboardMenuBundle.
  • Symfony Flex recipe (.symfony/recipe/nowo-tech/breadcrumb-kit-bundle/1.0/): bundle registration, default config, optional dashboard routes stub.
  • Demos: FrankenPHP + MySQL — Symfony 7 (demo/symfony7/, port 8020) and Symfony 8.1 / PHP 8.4 (demo/symfony8/, port 8021).
  • Dev tooling: Docker (Dockerfile, docker-compose.yml), root Makefile, Web Profiler data collector, PHPUnit (~99.5% line coverage on included src/), PHPStan, Rector, CI/release workflows.
  • Explicit symfony/yaml dependency for the DI extension.

Fixed

  • Twig (REQ-TWIG-001): TwigPathsPass prependPath() for app overrides under templates/bundles/NowoBreadcrumbKitBundle/, then addPath() for bundle views; resolves twig.loader.native through chained aliases.
  • DI extension registers %nowo_breadcrumb_kit.*% parameters before loading services.yaml.
  • BreadcrumbKitExtension::getAlias() returns nowo_breadcrumb_kit (documented YAML root key).

Documentation

  • Full docs/ set (installation, configuration, usage, security, upgrading, spec-driven development, FrankenPHP demos).
  • Translation override procedure (REQ-I18N-001) and dashboard security surface documented.

Full Changelog: https://github.com/nowo-tech/BreadcrumbKitBundle/commits/v1.0.0