Skip to content

Commit 6e8e2ec

Browse files
authored
Merge branch 'main' into removeMultipleDiffs
2 parents bcbeb39 + 3c07c5b commit 6e8e2ec

File tree

34 files changed

+474
-222
lines changed

34 files changed

+474
-222
lines changed

.changes/3.70.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"date" : "2025-05-08",
3+
"version" : "3.70",
4+
"entries" : [ {
5+
"type" : "feature",
6+
"description" : "Amazon Q: Support selecting customizations across all Q profiles with automatic profile switching for enterprise users"
7+
}, {
8+
"type" : "bugfix",
9+
"description" : "Do not always show 'Amazon Q Code Issues' tab when switching to the 'Problems' tool window"
10+
}, {
11+
"type" : "bugfix",
12+
"description" : "/dev: Fix missing Amazon Q feature dev auto build setting."
13+
}, {
14+
"type" : "bugfix",
15+
"description" : "increase /review timeout"
16+
}, {
17+
"type" : "bugfix",
18+
"description" : "Fix JavascriptLanguage not found on 2025.1+"
19+
} ]
20+
}

.changes/3.71.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"date" : "2025-05-15",
3+
"version" : "3.71",
4+
"entries" : [ {
5+
"type" : "feature",
6+
"description" : "Add inline completion support for abap language"
7+
}, {
8+
"type" : "bugfix",
9+
"description" : "Fix UI freezes that may occur when interacting with large files in the editor"
10+
} ]
11+
}

.changes/next-release/bugfix-54c0cf8a-9df5-4673-bf16-61a650434abc.json

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

.changes/next-release/bugfix-7e09465d-6cb8-4180-9131-7ec6543db20c.json

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

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# _3.71_ (2025-05-15)
2+
- **(Feature)** Add inline completion support for abap language
3+
- **(Bug Fix)** Fix UI freezes that may occur when interacting with large files in the editor
4+
5+
# _3.70_ (2025-05-08)
6+
- **(Feature)** Amazon Q: Support selecting customizations across all Q profiles with automatic profile switching for enterprise users
7+
- **(Bug Fix)** Do not always show 'Amazon Q Code Issues' tab when switching to the 'Problems' tool window
8+
- **(Bug Fix)** /dev: Fix missing Amazon Q feature dev auto build setting.
9+
- **(Bug Fix)** increase /review timeout
10+
- **(Bug Fix)** Fix JavascriptLanguage not found on 2025.1+
11+
112
# _3.69_ (2025-04-28)
213
- **(Bug Fix)** Amazon Q: Fix issue where context menu items are not available after re-opening projects or restarting the IDE
314
- **(Bug Fix)** Fix LinkageError while attempting to do Amazon Q inline suggestions in certain environments

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.70-SNAPSHOT
5+
toolkitVersion=3.72-SNAPSHOT
66

77
# Publish Settings
88
publishToken=

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ mockitoKotlin = "5.4.0"
2828
mockk = "1.13.17"
2929
nimbus-jose-jwt = "9.40"
3030
node-gradle = "7.0.2"
31-
telemetryGenerator = "1.0.310"
31+
telemetryGenerator = "1.0.322"
3232
testLogger = "4.0.0"
3333
testRetry = "1.5.10"
3434
# test-only; platform provides slf4j transitively at runtime

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/FeatureDevExceptions.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ class GuardrailsException(operation: String, desc: String?, cause: Throwable? =
8282
class PromptRefusalException(operation: String, desc: String?, cause: Throwable? = null) :
8383
ClientException(message("amazonqFeatureDev.exception.prompt_refusal"), operation, desc, cause)
8484

85+
class FileCreationFailedException(operation: String, desc: String?, cause: Throwable? = null) :
86+
ServiceException(message("amazonqFeatureDev.exception.failed_generation"), operation, desc, cause)
87+
8588
class ThrottlingException(operation: String, desc: String?, cause: Throwable? = null) :
8689
ClientException(message("amazonqFeatureDev.exception.throttling"), operation, desc, cause)
8790

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/controller/FeatureDevController.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,8 @@ class FeatureDevController(
544544
}
545545

546546
private suspend fun handleDevCommandUserSetting(tabId: String, value: Boolean) {
547-
CodeWhispererSettings.getInstance().toggleAutoBuildFeature(context.project.basePath, value)
547+
val session = getSessionInfo(tabId)
548+
CodeWhispererSettings.getInstance().toggleAutoBuildFeature(session.context.workspaceRoot.path, value)
548549
messenger.sendAnswer(
549550
tabId = tabId,
550551
message = message("amazonqFeatureDev.chat_message.setting_updated"),

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/session/CodeGenerationState.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import software.aws.toolkits.jetbrains.services.amazonqFeatureDev.EmptyPatchExce
1313
import software.aws.toolkits.jetbrains.services.amazonqFeatureDev.FEATURE_NAME
1414
import software.aws.toolkits.jetbrains.services.amazonqFeatureDev.FeatureDevException
1515
import software.aws.toolkits.jetbrains.services.amazonqFeatureDev.FeatureDevOperation
16+
import software.aws.toolkits.jetbrains.services.amazonqFeatureDev.FileCreationFailedException
1617
import software.aws.toolkits.jetbrains.services.amazonqFeatureDev.GuardrailsException
1718
import software.aws.toolkits.jetbrains.services.amazonqFeatureDev.NoChangeRequiredException
1819
import software.aws.toolkits.jetbrains.services.amazonqFeatureDev.PromptRefusalException
@@ -261,6 +262,10 @@ private suspend fun CodeGenerationState.generateCode(
261262
codeGenerationResultState.codeGenerationStatusDetail()?.contains(
262263
"EmptyPatch",
263264
),
265+
-> throw FileCreationFailedException(operation = FeatureDevOperation.GenerateCode.toString(), desc = "File creation failed")
266+
codeGenerationResultState.codeGenerationStatusDetail()?.contains(
267+
"FileCreationFailed",
268+
),
264269
-> {
265270
if (codeGenerationResultState.codeGenerationStatusDetail().contains("NO_CHANGE_REQUIRED")) {
266271
throw NoChangeRequiredException(operation = FeatureDevOperation.GenerateCode.toString(), desc = "No change required")

0 commit comments

Comments
 (0)