Mariusz Nowak
53a7872f78
fix(Variables): Fix unresolved sources resolver
2021-04-23 10:22:48 +02:00
Jacques
154351f1a5
fix(AWS API Gateway): Create one request validator and reuse ( #9319 )
2021-04-22 11:59:17 +02:00
Joseph Cha
7e139bb013
feat(AWS CloudFormation): Add default export names to outputs ( #9313 )
2021-04-22 11:45:57 +02:00
AlinoeDoctari
80eb46c8d3
test: Refactor base aws provider credentials test ( #9328 )
2021-04-21 10:15:39 +02:00
Piotr Grzesik
f4302249a9
fix(Telemetry): Do not send request when there are no events
2021-04-20 15:39:48 +02:00
Matthieu Napoli
ef91ae1972
feat(Variables): sls:stage variable ( #9296 )
...
A shortcut to
```
${opt:stage, self:provider.stage, "dev"}
```
2021-04-20 15:37:57 +02:00
Mariusz Nowak
ff589baef4
fix(API): Ensure serverless.config.servicePath
...
Accidentally removed with #9307
2021-04-20 14:54:49 +02:00
Mariusz Nowak
fefbc20c2f
test: Improve titles
2021-04-20 14:54:49 +02:00
Mariusz Nowak
c63244ce96
fix(Variables): Clear escape slashes
...
New variables engine supports escape syntax (so e.g. "\${foo:}" was not recognized as variable notation.
Still there was no logic that would clear "\" characters. This patch fixes that
2021-04-20 10:28:06 +02:00
Mariusz Nowak
014ff949b7
fix(CLI): Recognize --aws-profile option by schema
2021-04-19 16:46:53 +02:00
Piotr Grzesik
d3ecb7cc3b
feat(Telemetry): Record all commands and send only on deploy
2021-04-19 16:18:24 +02:00
Piotr Grzesik
cde1e54878
feat(Telemetry): Adjust generatePayload for service-agnostic command
2021-04-19 16:18:24 +02:00
Piotr Grzesik
5be1fd0486
feat(Telemetry): Do not send request during storeLocally
2021-04-19 16:18:24 +02:00
Piotr Grzesik
bd4e792594
refactor(Telemetry): Rename report to storeLocally
2021-04-19 16:18:24 +02:00
Piotr Grzesik
70175857c9
refactor(Telemetry): Rename sendPending to send
2021-04-19 16:18:24 +02:00
Android3000
d1c3b3fbac
fix(AWS IAM): Deprecate 'iam.role.permissionBoundary' ( #9318 )
2021-04-19 13:36:58 +02:00
Mariusz Nowak
712a569d52
feat(Variables): serviceDir option as replacement for servicePath
...
Support for `servicePath` is maintained until next major
2021-04-16 13:32:13 +02:00
Mariusz Nowak
10f956777c
test: Rename servicePath to serviceDir
2021-04-16 13:32:13 +02:00
Mariusz Nowak
42ca807079
test: Clear obsolete assignment
2021-04-16 13:32:13 +02:00
Mariusz Nowak
87d380275b
refactor: Replace config.servicePath with service.dir
2021-04-16 13:32:13 +02:00
Mariusz Nowak
fc3a4391b5
refactor: Introduce serviceDir and configurationFilename
...
In place of `configurationPath`
2021-04-16 13:32:13 +02:00
Mariusz Nowak
30b6fd9bbc
test(Packaging): Replace execSync with child-process-ext/spawn
2021-04-16 13:32:13 +02:00
Mariusz Nowak
b85b074f6e
test(Packaging): Replace echo command with fs.appendFile
2021-04-16 13:32:13 +02:00
Mariusz Nowak
b301ac1ed0
test(Packaging): Switch to async fse.copy
2021-04-16 13:32:13 +02:00
Mariusz Nowak
ebb44fc0a1
test(Packaging): Refactor to async/await
2021-04-16 13:32:13 +02:00
Piotr Grzesik
d66711108b
refactor(Telemetry): Rename analytics to telemetry
2021-04-16 10:45:56 +02:00
Piotr Grzesik
f805786d7c
feat: Bring back support for serverlessExecutionSpan
2021-04-15 17:08:48 +02:00
Piotr Grzesik
8c6be158d7
refactor: Use async/await in analytics test
2021-04-15 17:08:48 +02:00
Piotr Grzesik
278935d3f5
feat(Analytics): Send all payloads with single request
2021-04-15 17:08:48 +02:00
Piotr Grzesik
3e913fafd4
feat(Analytics): Remove handling of obsolete serverlessExecutionSpan
2021-04-15 17:08:48 +02:00
AlinoeDoctari
196776c65e
refactor: Refactor aws provider tests for prefixes ( #9301 )
2021-04-15 14:15:35 +02:00
Piotr Grzesik
ef25d68137
fix(AWS API Gateway): Correctly recognize type for authorizerId
2021-04-14 10:48:01 +02:00
Mariusz Nowak
088088c1d3
refactor(CLI): Validate service dependency in CLI context
2021-04-14 09:56:42 +02:00
Piotr Grzesik
8aa275725b
refactor: Use async/await in PluginManager
2021-04-13 09:15:30 +02:00
AlinoeDoctari
70dbada1a7
test: Refactor tests for setting profile of aws provider ( #9292 )
2021-04-13 09:07:52 +02:00
Piotr Grzesik
d26e2ae4b8
refactor(AWS Credentials): Remove undocumented provider.credentials
2021-04-13 09:04:57 +02:00
Gabriel Plassard
2cb81608c8
feat(AWS ALB): Support functions[].events[].alb.targetGroupName ( #9222 )
2021-04-12 17:47:01 +02:00
Piotr Grzesik
0f998f3961
test: Adjust tests to use new runServerless syntax
2021-04-09 19:53:50 +02:00
AlinoeDoctari
376ff84cd0
test: Refactor test for getCredentials for aws provider ( #9270 )
2021-04-09 17:31:16 +02:00
Mariusz Nowak
2d1b56b59f
test: Upgrade to new runServerless version
2021-04-09 16:10:21 +02:00
Mariusz Nowak
a2f1808b2f
refactor(Variables): Testing purpose variable resolution util
2021-04-09 16:10:21 +02:00
Mariusz Nowak
1e352962a4
test(AWS Local Invocation): Cleanup env vars test
2021-04-09 16:10:21 +02:00
Mariusz Nowak
688d09b1f7
refactor: Remove support for internal noDeploy option
2021-04-09 16:10:21 +02:00
Yuji Yamano
34d2c2feac
fix(AWS Local Invocation): Strip null envvars for local invoke ( #9263 )
2021-04-09 10:54:55 +02:00
Piotr Grzesik
50e4425883
fix(AWS API Gateway): Proper stage resolution for custom resource
2021-04-09 10:44:35 +02:00
Piotr Grzesik
dac06c8ce6
fix(AWS API Gateway): Do not attempt to remove aws: tags during update
2021-04-08 14:15:11 +02:00
Nicholas Wehr
341a886874
feat(AWS Lambda): Add support for cacheFrom to images ( #9251 )
2021-04-08 10:56:24 +02:00
Adam Pancutt
88baf06b42
fix: Avoid re-registration of ts-node ( #9254 )
2021-04-07 14:09:53 +02:00
Piotr Grzesik
c88a2ea61a
feat: Account for functions with containers for analytics
2021-04-07 13:49:59 +02:00
Nicholas Wehr
efd32d4725
feat(AWS Lambda): Add support for buildArgs to images ( #9198 )
2021-04-07 09:33:08 +02:00