Skip to content

Commit a6f3120

Browse files
authored
Merge pull request #34 from skydoves/sincebuild/242
Bump since build to 242, and add plugin verification
2 parents c9f8124 + 6fc11eb commit a6f3120

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

compose-stability-analyzer-idea/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ All notable changes to the IntelliJ IDEA plugin will be documented in this file.
88

99
## [0.5.0] - 2025-11-08
1010

11+
### Breaking Changes
12+
- **Minimum IDE version updated**: Now requires IntelliJ IDEA 2024.2+ (build 242+)
13+
- Previous minimum was 2023.2 (build 232)
14+
- This aligns with modern K2 Analysis API requirements and ensures better stability
15+
1116
### Added
1217
- **New Compose Stability Tool Window** - View all composables in your project at a glance (Issue #14)
1318
- Tree view grouped by module -> package -> file
@@ -35,15 +40,23 @@ All notable changes to the IntelliJ IDEA plugin will be documented in this file.
3540
- **Performance optimization** - Tool window now reads pre-computed stability information from JSON files instead of re-analyzing all files
3641
- Significantly faster load times for large projects
3742
- Reduced CPU usage when opening the tool window
43+
- **Added IntelliJ Plugin Verifier integration**
44+
- Automated compatibility testing across multiple IDE versions
45+
- Prevents API compatibility issues before release
46+
- Can be run locally with `./gradlew verifyPlugin`
3847

3948
### Fixed
49+
- **Fixed PluginException in IntelliJ IDEA 2025.2.4** (Issue #33)
50+
- Added explicit `shortName` attribute to inspection registration in plugin.xml
51+
- Resolved "Short name not matched" error that occurred due to stricter validation in newer IDE versions
4052
- Fixed double-click navigation to source code in tool window
4153
- Fixed typealias detection for Composable function types (Issue #16)
4254
- Typealiases like `typealias SettingsButtons = @Composable (PlayerUiState) -> Unit` now correctly expand to their underlying function types before stability analysis
4355
- Fixed ImmutableList/ImmutableSet/ImmutableMap showing as unstable in test code (Issue #21)
4456
- Added fallback type resolution by simple name for immutable collections when FQN resolution fails in test source sets
4557
- Improved cross-module stability detection by reading @StabilityInferred(parameters) annotation (Issue #18)
4658
- Classes from other modules now correctly marked as UNSTABLE unless annotated with @Stable/@Immutable or @StabilityInferred(parameters=0)
59+
- Extended plugin compatibility range to support IntelliJ IDEA 2025.3 (build 253)
4760

4861
---
4962

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

Lines changed: 10 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"))
@@ -53,8 +54,8 @@ intellijPlatform {
5354

5455
pluginConfiguration {
5556
ideaVersion {
56-
sinceBuild = "232"
57-
untilBuild = "252.*"
57+
sinceBuild = "242"
58+
untilBuild = "253.*"
5859
}
5960

6061
description = """
@@ -125,6 +126,13 @@ intellijPlatform {
125126
""".trimIndent()
126127

127128
}
129+
130+
pluginVerification {
131+
ides {
132+
// Verify compatibility with recommended IDE versions
133+
recommended()
134+
}
135+
}
128136
}
129137

130138
tasks {

compose-stability-analyzer-idea/src/main/resources/META-INF/plugin.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
<!-- Inspection for unstable composables -->
7070
<localInspection
7171
language="kotlin"
72+
shortName="UnstableComposable"
7273
displayName="Unstable Composable Function"
7374
groupName="Compose"
7475
enabledByDefault="true"

0 commit comments

Comments
 (0)