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

Version 4.0 #908

Merged
merged 99 commits into from
Nov 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
31a8706
feat: update aws sdk
willfarrell Sep 25, 2022
6018eae
ci: remove unused deps
willfarrell Sep 25, 2022
ebd59e5
fix: add in default statusCode when normalized responses
willfarrell Sep 25, 2022
71f0178
fix: node module notation
willfarrell Sep 25, 2022
9a85265
Merge branch 'main' into feature/4.0
willfarrell Sep 25, 2022
17b6060
docs: add in util change
willfarrell Sep 25, 2022
34b73bd
Merge branch 'main' into feature/4.0
willfarrell Sep 25, 2022
b3db113
fix: update benchmarks
willfarrell Sep 25, 2022
db9445b
chore: lint
willfarrell Sep 25, 2022
9ba4471
Merge branch 'main' into feature/4.0
willfarrell Sep 26, 2022
eba4d1f
docs: remove revert
willfarrell Sep 29, 2022
f8b7e31
fix: ensure 422 is caught
willfarrell Oct 2, 2022
aebc3a9
chore: dep update
willfarrell Oct 3, 2022
eb67fdd
feat: break out compileSchema
willfarrell Oct 3, 2022
5e64064
chore: dep update
willfarrell Oct 7, 2022
30f51e3
Merge branch 'main' into feature/4.0
willfarrell Oct 7, 2022
bb1a466
ci: keep removed
willfarrell Oct 7, 2022
ece3f91
Merge branch 'feature/4.0' into feature/validator
willfarrell Oct 9, 2022
191f2be
feat: add in ftl transpiler
willfarrell Oct 9, 2022
eee251a
docs: add in examples
willfarrell Oct 9, 2022
3c8427e
fix: deprecate stream support
willfarrell Oct 9, 2022
16e373a
ci: bump target
willfarrell Oct 9, 2022
e3b1f0d
ci: update swc target
willfarrell Oct 9, 2022
91ee415
ci: update def types
willfarrell Oct 9, 2022
f653b1c
ci: lint
willfarrell Oct 9, 2022
d21f02e
Merge branch 'feature/4.0' into feature/validator
willfarrell Oct 10, 2022
635e757
Merge pull request #912 from middyjs/feature/validator
willfarrell Oct 10, 2022
13becae
ci: update def name
willfarrell Oct 11, 2022
50f1cde
ci: improve naming
willfarrell Oct 11, 2022
c706062
docs: fix inconsistencies
willfarrell Oct 11, 2022
0066cc5
ci: add in missing test dep
willfarrell Oct 11, 2022
63b5c1e
ci: add in extra test case
willfarrell Oct 11, 2022
630a0b6
chore: lint
willfarrell Oct 11, 2022
379c187
Merge branch 'main' into feature/4.0
willfarrell Oct 11, 2022
4238596
ci: lock update
willfarrell Oct 11, 2022
527496c
ci: update lock file
willfarrell Oct 11, 2022
184b9d8
ci: fix dep name
willfarrell Oct 11, 2022
8669345
fix: resolve some type errors
naorpeled Oct 13, 2022
cfaf019
style: lint
naorpeled Oct 13, 2022
58776fa
fix: resolve more type errors
naorpeled Oct 13, 2022
ddea163
revert: rollback some unecessary changes
naorpeled Oct 13, 2022
43abc89
fix: resolve some type errors
naorpeled Oct 13, 2022
edcdd39
fix: resolve some type errors
naorpeled Oct 13, 2022
efa717d
fix: resolve some type errors
naorpeled Oct 13, 2022
20ff41e
fix: resolve some type errors
naorpeled Oct 13, 2022
2309d08
fix: resolve some type errors
naorpeled Oct 13, 2022
77683ad
fix: resolve some type errors
naorpeled Oct 13, 2022
2e288c2
v3.6.1
naorpeled Oct 13, 2022
c467e14
fix: resolve some type errors
naorpeled Oct 13, 2022
42318cc
fix: resolve some type errors
naorpeled Oct 13, 2022
9d16d34
Merge pull request #923 from naorpeled/fix/feature/4.0/resolve-type-e…
willfarrell Oct 13, 2022
85b2564
revert: version bump
willfarrell Oct 13, 2022
f879849
Merge branch 'main' into feature/4.0
willfarrell Oct 13, 2022
8824b7f
docs: install aws-sdk
willfarrell Oct 14, 2022
723ccda
Merge branch 'main' into feature/4.0
willfarrell Oct 14, 2022
e5f66bf
feat: remove requestHandler override - no longer needed
willfarrell Oct 14, 2022
7aa9697
docs: remove unused
willfarrell Oct 14, 2022
8de25ec
fix: sqs types
willfarrell Oct 14, 2022
f0ed29d
docs: sync with main
willfarrell Oct 14, 2022
bca5e58
docs: clean up
willfarrell Oct 15, 2022
fcc3d7c
Merge branch 'main' into feature/4.0
willfarrell Oct 15, 2022
9db8b25
chore: dep update
willfarrell Oct 15, 2022
52bd84b
docs: clean up
willfarrell Oct 15, 2022
e34bede
Merge branch 'main' into feature/4.0
willfarrell Oct 15, 2022
459c751
docs: re-add module
willfarrell Oct 15, 2022
32a5552
docs: update releases
willfarrell Oct 15, 2022
1270af1
Merge branch 'main' into feature/4.0
willfarrell Oct 15, 2022
b48e6f9
ci: dep clean
willfarrell Oct 15, 2022
9b2ac86
fix: add in missing files
willfarrell Oct 15, 2022
468c761
docs: clean up
willfarrell Oct 23, 2022
61c0a43
chore: dep update
willfarrell Oct 23, 2022
306fb9a
chore: version bump
willfarrell Oct 23, 2022
62c7af8
chore: dep update
willfarrell Oct 23, 2022
b531f61
chore: version bump
willfarrell Oct 23, 2022
a5894ee
chore: version bump
willfarrell Oct 23, 2022
9a5d9e7
fix: break out transpile
willfarrell Oct 23, 2022
c1e1b7a
chore: version bump
willfarrell Oct 23, 2022
e2fb5c6
feat: pull localization out
willfarrell Oct 23, 2022
d1c5081
chore: version bump
willfarrell Oct 23, 2022
106ff7c
fix: revert external dep
willfarrell Oct 23, 2022
cbf2af8
chore: version bump
willfarrell Oct 23, 2022
fb94fc3
ci: add in codeql
willfarrell Nov 5, 2022
a5e8e78
ci: clean up regexp
willfarrell Nov 10, 2022
ab78b5c
Merge branch 'feature/4.0' of https://github.com/middyjs/middy into f…
willfarrell Nov 10, 2022
d726b87
ci: clean up unused
willfarrell Nov 10, 2022
eda29db
ci: clean up
willfarrell Nov 10, 2022
5a8272b
fix: regexp
willfarrell Nov 10, 2022
dd8c8da
fix: proto
willfarrell Nov 10, 2022
8fe8078
ci: trying new pattern
willfarrell Nov 10, 2022
87cd713
chore: dep update
willfarrell Nov 11, 2022
4657830
feat: add optional charset option to multipart body parser
salesh Nov 12, 2022
debaab7
feat: remove bad test
salesh Nov 12, 2022
4388a72
feat: fix linter
salesh Nov 12, 2022
fd13fb5
docs: update default to match code
willfarrell Nov 12, 2022
8807221
fix: update default to match code
willfarrell Nov 12, 2022
e37a490
Merge pull request #934 from salesh/feature/multipart-body-parser-opt…
willfarrell Nov 13, 2022
43ef74e
ci: add in binary test and log change
willfarrell Nov 13, 2022
3fc4325
Export the Request interface to enable the typing of arguments in the…
saintybalboa Nov 14, 2022
1bf33ec
Merge pull request #935 from saintybalboa/feature/4.0
willfarrell Nov 14, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [18.x]
#node-version: [ 14.x, 16.x ]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

