Skip to content

Commit 8f079fe

Browse files
authored
Remove incompatible plugin APIs (#124)
1 parent 48a07d0 commit 8f079fe

File tree

5 files changed

+22
-246
lines changed

5 files changed

+22
-246
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2727
- Heatmap enabled by default in plugin settings
2828
- Configurable severity thresholds in Settings > Tools > Compose Stability Analyzer
2929
- New "Heatmap" tab in the Compose Stability Analyzer tool window
30+
- **Plugin Verifier integration** (PR #118)
31+
- Extended IDE compatibility to build 261 (IntelliJ IDEA 2026.1)
32+
- Added `runPluginVerifier` task for automated compatibility testing
33+
3034
### Improved
3135
- Tool window now has three tabs: Explorer, Cascade, and Heatmap
3236
- Start/Stop Recomposition Heatmap button moved to tool window title bar for visibility across all tabs

compose-stability-analyzer-idea/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ All notable changes to the IntelliJ IDEA plugin will be documented in this file.
2525
- Heatmap enabled by default in plugin settings
2626
- New "Heatmap" tab in the tool window with Refresh/Clear toolbar
2727
- Configurable settings: severity thresholds, auto-start, show-when-stopped, max recent events
28+
- **Plugin Verifier integration** (PR #118)
29+
- Extended IDE compatibility range to build 261 (IntelliJ IDEA 2026.1)
30+
2831
### Improved
2932
- Tool window reorganized with three tabs: Explorer, Cascade, and Heatmap
3033
- Heatmap toggle button moved from Explorer toolbar to tool window title bar for visibility across all tabs

compose-stability-analyzer-idea/build.gradle.kts

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ dependencies {
4141
intellijIdeaCommunity("2025.2")
4242
bundledPlugin("org.jetbrains.kotlin")
4343
testFramework(org.jetbrains.intellij.platform.gradle.TestFrameworkType.Platform)
44+
pluginVerifier()
4445
}
4546

4647
testImplementation(kotlin("test"))
@@ -54,7 +55,7 @@ intellijPlatform {
5455
pluginConfiguration {
5556
ideaVersion {
5657
sinceBuild = "242"
57-
untilBuild = "253.*"
58+
untilBuild = "261.*"
5859
}
5960

6061
description = """
@@ -77,7 +78,7 @@ intellijPlatform {
7778
<li><b>New: Heatmap tab</b> in tool window - Shows recomposition event logs with parameter changes when clicking heatmap counts</li>
7879
<li><b>New: Cascade tab</b> in tool window - Dedicated panel for cascade analysis results</li>
7980
<li>Start/Stop Heatmap button moved to tool window title bar for easy access across all tabs</li>
80-
<li>Extended IDE compatibility to build 253 (IntelliJ IDEA 2025.3)</li>
81+
<li>Extended IDE compatibility to build 261 (IntelliJ IDEA 2026.1)</li>
8182
<li>Heatmap enabled by default in plugin settings</li>
8283
</ul>
8384
<b>0.6.7</b>
@@ -186,6 +187,18 @@ intellijPlatform {
186187

187188
}
188189

190+
pluginVerification {
191+
ides {
192+
recommended()
193+
}
194+
// Pre-existing K2 API issues (KaSessionProvider.handleAnalysisException) in 242-251
195+
// cause false positives — the plugin gracefully falls back to PSI on older IDEs.
196+
// 261 (2026.1 EAP) uses the unified "idea" artifact which the verifier cannot resolve yet.
197+
failureLevel = listOf(
198+
org.jetbrains.intellij.platform.gradle.tasks.VerifyPluginTask.FailureLevel.INVALID_PLUGIN,
199+
org.jetbrains.intellij.platform.gradle.tasks.VerifyPluginTask.FailureLevel.NOT_DYNAMIC,
200+
)
201+
}
189202
}
190203

191204
tasks {

compose-stability-analyzer-idea/src/main/kotlin/com/skydoves/compose/stability/idea/heatmap/RecompositionHeatmapGroupSettingProvider.kt

Lines changed: 0 additions & 34 deletions
This file was deleted.

compose-stability-analyzer-idea/src/main/kotlin/com/skydoves/compose/stability/idea/heatmap/RecompositionHeatmapProvider.kt

Lines changed: 0 additions & 210 deletions
This file was deleted.

0 commit comments

Comments
 (0)