You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Resolves Local Privilege Escalation issue https://discuss.elastic.co/t/apm-java-agent-security-update/289627[ESA-2021-29] https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37941[CVE-2021-37941]
112
+
113
+
[float]
114
+
===== Potentially breaking changes
115
+
* `transaction_ignore_urls` now relies on full request URL path - {pull}2146[#2146]
116
+
** On a typical application server like Tomcat, deploying an `app.war` application to the non-ROOT context makes it accessible with `http://localhost:8080/app/`
117
+
** Ignoring the whole webapp through `/app/*` was not possible until now.
118
+
** Existing configuration may need to be updated to include the deployment context, thus for example `/static/*.js` used to
119
+
exclude known static files in all applications might be changed to `/app/static/*.js` or `*/static/*.js`.
120
+
** It only impacts prefix patterns due to the additional context path in pattern.
121
+
** It does not impact deployment within the `ROOT` context like Spring-boot which do not have such context path prefix.
122
+
* The metrics `transaction.duration.sum.us`, `transaction.duration.count` and `transaciton.breakdown.count` are no longer recorded - {pull}2194[#2194]
123
+
* Automatic hostname discovery mechanism had changed, so the resulted `host.name` and `host.hostname` in events reported
124
+
by the agent may be different. This was done in order to improve the integration with host metrics in the APM UI.
25
125
26
126
[float]
27
127
===== Features
128
+
* Improved capturing of logged exceptions when using Log4j2 - {pull}2139[#2139]
129
+
* Update to async-profiler 1.8.7 and set configured `safemode` at load time though a new system property - {pull}2165[#2165]
130
+
* Added support to capture `context.message.routing-key` in rabbitmq, spring amqp instrumentations - {pull}1767[#1767]
131
+
* Breakdown metrics are now tracked per service (when using APM Server 8.0) - {pull}2208[#2208]
132
+
* Add support for Spring AMQP batch API - {pull}1716[#1716]
133
+
* Add the (current) transaction name to the error (when using APM Server 8.0) - {pull}2235[#2235]
134
+
* The JVM/JMX metrics are reported for each service name individually (when using APM Server 8.0) - {pull}2233[#2233]
This replaces the now deprecated `span_frames_min_duration` option.
137
+
The difference is that the new option has more intuitive semantics for negative values (never collect stack trace) and zero (always collect stack trace). - {pull}2220[#2220]
138
+
* Add support to Jakarta EE for JAX-WS - {pull}2247[#2247]
139
+
* Add support to Jakarta EE for JAX-RS - {pull}2248[#2248]
140
+
* Add support for Jakarta EE EJB annotations `@Schedule`, `@Schedules` - {pull}2250[#2250]
141
+
* Add support to Jakarta EE for Servlets - {pull}1912[#1912]
142
+
* Added support to Quartz 1.x - {pull}2219[#2219]
143
+
144
+
[float]
145
+
===== Performance improvements
146
+
* Disable compression when sending data to a local APM Server
147
+
* Reducing startup contention related to instrumentation through `ensureInstrumented` - {pull}2150[#2150]
28
148
29
149
[float]
30
150
===== Bug fixes
151
+
* Fix k8s metadata discovery for containerd-cri envs - {pull}2126[#2126]
152
+
* Fixing/reducing startup delays related to `ensureInstrumented` - {pull}2150[#2150]
153
+
* Fix runtime attach when bytebuddy is in application classpath - {pull}2116[#2116]
154
+
* Fix failed integration between agent traces and host metrics coming from Beats/Elastic-Agent due to incorrect hostname
155
+
discovery - {pull}2205[#2205]
156
+
* Fix infinitely kept-alive transactions in Hikari connection pool - {pull}2210[#2210]
157
+
* Fix few Webflux exceptions and missing reactor module - {pull}2207[#2207]
31
158
32
-
[[release-notes-1.x]]
33
-
=== Java Agent version 1.x
159
+
[float]
160
+
===== Refactorings
161
+
* Loading the agent from an isolated class loader - {pull}2109[#2109]
162
+
* Refactorings in the `apm-agent-plugin-sdk` that may imply breaking changes for beta users of the external plugin mechanism
163
+
** `WeakMapSupplier.createMap()` is now `WeakConcurrent.buildMap()` and contains more builders - {pull}2136[#2136]
164
+
** `GlobalThreadLocal` has been removed in favor of `DetachedThreadLocal`. To make it global, use `GlobalVariables` - {pull}2136[#2136]
165
+
** `DynamicTransformer.Accessor.get().ensureInstrumented` is now `DynamicTransformer.ensureInstrumented` - {pull}2164[#2164]
166
+
** The `@AssignTo.*` annotations have been removed.
167
+
Use the `@Advice.AssignReturned.*` annotations that come with the latest version of Byte Buddy.
168
+
If your plugin uses the old annotations, it will be skipped.
169
+
{pull}2171[#2171]
170
+
* Switching last instrumentations (`trace_methods`, sparkjava, JDK `HttpServer` and Struts 2) to
171
+
`TracerAwareInstrumentation` - {pull}2170[#2170]
172
+
* Replace concurrency plugin maps to `SpanConcurrentHashMap` ones - {pull}2173[#2173]
173
+
* Align User-Agent HTTP header with other APM agents - {pull}2177[#2177]
174
+
175
+
[[release-notes-1.26.1]]
176
+
==== 1.26.1 - 2021/12/22
177
+
178
+
[float]
179
+
===== Dependency updates
180
+
* Update Log4j to 2.12.3
181
+
* Update ecs-logging-java to 1.3.0
34
182
35
183
[[release-notes-1.26.0]]
36
184
==== 1.26.0 - 2021/09/14
@@ -39,6 +187,10 @@ endif::[]
39
187
* If you rely on Database span subtype and use Microsoft SQL Server, the span subtype has been changed from `sqlserver`
40
188
to `mssql` to align with other agents.
41
189
190
+
[float]
191
+
===== Breaking changes
192
+
* Stop collecting the field `http.request.socket.encrypted` in http requests - {pull}2136[#2136]
193
+
42
194
[float]
43
195
===== Features
44
196
* Improved naming for Spring controllers - {pull}1906[#1906]
@@ -50,6 +202,7 @@ to `mssql` to align with other agents.
50
202
* Add `-download-agent-version` to the agent <<setup-attach-cli-usage-options, attach CLI tool options>>, allowing the
51
203
user to configure an arbitrary agent version that will be downloaded from maven and attached - {pull}1959[#1959]
52
204
* Add extra check to detect improper agent setup - {pull}2076[#2076]
205
+
* In redis tests - embedded RedisServer is replaced by testcontainers - {pull}2221[#2221]
0 commit comments