Skip to content

BTrace 3.0.0-RC1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Nov 11:31
· 3 commits to develop since this release

Release candidate. This is the first candidate of BTrace 3.0.0, published so the release
can be tried before it is final. Report problems at
https://github.com/btraceio/btrace/issues.

A candidate is published to Maven Central, as this GitHub pre-release (archives, DEB, RPM) and
as version-tagged container images. It is not published to SDKMAN, the btrace@btraceio
JBang catalog alias, or the Gradle Plugin Portal, and the latest container tags do not move:
sdk install btrace still installs 2.2.6, and the io.btrace.extension and
io.btrace.fat-agent plugin ids resolve only once 3.0.0 is released. The documentation linked
below is the one tagged with this candidate; where it names version 3.0.0 in a download URL,
Maven coordinate or image tag, use 3.0.0-RC1.

BTrace 3.0.0 is the first major release since 2.2.6 (November 2024): a new package namespace, a
new license, a single-jar distribution, an extension framework with permissions, a much shorter
script syntax, a binary wire protocol, and instrumentation that keeps working on class files newer
than the validated ASM ceiling.

Upgrading from 2.x is mostly automatic; read the
migration guide
first. Everything below is documented in the
documentation hub.

Highlights

  • New home: io.btrace. Sources, Maven coordinates (io.btrace:btrace), and the runtime API
    moved from org.openjdk.btrace. Probes compiled with 2.x keep working: the agent rewrites the
    old package references when it loads a persisted probe.
  • Apache License 2.0. BTrace was GPLv2 with the Classpath Exception.
  • One jar. btrace.jar is the agent, the client, and the boot artifact at once. Its internal
    classes are stored as masked classdata (renamed resources the JVM does not see as classes), so
    ASM, the compiler, and the engine stay invisible to the target application's classpath.
  • Extensions with permissions. Bundle services into isolated, permission-gated extensions
    (@Injected), manage them with the new btracex CLI, and ship the bundled ones: metrics
    (HdrHistogram), StatsD, contracts, LLM tracing, RAG quality, GPU bridge, utilities.
  • Flat DSL and auto-imports. Scripts no longer need BTraceUtils. prefixes or import
    boilerplate; import static io.btrace.BTrace.* and import io.btrace.core.annotations.* are
    injected for you.
  • Oneliners. btrace -n 'com.acme.*::* @return if duration>100ms { print method, duration }' <pid>
    deploys a probe without writing a file.
  • Binary wire protocol (V2) is the default, with automatic V1 fallback so 2.x clients and
    agents still talk to 3.0 ones on dynamic attach.
  • ClassFile API instrumentation backend. The bundled ASM handles class files up to the Java 27
    class-file version, the agent's validated ASM ceiling. On JDK 24+ agents, classes newer than
    that (Java 28 early-access builds today) are instrumented through the JDK's ClassFile API
    instead; every probe kind and handler parameter works there.
  • Authenticated prepared mode and btrace doctor. Prepared mode is a JVM started with the
    agent and no startup script, waiting for a later client connection. -javaagent:btrace.jar=port=0
    binds a loopback, token-protected endpoint that 3.0 clients discover through the Attach API (a
    plain -javaagent:btrace.jar does the same on port 2020); btrace doctor <pid> reports
    readiness before and after attach.
  • Probe budgets. Whoever launches the JVM can cap what a probe may cost it:
    -Dio.btrace.probeTtl=<seconds> limits how long a probe stays installed, and
    -Dio.btrace.probeMaxRate=<hits/s> limits how often its handlers on application code fire
    (the probeTtl= / probeMaxRate= agent arguments do the same at launch). The agent removes a
    probe that exceeds a limit and the client exits with code 5 and the reason. A client attaching
    later cannot set or raise the limits, and trusted mode is refused while a budget is in effect.
    See Probe budgets.
  • Fat agents and containers. The io.btrace.fat-agent Gradle plugin embeds extensions and
    startup probes into a single -javaagent jar. Each embedded extension's implementation classes
    are isolated under their own META-INF/btrace-extensions/<id>/ prefix, so extensions that
    carry classes of the same name do not clash, and an API class claimed by two extensions fails
    the build instead of being dropped; official Docker images
    (ghcr.io/btraceio/btrace:3.0.0-RC1, -alpine, -distroless) ship the distribution as a layer.
  • AI-assisted debugging. The MCP server now lives in the
    btraceio/agent-plugins repository as the
    btrace-observability plugin.
  • Telemetry is opt-in only (telemetry=true agent argument); the default agent start performs
    no network operation.

