Skip to content

Release v1.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 09 Jul 16:10

Release v1.0.0: initial Console Debug Bundle

Changelog

Added

  • cdbg() global helper — non-blocking debug calls; execution continues (unlike dd()).
  • Role-based gateConsoleDebugGateInterface with default enabled + Symfony Security roles.
  • Optional query parameter gateQueryParamConsoleDebugGate example and query_param config.
  • Custom gate service — replace the default gate via gate_service.
  • HTML script injectionConsoleDebugResponseSubscriber appends console output before </body> on HTML responses.
  • Browser console output — styled banner, expanded console.group() entries, file/line, optional label, timing offsets.
  • JSON-safe payload<script type="application/json"> + JSON.parse() for safe embedding (namespaces, slashes, special chars).
  • DebugValueNormalizer — scalars, arrays, enums, dates, throwables, JsonSerializable, objects ({ object, hash } or __toString()).
  • FQCN normalization — PHP class names rendered as App/Entity/User in console (JSON-safe).
  • Twig integration{{ cdbg() }}, {% cdbg %}, full template context dump (like {% dump %}).
  • Symfony Flex recipe — bundle registration and default config.
  • Demos — FrankenPHP + Docker: demo/symfony7 (port 8010), demo/symfony8 (port 8011).
  • Documentation — installation, configuration, usage, performance, security, upgrading, release process.
  • CI / release — GitHub Actions (ci.yml, release.yml), 100% PHPUnit coverage.

Configuration defaults

  • console_method: log (visible in DevTools without filtering Info level).
  • label_prefix: [cdbg]
  • roles: [ROLE_CONSOLE_DEBUG]

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