Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Amazon.Lambda.Core to 2.5.0 to support SnapStart #1946

Merged
merged 3 commits into from
Jan 31, 2025

Conversation

AlexDaines
Copy link
Contributor

Issue: V1651929313

Description

This change updates the Amazon.Lambda.Core package reference to version 2.5.0 across the Lambda Test Tool and its test projects to support SnapStart functionality.

Motivation and Context

When using the Lambda Test Tool with functions that utilize SnapStart features, users encounter a TypeLoadException because the tool is using an older version of Amazon.Lambda.Core that doesn't include the SnapStart type. This update ensures compatibility with Lambda functions using SnapStart functionality.

Testing

  1. Created a test Lambda function that uses SnapStart functionality
  2. Initially reproduced the error with the current version
  3. Updated package references to 2.5.0
  4. Manually copied the updated DLL
  5. Verified the function now executes without SnapStart-related errors

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have read the README document
  • I have added tests to cover my changes
  • All new and existing tests passed

License

  • I confirm that this pull request can be released under the Apache 2 license

@normj normj changed the base branch from master to dev January 31, 2025 01:00
@normj normj changed the base branch from dev to master January 31, 2025 01:12
@normj normj changed the base branch from master to dev January 31, 2025 01:12
Copy link
Member

@normj normj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added the change log file and change the target branch to dev.

@gcbeattyAWS gcbeattyAWS self-requested a review January 31, 2025 17:37
@normj normj merged commit bb42882 into dev Jan 31, 2025
5 checks passed
@normj normj deleted the adaines/update-lambda-core-2.5.0 branch January 31, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants