Releases: takahirom/code-path-tracer
0.4.0
Configurable Logger Output
The highlight of this release is configurable logger output.
You can now route trace messages anywhere—println, SLF4J, Android Log, or custom collectors—using:
val tracer = CodePathTracer.Builder()
.logger { msg -> println("[TRACE] $msg") }
.build()Global defaults can be set via:
CodePathTracer.setDefaultLogger { msg -> ... }
CodePathTracer.setDebugLogger { msg -> ... }This makes it easier to integrate traces with your logging system, capture them in tests, or silence debug logs in CI.
What's Changed
- Document dependency substitution for local development by @takahirom in #24
- Add beforeContextSize documentation by @takahirom in #25
- Add Compose Case Study section to README by @takahirom in #26
- Add configurable logger output support by @takahirom in #27
- Remove excessive logger exception handling by @takahirom in #28
- Update CodePathTracerRule docs to match new API by @takahirom in #29
Full Changelog: 0.3.6...0.4.0
0.3.6
What's Changed
- Fix README trace output format example by @takahirom in #22
- Make ignore packages configurable and refactor agent management by @takahirom in #23
Full Changelog: 0.3.5...0.3.6
0.3.5
What's Changed
- Update README format to match actual implementation by @takahirom in #20
- Add Compose UI test support for Robolectric sample by @takahirom in #21
Full Changelog: 0.3.4...0.3.5
0.3.4
What's Changed
- Update Maven installation section by @takahirom in #17
- Remove unnecessary wouldMatchFilter function by @takahirom in #18
- Fix context enter event duplication bug by @takahirom in #19
Full Changelog: 0.3.3...0.3.4
0.3.3
What's Changed
- Fix depth accumulation bug in method tracing by @takahirom in #15
- Fix constructor className tracing using ByteBuddy
@Originby @takahirom in #16
Full Changelog: 0.3.2...0.3.3
0.3.2
What's Changed
- Fix depth consistency issue in method tracing by @takahirom in #13
- Remove unnecessary println statements from test files by @takahirom in #11
- Fix indent consistency in trace formatting by @takahirom in #12
- Replace println with assert in test files by @takahirom in #14
Full Changelog: 0.3.1...0.3.2
0.3.1
What's Changed
- Tm/implement hierarchical context display by @takahirom in #10
Full Changelog: 0.3.0...0.3.1
0.3.0
Add configurable maxIndentDepth parameter, fix memory leak with Agent/Config lifecycle separation, and improve Configuration Cache compatibility.
What's Changed
- Add configurable maxIndentDepth parameter by @takahirom in #7
- Fix CodePathTracerRule cleanup to prevent memory leaks by @takahirom in #6
- Remove -q option from test ci options by @takahirom in #8
Full Changelog: 0.2.0...0.3.0
Release 0.2.0
What's Changed
This release includes the latest improvements to Code Path Tracer.
Installation
Add to your build.gradle:
dependencies {
testImplementation("io.github.takahirom.codepathtracer:code-path-tracer:0.2.0")
}Full Changelog: https://github.com/takahirom/code-path-tracer/commits/0.2.0
Release 0.1.2
Fix Robolectric ClassLoader conflicts with runtime ByteBuddy agent and conditional android.* exclusion.
What's Changed
This release includes the latest improvements to Code Path Tracer.
Installation
Add to your build.gradle:
dependencies {
testImplementation("io.github.takahirom.codepathtracer:code-path-tracer:0.1.2")
}Full Changelog: https://github.com/takahirom/code-path-tracer/commits/0.1.2