Skip to content

Commit 68d41c8

Browse files
authored
Merge branch 'aws:main' into finks/override
2 parents da19ceb + e225cdc commit 68d41c8

File tree

14 files changed

+57
-38
lines changed

14 files changed

+57
-38
lines changed

.changes/3.40.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"date" : "2024-11-14",
3+
"version" : "3.40",
4+
"entries" : [ {
5+
"type" : "feature",
6+
"description" : "Amazon Q /dev: Add an action to accept individual files"
7+
}, {
8+
"type" : "bugfix",
9+
"description" : "Fix a bug when Amazon Q responds with still indexing message even when `@workspace` index is done"
10+
}, {
11+
"type" : "bugfix",
12+
"description" : "Fix issue where Amazon Q inline chat can be invoked from non-editor windows"
13+
} ]
14+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Amazon Q chat: `@workspace` command shown in all tab types"
4+
}

.changes/next-release/bugfix-418aac17-9702-451e-8880-9c41b3441574.json

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

.changes/next-release/bugfix-4a387896-7a93-4474-a86d-f6dc5d53ab57.json

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

.changes/next-release/feature-6403bbaf-0521-4d39-abbf-f9e25fe5a837.json

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "feature",
3+
"description" : "Code Transform: Enable support for Java 17 projects."
4+
}

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# _3.40_ (2024-11-14)
2+
- **(Feature)** Amazon Q /dev: Add an action to accept individual files
3+
- **(Bug Fix)** Fix a bug when Amazon Q responds with still indexing message even when `@workspace` index is done
4+
- **(Bug Fix)** Fix issue where Amazon Q inline chat can be invoked from non-editor windows
5+
16
# _3.39_ (2024-11-12)
27
- **(Bug Fix)** Fix poor inline suggestions from Amazon Q caused by improperly formatted supplemental context
38

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.40-SNAPSHOT
5+
toolkitVersion=3.41-SNAPSHOT
66

77
# Publish Settings
88
publishToken=

plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/CodeModernizerManager.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ class CodeModernizerManager(private val project: Project) : PersistentStateCompo
123123
private val supportedJavaMappings = mapOf(
124124
JavaSdkVersion.JDK_1_8 to setOf(JavaSdkVersion.JDK_17),
125125
JavaSdkVersion.JDK_11 to setOf(JavaSdkVersion.JDK_17),
126+
JavaSdkVersion.JDK_17 to setOf(JavaSdkVersion.JDK_17),
126127
)
127128
init {
128129
CodeModernizerSessionState.getInstance(project).setDefaults()

plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/constants/CodeTransformChatItems.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ fun buildProjectValidChatContent() = CodeTransformChatMessageContent(
189189
)
190190
fun buildProjectInvalidChatContent(validationResult: ValidationResult): CodeTransformChatMessageContent {
191191
val errorMessage = when (validationResult.invalidTelemetryReason.category) {
192-
CodeTransformPreValidationError.NoPom -> message("codemodernizer.chat.message.validation.error.no_pom")
192+
CodeTransformPreValidationError.NoPom -> message("codemodernizer.chat.message.validation.error.no_pom", CODE_TRANSFORM_PREREQUISITES)
193193
CodeTransformPreValidationError.UnsupportedJavaVersion -> message("codemodernizer.chat.message.validation.error.unsupported_java_version")
194194
else -> message("codemodernizer.chat.message.validation.error.other")
195195
}

0 commit comments

Comments
 (0)