948 Commits

Author SHA1 Message Date
Mariusz Nowak
cab3e58839 refactor: Rename lib/utils/createFromTemplate.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
96202a7838 refactor: Rename lib/utils/awsSdkPatch.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
78184571b6 refactor: Rename lib/classes/ConfigSchemaHandler 2022-01-27 15:21:58 +01:00
Piotr Grzesik
1cb6a2ff2d refactor: Remove legacy logs 2022-01-27 15:21:58 +01:00
Mariusz Nowak
d62c3288b2 feat: Unconditionally fallback when local installation found
BREAKING CHANGE:
`enableLocalInstallationFallback` configuration property is no longer supported.
2022-01-27 15:21:58 +01:00
Mariusz Nowak
38fe60e042 refactor(CLI): Convert isLocallyInstalled to export result directly 2022-01-27 15:21:58 +01:00
Mariusz Nowak
fdf25aab44 refactor: Move isLocalyInstalled util to CLI context 2022-01-27 15:21:58 +01:00
Mariusz Nowak
c18e1b308b refactor(CLI): Export resolved local installation path directly 2022-01-27 15:21:58 +01:00
Mariusz Nowak
5fc55c0464 refactor: Replace ncjsm/resolve usage with native createRequire 2022-01-27 15:21:58 +01:00
Piotr Grzesik
ae169f564a refactor(Telemetry): Include paramsCount in telemetry 2022-01-27 15:21:58 +01:00
Mariusz Nowak
b4a25d70d3 feat: Remove tab autocomplete feature
Reasoning:
- Performance is very poor due to slow command startup time
- `tabtab` package is no longer maintained and shares security issues
- Feature usage is relatively low (telemetry data shows 7% of users has the autocompletion on)

BREAKING CHANGE:
Opt-in tab-tab autocompletion feature is removed due to performance and security issues
2022-01-27 15:21:58 +01:00
Mariusz Nowak
6f3a632773 feat(AWS IAM): Deprecate IAM settings grouped directly at provider 2022-01-27 15:21:58 +01:00
Piotr Grzesik
05fb97fdab refactor: Refactor direct use of @serverless/utils/log 2022-01-19 11:59:39 +01:00
Piotr Grzesik
82303b3894 refactor: Ensure support for warn mode for modern deprecations 2022-01-14 13:34:58 +01:00
Mariusz Nowak
80fef65397 refactor(CLI): Upgrade to v7 of open library
It's to unify open browser method with dashboard plugin, and this method feels more solid
2022-01-06 14:48:40 +01:00
Mariusz Nowak
7b360386ea refactor(CLI): Ensure telemetry logs are issued at debug level 2021-12-28 16:17:16 +01:00
Mariusz Nowak
5a451ad024 refactor: Replace internal old logging utils with modern interface 2021-12-23 16:21:47 +01:00
Piotr Grzesik
0de3bc3cb9 feat(Telemetry): Report projectId in remove command 2021-12-23 16:11:15 +01:00
Piotr Grzesik
4fa20a56ea feat(Telemetry): Report didCreateService property 2021-12-23 12:51:04 +01:00
Piotr Grzesik
08b5acbaa9 refactor(Telemetry): Ensure to report projectId for interactive 2021-12-23 12:51:04 +01:00
Piotr Grzesik
92ae054f02 feat(Standalone): Support installation on M1-based Macs 2021-12-08 14:23:47 +01:00
Piotr Grzesik
cc7d7e4d53 feat(Telemetry): Add projectId to payload 2021-11-03 10:08:32 +01:00
Mariusz Nowak
44484903b3 refactor(CLI): Improve file size output in logs 2021-10-27 16:39:09 +02:00
Mariusz Nowak
a0306365fc fix(CLI): Handle gently case where temp folder is on other device 2021-10-20 16:15:54 +02:00
Mariusz Nowak
452e234306 refactor(CLI): doctor command for modern handling of deprecations 2021-10-20 10:40:54 +02:00
Mariusz Nowak
006cec5f2c refactor(CLI): Improve logic 2021-10-20 10:40:54 +02:00
Piotr Grzesik
2217158764 refactor(CLI): Support decoratedMessage on ServerlessError 2021-10-19 13:36:51 +02:00
Piotr Grzesik
4da0899673 refactor(CLI): Replace warnings with modern counterparts 2021-10-15 11:09:35 +02:00
Piotr Grzesik
be00a2672c refactor(CLI): Replace process.stdout use with modern logs 2021-10-14 12:26:25 +02:00
ROSeaboyer
8e6dcd1aae
feat(AWS S3): Recognize ExpirationInDays property for s3 events 2021-10-13 16:03:01 +02:00
Piotr Grzesik
bd4d215266 refactor(CLI): Modern logs for install command 2021-10-01 16:32:38 +02:00
Mariusz Nowak
1a3ccdbef8 fix(CLI): Fix handling when local serverless is removed in command run 2021-09-28 17:16:17 +02:00
Mariusz Nowak
5a583a9798 fix(Standalone): Fix internal npm installation handling 2021-09-28 10:24:54 +02:00
Piotr Grzesik
7eba95fcb7 feat(CLI): Add deprecation summary for modern logs 2021-09-15 16:45:16 +02:00
Sudipto Das
f431218790
refactor: Replace fse.readFile with fs.promises.readFile (#9935) 2021-09-10 12:00:44 +02:00
Sudipto Das
05fff98a00
refactor: Replace fse.writeFile with fs.promises.writeFile (#9870) 2021-08-30 11:08:47 +02:00
Piotr Grzesik
00fdba1546 refactor(Telemetry): Recognize notificationsMode 2021-08-17 21:02:09 +02:00
Sudipto Das
bb0484e6b5
refactor: Replace fse.stat with fs.promises.stat (#9845) 2021-08-16 15:39:01 +02:00
Mariusz Nowak
847dd8f475 feat(AWS IAM): Resign from deprecating old format of IAM settings 2021-08-09 12:23:52 +02:00
Piotr Grzesik
7c51f55f5b
refactor(CLI): Change formatting of notifications (#9807) 2021-08-06 12:47:09 +02:00
Nyambayar Turbat
48c3d990be
refactor: Use async in lib/utils (#9809) 2021-08-06 12:40:23 +02:00
Piotr Grzesik
60d729b5d4 feat(Telemetry): Detect used variable sources 2021-07-28 13:18:31 +02:00
Sudipto Das
1e00f9edfb
refactor: Replace fse.readdir with fs.promises.readdir (#9780) 2021-07-26 14:36:44 +02:00
Sudipto Das
daee1d5375
refactor: Replace fse.unlink with fs.promises.unlink (#9754) 2021-07-16 09:27:13 +02:00
Mariusz Nowak
9cea555e88 refactor(Telemetry): Report whether we're in context of TTY terminal 2021-07-07 18:32:44 +02:00
Piotr Grzesik
e65199c052 refactor(Telemetry): Ensure generation and related utils are sync 2021-07-06 11:24:21 +02:00
Mariusz Nowak
9b624a5067 feat(CLI): New warn:summary (default) deprecations logging mode
To avoid confusion, in case of local fallback always resort to `warn`
2021-07-05 22:15:50 +02:00
Mariusz Nowak
07a69a836c refactor: Make deprecations default mode internally modifyable 2021-07-05 22:15:50 +02:00
Piotr Grzesik
cc24bc2ae2 refactor(Telemetry): Report commandUsage as object 2021-07-05 14:13:32 +02:00
Sudipto Das
3500f641f5
refactor: Replace fse.createWriteStream with fs.createWriteStream 2021-07-05 09:49:04 +02:00