Skip to content

Commit b49f595

Browse files
Merge pull request #93 from newrelic/upgrade-python3.12
feat: Upgrade Lambda runtime to Python 3.12
2 parents a9d2a1e + 2c7ad39 commit b49f595

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## Version 1.3.0 (2025-12-22)
2+
- Upgraded runtime from Python 3.11 to Python 3.12
3+
- Updated to use Amazon Linux 2023 base (via Python 3.12 runtime)
4+
- Python 3.11 deprecation date: June 30, 2026
5+
- Python 3.12 support extends until October 31, 2028
6+
- No code changes required - all dependencies compatible with Python 3.12
7+
8+
## Previous Versions
19
- updated to last release 1.1.1
210
- updated semantic version
311
- updated urls and lables

serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ service: ${env:SERVICE_NAME}
2222

2323
provider:
2424
name: aws
25-
runtime: python3.11
25+
runtime: python3.12
2626
iamRoleStatements:
2727
- Effect: "Allow"
2828
Action:

src/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
US_LOGGING_INGEST_HOST = "https://log-api.newrelic.com/log/v1"
2020
EU_LOGGING_INGEST_HOST = 'https://log-api.eu.newrelic.com/log/v1'
21-
LOGGING_LAMBDA_VERSION = '1.2.6'
21+
LOGGING_LAMBDA_VERSION = '1.3.0'
2222
LOGGING_PLUGIN_METADATA = {
2323
'type': "s3-lambda",
2424
'version': LOGGING_LAMBDA_VERSION

template.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Metadata:
1111
ReadmeUrl: README.md
1212
Labels: ['newrelic', 'logs', 'logging', 'ingestion', 'lambda', 's3']
1313
HomePageUrl: https://github.com/newrelic/aws_s3_log_ingestion_lambda
14-
SemanticVersion: 1.2.6
14+
SemanticVersion: 1.3.0
1515
SourceCodeUrl: https://github.com/newrelic/aws_s3_log_ingestion_lambda
1616

1717
AWS::CloudFormation::Interface:
@@ -77,7 +77,7 @@ Resources:
7777
Type: 'AWS::Serverless::Function'
7878
Condition: NoCap
7979
Properties:
80-
Runtime: python3.11
80+
Runtime: python3.12
8181
CodeUri: src/
8282
Handler: handler.lambda_handler
8383
FunctionName: NewRelic-s3-log-ingestion
@@ -114,7 +114,7 @@ Resources:
114114
Type: 'AWS::Serverless::Function'
115115
Condition: NoRole
116116
Properties:
117-
Runtime: python3.11
117+
Runtime: python3.12
118118
CodeUri: src/
119119
Handler: handler.lambda_handler
120120
FunctionName: NewRelic-s3-log-ingestion

0 commit comments

Comments
 (0)