Skip to content

Commit 429f85b

Browse files
authored
Merge branch 'feature/coreDeprecation' into breedloj/coreShadowJar
2 parents 24a7d17 + 3249e0e commit 429f85b

File tree

65 files changed

+5031
-24
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+5031
-24
lines changed

.changes/3.98.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"date" : "2025-11-14",
3+
"version" : "3.98",
4+
"entries" : [ {
5+
"type" : "feature",
6+
"description" : "Add support for 2025.3"
7+
}, {
8+
"type" : "deprecation",
9+
"description" : "An upcoming release will remove support for JetBrains Gateway version 2025.2 and for IDEs based on the 2024.3 platform"
10+
} ]
11+
}

.github/workflows/prerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
build_target: [ ':plugin-core:buildPlugin', ':plugin-toolkit:intellij-standalone:buildPlugin', ':plugin-amazonq:buildPlugin' ]
21-
version: [ '2024.3', '2025.1', '2025.2' ]
21+
version: [ '2024.3', '2025.1', '2025.2', '2025.3' ]
2222
runs-on: ubuntu-latest
2323
steps:
2424
- uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# _3.98_ (2025-11-14)
2+
- **(Feature)** Add support for 2025.3
3+
- **(Deprecation)** An upcoming release will remove support for JetBrains Gateway version 2025.2 and for IDEs based on the 2024.3 platform
4+
15
# _3.97_ (2025-10-16)
26

37
# _3.96_ (2025-10-02)

buildSrc/src/main/kotlin/software/aws/toolkits/gradle/BuildScriptUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fun Project.jvmTarget(): Provider<JavaVersion> = withCurrentProfileName {
2929
fun Project.kotlinTarget(): Provider<String> = withCurrentProfileName {
3030
when (it) {
3131
"2024.3" -> KotlinVersionEnum.KOTLIN_2_0
32-
"2025.1", "2025.2" -> KotlinVersionEnum.KOTLIN_2_1
32+
"2025.1", "2025.2", "2025.3" -> KotlinVersionEnum.KOTLIN_2_1
3333
else -> error("not set")
3434
}.version
3535
}

buildSrc/src/main/kotlin/software/aws/toolkits/gradle/intellij/IdeVersions.kt

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ object IdeVersions {
3434
"com.intellij.java",
3535
"com.intellij.gradle",
3636
"org.jetbrains.idea.maven",
37-
"com.jetbrains.codeWithMe",
3837
),
3938
marketplacePlugins = listOf(
4039
"org.toml.lang:243.21565.122",
@@ -74,7 +73,6 @@ object IdeVersions {
7473
"com.intellij.java",
7574
"com.intellij.gradle",
7675
"org.jetbrains.idea.maven",
77-
"com.jetbrains.codeWithMe",
7876
),
7977
marketplacePlugins = listOf(
8078
"org.toml.lang:251.26927.47",
@@ -121,7 +119,6 @@ object IdeVersions {
121119
"com.intellij.java",
122120
"com.intellij.gradle",
123121
"org.jetbrains.idea.maven",
124-
"com.jetbrains.codeWithMe",
125122
"com.intellij.properties"
126123
),
127124
marketplacePlugins = listOf(
@@ -152,6 +149,49 @@ object IdeVersions {
152149
rdGenVersion = "2025.2.2",
153150
nugetVersion = "2025.2.0"
154151
)
152+
),
153+
Profile(
154+
name = "2025.3",
155+
gateway = ProductProfile(
156+
sdkVersion = "253.28086.53",
157+
bundledPlugins = listOf("org.jetbrains.plugins.terminal")
158+
),
159+
community = ProductProfile(
160+
sdkVersion = "253.28294-EAP-CANDIDATE-SNAPSHOT",
161+
bundledPlugins = commonPlugins + listOf(
162+
"com.intellij.java",
163+
"com.intellij.gradle",
164+
"org.jetbrains.idea.maven",
165+
"com.intellij.properties"
166+
),
167+
marketplacePlugins = listOf(
168+
"org.toml.lang:253.28294.86",
169+
"PythonCore:253.28294.51",
170+
"Docker:253.28294.90",
171+
"com.intellij.modules.json:253.28294.51"
172+
)
173+
),
174+
ultimate = ProductProfile(
175+
sdkVersion = "253.28294-EAP-CANDIDATE-SNAPSHOT",
176+
bundledPlugins = commonPlugins + listOf(
177+
"JavaScript",
178+
"JavaScriptDebugger",
179+
"com.intellij.database",
180+
"com.jetbrains.codeWithMe"
181+
),
182+
marketplacePlugins = listOf(
183+
"Pythonid:253.28294.51",
184+
"org.jetbrains.plugins.go:253.28294.51",
185+
"com.intellij.modules.json:253.28294.51"
186+
)
187+
),
188+
rider = RiderProfile(
189+
sdkVersion = "2025.3-SNAPSHOT",
190+
bundledPlugins = commonPlugins,
191+
netFrameworkTarget = "net472",
192+
rdGenVersion = "2025.3.1",
193+
nugetVersion = "2025.3.0"
194+
)
155195
)
156196
).associateBy { it.name }
157197

buildSrc/src/main/kotlin/toolkit-intellij-subplugin.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,14 @@ dependencies {
101101
bundledPlugins(toolkitIntelliJ.productProfile().map { it.bundledPlugins })
102102
plugins(toolkitIntelliJ.productProfile().map { it.marketplacePlugins })
103103

104+
// OAuth modules split in 2025.3 (253) - must be explicitly bundled
105+
val versionStr = version.get()
106+
if (versionStr.contains("253")) {
107+
bundledModule("intellij.platform.collaborationTools")
108+
bundledModule("intellij.platform.collaborationTools.auth.base")
109+
bundledModule("intellij.platform.collaborationTools.auth")
110+
}
111+
104112
testFramework(TestFrameworkType.Plugin.Java)
105113
testFramework(TestFrameworkType.Platform)
106114
testFramework(TestFrameworkType.JUnit5)

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
# Toolkit Version
5-
toolkitVersion=3.98-SNAPSHOT
5+
toolkitVersion=3.99-SNAPSHOT
66

77
# Publish Settings
88
publishToken=

kotlinResolution.settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencyResolutionManagement {
1010
"1.8.0-intellij-11"
1111
}
1212

13-
"2025.2" -> {
13+
"2025.2", "2025.3" -> {
1414
"1.10.1-intellij-5"
1515
}
1616

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/BrowserConnector.kt

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,11 @@ class BrowserConnector(
232232
SEND_CHAT_COMMAND_PROMPT -> {
233233
val requestFromUi = serializer.deserializeChatMessages<SendChatPromptRequest>(node)
234234
val editor = FileEditorManager.getInstance(project).selectedTextEditor
235-
val textDocumentIdentifier = editor?.let { TextDocumentIdentifier(toUriString(it.virtualFile)) }
235+
val textDocumentIdentifier = editor?.let { e ->
236+
e.virtualFile?.let {
237+
TextDocumentIdentifier(toUriString(it))
238+
}
239+
}
236240
val cursorState = editor?.let { LspEditorUtil.getCursorState(it) }
237241

238242
val enrichmentParams = mapOf(
@@ -362,7 +366,11 @@ class BrowserConnector(
362366

363367
CHAT_INSERT_TO_CURSOR -> {
364368
val editor = FileEditorManager.getInstance(project).selectedTextEditor
365-
val textDocumentIdentifier = editor?.let { TextDocumentIdentifier(toUriString(it.virtualFile)) }
369+
val textDocumentIdentifier = editor?.let { e ->
370+
e.virtualFile?.let {
371+
TextDocumentIdentifier(toUriString(it))
372+
}
373+
}
366374
val cursorPosition = editor?.let { LspEditorUtil.getCursorPosition(it) }
367375

368376
val enrichmentParams = mapOf(

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/cwc/editor/context/file/util/LanguageExtractor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ import software.aws.toolkits.jetbrains.services.codewhisperer.language.programmi
1010
class LanguageExtractor {
1111
fun extractLanguageNameFromCurrentFile(editor: Editor): String =
1212
runReadAction {
13-
editor.virtualFile.programmingLanguage().languageId
13+
editor.virtualFile?.programmingLanguage()?.languageId ?: "plaintext"
1414
}
1515
}

0 commit comments

Comments
 (0)