diff --git a/CHANGELOG.md b/CHANGELOG.md index 3235f45..76a51b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,10 @@ Adding a requirement of a major version of a dependency is breaking a contract. Dropping a requirement of a major version of a dependency is a new contract. ## [Unreleased] -[Unreleased]: https://github.com/atlassian/report/compare/release-4.4.0...master +[Unreleased]: https://github.com/atlassian/report/compare/release-4.5.0...master + +## [4.5.0] - 2024-07-01 +[4.5.0]: https://github.com/atlassian/report/compare/release-4.4.0...release-4.5.0 ### Added - Add `MutableJvmSymbol`, `JfrFilter.Builder.symbolModifier` and `MultiJfrFilter.Builder.symbolModifier`. diff --git a/src/main/kotlin/com/atlassian/performance/tools/report/api/jfr/DynamicProxyNormalization.kt b/src/main/kotlin/com/atlassian/performance/tools/report/api/jfr/DynamicProxyNormalization.kt index 34cd0d8..05402f8 100644 --- a/src/main/kotlin/com/atlassian/performance/tools/report/api/jfr/DynamicProxyNormalization.kt +++ b/src/main/kotlin/com/atlassian/performance/tools/report/api/jfr/DynamicProxyNormalization.kt @@ -3,6 +3,9 @@ package com.atlassian.performance.tools.report.api.jfr import java.nio.ByteBuffer import java.util.function.Consumer +/** + * @since 4.5.0 + */ class DynamicProxyNormalization : Consumer { private val proxyClassName = Regex("\\\$Proxy[0-9]") @@ -16,5 +19,3 @@ class DynamicProxyNormalization : Consumer { } } } - - diff --git a/src/main/kotlin/com/atlassian/performance/tools/report/api/jfr/JfrFilter.kt b/src/main/kotlin/com/atlassian/performance/tools/report/api/jfr/JfrFilter.kt index 4e35ca6..747bd06 100644 --- a/src/main/kotlin/com/atlassian/performance/tools/report/api/jfr/JfrFilter.kt +++ b/src/main/kotlin/com/atlassian/performance/tools/report/api/jfr/JfrFilter.kt @@ -39,6 +39,9 @@ class JfrFilter private constructor( return this } + /** + * @since 4.5.0 + */ fun symbolModifier(symbolModifier: Consumer) = apply { this.symbolModifier = symbolModifier } diff --git a/src/main/kotlin/com/atlassian/performance/tools/report/api/jfr/MultiJfrFilter.kt b/src/main/kotlin/com/atlassian/performance/tools/report/api/jfr/MultiJfrFilter.kt index eb6a12f..12a9f9f 100644 --- a/src/main/kotlin/com/atlassian/performance/tools/report/api/jfr/MultiJfrFilter.kt +++ b/src/main/kotlin/com/atlassian/performance/tools/report/api/jfr/MultiJfrFilter.kt @@ -89,6 +89,9 @@ class MultiJfrFilter private constructor( return this } + /** + * @since 4.5.0 + */ fun symbolModifier(symbolModifier: Consumer) = apply { this.symbolModifier = symbolModifier } fun build(): MultiJfrFilter { diff --git a/src/main/kotlin/com/atlassian/performance/tools/report/api/jfr/MutableJvmSymbol.kt b/src/main/kotlin/com/atlassian/performance/tools/report/api/jfr/MutableJvmSymbol.kt index 6254e41..e2ff2ff 100644 --- a/src/main/kotlin/com/atlassian/performance/tools/report/api/jfr/MutableJvmSymbol.kt +++ b/src/main/kotlin/com/atlassian/performance/tools/report/api/jfr/MutableJvmSymbol.kt @@ -9,6 +9,7 @@ package com.atlassian.performance.tools.report.api.jfr * - native function names, e.g. `AddNode::Ideal` * * To optimize JFR filtering, the byte array is not defensively copied. + * @since 4.5.0 */ class MutableJvmSymbol( /**