Skip to content

Commit 2b6eb9e

Browse files
author
Michal Ploski
committed
Merge branch 'develop' into feature/e2e-tests
2 parents 22d35a9 + ead6215 commit 2b6eb9e

File tree

26 files changed

+1259
-1118
lines changed

26 files changed

+1259
-1118
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,20 @@ body:
5656
attributes:
5757
label: AWS Lambda function runtime
5858
options:
59-
- label: "3.6"
60-
- label: "3.7"
61-
- label: "3.8"
62-
- label: "3.9"
59+
- 3.6
60+
- 3.7
61+
- 3.8
62+
- 3.9
6363
validations:
6464
required: true
6565
- type: dropdown
6666
id: packaging
6767
attributes:
6868
label: Packaging format used
6969
options:
70-
- label: "Lambda Layers"
71-
- label: "Serverless Application Repository (SAR) App"
72-
- label: "PyPi"
70+
- Lambda Layers
71+
- Serverless Application Repository (SAR) App
72+
- PyPi
7373
multiple: true
7474
validations:
7575
required: true

.github/ISSUE_TEMPLATE/rfc.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,22 @@ body:
1717
attributes:
1818
label: Which AWS Lambda Powertools utility does this relate to?
1919
options:
20-
- label: "Tracer"
21-
- label: "Logger"
22-
- label: "Metrics"
23-
- label: "Event Handler - REST API"
24-
- label: "Event Handler - GraphQL API"
25-
- label: "Middleware factory"
26-
- label: "Parameters"
27-
- label: "Batch processing"
28-
- label: "Typing"
29-
- label: "Validation"
30-
- label: "Event Source Data Classes"
31-
- label: "Parser"
32-
- label: "Idempotency"
33-
- label: "Feature flags"
34-
- label: "JMESPath functions"
35-
- label: "Other"
20+
- Tracer
21+
- Logger
22+
- Metrics
23+
- Event Handler - REST API
24+
- Event Handler - GraphQL API
25+
- Middleware factory
26+
- Parameters
27+
- Batch processing
28+
- Typing
29+
- Validation
30+
- Event Source Data Classes
31+
- Parser
32+
- Idempotency
33+
- Feature flags
34+
- JMESPath functions
35+
- Other
3636
validations:
3737
required: true
3838
- type: textarea

