Skip to content

Commit 8165e85

Browse files
author
Michael Brewer
authored
Merge branch 'awslabs:develop' into fix-1025-v2
2 parents 78b89f3 + 2a3ff9a commit 8165e85

File tree

11 files changed

+88
-31
lines changed

11 files changed

+88
-31
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v3
2424

2525
# Initializes the CodeQL tools for scanning.
2626
- name: Initialize CodeQL

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ jobs:
4545
release:
4646
runs-on: ubuntu-latest
4747
steps:
48-
- uses: actions/checkout@v2
48+
- uses: actions/checkout@v3
4949
with:
5050
fetch-depth: 0
5151
- name: Set up Python
52-
uses: actions/setup-python@v2.3.1
52+
uses: actions/setup-python@v3
5353
with:
5454
python-version: "3.8"
5555
- name: Set release notes tag
@@ -119,7 +119,7 @@ jobs:
119119
needs: release
120120
runs-on: ubuntu-latest
121121
steps:
122-
- uses: actions/checkout@v2
122+
- uses: actions/checkout@v3
123123
- name: Sync master from detached head
124124
# If version matches CHANGELOG and pyproject.toml
125125
# If it passes all checks, successfully releases to test and prod

.github/workflows/python_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
OS: ${{ matrix.os }}
2222
PYTHON: ${{ matrix.python-version }}
2323
steps:
24-
- uses: actions/checkout@v1
24+
- uses: actions/checkout@v3
2525
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v2.3.1
26+
uses: actions/setup-python@v3
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929
- name: Install dependencies

.github/workflows/python_docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
docs:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717
with:
1818
fetch-depth: 0
1919
- name: Set up Python
20-
uses: actions/setup-python@v2.3.1
20+
uses: actions/setup-python@v3
2121
with:
2222
python-version: "3.8"
2323
- name: Install dependencies

.github/workflows/rebuild_latest_docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
release:
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2525
with:
2626
fetch-depth: 0
2727
- name: Set up Python
28-
uses: actions/setup-python@v2.3.1
28+
uses: actions/setup-python@v3
2929
with:
3030
python-version: "3.8"
3131
- name: Set release notes tag

.github/workflows/record_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313
- name: Save PR number
1414
run: |
1515
mkdir -p ./pr

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@ All notable changes to this project will be documented in this file.
44