Breaking changes

  • org.openjdk.btrace.* sources must be renamed to io.btrace.* (or drop the imports and rely on
    auto-imports); scripts/migrate-btrace-script.sh does the rewrite. Compiled probes need no change.
  • The btrace-agent.jar / btrace-boot.jar / btrace-client.jar layout is gone; point launch
    scripts at libs/btrace.jar. Maven Central carries io.btrace:btrace (the single jar with the
    bundled extensions embedded) and each bundled extension as io.btrace:<extension-id>; the
    btrace-agent, btrace-client, btrace-boot, and btrace-instr artifacts are not published.
  • Permissions are declared by extensions and granted on the agent side (allowExtensions=,
    allowPrivileged=, or the permission policy file); the client has no --grant flag, and the
    grant= / deny= / grantAll= agent arguments are accepted but have no effect. (The
    probe-level @RequestPermission(s) annotations seen in 3.0 pre-release builds were removed
    before release and never existed in 2.x.)
  • The Aggregations API (Aggregations.newAggregation, AggregationFunction,
    addToAggregation, printAggregation, clearAggregation) was removed. Use the bundled
    btrace-metrics extension for histograms and stats, or plain counters and maps from
    BTraceUtils.
  • libs=<profile> and btrace-libs/ profiles were removed, not deprecated: the agent no
    longer recognizes the libs argument, ignores it like any unknown argument, and loads nothing.
    Migrate to extensions.
  • Prepared mode (-javaagent:btrace.jar=port=...) now requires authentication before every
    command and binds loopback only; a 2.x client cannot connect to a 3.0 prepared endpoint (dynamic
    attach remains compatible). Remote prepared-mode operation is not supported in 3.0.0.
  • The Maven fat-agent plugin was never published and is not part of 3.0; use the Gradle plugin.

Deprecated

  • Running BTrace against a JVM older than Java 17. BTrace 3.0 runs on Java 8–27+, and pre-17
    targets keep working throughout 3.x, but the agent and client print a one-time warning. Support
    for Java < 17 will be removed in 4.0. Suppress the warning with
    -Dbtrace.suppressJavaDeprecationWarning=true (on the target JVM for the agent notice, on the
    client JVM for the console notice).

Behavior changes worth knowing

  • Probe handlers are dispatched through invokedynamic call sites that become no-ops when the
    client exits, so retracting a probe leaves no lingering overhead.
  • btrace --version reports the build commit.

Install

jbang io.btrace:btrace:3.0.0-RC1 <pid> ...   # JBang, by Maven coordinate
curl -LO https://github.com/btraceio/btrace/releases/download/v3.0.0-RC1/btrace-v3.0.0-RC1-bin.tar.gz
sudo dpkg -i btrace_3.0.0.RC1-1_all.deb      # Debian/Ubuntu (release asset)
sudo rpm -i btrace-3.0.0.RC1-1.noarch.rpm    # RPM-based (release asset)
docker pull ghcr.io/btraceio/btrace:3.0.0-RC1

Maven: io.btrace:btrace:3.0.0-RC1; bundled extensions: io.btrace:<extension-id>:3.0.0-RC1.

Learn more

What's Changed

  • Do not synchronize on ClassCache operations by @jbachorik in #540
  • Allow executing commands on BTrace server by @jbachorik in #559
  • Store before-jump state for switch labels by @jbachorik in #563
  • Use SLF4J SimpleLogger by @jbachorik in #562
  • Update dependency org.openjdk.jmh:jmh-core to v1.35 by @renovate[bot] in #531
  • Update actions/checkout action to v3 by @renovate[bot] in #528
  • Update github/codeql-action action to v2 by @renovate[bot] in #535
  • Update dependency gradle to v7.5 by @renovate[bot] in #523
  • Update dependency org.openjdk.jmh:jmh-generator-annprocess to v1.35 by @renovate[bot] in #532
  • Update plugin me.champeau.jmh to v0.6.8 by @renovate[bot] in #573
  • Update junit5 monorepo to v5.9.1 by @renovate[bot] in #566
  • Make 'sun.security.action' accessible to BTraceUtils class. by @jbachorik in #583
  • Update dependency gradle to v7.5.1 by @renovate[bot] in #568
  • Update dependency org.jctools:jctools-core to v4 by @renovate[bot] in #576
  • Update actions/stale action to v6 by @renovate[bot] in #581
  • Add JDK19 to test matrix by @jbachorik in #585
  • Bump ASM library to 9.4 by @jbachorik in #586
  • Split functional tests into a separate integration-tests module by @jbachorik in #587
  • Update dependency org.slf4j:slf4j-api to v2 by @renovate[bot] in #571
  • Follow the class hierarchy to lookup a field by @GGGGGHT in #584
  • Returning false if file does not end with .class by @joachimhs in #580
  • Load only supported probe files by @jbachorik in #588
  • Properly handle script arguments. by @jbachorik in #593
  • chore(deps): update dependency gradle to v7.6 by @renovate[bot] in #591
  • chore(deps): update plugin nebula.ospackage to v9.1.1 by @renovate[bot] in #594
  • fix(deps): update dependency org.openjdk.jmh:jmh-core to v1.36 by @renovate[bot] in #589
  • chore(deps): update actions/stale action to v7 by @renovate[bot] in #599
  • chore(deps): update actions/upload-artifact action to v3 by @renovate[bot] in #596
  • fix(deps): update dependency org.openjdk.jmh:jmh-generator-annprocess to v1.36 by @renovate[bot] in #590
  • Improve stack-tracking visitor robustness by @jbachorik in #601
  • chore(deps): update plugin com.diffplug.spotless to v6.13.0 by @renovate[bot] in #604
  • Fixing all Gradle deprecation warnings by @AlxNu in #609
  • Platform agnosticism by @AlxNu in #608
  • All dependencies handing switched to dependencyResolutionManagement by @AlxNu in #612
  • Update junit5 monorepo to v5.9.2 by @renovate[bot] in #607
  • chore(deps): update dependency gradle to v8 by @renovate[bot] in #615
  • change the url to Oracle Contributor Agreement by @strogiyotec in #629
  • chore(deps): update dependency gradle to v8.1.1 by @renovate[bot] in #616
  • chore(deps): update plugin com.netflix.nebula.ospackage to v11.3.0 by @renovate[bot] in #623
  • fix(deps): update dependency com.google.auto.service:auto-service to v1.1.1 by @renovate[bot] in #628
  • chore(deps): update plugin me.champeau.jmh to v0.7.1 by @renovate[bot] in #618
  • fix(deps): update junit5 monorepo to v5.9.3 by @renovate[bot] in #627
  • Add the required jctools classes to the client jar. by @jbachorik in #634
  • chore(deps): update dependency gradle to v8.2.1 by @renovate[bot] in #636
  • Use Gradle Toolchains by @jbachorik in #637
  • Stackmap frames fixes by @jbachorik in #641
  • chore(deps): update plugin org.gradle.toolchains.foojay-resolver-convention to v0.6.0 by @renovate[bot] in #639
  • fix(deps): update junit5 monorepo to v5.10.0 by @renovate[bot] in #640
  • chore(deps): update plugin com.netflix.nebula.ospackage to v11.4.0 by @renovate[bot] in #638
  • Shade full jctools by @jbachorik in #645
  • Do not drop CHECKCAST instructions by @jbachorik in #646
  • Fix gradle tasks to generate javadoc and sources maven artifacts by @jbachorik in #650
  • chore(deps): update actions/checkout action to v4 by @renovate[bot] in #652
  • chore(deps): update plugin com.netflix.nebula.ospackage to v11.5.0 by @renovate[bot] in #653
  • chore(deps): update dependency gradle to v8.4 by @renovate[bot] in #655
  • fix(deps): update asm to v9.6 by @renovate[bot] in #654
  • chore(deps): update plugin me.champeau.jmh to v0.7.2 by @renovate[bot] in #656
  • fix(deps): update junit5 monorepo to v5.10.1 by @renovate[bot] in #657
  • chore(deps): update dependency gradle to v8.5 by @renovate[bot] in #659
  • fix(deps): update dependency org.jctools:jctools-core to v4.0.2 by @renovate[bot] in #658
  • chore(deps): update actions/stale action to v9 by @renovate[bot] in #661
  • chore(deps): update github/codeql-action action to v3 by @renovate[bot] in #662
  • chore(deps): update geekyeggo/delete-artifact action to v4 by @renovate[bot] in #666
  • chore(deps): update plugin com.netflix.nebula.ospackage to v11.7.0 by @renovate[bot] in #663
  • chore(deps): update plugin org.gradle.toolchains.foojay-resolver-convention to v0.8.0 by @renovate[bot] in #667
  • chore(deps): update dependency gradle to v8.6 by @renovate[bot] in #670
  • fix(deps): update junit5 monorepo to v5.10.2 by @renovate[bot] in #671
  • Update Gradle to 8.6 by @jbachorik in #673
  • Update upload/download GHA by @jbachorik in #672
  • fix(deps): update asm to v9.7 by @renovate[bot] in #680
  • fix(deps): update dependency org.jctools:jctools-core to v4.0.3 - autoclosed by @renovate[bot] in #675
  • chore(deps): update plugin com.netflix.nebula.ospackage to v11.8.1 by @renovate[bot] in #674
  • chore(deps): update geekyeggo/delete-artifact action to v5 - autoclosed by @renovate[bot] in #678
  • chore(deps): update softprops/action-gh-release action to v2 by @renovate[bot] in #677
  • chore(deps): update gradle/gradle-build-action action to v3 by @renovate[bot] in #682
  • Workaround functional test failures on JDK 22 by @jbachorik in #683
  • chore(deps): update dependency gradle to v8.8 by @renovate[bot] in #688
  • fix(deps): update dependency org.jctools:jctools-core to v4.0.5 - autoclosed by @renovate[bot] in #687
  • chore(deps): update plugin com.netflix.nebula.ospackage to v11.9.1 by @renovate[bot] in #684
  • fix(deps): update junit5 monorepo to v5.10.3 by @renovate[bot] in #689
  • Fix grgit-core dependency resolution issue by @yewton in #693
  • chore(deps): update plugin com.netflix.nebula.ospackage to v11.10.0 by @renovate[bot] in #697
  • chore(deps): update dependency gradle to v8.10.2 by @renovate[bot] in #691
  • fix(deps): update junit5 monorepo to v5.11.2 by @renovate[bot] in #696
  • fix(deps): update asm to v9.7.1 by @renovate[bot] in #699
  • Correctly set field name for @TargetMethodOrField by @yewton in #700
  • fix(deps): update junit5 monorepo to v5.11.3 by @renovate[bot] in #701
  • A bunch of fixes related to Spark 3 on JDK 17 by @jbachorik in #703
  • Rework Indy linking to allow instrumentation of most of JDK methods by @jbachorik in #690
  • Try fixing the publish step by @jbachorik in #706
  • Update plugin com.github.johnrengelman.shadow to v8 by @renovate[bot] in #716
  • Update plugin me.champeau.jmh to v0.7.3 by @renovate[bot] in #719
  • Update junit5 monorepo to v5.11.4 by @renovate[bot] in #718
  • Update asm to v9.8 by @renovate[bot] in #731
  • Update plugin org.gradle.toolchains.foojay-resolver-convention to v0.10.0 by @renovate[bot] in #724
  • Update plugin org.gradle.toolchains.foojay-resolver-convention to v1 by @renovate[bot] in #734
  • feat: Implement Binary Protocol v2 with comprehensive testing infrastructure by @jbachorik in #744
  • fix: Remove int cast in Average.getValue() to preserve 64-bit precision by @jbachorik in #747
  • fix: Use Long constants in Minimum/Maximum clear() methods by @jbachorik in #748
  • chore(deps): update actions/cache action to v5 by @renovate[bot] in #745
  • chore(deps): update actions/checkout action to v6 by @renovate[bot] in #746
  • chore(deps): update actions/setup-java action to v5 by @renovate[bot] in #742
  • chore(deps): update plugin com.netflix.nebula.ospackage to v11.11.2 - autoclosed by @renovate[bot] in #723
  • chore(deps): update github artifact actions (major) by @renovate[bot] in #739
  • fix(deps): update dependency jacoco to v0.8.14 - autoclosed by @renovate[bot] in #750
  • fix(deps): update jmh to v1.37 by @renovate[bot] in #751
  • fix: Add type safety validation for Command deserialization by @jbachorik in #749
  • fix(deps): update asm to v9.9 by @renovate[bot] in #743
  • chore(deps): update github/codeql-action action to v4 by @renovate[bot] in #753
  • chore(deps): update actions/stale action to v10 by @renovate[bot] in #752
  • fix: Add defensive copying in InstrumentCommand by @jbachorik in #754
  • fix(core): MethodID thread-safety + JavaSerializationProtocol leak by @jbachorik in #755
  • fix(core): ListProbesCommand thread-safety and PrefixMap micro-optimization by @jbachorik in #759
  • refactor(core): deduplicate numeric encoding in binary number commands by @jbachorik in #760
  • runtime: speculative buffer cleanup + concurrency fixes by @jbachorik in #761
  • runtime: medium cleanups (DOTWriter, perf string, path sanitize, queue backoff, logging) by @jbachorik in #762
  • runtime: logging hygiene in BTraceMBean by @jbachorik in #763
  • runtime: align isBootstrapClass on JDK 9 with 8/11 by @jbachorik in #764
  • runtime: resilient factory loading order (TCCL → lib CL → system CL) by @jbachorik in #765
  • Critical stability improvements and resource leak fixes by @jbachorik in #768
  • instr: performance and correctness improvements by @jbachorik in #769
  • instr: replace template system with direct bytecode generation by @jbachorik in #772
  • docs: comprehensive user documentation with JFR and K8s integration by @jbachorik in #773
  • feat: add Docker layer support by @jbachorik in #774
  • chore(deps): update bellsoft/liberica-openjdk-debian docker tag to v11.0.29-cds by @renovate[bot] in #778
  • chore(deps): update alpine docker tag to v3.23 by @renovate[bot] in #779
  • fix(deps): update asm to v9.9.1 by @renovate[bot] in #767
  • chore(deps): update gradle/actions action to v5 by @renovate[bot] in #756
  • chore(deps): update gradle to v8.14.3 by @renovate[bot] in #720
  • Add GitHub Copilot instructions for repository by @jbachorik with @Copilot in #783
  • core: add permission-based extension framework by @jbachorik in #776
  • runtime: DOTWriter UTF-8 output + generics cleanup by @jbachorik in #766
  • feat: add jbang support with CLI flags for agent/boot JAR overrides by @jbachorik in #786
  • feat: Add DTrace-style oneliner language for quick debugging by @jbachorik in #788
  • Modernize extensions: remove legacy services API; invokedynamic-only injection with Extension/ExtensionContext by @jbachorik in #787
  • Rename ClassLoadingUtil.load(String, Object) to loadFromContext by @jbachorik with @Copilot in #794
  • fix(agent): replace List.of() with Collections.emptyList() for Java 8 compatibility by @jbachorik with @Copilot in #792
  • fix(agent): replace List.of() with Collections.emptyList() for Java 8 compatibility by @jbachorik with @Copilot in #793
  • Masked JAR, v2 protocol, release automation, JDK 25 fixes by @jbachorik in #799
  • Add automated JDK version update workflow by @jbachorik in #800
  • chore: update JDK test versions by @jbachorik in #801
  • Improve release process with RC tags, branch naming, and Maven JAR by @jbachorik in #806
  • ci: add dependabot config and auto-merge workflow by @jbachorik in #811
  • chore(deps): bump peter-evans/create-pull-request from 7 to 8 by @dependabot[bot] in #812
  • chore(deps): bump org.ow2.asm:asm from 9.6 to 9.9.1 by @dependabot[bot] in #813
  • chore(deps): bump org.jetbrains:annotations from 24.1.0 to 26.1.0 by @dependabot[bot] in #815
  • chore(deps): bump org.ow2.asm:asm-tree from 9.6 to 9.9.1 by @dependabot[bot] in #816
  • chore(deps): bump actions/download-artifact from 7 to 8 by @dependabot[bot] in #817
  • chore(deps): bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in #818
  • chore(deps): bump gradle-wrapper from 8.14.3 to 9.4.1 by @dependabot[bot] in #820
  • chore(deps): bump geekyeggo/delete-artifact from 5 to 6 by @dependabot[bot] in #814
  • chore(deps): bump gradle/actions from 4 to 6 by @dependabot[bot] in #819
  • ci: consolidate dependency bots — remove Dependabot, keep Renovate by @jbachorik in #823
  • chore(deps): update gradle to v8.14.4 by @renovate[bot] in #798
  • fix(deps): update dependency org.testcontainers:testcontainers to v2.0.4 by @renovate[bot] in #821
  • fix(deps): update dependency org.jctools:jctools-core to v4.0.6 by @renovate[bot] in #804
  • fix(deps): update dependency com.googlecode.lanterna:lanterna to v3.1.5 by @renovate[bot] in #789
  • chore(deps): update bellsoft/liberica-openjdk-debian docker tag to v11.0.30-cds by @renovate[bot] in #797
  • fix: catch InaccessibleObjectException in BTraceRuntimeImpl constructors for JDK 17+ by @jbachorik in #827
  • fix: restore broken README links and add missing root LICENSE file by @jbachorik in #829
  • test: extend test coverage for extensions and oneliner by @jbachorik in #805
  • feat(instr): INVOKEDYNAMIC handler isolation with detach-safe dispatch by @jbachorik in #830
  • feat: provided-style extensions and manifest-libs by @jbachorik in #791
  • chore: update JDK test versions by @jbachorik in #832
  • chore: update ci workflow and agent test resources by @jbachorik in #834
  • fix(boot): thread safety, error handling, and clarity in agent bootstrap by @jbachorik in #836
  • chore: update JDK test versions by @jbachorik in #835
  • Add BTrace extensions and MCP server: runtime contracts, AI/ML observability, LLM-driven diagnostics by @jbachorik in #810
  • fix(renovate): remove invalid baseBranches and add config validator by @jbachorik in #838
  • fix: SDKMan default version stuck at 2.2.0 by @jbachorik in #850
  • fix(deps): update all non-major dependencies by @renovate[bot] in #839
  • docs: add JDK compatibility matrix by @jbachorik in #851
  • chore: update JDK test versions by @jbachorik in #845
  • test: regenerate instrumentor golden files for CALL @duration fix (b33addc) by @jbachorik in #858
  • Fix a batch of correctness, concurrency, and resource bugs across all modules by @jbachorik in #857
  • feat(agent): complete ClassFile API probe parity for Java 26+ class files by @jbachorik in #843
  • chore(deps): update plugin net.nemerosa.versioning to v4 by @renovate[bot] in #840
  • chore(deps): update softprops/action-gh-release action to v3 by @renovate[bot] in #841
  • fix(deps): update dependency org.apache.maven.resolver:maven-resolver-api to v2 by @renovate[bot] in #842
  • chore(deps): update actions/cache action to v6 by @renovate[bot] in #856
  • chore(deps): update actions/checkout action to v7 by @renovate[bot] in #855
  • fix(deps): update junit-framework monorepo to v6 by @renovate[bot] in #758
  • fix(deps): update slf4j monorepo to v2 by @renovate[bot] in #847
  • fix: update stale org/openjdk/btrace path strings to io/btrace by @jbachorik in #863
  • fix(extension): isolate @ExternalType adapters by application classloader by @jbachorik in #860
  • refactor(mcp): move server to agent plugins by @jbachorik in #864
  • refactor: remove PCPP preprocessor and its remaining plumbing by @jbachorik in #861
  • chore(deps): pin dependencies by @renovate[bot] in #867
  • chore(deps): update actions/setup-java digest to 0f481fc by @renovate[bot] in #868
  • chore(deps): update github/codeql-action digest to 99df26d by @renovate[bot] in #869
  • fix(deps): update dependency org.apache.maven.resolver:maven-resolver-api to v2 by @renovate[bot] in #870
  • fix(deps): update dependency org.junit.jupiter:junit-jupiter to v6 by @renovate[bot] in #871
  • Revert junit-jupiter v6 bump in JDK8-pinned modules by @jbachorik in #902
  • docs: define BTrace 3.0 prepared-mode policy by @jbachorik in #893
  • fix(agent): eliminate premain ClassCircularityError; fix JFR dump ordering by @jbachorik in #865
  • fix(agent): make telemetry explicitly opt-in by @jbachorik in #894
  • feat(agent): authenticate prepared mode by @jbachorik in #895
  • fix(gradle): discover 3.0 extension descriptors by @jbachorik in #897
  • fix(maven): remove unpublished fat-agent module by @jbachorik in #900
  • feat(client): add read-only doctor command by @jbachorik in #896
  • fix(fat-agent): execute bundled probes end to end by @jbachorik in #899
  • fix(extensions): preserve embedded permission policy by @jbachorik in #898
  • [3.0] Add acquisition-path and first-trace smoke tests by @jbachorik in #903
  • ci(release): enforce BTrace 3.0 RC gates by @jbachorik in #904
  • Harden runtime detach and profiler lifecycle by @jbachorik in #908
  • fix(extensions): harden pre-release packaging and metrics by @jbachorik in #909
  • fix(verifier): reject recursive script handlers by @jbachorik in #910
  • test(integration): cover protocol negotiation defaults by @jbachorik in #911
  • chore(deps): update actions/setup-java digest to 03ad4de by @renovate[bot] in #912
  • chore(deps): update github/codeql-action digest to 7188fc3 by @renovate[bot] in #913
  • chore(deps): update softprops/action-gh-release digest to 3d0d988 by @renovate[bot] in #915
  • chore: update JDK test versions by @jbachorik in #914
  • fix(gradle-plugin): withdraw unpublished Maven coordinates (#884) by @jbachorik in #917
  • client: fix JAVA_HOME NPE at startup and malformed cmdQueueLimit token by @jutur in #905
  • fix: restore three silently reverted fixes and finish JAVA_HOME handling by @jbachorik in #921
  • fix(extensions): report loader-visible metadata and refresh API version docs by @jbachorik in #922
  • chore(deps): update actions/checkout digest to 3d3c42e by @renovate[bot] in #924
  • chore(deps): update github/codeql-action digest to e4fba86 by @renovate[bot] in #926
  • chore(deps): update actions/setup-java digest to 03ad4de by @renovate[bot] in #925
  • fix(release): repair the release-smoke embedded-extension leg by @jbachorik in #927
  • feat(dist): publish BTrace with the default extensions embedded by @jbachorik in #928
  • fix(extensions): make the Spark example resolvable, and fail the build when a service has no implementation by @jbachorik in #930
  • fix(extensions): report the manifest's service list and drop the unread descriptor reader by @jbachorik in #923
  • fix(agent): retire the libs/profiles mechanism and repair the escape hatch by @jbachorik in #929
  • docs: correct the libs/profiles migration row and point at the migration skill by @jbachorik in #933
  • fix(tests): make a stalled integration test fail fast instead of consuming the job by @jbachorik in #934
  • test(integration): dump both JVMs when an integration test stalls by @jbachorik in #935
  • chore(deps): update actions/setup-java digest to b6effb0 by @renovate[bot] in #936
  • chore(deps): update github/codeql-action digest to f205ea1 by @renovate[bot] in #937
  • chore(deps): update actions/stale action to v11 by @renovate[bot] in #940
  • chore(deps): update gradle/actions digest to 9c97196 by @renovate[bot] in #939
  • fix(extensions): harden external type adapters by @jbachorik in #941
  • feat(extensions): add explicit static adapter loaders by @jbachorik in #942
  • feat(extensions): support target type signatures by @jbachorik in #943
  • feat(extensions): add overload selectors by @jbachorik in #944
  • feat(extensions): add external type operations by @jbachorik in #945
  • chore(deps): update github/codeql-action digest to 5595cca by @renovate[bot] in #946
  • chore(deps): update github/codeql-action digest to ff2f1c6 by @renovate[bot] in #947
  • chore(deps): update github/codeql-action digest to db488dd by @renovate[bot] in #949
  • chore(deps): update github/codeql-action digest to cdf488f by @renovate[bot] in #950
  • chore(deps): update actions/setup-java action to v6 by @renovate[bot] in #952
  • chore(deps): update softprops/action-gh-release digest to efb3536 by @renovate[bot] in #951
  • feat(agent): ClassFile API backend ordinary args + AnyType[] + review-nit cleanup by @jbachorik in #948
  • chore(deps): update github/codeql-action digest to b96794f by @renovate[bot] in #954
  • chore(deps): update actions/setup-java digest to de7274f by @renovate[bot] in #953
  • fix(deps): update all non-major dependencies by @renovate[bot] in #955
  • chore(deps): update github/codeql-action digest to 1c5b675 by @renovate[bot] in #957
  • 3.0.0 release readiness: release tooling fixes, ASM ceiling to Java 27, GHCR images, docs by @jbachorik in #956
  • chore(deps): update github/codeql-action digest to 2892aa5 by @renovate[bot] in #959
  • chore(deps): update docker/setup-buildx-action action to v4 by @renovate[bot] in #962
  • chore(deps): update docker/login-action action to v4 by @renovate[bot] in #961
  • fix(client): stop Client from calling System.exit so it is safe as a library by @jbachorik in #963
  • fix(agent): eliminate the agent exit-path wedge (#932) by @jbachorik in #964
  • chore(deps): update gradle/actions digest to 3f5f9ad by @renovate[bot] in #965
  • chore(deps): update docker/setup-qemu-action action to v4 by @renovate[bot] in #966
  • fix(agent): keep detached probes reconnectable; add Client.connectAndExitProbe by @jbachorik in #967
  • docs: point the all-unit-tests command at ./gradlew build by @jbachorik in #968
  • chore(deps): update github/codeql-action digest to 24c5418 by @renovate[bot] in #971
  • chore(deps): update actions/download-artifact digest to 9000827 by @renovate[bot] in #969
  • chore(deps): update actions/upload-artifact digest to cf430e0 by @renovate[bot] in #970
  • chore(deps): update actions/setup-java digest to b843ebf by @renovate[bot] in #972
  • chore(deps): update github/codeql-action digest to 6f2ac81 by @renovate[bot] in #973
  • docs(agents): add steward skill for driving PRs to green by @jbachorik in #975
  • build: pin google-java-format and stop Renovate breaking toolchain pins by @jbachorik in #974
  • fix(deps): update all non-major dependencies by @renovate[bot] in #960
  • ci: add tests-passed gate job for the test matrix by @jbachorik in #976
  • fix(deps): update dependency org.yaml:snakeyaml to v2.7 by @renovate[bot] in #978
  • chore(deps): update github/codeql-action digest to 9b32540 by @renovate[bot] in #977
  • chore(deps): update plugin com.netflix.nebula.ospackage to v13 by @renovate[bot] in #979
  • feat(extensions): add bundled btrace-otel OTLP exporter by @jbachorik in #980
  • build: publish release extensions to Maven Central as io.btrace:<id> by @jbachorik in #981
  • build(release): support release candidates (X.Y.Z-RCn) by @jbachorik in #982
  • fix(dist): ship the Unix launchers executable in all distributions by @jbachorik in #983
  • ci: run the required checks on merge queue groups by @jbachorik in #990
  • chore(deps): update gradle/actions digest to 8da46b5 by @renovate[bot] in #986
  • fix(agent): follow-ups to the transform-failure and rejected-handler reports by @jbachorik in #988
  • docs(internal): record the MCP busy-port and list_jvms fixes by @jbachorik in #989
  • fix: correct the bugs and doc errors found by checking the btrace.io landing page by @jbachorik in #984
  • fix(core): lock v2 writes per connection instead of across the agent by @jbachorik in #997
  • fix(docker): run the image client on JDK 21 so sidecar attach works with a read-only app cwd by @jbachorik in #996
  • fix(deps): update all non-major dependencies by @renovate[bot] in #987
  • feat(core): detect a silently dropped client-agent connection with a v2 heartbeat by @jbachorik in #998
  • feat(core): enable TCP keepalive on client and agent sockets by @jbachorik in #999
  • docs: say that -lp and list_probes list detached probes by @jbachorik in #995
  • build: let the Gradle plugins stage as SNAPSHOT locally and fix the Docker context dependency by @jbachorik in #991
  • fix(agent): name the script's class in the required-service refusal by @jbachorik in #992
  • fix(runtime): stop using sun.misc.Unsafe through JCTools by @jbachorik in #993
  • fix(agent): apply a Kind.LINE probe only to the methods it selects by @jbachorik in #994
  • ci: install JDK 8 for the Gradle toolchain by @jbachorik in #1014
  • docs: correct drifted agent and contributor instructions by @jbachorik in #1000
  • ci: check agent configuration and doc placement (G1) by @jbachorik in #1001
  • ci: reject new fully-qualified type names (G2) by @jbachorik in #1002
  • build: remove the root Spotless block that formats nothing by @jbachorik in #1003
  • ci: reject documented Gradle commands that run nothing (G4) by @jbachorik in #1004
  • ci: check PR titles and descriptions (G5) by @jbachorik in #1005
  • chore: request the maintainer's review for agent configuration and CI by @jbachorik in #1006
  • test: stop swallowing Docker, v2-summary and plugin-test failures by @jbachorik in #1007
  • fix(agent): report why the ClassFile API backend is unavailable by @jbachorik in #1008
  • test(qe): reject zero values in demo cases that guarantee positive ones by @jbachorik in #1009
  • fix(release): make the release integration stage find its build artifacts by @jbachorik in #1016
  • fix: warn on ineffective -Dbtrace.trusted, pin documented image tags, guard doc versions by @jbachorik in #1017
  • fix(security): harden V1 wire protocol against pre-auth deserialization by @jbachorik in #1019
  • feat(agent): enforce operator-set probe budgets by @jbachorik in #1022
  • ci: enforce architecture and design principles with blocking guardrails by @jbachorik in #1018
  • fix: resolve findings surfaced by the architecture guardrails by @jbachorik in #1020
  • fix: resolve the findings left open by the guardrail follow-up by @jbachorik in #1024
  • chore(deps): update actions/setup-java digest to d1374f8 by @renovate[bot] in #1025
  • chore(deps): update peter-evans/create-pull-request digest to 3ffccac by @renovate[bot] in #1026
  • fix(agent): close probe-budget gaps found in review by @jbachorik in #1023
  • fix: resolve the 3.0.0-RC1 pre-release findings by @jbachorik in #1027
  • fix(release): close the staging repository so the deployment reaches the Central Portal by @jbachorik in #1029

New Contributors

Full Changelog: v2.2.2...v3.0.0-RC1