steps:
- name: Checkout repository
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
node-version: [14.x]
node-version: [16.x]

steps:
- name: Checkout repository
Expand All @@ -39,6 +39,10 @@ jobs:
./node_modules/.bin/lerna exec --bail --concurrency 2 -- sed -i.bak 's/exports,\ \"default\"/module,\ \"exports\"/g' index.cjs # Fix CommonJS default import
./node_modules/.bin/lerna exec --bail --concurrency 2 -- ../../node_modules/.bin/swc --config-file ../../swc.esm.config.json --source-maps false index.js --out-file index.js

./node_modules/.bin/swc --config-file ./swc.cjs.config.json --source-maps false packages/validator/transpile.js --out-file packages/validator/transpile.cjs
sed -i.bak 's/exports,\ \"default\"/module,\ \"exports\"/g' packages/validator/transpile.cjs # Fix CommonJS default import
./node_modules/.bin/swc --config-file ./swc.esm.config.json --source-maps false packages/validator/transpile.js --out-file packages/validator/transpile.js

#- name: Pre-Release
# if: contains(${{GITHUB_REF}}, 'alpha') || contains(${{GITHUB_REF}}, 'beta') || contains(${{GITHUB_REF}}, 'rc')
# run: |
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/sast.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: 'CodeQL'

on:
push:
pull_request:
schedule:
- cron: '43 3 * * 5'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [javascript]

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: '/language:${{ matrix.language }}'
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x]
node-version: [16.x, 18.x]

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 18.x
- name: Install dependencies
working-directory: website
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 18.x
- name: Install dependencies
working-directory: website
run: |
Expand Down
76 changes: 0 additions & 76 deletions docs/PROFILING.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/chart-market-downloads.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
const period = `${d.toISOString().substr(0,10).replace(d.getFullYear(), d.getFullYear()-1)}:${d.toISOString().substr(0,10)}`
const dailyStats = {}
const weeklyStats = {}
const yearlyStats = {}
//const yearlyStats = {}

for(const pkg of pkgs.concat(pkgAws)) {
const pkgColor = pickColor(pkg)
Expand Down
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"packages": ["packages/*"],
"version": "3.6.2"
"version": "4.0.0-alpha.4"
}
Loading