55
This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format for changes and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 1.25.2 - 2022-03-07
8+
9+
### Bug Fixes
10+
11+
* **event_handler:** high-level import CorsConfig, docs snippets ([#1019](https://github.com/awslabs/aws-lambda-powertools-python/issues/1019))
12+
* **lambda-authorizer:** allow proxy resources path in arn ([#1051](https://github.com/awslabs/aws-lambda-powertools-python/issues/1051))
13+
* **metrics:** flush upon a single metric 100th data point ([#1046](https://github.com/awslabs/aws-lambda-powertools-python/issues/1046))
14+
15+
### Documentation
16+
17+
* **layer:** update to 1.25.1
18+
* **parser:** APIGatewayProxyEvent to APIGatewayProxyEventModel ([#1061](https://github.com/awslabs/aws-lambda-powertools-python/issues/1061))
19+
20+
### Maintenance
21+
22+
* **deps:** bump actions/setup-python from 2.3.1 to 3 ([#1048](https://github.com/awslabs/aws-lambda-powertools-python/issues/1048))
23+
* **deps:** bump actions/checkout from 2 to 3 ([#1052](https://github.com/awslabs/aws-lambda-powertools-python/issues/1052))
24+
* **deps:** bump actions/github-script from 5 to 6 ([#1023](https://github.com/awslabs/aws-lambda-powertools-python/issues/1023))
25+
* **deps:** bump fastjsonschema from 2.15.2 to 2.15.3 ([#949](https://github.com/awslabs/aws-lambda-powertools-python/issues/949))
26+
* **deps-dev:** bump mkdocs-material from 8.1.9 to 8.2.4 ([#1054](https://github.com/awslabs/aws-lambda-powertools-python/issues/1054))
727

828
## 1.25.1 - 2022-02-14
929

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ release: pr
8484
$(MAKE) release-prod
8585

8686
changelog:
87+
git fetch --tags
8788
@echo "[+] Pre-generating CHANGELOG for tag: $$(git describe --abbrev=0 --tag)"
8889
docker run -v "${PWD}":/workdir quay.io/git-chglog/git-chglog $$(git describe --abbrev=0 --tag).. > TMP_CHANGELOG.md
8990

docs/utilities/parser.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -146,20 +146,20 @@ def my_function():
146146

147147
Parser comes with the following built-in models:
148148

149-
| Model name | Description |
150-
| -------------------------- | ------------------------------------------------------------------ |
151-
| **DynamoDBStreamModel** | Lambda Event Source payload for Amazon DynamoDB Streams |
152-
| **EventBridgeModel** | Lambda Event Source payload for Amazon EventBridge |
153-
| **SqsModel** | Lambda Event Source payload for Amazon SQS |
154-
| **AlbModel** | Lambda Event Source payload for Amazon Application Load Balancer |
155-
| **CloudwatchLogsModel** | Lambda Event Source payload for Amazon CloudWatch Logs |
156-
| **S3Model** | Lambda Event Source payload for Amazon S3 |
157-
| **S3ObjectLambdaEvent** | Lambda Event Source payload for Amazon S3 Object Lambda |
158-
| **KinesisDataStreamModel** | Lambda Event Source payload for Amazon Kinesis Data Streams |
159-
| **SesModel** | Lambda Event Source payload for Amazon Simple Email Service |
160-
| **SnsModel** | Lambda Event Source payload for Amazon Simple Notification Service |
161-
| **APIGatewayProxyEvent** | Lambda Event Source payload for Amazon API Gateway |
162-
| **APIGatewayProxyEventV2Model** | Lambda Event Source payload for Amazon API Gateway v2 payload |
149+
| Model name | Description |
150+
| --------------------------------- | ------------------------------------------------------------------ |
151+
| **DynamoDBStreamModel** | Lambda Event Source payload for Amazon DynamoDB Streams |
152+
| **EventBridgeModel** | Lambda Event Source payload for Amazon EventBridge |
153+
| **SqsModel** | Lambda Event Source payload for Amazon SQS |
154+
| **AlbModel** | Lambda Event Source payload for Amazon Application Load Balancer |
155+
| **CloudwatchLogsModel** | Lambda Event Source payload for Amazon CloudWatch Logs |
156+
| **S3Model** | Lambda Event Source payload for Amazon S3 |
157+
| **S3ObjectLambdaEvent** | Lambda Event Source payload for Amazon S3 Object Lambda |
158+
| **KinesisDataStreamModel** | Lambda Event Source payload for Amazon Kinesis Data Streams |
159+
| **SesModel** | Lambda Event Source payload for Amazon Simple Email Service |
160+
| **SnsModel** | Lambda Event Source payload for Amazon Simple Notification Service |
161+
| **APIGatewayProxyEventModel** | Lambda Event Source payload for Amazon API Gateway |
162+
| **APIGatewayProxyEventV2Model** | Lambda Event Source payload for Amazon API Gateway v2 payload |
163163

164164
### extending built-in models
165165

poetry.lock

Lines changed: 40 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "aws_lambda_powertools"
3-
version = "1.25.1"
3+
version = "1.25.2"
44
description = "A suite of utilities for AWS Lambda functions to ease adopting best practices such as tracing, structured logging, custom metrics, batching, idempotency, feature flags, and more."
55
authors = ["Amazon Web Services"]
66
include = ["aws_lambda_powertools/py.typed", "THIRD-PARTY-LICENSES"]
@@ -53,7 +53,7 @@ flake8-bugbear = "^22.1.11"
5353
mkdocs-git-revision-date-plugin = "^0.3.1"
5454
mike = "^0.6.0"
5555
mypy = "^0.931"
56-
mkdocs-material = "^8.1.9"
56+
mkdocs-material = "^8.2.4"
5757

5858

5959
[tool.poetry.extras]

0 commit comments

Comments
 (0)