Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
1984af1
fix(sagemaker): revert presign url changes (#8506)
aws-ajangg Jan 22, 2026
9799728
fix(auth): prompt window reload for stale console session credentials…
keenwilson Jan 22, 2026
a2849d0
fix(amazonq): remove /dev amazonq settings (#8510)
laileni-aws Jan 22, 2026
53f02cf
build(amazonq): merge release candidate version rc-20260122 (#8526)
ashishrp-aws Jan 23, 2026
e9cc11a
fix(auth): show actual AWS CLI path in update success message (#8519)
keenwilson Jan 26, 2026
8b4d088
fix(smus): Look for profile in both config and credentials files when…
kzr-at-amazon Jan 28, 2026
5cbfa60
deps(lambda): upgrade sdk lambda client to 3.953.0 (#8531)
licjun Jan 29, 2026
8dccd29
fix(lambda): add console credential fallback for Lambda URI handler (…
keenwilson Jan 29, 2026
44f4ed6
fix(amazonq): Enabling fix all feature for warning (#8516)
laileni-aws Jan 29, 2026
8f7235f
build(amazonq): merge release candidate version rc-20260129 (#8543)
chungjac Jan 29, 2026
d908b6e
feat(lambda): add conditional Tenant ID field to Local Invoke panel (…
licjun Jan 30, 2026
2dd5ed7
fix(sagemaker): Add support for presigning WS url (#8560)
aws-jeffrey-yang Feb 9, 2026
042b06a
feat(lambda): add Lambda remote invoke multi-tenancy support (#8541)
licjun Feb 10, 2026
342f2a9
fix(amazonq): adding change log (#8574)
laileni-aws Feb 11, 2026
6e37309
feat(smus): Add domain caching for IdC login (#8564)
vpbhargav Feb 11, 2026
f57fef6
build(amazonq): merge release candidate version rc-20260212 (#8581)
aseemxs Feb 17, 2026
3d160d1
fix(amazonq): inline chat feature doesnt work with kiro subscription …
Will-ShaoHua Feb 20, 2026
91120f2
feat(sagemaker): Adding support for Cursor IDE (#8384)
arkaprava08 Feb 20, 2026
0abd582
fix(auth): prevent connection usage when console login is cancelled o…
keenwilson Feb 20, 2026
747f18c
feat(sagemaker): Reconnection toolkit (#8485)
msgupta-amazon Feb 23, 2026
9992195
Create generator-generic-ossf-slsa3-publish.yml
ZikrieHR Feb 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changes/next-release/tenant-id-local-invoke.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "Feature",
"description": "Add conditional Tenant ID field to Local Invoke panel for multi-tenant Lambda functions. The field appears when SAM template contains TenancyConfig and passes the value to SAM CLI as --tenant-id argument."
}
4 changes: 4 additions & 0 deletions .changes/next-release/tenant-id-remote-invoke.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "Feature",
"description": "Add conditional Tenant ID field to Remote Invoke panel for multi-tenant Lambda functions. The field appears when function has TenancyConfig and passes the value to AWS Lambda Invoke API."
}
66 changes: 66 additions & 0 deletions .github/workflows/generator-generic-ossf-slsa3-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# This workflow lets you generate SLSA provenance file for your project.
# The generation satisfies level 3 for the provenance requirements - see https://slsa.dev/spec/v0.1/requirements
# The project is an initiative of the OpenSSF (openssf.org) and is developed at
# https://github.com/slsa-framework/slsa-github-generator.
# The provenance file can be verified using https://github.com/slsa-framework/slsa-verifier.
# For more information about SLSA and how it improves the supply-chain, visit slsa.dev.

name: SLSA generic generator
on:
workflow_dispatch:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
outputs:
digests: ${{ steps.hash.outputs.digests }}

steps:
- uses: actions/checkout@v4

# ========================================================
#
# Step 1: Build your artifacts.
#
# ========================================================
- name: Build artifacts
run: |
# These are some amazing artifacts.
echo "artifact1" > artifact1
echo "artifact2" > artifact2
# ========================================================
#
# Step 2: Add a step to generate the provenance subjects
# as shown below. Update the sha256 sum arguments
# to include all binaries that you generate
# provenance for.
#
# ========================================================
- name: Generate subject for provenance
id: hash
run: |
set -euo pipefail
# List the artifacts the provenance will refer to.
files=$(ls artifact*)
# Generate the subjects (base64 encoded).
echo "hashes=$(sha256sum $files | base64 -w0)" >> "${GITHUB_OUTPUT}"
provenance:
needs: [build]
permissions:
actions: read # To read the workflow path.
id-token: write # To sign the provenance.
contents: write # To add assets to a release.
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.4.0
with:
base64-subjects: "${{ needs.build.outputs.digests }}"
upload-assets: true # Optional: Upload to a new release
13,611 changes: 8,595 additions & 5,016 deletions package-lock.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions packages/amazonq/.changes/1.108.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"date": "2026-01-23",
"version": "1.108.0",
"entries": []
}
10 changes: 10 additions & 0 deletions packages/amazonq/.changes/1.109.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"date": "2026-01-29",
"version": "1.109.0",
"entries": [
{
"type": "Bug Fix",
"description": "Amazon Q: \"Fix All Issues\" now includes warnings when triggered from a warning diagnostic"
}
]
}
10 changes: 10 additions & 0 deletions packages/amazonq/.changes/1.110.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"date": "2026-02-16",
"version": "1.110.0",
"entries": [
{
"type": "Bug Fix",
"description": "Amazon Q Chat: Fix chat history restoration to display rich UI elements and persist user preferences"
}
]
}
12 changes: 12 additions & 0 deletions packages/amazonq/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 1.110.0 2026-02-16

- **Bug Fix** Amazon Q Chat: Fix chat history restoration to display rich UI elements and persist user preferences

## 1.109.0 2026-01-29

- **Bug Fix** Amazon Q: "Fix All Issues" now includes warnings when triggered from a warning diagnostic

## 1.108.0 2026-01-23

- Miscellaneous non-user-facing changes

## 1.107.0 2026-01-08

- Miscellaneous non-user-facing changes
Expand Down
7 changes: 1 addition & 6 deletions packages/amazonq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "amazon-q-vscode",
"displayName": "Amazon Q",
"description": "The most capable generative AI–powered assistant for software development.",
"version": "1.108.0-SNAPSHOT",
"version": "1.111.0-SNAPSHOT",
"extensionKind": [
"workspace"
],
Expand Down Expand Up @@ -148,11 +148,6 @@
"markdownDescription": "%AWS.configuration.description.amazonq%",
"default": true
},
"amazonQ.allowFeatureDevelopmentToRunCodeAndTests": {
"markdownDescription": "%AWS.configuration.description.featureDevelopment.allowRunningCodeAndTests%",
"type": "object",
"default": {}
},
"amazonQ.importRecommendationForInlineCodeSuggestions": {
"type": "boolean",
"description": "%AWS.configuration.description.amazonq.importRecommendation%",
Expand Down
19 changes: 14 additions & 5 deletions packages/amazonq/src/lsp/chat/autoDebug/codeActionsProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,16 @@ export class AutoDebugCodeActionsProvider implements vscode.CodeActionProvider,
// Add "Fix with Amazon Q" action
actions.push(this.createFixWithQAction(document, range, diagnostics))

// Add "Fix All with Amazon Q" action
actions.push(this.createFixAllWithQAction(document))
// Check if any diagnostic is error or warning to show "Fix All Issues"
const hasErrorOrWarning = diagnostics.some(
(d) =>
d.severity === vscode.DiagnosticSeverity.Error || d.severity === vscode.DiagnosticSeverity.Warning
)
if (hasErrorOrWarning) {
// If triggered from warning, include warnings; if from error, only errors
const hasWarning = diagnostics.some((d) => d.severity === vscode.DiagnosticSeverity.Warning)
actions.push(this.createFixAllWithQAction(document, hasWarning))
}

// Add "Explain Problem" action
actions.push(this.createExplainProblemAction(document, range, diagnostics))
Expand Down Expand Up @@ -84,12 +92,13 @@ export class AutoDebugCodeActionsProvider implements vscode.CodeActionProvider,
return action
}

private createFixAllWithQAction(document: vscode.TextDocument): vscode.CodeAction {
const action = new vscode.CodeAction('Amazon Q: Fix All Errors', vscode.CodeActionKind.QuickFix)
private createFixAllWithQAction(document: vscode.TextDocument, includeWarnings: boolean): vscode.CodeAction {
const action = new vscode.CodeAction('Amazon Q: Fix All Issues', vscode.CodeActionKind.QuickFix)

action.command = {
command: 'amazonq.02.fixAllWithQ',
title: 'Amazon Q: Fix All Errors',
title: 'Amazon Q: Fix All Issues',
arguments: [includeWarnings],
}

return action
Expand Down
13 changes: 7 additions & 6 deletions packages/amazonq/src/lsp/chat/autoDebug/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ export class AutoDebugCommands implements vscode.Disposable {
Commands.register(
{
id: 'amazonq.02.fixAllWithQ',
name: 'Amazon Q: Fix All Errors',
name: 'Amazon Q: Fix All Issues',
},
async () => {
await this.fixAllWithAmazonQ()
async (includeWarnings?: boolean) => {
await this.fixAllWithAmazonQ(includeWarnings)
}
),

Expand Down Expand Up @@ -124,9 +124,10 @@ export class AutoDebugCommands implements vscode.Disposable {
}

/**
* Fix All with Amazon Q - processes all errors in the current file
* Fix All with Amazon Q - processes issues in the current file
* @param includeWarnings - if true, fix errors and warnings; if false, fix only errors
*/
private async fixAllWithAmazonQ(): Promise<void> {
private async fixAllWithAmazonQ(includeWarnings: boolean = false): Promise<void> {
autoDebugTelemetry.recordCommandInvocation('fixAllWithQ')

await this.executeWithErrorHandling(
Expand All @@ -139,7 +140,7 @@ export class AutoDebugCommands implements vscode.Disposable {
if (!saved) {
throw new Error('Failed to save document')
}
const problemCount = await this.controller.fixAllProblemsInFile(10) // 10 errors per batch
const problemCount = await this.controller.fixAllProblemsInFile(includeWarnings)
autoDebugTelemetry.recordCommandSuccess('fixAllWithQ', problemCount)
},
'Fix All with Amazon Q',
Expand Down
23 changes: 14 additions & 9 deletions packages/amazonq/src/lsp/chat/autoDebug/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,14 @@ export class AutoDebugController implements vscode.Disposable {
}

/**
* Filter diagnostics to only errors and apply source filtering
* Filter diagnostics by severity and apply source filtering
*/
private filterErrorDiagnostics(diagnostics: vscode.Diagnostic[]): vscode.Diagnostic[] {
private filterDiagnostics(diagnostics: vscode.Diagnostic[], includeWarnings: boolean = false): vscode.Diagnostic[] {
return diagnostics.filter((d) => {
if (d.severity !== vscode.DiagnosticSeverity.Error) {
// Filter by severity: errors always, warnings only if includeWarnings
const isError = d.severity === vscode.DiagnosticSeverity.Error
const isWarning = d.severity === vscode.DiagnosticSeverity.Warning
if (!isError && !(includeWarnings && isWarning)) {
return false
}
// Apply source filtering
Expand Down Expand Up @@ -108,9 +111,11 @@ export class AutoDebugController implements vscode.Disposable {
}

/**
* Fix with Amazon Q - sends up to 15 error messages one time when user clicks the button
* Fix with Amazon Q - sends up to maxProblems issues when user clicks the button
* @param includeWarnings - if true, fix both errors and warnings; if false, fix only errors
* @param maxProblems - maximum number of problems to fix (default 10)
*/
public async fixAllProblemsInFile(maxProblems: number = 15): Promise<number> {
public async fixAllProblemsInFile(includeWarnings: boolean = false, maxProblems: number = 10): Promise<number> {
try {
const editor = vscode.window.activeTextEditor
if (!editor) {
Expand All @@ -120,13 +125,13 @@ export class AutoDebugController implements vscode.Disposable {

// Get all diagnostics for the current file
const allDiagnostics = vscode.languages.getDiagnostics(editor.document.uri)
const errorDiagnostics = this.filterErrorDiagnostics(allDiagnostics)
if (errorDiagnostics.length === 0) {
const filteredDiagnostics = this.filterDiagnostics(allDiagnostics, includeWarnings)
if (filteredDiagnostics.length === 0) {
return 0
}

// Take up to maxProblems errors (15 by default)
const diagnosticsToFix = errorDiagnostics.slice(0, maxProblems)
// Take up to maxProblems
const diagnosticsToFix = filteredDiagnostics.slice(0, maxProblems)
const result = await this.getProblemsFromDiagnostics(undefined, diagnosticsToFix)
if (!result) {
return 0
Expand Down
4 changes: 2 additions & 2 deletions packages/amazonq/test/e2e/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
*/

import { runTests } from 'aws-core-vscode/test'
import { VSCODE_EXTENSION_ID } from 'aws-core-vscode/utils'
import { VSCODE_EXTENSION_ID_CONSTANTS } from 'aws-core-vscode/utils'

export function run(): Promise<void> {
return runTests(process.env.TEST_DIR ?? 'test/e2e', VSCODE_EXTENSION_ID.amazonq, [
return runTests(process.env.TEST_DIR ?? 'test/e2e', VSCODE_EXTENSION_ID_CONSTANTS.amazonq, [
'../../core/dist/src/testInteg/globalSetup.test.ts',
])
}
4 changes: 2 additions & 2 deletions packages/amazonq/test/unit/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
*/

import { runTests } from 'aws-core-vscode/test'
import { VSCODE_EXTENSION_ID } from 'aws-core-vscode/utils'
import { VSCODE_EXTENSION_ID_CONSTANTS } from 'aws-core-vscode/utils'

export function run(): Promise<void> {
return runTests(process.env.TEST_DIR ?? ['test/unit'], VSCODE_EXTENSION_ID.amazonq, [
return runTests(process.env.TEST_DIR ?? ['test/unit'], VSCODE_EXTENSION_ID_CONSTANTS.amazonq, [
'../../core/dist/src/test/globalSetup.test.ts',
])
}
6 changes: 3 additions & 3 deletions packages/amazonq/test/web/testRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* The following was influenced by this guide: https://code.visualstudio.com/api/extension-guides/web-extensions
*/

import { VSCODE_EXTENSION_ID } from 'aws-core-vscode/utils'
import { VSCODE_EXTENSION_ID_CONSTANTS } from 'aws-core-vscode/utils'
import 'mocha' // Imports mocha for the browser, defining the `mocha` global.
import * as vscode from 'vscode'

Expand Down Expand Up @@ -47,12 +47,12 @@ function gatherTestFiles() {
* So this function ensures the extension has fully activated.
*/
async function activateExtension() {
const extId = VSCODE_EXTENSION_ID.amazonq
const extId = VSCODE_EXTENSION_ID_CONSTANTS.amazonq
const ext = vscode.extensions.getExtension(extId)
if (!ext) {
throw new Error(`Extension '${extId}' not found, can't activate it to run tests.`)
}
await vscode.extensions.getExtension(VSCODE_EXTENSION_ID.amazonq)?.activate()
await vscode.extensions.getExtension(VSCODE_EXTENSION_ID_CONSTANTS.amazonq)?.activate()
}

function runMochaTests(resolve: (value: void | PromiseLike<void>) => void, reject: (reason?: any) => void) {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@
"@aws-sdk/client-iam": "<3.731.0",
"@aws-sdk/client-iot": "~3.693.0",
"@aws-sdk/client-iotsecuretunneling": "~3.693.0",
"@aws-sdk/client-lambda": "<3.731.0",
"@aws-sdk/client-lambda": "^3.953.0",
"@aws-sdk/client-redshift": "~3.693.0",
"@aws-sdk/client-redshift-data": "~3.693.0",
"@aws-sdk/client-redshift-serverless": "~3.693.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"AWS.configuration.description.suppressPrompts": "Prompts which ask for confirmation. Checking an item suppresses the prompt.",
"AWS.configuration.enableCodeLenses": "Enable SAM hints in source code and template.yaml files",
"AWS.configuration.description.resources.enabledResources": "AWS resources to display in the 'Resources' portion of the explorer.",
"AWS.configuration.description.featureDevelopment.allowRunningCodeAndTests": "Allow /dev to run code and test commands",
"AWS.configuration.description.experiments": "Try experimental features and give feedback. Note that experimental features may be removed at any time.\n * `jsonResourceModification` - Enables basic create, update, and delete support for cloud resources via the JSON Resources explorer component.",
"AWS.stepFunctions.publishStateMachine.error.invalidYAML": "Cannot publish invalid YAML file",
"AWS.stepFunctions.publishStateMachine.info.creating": "Creating state machine '{0}' in {1}...",
Expand Down Expand Up @@ -60,6 +59,7 @@
"AWS.configuration.description.awssam.debug.memoryMb": "The amount of memory (in Mb) the Lambda function has access to.",
"AWS.configuration.description.awssam.debug.runtime": "The Lambda Function's runtime",
"AWS.configuration.description.awssam.debug.timeout": "The amount of time (in seconds) that Lambda allows a function to run before stopping it.",
"AWS.configuration.description.awssam.debug.tenantId": "Tenant ID for multi-tenant Lambda functions",
"AWS.configuration.description.awssam.debug.aws": "AWS connection details",
"AWS.configuration.description.awssam.debug.credentials": "The AWS credentials provider and name to use during the invocation. Example: credential profile \"default\" would be entered as `profile:default`.",
"AWS.configuration.description.awssam.debug.credentials.cn": "The Amazon credentials provider and name to use during the invocation. Example: credential profile \"default\" would be entered as `profile:default`.",
Expand Down
Loading