Skip to content

chore(deps): bump tracy/tracy from 2.11.3 to 2.12.0#30

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/tracy/tracy-2.12.0
Open

chore(deps): bump tracy/tracy from 2.11.3 to 2.12.0#30
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/tracy/tracy-2.12.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 4, 2026

Bumps tracy/tracy from 2.11.3 to 2.12.0.

Release notes

Sourced from tracy/tracy's releases.

Released version 2.12.0

Tracy learns to speak AI. This release turns every error screen, debug bar, and dump() call into a first-class citizen of agentic workflows – when an AI coding assistant hits your app, it gets a structured, token-efficient view of exactly what went wrong instead of a blob of HTML. Plus the usual spit-and-polish: a unified "transparent frames" model across BlueScreen and Dumper, a new breadcrumb in logged exceptions showing where Debugger::log() was called from, and a few quality-of-life API additions.

✨ New Features

  • AI agent support – Tracy now detects AI agents (via Helpers::isAgent()) and serves them tailored output instead of HTML:
    • BlueScreen renders a dedicated agent template for exceptions, making stack traces and context machine-readable
    • Debug Bar ships an agent-friendly render path with bespoke templates for the Warnings and Dumps panels
    • Debugger::dump() writes to the console when an agent is on the other end, so your dumps land where the agent actually looks
    • Production error page now includes a hint for agents so they don't have to guess what happened behind the generic 500
  • Markdown companion files – every HTML error log now gets a .md sibling, giving agents a clean, readable version of the same crash
  • Debugger::$transparentPaths – a public, autodetected list of "framework" paths (Tracy, Nette, Latte) whose frames are skipped when locating the real call site. Path-based, so it catches anonymous functions and closures that class-based detection missed
  • Helpers::findCallerLocation() – walks the backtrace and returns the first frame outside $transparentPaths, respecting @tracySkipLocation and internal functions. Reusable across Tracy instead of buried in Dumper
  • Helpers::countTransparentFrames() – companion helper returning the number of leading transparent frames in a trace
  • Logger records caller location – exception reports now show a "Logged from ..." footer pointing to the exact line where Debugger::log() was called, alongside the existing "Report generated at" entry
  • Dumper::toText() – gained an optional $key parameter so you can label the dumped value in text output

♻️ Code Refactoring

  • BlueScreen stack-trace collapse unified with Debugger::$transparentPaths – one source of truth for which frames to hide, replacing the inline logic in section-stack-exception.php. BlueScreen::$collapsePaths and isCollapsed() remain as @deprecated shims so existing configuration keeps working
  • BlueScreen internals cleaned up, including a new prepareStack(\Throwable) method that strips Tracy's own handler frames and returns the frame index to expand by default

Released version 2.11.4

A maintenance release focused on CSP-friendly assets, mobile-friendly error pages, and a couple of handy API additions. Expect cleaner nonce handling, better behavior on phones, and a bar.js that no longer trips strict Content Security Policies.

  • script-src-elem support in Helpers::getNonce() – nonces are now also picked up from the script-src-elem CSP directive, not just script-src (#612).
  • CSP-friendly Tracy Bar – replaced the inline onload attribute in bar.js with a native addEventListener, eliminating a common CSP violation (#614).
  • FileSession::clean() – emits a warning when the session directory is not readable, making misconfigured storage easier to diagnose (#538).
  • Mobile-friendly error pages – BlueScreen and the 500 error template now include a proper viewport meta tag, so exceptions no longer render microscopically on phones (#604).
  • Improved PHPDoc descriptions and fixed PHPStan errors across the codebase.
  • open-in-editor on Windows – installer now registers the protocol via AutoLaunchProtocolsFromOrigins, suppressing the browser's "Open external app?" confirmation prompt (#573).
Commits
  • 535eda4 Released version 2.12.0
  • df35f1c Bar: added warnings & dumps panel agent template
  • 2d723f5 Bar: added support for AI agents
  • 0156cf6 Debugger: added agent hint to production error page
  • 1dbb02d BlueScreen: added markdown companion files alongside HTML error logs
  • 7b7df12 BlueScreen: added support for AI agents
  • 84103af Debugger::dump() outputs to console for AI agents
  • cedad04 added AI agent support
  • 5321c27 BlueScreen: refactoring
  • 76aea0b Logger: records caller location of Debugger::log() into exception report
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [tracy/tracy](https://github.com/nette/tracy) from 2.11.3 to 2.12.0.
- [Release notes](https://github.com/nette/tracy/releases)
- [Commits](nette/tracy@v2.11.3...v2.12.0)

---
updated-dependencies:
- dependency-name: tracy/tracy
  dependency-version: 2.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels May 4, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants