Skip to content

Commit edcc8bc

Browse files
authored
Merge branch 'aws:main' into feature/q
2 parents ed5ebc2 + 28b1aa5 commit edcc8bc

File tree

47 files changed

+1214
-348
lines changed

Some content is hidden

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

47 files changed

+1214
-348
lines changed

.changes/2.19.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"date" : "2024-04-19",
3+
"version" : "2.19",
4+
"entries" : [ {
5+
"type" : "feature",
6+
"description" : "Enable Amazon Q feature development and Amazon Q transform capabilities (/dev and /transform) for AWS Builder ID users."
7+
}, {
8+
"type" : "bugfix",
9+
"description" : "Amazon Q Code Transformation: ensure full error message shown in notifications"
10+
}, {
11+
"type" : "bugfix",
12+
"description" : "Fix issue with competing SDK proxy configuration (#4279)"
13+
} ]
14+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "feature",
3+
"description" : "Connection id is now shown beside CodeCatalyst dropdown"
4+
}

.github/workflows/prerelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
java-version: '17'
9696
- name: Generate artifact
9797
run: |
98-
./gradlew -PideProfileName=${{ matrix.supported_versions }} :plugin-amazonq:buildPlugin --exclude-task buildResharperPlugin
98+
./gradlew -PideProfileName=${{ matrix.supported_versions }} :plugin-amazonq:buildPlugin
9999
- name: Upload artifact
100100
uses: actions/upload-artifact@v4
101101
with:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ target/
44
.idea
55
!.run/
66
build/
7+
gradle_build/
78
*.iml
89
.DS_Store
910
Build/

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# _2.19_ (2024-04-19)
2+
- **(Feature)** Enable Amazon Q feature development and Amazon Q transform capabilities (/dev and /transform) for AWS Builder ID users.
3+
- **(Bug Fix)** Amazon Q Code Transformation: ensure full error message shown in notifications
4+
- **(Bug Fix)** Fix issue with competing SDK proxy configuration ([#4279](https://github.com/aws/aws-toolkit-jetbrains/issues/4279))
5+
16
# _2.18_ (2024-04-12)
27
- **(Feature)** Add support for Lambda runtime Java 21
38
- **(Feature)** Add support for Lambda runtime Node.js 20

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,20 +107,20 @@ object IdeVersions {
107107
),
108108
community = ProductProfile(
109109
sdkFlavor = IdeFlavor.IC,
110-
sdkVersion = "241.14494-EAP-CANDIDATE-SNAPSHOT",
110+
sdkVersion = "2024.1",
111111
plugins = commonPlugins + listOf(
112112
"java",
113113
"com.intellij.gradle",
114114
"org.jetbrains.idea.maven",
115115
// transitive for python
116-
"org.toml.lang:241.14494.33",
117-
"PythonCore:241.14494.17",
118-
"Docker:241.14494.28"
116+
"org.toml.lang:241.14494.150",
117+
"PythonCore:241.14494.240",
118+
"Docker:241.14494.251"
119119
)
120120
),
121121
ultimate = ProductProfile(
122122
sdkFlavor = IdeFlavor.IU,
123-
sdkVersion = "241.14494-EAP-CANDIDATE-SNAPSHOT",
123+
sdkVersion = "2024.1",
124124
plugins = commonPlugins + listOf(
125125
"JavaScript",
126126
// Transitive dependency needed for javascript
@@ -130,21 +130,21 @@ object IdeVersions {
130130
"com.intellij.database",
131131
"com.jetbrains.codeWithMe",
132132
// transitive for python
133-
"org.toml.lang:241.14494.33",
134-
"Pythonid:241.14494.17",
135-
"org.jetbrains.plugins.go:241.14494.17",
133+
"org.toml.lang:241.14494.150",
134+
"Pythonid:241.14494.314",
135+
"org.jetbrains.plugins.go:241.14494.240",
136136
// https://github.com/JetBrains/gradle-intellij-plugin/issues/1056
137137
"org.intellij.intelliLang"
138138
)
139139
),
140140
rider = RiderProfile(
141-
sdkVersion = "2024.1-EAP8-SNAPSHOT",
141+
sdkVersion = "2024.1",
142142
plugins = commonPlugins + listOf(
143143
"rider-plugins-appender" // Workaround for https://youtrack.jetbrains.com/issue/IDEA-179607
144144
),
145145
netFrameworkTarget = "net472",
146146
rdGenVersion = "2024.1.1",
147-
nugetVersion = "2024.1.0-eap08"
147+
nugetVersion = "2024.1.0"
148148
)
149149
),
150150

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=2.19-SNAPSHOT
5+
toolkitVersion=2.20-SNAPSHOT
66

77
# Publish Settings
88
publishToken=

gradle/libs.versions.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apache-commons-collections = "4.4"
33
apache-commons-io = "2.16.0"
44
assertJ = "3.20.2" # Upgrading leads to SAM errors: https://youtrack.jetbrains.com/issue/KT-17765
55
# match with <root>/settings.gradle.kts
6-
awsSdk = "2.21.33"
6+
awsSdk = "2.25.33"
77
commonmark = "0.17.1"
88
detekt = "1.23.6"
99
intellijGradle = "1.17.3"
@@ -12,22 +12,22 @@ jackson = "2.16.1"
1212
jacoco = "0.8.11"
1313
jgit = "6.5.0.202303070854-r"
1414
junit4 = "4.13.2"
15-
junit5 = "5.10.1"
15+
junit5 = "5.10.2"
1616
# https://plugins.jetbrains.com/docs/intellij/kotlin.html#adding-kotlin-support
1717
# https://kotlinlang.org/docs/releases.html#release-details
1818
kotlin = "1.9.23"
1919
# set in <root>/settings.gradle.kts
2020
kotlinCoroutines = "1.7.3"
21-
mockito = "5.10.0"
21+
mockito = "5.11.0"
2222
mockitoKotlin = "5.2.1"
23-
mockk = "1.13.8"
23+
mockk = "1.13.10"
2424
node-gradle = "7.0.1"
2525
telemetryGenerator = "1.0.201"
2626
testLogger = "4.0.0"
2727
testRetry = "1.5.2"
2828
# test-only; platform provides slf4j transitively at runtime. <233, 1.7.36; >=233, 2.0.9
2929
slf4j = "2.0.9"
30-
sshd = "2.11.0"
30+
sshd = "2.12.1"
3131
wiremock = "3.3.1"
3232
undercouch-download = "5.2.1"
3333
zjsonpatch = "0.4.16"

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/auth/AuthController.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ class AuthController {
2828
val connectionState = checkBearerConnectionValidity(project, BearerTokenFeatureSet.Q)
2929
val codeWhispererState = checkBearerConnectionValidity(project, BearerTokenFeatureSet.CODEWHISPERER)
3030

31-
// CW chat is enabled for Builder and IDC users, Amazon Q is only valid for IDC users
31+
// CW chat is enabled for Builder and IDC users, same for Amazon Q
3232
return AuthNeededStates(
3333
chat = getAuthNeededState(connectionState, codeWhispererState),
34-
amazonQ = getAuthNeededState(connectionState, codeWhispererState, true)
34+
amazonQ = getAuthNeededState(connectionState, codeWhispererState)
3535
)
3636
}
3737

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ import software.aws.toolkits.jetbrains.core.gettingstarted.editor.checkBearerCon
1111

1212
fun isFeatureDevAvailable(project: Project): Boolean {
1313
val connection = checkBearerConnectionValidity(project, BearerTokenFeatureSet.Q)
14-
return connection.connectionType == ActiveConnectionType.IAM_IDC && connection is ActiveConnection.ValidBearer
14+
return (connection.connectionType == ActiveConnectionType.IAM_IDC || connection.connectionType == ActiveConnectionType.BUILDER_ID) &&
15+
connection is ActiveConnection.ValidBearer
1516
}

0 commit comments

Comments
 (0)