Mariusz Nowak
4c36753507
fix(Config Schema): Recognize string value at DependsOn
2020-09-15 09:45:38 +02:00
Frédéric Barthelet
1fb338b184
feat(Config Schema): Schema for AWS stream event ( #8201 )
2020-09-14 15:46:13 +02:00
Michael Wolfenden
6961b629e7
fix(Config Schema): Fix CF template extension Transformschema ( #8229 )
2020-09-14 15:02:51 +02:00
Mariusz Nowak
3177e40cee
fix: Ensure to memoize config file resolution by instance
...
Memoizing by service name doesn't work when test configuration changes in same process
2020-09-14 14:15:12 +02:00
Geoff Baskwill
16bae33744
fix: Support Condition attribute in resources.extensions ( #8217 )
2020-09-10 16:54:13 +02:00
Mariusz Nowak
9f5a07793a
refactor(Templates): Upgrade frameworkVersion
2020-09-10 14:47:33 +02:00
Mariusz Nowak
1cfd1f25a2
feat(AWS HTTP API): Drop support for timeout setting
...
BREAKING CHANGE:
`timeout` setting as configured directly for `httpApi` event, is no longer supported. Timeout value is now unconditionally resolved from function timeout setting. It's to guarantee that configured endpoint has necessary room to process function invocation
2020-09-10 13:26:17 +02:00
Mariusz Nowak
615b10b7b1
test(Packaging): Ensure test is deterministic
2020-09-10 13:26:17 +02:00
Mariusz Nowak
1beb8d0246
refactor: Replace mkdrip with esnureDir from fs-extra
2020-09-10 13:26:17 +02:00
Mariusz Nowak
861686bbea
refactor: Refactor to async/await
2020-09-10 13:26:17 +02:00
Mariusz Nowak
dfc78396c7
feat(CLI): Fallback to service local serverless installation by default
...
BREAKING CHANGE:
When globally installed `serverless` CLI is invoked in a context of a service, which has locally installed (in its `node_modules`) `serverless`. The locally installed CLI will be (by default) run instead of a global one.
2020-09-10 13:26:17 +02:00
Mariusz Nowak
0597cfb7b3
chore: Upgrade ESLint configuration to support ES2019 syntax
2020-09-10 13:26:17 +02:00
morgan-sam
7c304df5ff
feat(AWS ALB): Remove support for authorizers[].allowUnauthenticated
...
BREAKING CHANGE:
Support for `providers.alb.authorizers[].allowUnauthenticated` setting was removed. Rely on `providers.alb.authorizers[].onUnauthenticatedRequest` instead.
(PR #8160 )
2020-09-10 13:26:17 +02:00
Christian Musa
33eef9f06b
feat(CLI): Remove "slss", "serverless" command alias ( #8161 )
...
BREAKING CHANGE:
`slss` alias for `serverless` CLI ommand was removed. Rely on `sls` instead
2020-09-10 13:26:17 +02:00
andreizet
1596738cf9
feat(AWS HTTP API): Switch default payload mode to 2.0 ( #8133 )
...
BREAKING CHANGE:
In AWS HTTP API events (`httpApi`) default `payload` was changed from `1.0` to `2.0`
2020-09-10 13:26:17 +02:00
Christian Musa
c620af3cd6
fix(Packaging): Fix resolution of files with '.' In their names ( #8130 )
2020-09-10 13:26:17 +02:00
Piotr Grzesik
e131f2661d
refactor(AWS Lambda): Remove support for async config on destination
...
(PR #8138 )
BREAKING CHANGE
Support for `maximumEventAge` and `maximumRetryAttemps` as set on `functions[].destinations` was removed.
Those properties should be defined directly on `functions[]`
2020-09-10 13:26:17 +02:00
Mariusz Nowak
34775627f2
fix(Config Schema): Recognize Condition on resource configuration
2020-09-10 11:49:34 +02:00
Mariusz Nowak
c370295be6
refactor(Config Schema): Move docs to website page
2020-09-10 10:49:02 +02:00
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