.github/ISSUE_TEMPLATE/static_typing.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ body:
1414
attributes:
1515
label: Static type checker used
1616
options:
17-
- label: "mypy (project's standard)"
18-
- label: "pyright/pylance"
19-
- label: "pyre"
20-
- label: "pytype"
17+
- mypy (project's standard)
18+
- pyright/pylance
19+
- pyre
20+
- pytype
2121
validations:
2222
required: true
2323
- type: dropdown
2424
id: runtime
2525
attributes:
2626
label: AWS Lambda function runtime
2727
options:
28-
- label: "3.6"
29-
- label: "3.7"
30-
- label: "3.8"
31-
- label: "3.9"
28+
- 3.6
29+
- 3.7
30+
- 3.8
31+
- 3.9
3232
validations:
3333
required: true
3434
- type: input

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ updates:
1717
commit-message:
1818
prefix: chore
1919
include: scope
20+
ignore:
21+
# 2022-04-23: Ignoring boto3 changes until we need to care about them.
22+
- dependency-name: "boto3"
23+
2024

2125
# - package-ecosystem: "pip"
2226
# directory: "/"

.github/mergify.yml

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
1-
queue_rules:
2-
- name: default
3-
conditions:
4-
# Conditions to get out of the queue (= merged)
5-
- check-success=Semantic Pull Request
6-
- "#approved-reviews-by>=1"
7-
- -title~=(WIP|wip)
8-
- -label~="do-not-merge"
9-
- "#changes-requested-reviews-by=0"
1+
## Temporarily disabled after Mergify breaking changes
2+
## might move to custom GitHub Actions altogether
3+
# queue_rules:
4+
# - name: default
5+
# conditions:
6+
# # Conditions to get out of the queue (= merged)
7+
# - check-success=Semantic Pull Request
8+
# - "#approved-reviews-by>=1"
9+
# - -title~=(WIP|wip)
10+
# - -label~="do-not-merge"
11+
# - "#changes-requested-reviews-by=0"
1012

11-
pull_request_rules:
12-
- name: automatic merge for Dependabot pull requests
13-
conditions:
14-
- author~=^dependabot(|-preview)\[bot\]$
15-
actions:
16-
queue:
17-
name: default
18-
method: squash
19-
commit_message: title+body
13+
# pull_request_rules:
14+
# - name: automatic merge for Dependabot pull requests
15+
# conditions:
16+
# - author~=^dependabot(|-preview)\[bot\]$
17+
# actions:
18+
# queue:
19+
# name: default
20+
# method: squash
21+
# commit_message: title+body
2022

21-
- name: Automatic merge ⬇️ on approval ✔
22-
conditions:
23-
- base!=master
24-
- "#approved-reviews-by>=2"
25-
actions:
26-
queue:
27-
name: default
28-
method: squash
29-
commit_message: title+body
23+
# - name: Automatic merge ⬇️ on approval ✔
24+
# conditions:
25+
# - base!=master
26+
# - "#approved-reviews-by>=2"
27+
# actions:
28+
# queue:
29+
# name: default
30+
# method: squash
31+
# commit_message: title+body

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
# Initializes the CodeQL tools for scanning.
2626
- name: Initialize CodeQL
27-
uses: github/codeql-action/init@v1
27+
uses: github/codeql-action/init@v2
2828
with:
2929
languages: ${{ matrix.language }}
3030
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -33,4 +33,4 @@ jobs:
3333
# queries: ./path/to/local/query, your-org/your-repo/queries@main
3434

3535
- name: Perform CodeQL Analysis
36-
uses: github/codeql-action/analyze@v1
36+
uses: github/codeql-action/analyze@v2

.github/workflows/post_release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const fetchIssues = async ({
1515
gh_client,
1616
org,
1717
repository,
18-
state = "open",
18+
state = "all",
1919
label = STAGED_LABEL,
2020
}) => {
2121

.github/workflows/python_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Complexity baseline
4040
run: make complexity-baseline
4141
- name: Upload coverage to Codecov
42-
uses: codecov/codecov-action@v2.1.0
42+
uses: codecov/codecov-action@v3.1.0
4343
with:
4444
file: ./coverage.xml
4545
# flags: unittests

.github/workflows/record_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
mkdir -p ./pr
1616
echo ${{ github.event.number }} > ./pr/number
1717
echo "${{ github.event.pull_request.title }}" > ./pr/title
18-
- uses: actions/upload-artifact@v2
18+
- uses: actions/upload-artifact@v3
1919
with:
2020
name: pr
2121
path: pr/

CHANGELOG.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,69 @@ 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.10 - 2022-04-29
8+
9+
### Bug Fixes
10+
11+
* **data-classes:** Add missing SES fields and ([#1045](https://github.com/awslabs/aws-lambda-powertools-python/issues/1045))
12+
* **deps:** Ignore boto3 changes until needed ([#1151](https://github.com/awslabs/aws-lambda-powertools-python/issues/1151))
13+
* **deps-dev:** remove jmespath due to dev deps conflict ([#1148](https://github.com/awslabs/aws-lambda-powertools-python/issues/1148))
14+
* **event_handler:** exception_handler to handle ServiceError exceptions ([#1160](https://github.com/awslabs/aws-lambda-powertools-python/issues/1160))
15+
* **event_handler:** Allow for event_source support ([#1159](https://github.com/awslabs/aws-lambda-powertools-python/issues/1159))
16+
* **parser:** Add missing fields for SESEvent ([#1027](https://github.com/awslabs/aws-lambda-powertools-python/issues/1027))
17+
18+
### Documentation
19+
20+
* **layer:** upgrade to 1.25.9
21+
22+
### Features
23+
24+
* **parameters:** add clear_cache method for providers ([#1194](https://github.com/awslabs/aws-lambda-powertools-python/issues/1194))
25+
26+
### Maintenance
27+
28+
* **ci:** changelog pre-generation to fetch tags from origin
29+
* **ci:** post release on tagged issues too
30+
* **ci:** disable mergify configuration after breaking changes ([#1188](https://github.com/awslabs/aws-lambda-powertools-python/issues/1188))
31+
* **deps:** bump codecov/codecov-action from 3.0.0 to 3.1.0 ([#1143](https://github.com/awslabs/aws-lambda-powertools-python/issues/1143))
32+
* **deps:** bump github/codeql-action from 1 to 2 ([#1154](https://github.com/awslabs/aws-lambda-powertools-python/issues/1154))
33+
* **deps-dev:** bump flake8-bugbear from 22.1.11 to 22.4.25 ([#1156](https://github.com/awslabs/aws-lambda-powertools-python/issues/1156))
34+
* **deps-dev:** bump flake8-eradicate from 1.2.0 to 1.2.1 ([#1158](https://github.com/awslabs/aws-lambda-powertools-python/issues/1158))
35+
* **deps-dev:** bump mkdocs-git-revision-date-plugin ([#1146](https://github.com/awslabs/aws-lambda-powertools-python/issues/1146))
36+
* **deps-dev:** bump mypy from 0.942 to 0.950 ([#1162](https://github.com/awslabs/aws-lambda-powertools-python/issues/1162))
37+
* **deps-dev:** bump xenon from 0.8.0 to 0.9.0 ([#1145](https://github.com/awslabs/aws-lambda-powertools-python/issues/1145))
38+
* **deps-dev:** bump mypy from 0.931 to 0.942 ([#1133](https://github.com/awslabs/aws-lambda-powertools-python/issues/1133))
39+
40+
### Regression
41+
42+
* **parser:** Add missing fields for SESEvent ([#1027](https://github.com/awslabs/aws-lambda-powertools-python/issues/1027)) ([#1190](https://github.com/awslabs/aws-lambda-powertools-python/issues/1190))
43+
44+
## 1.25.9 - 2022-04-21
45+
46+
### Bug Fixes
47+
48+
* **deps**: correct py36 marker for jmespath
49+
## 1.25.8 - 2022-04-21
50+
51+
### Bug Fixes
52+
53+
* **governance:** removed ambiguous quotes from labels
54+
* **deps:** update jmespath marker to support 1.0 and py3.6 ([#1139](https://github.com/awslabs/aws-lambda-powertools-python/issues/1139))
55+
* **governance:** update label in names in issues
56+
57+
### Documentation
58+
59+
* **install:** instructions to reduce pydantic package size ([#1077](https://github.com/awslabs/aws-lambda-powertools-python/issues/1077))
60+
* **layer:** remove link from clipboard button ([#1135](https://github.com/awslabs/aws-lambda-powertools-python/issues/1135))
61+
* **layer:** update to 1.25.7
62+
63+
### Maintenance
64+
65+
* **deps:** bump codecov/codecov-action from 2.1.0 to 3.0.0 ([#1102](https://github.com/awslabs/aws-lambda-powertools-python/issues/1102))
66+
* **deps:** bump actions/upload-artifact from 2 to 3 ([#1103](https://github.com/awslabs/aws-lambda-powertools-python/issues/1103))
67+
* **deps-dev:** bump mkdocs-material from 8.2.4 to 8.2.7 ([#1131](https://github.com/awslabs/aws-lambda-powertools-python/issues/1131))
68+
* **deps-dev:** bump pytest from 6.2.5 to 7.0.1 ([#1063](https://github.com/awslabs/aws-lambda-powertools-python/issues/1063))
69+
770
## 1.25.7 - 2022-04-08
871

972
### Bug Fixes

0 commit comments

Comments
 (0)