13982 Commits

Author SHA1 Message Date
Mariusz Nowak
53a7872f78 fix(Variables): Fix unresolved sources resolver 2021-04-23 10:22:48 +02:00
Mariusz Nowak
6425e4ae49 refactor(CLI): Improve inner flow documentation 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
Mariusz Nowak
fcacb7c4ac chore: Release v2.37.2 v2.37.2 2021-04-22 09:52:48 +02:00
Mariusz Nowak
50b0be3e79 chore: Bump dependencies 2021-04-22 09:52:48 +02:00
Eric Frick
26288bb5aa
docs: Update quick-start.md typos (#9350)
Minor grammar updates.
2021-04-22 09:47:35 +02:00
Mariusz Nowak
6c896a5ffd fix(API): Bring back legacy service.serviceFilename for plugins 2021-04-22 09:14:26 +02:00
Piotr Grzesik
182d563da9 chore: Release 2.37.1 v2.37.1 2021-04-21 17:28:11 +02:00
Piotr Grzesik
0fb06f5822 chore: Bump dependencies 2021-04-21 17:28:11 +02:00
Mariusz Nowak
2967065bc7 fix(API): Ensure config.servicePath is config.serviceDir live alias 2021-04-21 17:14:27 +02:00
Piotr Grzesik
aa89357a0b docs(Telemetry): Add documentation about telemetry and notifications 2021-04-21 14:30:51 +02:00
Piotr Grzesik
ba7fd2e1b4 feat(Telemetry): Allow to disable telemetry via SLS_TELEMETRY_DISABLED 2021-04-21 14:30:51 +02:00
AlinoeDoctari
80eb46c8d3
test: Refactor base aws provider credentials test (#9328) 2021-04-21 10:15:39 +02:00
Piotr Grzesik
df592f2263 chore: Release 2.37.0 v2.37.0 2021-04-20 15:59:20 +02:00
Mariusz Nowak
40fddcc0ee fix(CLI): Ensure to recognize interactive CLI command properly 2021-04-20 15:41:26 +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
c4c60d1952 chore: Configure API commit scope 2021-04-20 14:54:49 +02:00
Piotr Grzesik
303d16e7c4 chore: Release 2.36.0 v2.36.0 2021-04-20 11:20:23 +02:00
Piotr Grzesik
733511bc4d chore: Bump dependencies 2021-04-20 11:20:23 +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
0f30125189 refactor(Telemetry): Make getServiceConfig return only config prop 2021-04-19 16:18:24 +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
cbc4627dfe feat(Telemetry): Remove send invocation from serverless script 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
Yuji Yamano
924a698d2a
fix(AWS Local Invocation): Allow optional package.artifact for java 2021-04-19 13:00:32 +02:00
Jaakko Lappalainen
bca46e5ab5
fix(AWS API Gateway): Deprecate invalid apiGateway settings (#9238) 2021-04-19 09:40:15 +02:00
Ryan Morey
db01173155
docs: Document support for service-wide layers (#9308) 2021-04-19 09:34:44 +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
e8c8f1cfff refactor: Rename servicePath vars to serviceDir 2021-04-16 13:32:13 +02:00
Mariusz Nowak
c02cd06d90 feat: Refactor constructor to accept new service configuration options
`serviceDir` and `configurationFilename` options are favored over of `configurationPath`
2021-04-16 13:32:13 +02:00
Mariusz Nowak
7fb55b64dd refactor: Remove config.update usage 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