Skip to content

Commit 70a47b0

Browse files
authored
Update AWSLambdaPSCore to target .NET 10 managed runtime (#2286)
1 parent fea239d commit 70a47b0

File tree

17 files changed

+36
-31
lines changed

17 files changed

+36
-31
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## Release 2026-02-18
2+
3+
### AWSLambdaPSCore PowerShell Module (5.0.0)
4+
* Updated to target the .NET 10 Lambda runtime
5+
16
## Release 2026-02-10
27

38
### Amazon.Lambda.Annotations (1.9.0)

PowerShell/Module/AWSLambdaPSCore.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'AWSLambdaPSCore.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '4.0.4.0'
15+
ModuleVersion = '5.0.0.0'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core'

PowerShell/Module/Private/_Constants.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ if (!($AwsPowerShellFunctionEnvName))
2020

2121
if (!($AwsPowerShellDefaultSdkVersion))
2222
{
23-
New-Variable -Name AwsPowerShellDefaultSdkVersion -Value '7.4.5' -Option Constant
23+
New-Variable -Name AwsPowerShellDefaultSdkVersion -Value '7.5.4' -Option Constant
2424
}
2525

2626
if (!($AwsPowerShellTargetFramework))
2727
{
28-
New-Variable -Name AwsPowerShellTargetFramework -Value 'net8.0' -Option Constant
28+
New-Variable -Name AwsPowerShellTargetFramework -Value 'net10.0' -Option Constant
2929
}
3030

3131
if (!($AwsPowerShellLambdaRuntime))
3232
{
33-
New-Variable -Name AwsPowerShellLambdaRuntime -Value 'dotnet8' -Option Constant
33+
New-Variable -Name AwsPowerShellLambdaRuntime -Value 'dotnet10' -Option Constant
3434
}

PowerShell/Module/Templates/Blueprints/Basic/basic.ps1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
1010
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.
1111

12-
#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}
12+
#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='5.0.158'}
1313

1414
# Uncomment to send the input event to CloudWatch Logs
1515
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

PowerShell/Module/Templates/Blueprints/CloudFormationCustomResource/cloudformationcustomresource.ps1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
1010
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.
1111

12-
#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}
12+
#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='5.0.158'}
1313

1414
# Uncomment to send the input event to CloudWatch Logs
1515
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

PowerShell/Module/Templates/Blueprints/CodeCommitTrigger/codecommittrigger.ps1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
1010
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.
1111

12-
#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}
12+
#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='5.0.158'}
1313

1414
# Uncomment to send the input event to CloudWatch Logs
1515
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

PowerShell/Module/Templates/Blueprints/DetectLabels/detectlabels.ps1.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
1010
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.
1111

12-
#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}
13-
#Requires -Modules @{ModuleName='AWS.Tools.Rekognition';ModuleVersion='4.1.518'}
14-
#Requires -Modules @{ModuleName='AWS.Tools.S3';ModuleVersion='4.1.518'}
12+
#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='5.0.158'}
13+
#Requires -Modules @{ModuleName='AWS.Tools.Rekognition';ModuleVersion='5.0.158'}
14+
#Requires -Modules @{ModuleName='AWS.Tools.S3';ModuleVersion='5.0.158'}
1515

1616
# Uncomment to send the input event to CloudWatch Logs
1717
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

PowerShell/Module/Templates/Blueprints/KinesisStreamProcessor/kinesisstreamprocessor.ps1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# To include PowerShell modules with your Lambda function, like the AWS.Tools.S3 module, add a "#Requires" statement
1010
# indicating the module and version. If using an AWS.Tools.* module the AWS.Tools.Common module is also required.
1111

12-
#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}
12+
#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='5.0.158'}
1313

1414
# Uncomment to send the input event to CloudWatch Logs
1515
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

PowerShell/Module/Templates/Blueprints/S3Event/s3event.ps1.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
# The following link contains documentation describing the structure of the S3 event object.
1313
# https://docs.aws.amazon.com/AmazonS3/latest/dev/notification-content-structure.html
1414

15-
#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}
16-
#Requires -Modules @{ModuleName='AWS.Tools.S3';ModuleVersion='4.1.518'}
15+
#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='5.0.158'}
16+
#Requires -Modules @{ModuleName='AWS.Tools.S3';ModuleVersion='5.0.158'}
1717

1818
# Uncomment to send the input event to CloudWatch Logs
1919
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

PowerShell/Module/Templates/Blueprints/S3EventToSNS/s3tosns.ps1.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
# This example demonstrates how to process an S3 Event that follows the process:
1616
# S3 Event -> SNS Topic -> Lambda Function
1717

18-
#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='4.1.518'}
19-
#Requires -Modules @{ModuleName='AWS.Tools.S3';ModuleVersion='4.1.518'}
18+
#Requires -Modules @{ModuleName='AWS.Tools.Common';ModuleVersion='5.0.158'}
19+
#Requires -Modules @{ModuleName='AWS.Tools.S3';ModuleVersion='5.0.158'}
2020

2121
# Uncomment to send the input event to CloudWatch Logs
2222
# Write-Host (ConvertTo-Json -InputObject $LambdaInput -Compress -Depth 5)

0 commit comments

Comments
 (0)