7241 Commits

Author SHA1 Message Date
Mariusz Nowak
2c19bf5eae refactor(Config Schema): Unified color scheme 2020-09-10 10:49:02 +02:00
Andy Duncan
d9b91e97fb
feat(Config Schema): Schema for AWS schedule event (#8143) 2020-09-09 13:13:03 +02:00
Mariusz Nowak
51a10aa262
refactor(Config Schema): Improve signal intent comment 2020-09-09 12:55:56 +02:00
Mariusz Nowak
6e84563551 test: Rename module to match conventions 2020-09-09 11:17:21 +02:00
Mariusz Nowak
05921b61ee test: Upgrade to use new fixtures engine 2020-09-09 11:17:21 +02:00
Cole Mujadzic
f727631100
fix(AWS API Gateway): Fix model resource name generator (#8204) 2020-09-09 09:26:53 +02:00
Mariusz Nowak
b0547e6e1a fix(AWS Stream): Fix support for batchWindow: 0 2020-09-08 10:38:44 +02:00
Frédéric Barthelet
428fc796c1
feat(AWS HTTP API): Recognize support for CF instructions in authorizers
(PR #8200)
2020-09-08 10:16:22 +02:00
Frédéric Barthelet
72745c9e77
feat(AWS Local Invocation): Resolve CF Ref in env variables (#8198) 2020-09-08 10:13:53 +02:00
jkburges
8f070d58c4
fix(Templates): Add missing property in ruby template (#8195)
This property was previously missing from the fake lambda context when running ruby functions locally.

Ref: https://docs.aws.amazon.com/lambda/latest/dg/ruby-context.html
2020-09-07 11:07:43 +02:00
Geoff Baskwill
00d6f79c50
feat(Config Schema): Schema for AWS resources section (#8139) 2020-09-07 09:21:16 +02:00
Mariusz Nowak
f9e955c8f8 feat(Analytics): Recognize four different installation modes 2020-09-04 14:06:31 +02:00
Mariusz Nowak
146d9acaa5 test: Refactor to rely on fixtures setup 2020-09-04 14:06:31 +02:00
Mariusz Nowak
7accad6eb9 refactor: Prevent is local detection on locally installed 2020-09-04 14:06:31 +02:00
Mariusz Nowak
11fb8889c8 refactor: Remove update-notifier notifications
They're replaced with backend notifications, through which we can notify about updates across different major releases
2020-09-03 17:19:20 +02:00
Piotr Grzesik
e55fc36e1a
feat(Config Schema): Schema for AWS iot event (#8177) 2020-09-03 09:26:12 +02:00
Mariusz Nowak
6dd0596286 fix: Revert from frameworkVersion requirement 2020-09-02 18:33:00 +02:00
Mariusz Nowak
3b294fb1db refactor(AWS HTTP API): Convert "timeout" usage warnings to deprecations 2020-09-02 15:24:11 +02:00
Frédéric Barthelet
72e77f5755
fix(Config Schema): Fix "Fn:Sub" function definition (#8174) 2020-09-02 15:03:51 +02:00
Mariusz Nowak
3089abc5c4 feat(Templates): Ensure "frameworkVersion" in all templates
As it's now a required setting when relying on globally installed "serverless"
2020-09-02 14:37:49 +02:00
Mariusz Nowak
0d5a480fd0 fix: Fix handling of invalid range put into frameworkVersion
Invalid `frameworkVersion` in all cases made `semver.satisfy` to return false.
It's confusing e.g. for cases where we put number 1 instead of string "1" as `frameworkVersion` and that's considered as invalid value
2020-09-02 14:37:49 +02:00
Mariusz Nowak
9f7f9d3983 feat(CLI): Announce frameworkVersion requirement 2020-09-02 13:04:59 +02:00
Mariusz Nowak
9cb86a4af2 refactor: Automatically align multiline deprecations 2020-09-02 13:04:59 +02:00
Mariusz Nowak
246e4a6756 feat(Analytics): Introduce "isLocallyInstalled" characteristics 2020-09-02 13:04:59 +02:00
Mariusz Nowak
9fb62f1138 feat(CLI): Optionally fallback to local installation of "serverless" 2020-09-02 13:04:59 +02:00
Mariusz Nowak
cec808bcdb test: Improve handling of triggeredDeprecations 2020-09-02 13:04:59 +02:00
Frédéric Barthelet
453b802640
feat(AWS HTTP API): Support CF functions at httpApi.authorizer.id
(PR #8171)
2020-09-02 12:57:50 +02:00
Frédéric Barthelet
f3083828b4
fix(Templates): Rename vscode to .vscode folder (#8168) 2020-09-02 11:58:56 +02:00
Mariusz Nowak
6d7103da02 refactor: Seclude IAM role resource name resolution logic 2020-09-02 10:56:18 +02:00
Mariusz Nowak
c0fb04af3d fix: Fix handling of pre-releases in frameworkVersion validation 2020-09-02 10:06:18 +02:00
Joaquín Ormaechea
7aad819378
feat(AWS API Gateway): Allow to opt-out from default request templates
(PR #8159)
2020-09-01 16:15:33 +02:00
Frédéric Barthelet
06ed01b874
feat(AWS Local Invocation): Resolve "Fn::ImportValue" instructions in env vars
(PR #8157)
2020-09-01 14:53:08 +02:00
Frédéric Barthelet
87fd3c17fb
feat(Config Schema): Configure schema for AWS sns event (#8112) 2020-09-01 12:53:26 +02:00
Mariusz Nowak
56aa5aa15a feat(Standalone): Prevent accidental upgrades to a new major 2020-08-31 15:23:58 +02:00
Mariusz Nowak
230f34aa99 refactor(CLI): Do not notify of update when new major is published
Notifications about new major releases would be more intelligently solved by backend notifications
2020-08-31 15:23:58 +02:00
Mariusz Nowak
83c4b167ee feat(Analytics): Send info on reported deprecations 2020-08-31 15:23:58 +02:00
Mariusz Nowak
1abb3c05b5 refactor(CLI): Improve presentation of multi-line backend notifications 2020-08-31 15:23:58 +02:00
Viacheslav Dobromyslov
40fb8ae112
feat(Templates): Upgrade google-nodejs template (#8152)
Updated NodeJS to 10 version. NodeJS 8 is deprecated in Google Cloud Functions.
2020-08-31 10:57:34 +02:00
Mariusz Nowak
8c3c7c4e3a chore: Rename "tests" folder to "test"
Also upgrade @serverless/eslint-config to v2
2020-08-28 16:22:09 +02:00
Mariusz Nowak
6d7e967227 refactor(Config Schema): Treat "resources" as fully provider specific 2020-08-28 14:17:54 +02:00
Mariusz Nowak
c79cae2308 refactor(Config Schema): Define AWS definitions in context of provider 2020-08-28 14:17:54 +02:00
Mariusz Nowak
af603198a1 fix(Config Schema): Ensure to validate direct config where applicable 2020-08-28 14:17:54 +02:00
Mariusz Nowak
2561ae800e
fix(packaging): Ensure to include "aws-sdk" dependency if installed (#8145)
Latest version of "aws-sdk" do not necessarily aligns with one available in Lambda environment.
Users may intentionally install latest version to ensure they have access to latest features

This reverts commit f45da3c7b168d34e7d3c520068dc24364753a74a.
2020-08-28 14:09:23 +02:00
Mariusz Nowak
f9bcaaead9 refactor(AWS Deploy): Replace 'async' dependency 2020-08-25 19:47:40 +02:00
Mariusz Nowak
27b1221c5f test: Improve error handling 2020-08-25 19:47:40 +02:00
Piotr Grzesik
149f64ad1c
feat(AWS Lambda): Support EFS attachment (#8042) 2020-08-25 17:48:19 +02:00
Mariusz Nowak
c64d6d5f01
test: Ensure result of tests does not depend on package version 2020-08-25 14:28:40 +02:00
Frédéric Barthelet
796ce0b5dd
feat(Config Schema): AWS eventBridge schema validation (#8114) 2020-08-21 16:06:51 +02:00
Mariusz Nowak
7f04819916 refactor(Config Schema): Rename cfImport definition to awsCfImport 2020-08-21 15:46:35 +02:00
Sedat Can Yalçın
258c692c47
perf(Packaging): Remove aws-sdk installation step (#8110) 2020-08-21 15:03:12 +02:00