14893 Commits

Author SHA1 Message Date
Mariusz Nowak
f103cbeffb refactor(CLI): Comment typo 2022-01-27 15:21:58 +01:00
Mariusz Nowak
6b26a7d360 refactor(CLI): Unify finalization of a process handling 2022-01-27 15:21:58 +01:00
Mariusz Nowak
f51f9a5fb9 refactor(CLI): Simplify deploy function args patch 2022-01-27 15:21:58 +01:00
Mariusz Nowak
350ef1257a refactor(CLI): Extend processSpanPromise span 2022-01-27 15:21:58 +01:00
Mariusz Nowak
e142254056 refactor(CLI): Seclude uncaught exception handling 2022-01-27 15:21:58 +01:00
Mariusz Nowak
6a84560405 refactor(CLI): Move var declaration 2022-01-27 15:21:58 +01:00
Piotr Grzesik
1cb6a2ff2d refactor: Remove legacy logs 2022-01-27 15:21:58 +01:00
Matthieu Napoli
fd1669ea7a docs: Updates for the v3 release 2022-01-27 15:21:58 +01:00
Mariusz Nowak
e61124a7d4 refactor: Remove internal suppressLogIfPrintCommand method 2022-01-27 15:21:58 +01:00
Mariusz Nowak
e61674f8dc feat(Dashboard): Drop support for tenant
BREAKING CHANGE:
`tenant` configuration setting is no longer respected. Ensure to rely on `org` instead
2022-01-27 15:21:58 +01:00
Mariusz Nowak
731b3ba1e1 feat(Variables): Remove old variables resolver
BREAKING CHANGE:
Old variables resolver is permanently removed. Any resolution error as approached with current resolver is assumed as final (there's no longer fallback to old resolver)
2022-01-27 15:21:58 +01:00
Mariusz Nowak
79820d6191 feat(CLI): Deprecate recognition of projectDir configuration setting 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
870a116bb1 refactor: Rely on require.resolve to detect wether module exist 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
Mariusz Nowak
3df6d15664 feat: Expose sls doctor command 2022-01-27 15:21:58 +01:00
Piotr Grzesik
420d124fd3 refactor(Config Schema): Do not rely on ajv-keywords (#10490) 2022-01-27 15:21:58 +01:00
Piotr Grzesik
4dbb496506 refactor(CLI Onboarding): Download templates from v3 examples branch 2022-01-27 15:21:58 +01:00
Mariusz Nowak
bdce13e364 feat: Remove @serverless/cli CLI integration
BREAKING CHANGE:
Serverless Components v1 (`@serverless/cli`) CLI is no longer integrated with Framework CLI.
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
Piotr Grzesik
1e77417026 refactor(CLI): Improve progress for CloudFormation updates 2022-01-27 15:21:58 +01:00
Piotr Grzesik
766b58da61 refactor: Upgrade ajv to v8 along with related packages 2022-01-27 15:21:58 +01:00
Mariusz Nowak
d0d0161685 refactor(CLI): Improve post install log to reflect modern style 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
bd506286ad feat: Support params configuration 2022-01-27 15:21:58 +01:00
Mariusz Nowak
5374e04503 feat: Restrict stage name with pattern 2022-01-27 15:21:58 +01:00
Piotr Grzesik
82b373e9c7 refactor(AWS Deploy): Use change sets in CF deployments 2022-01-27 15:21:58 +01:00
Mariusz Nowak
a196e0403e feat(CLI): Deprecate missing options schema 2022-01-27 15:21:58 +01:00
Mariusz Nowak
96015a11f6 feat(Standalone): Upgrade npm to v8 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
Mariusz Nowak
b40838630c feat(Config Schema): Deprecate warn as a validation mode default 2022-01-27 15:21:58 +01:00
Mariusz Nowak
62017754f7 feat(Packaging): Deprecate package.include and package.exclude 2022-01-27 15:21:58 +01:00
Mariusz Nowak
b5069ef8cb feat(CLI): Deprecate support for deploy -f alias 2022-01-27 15:21:58 +01:00
Mariusz Nowak
da0e4637f3 refactor(CLI): Seclude paramRegExp 2022-01-27 15:21:58 +01:00
Mariusz Nowak
2746b854bb refactor: Remove evaluation of deprecated lifecycle events
BREAKING CHANGE:
Lifecycle events marked as deprecated (in context of v1) are no longer evaluated
2022-01-27 15:21:58 +01:00
Mariusz Nowak
eedaa2469f feat(CLI): Simplify CLI args parsing to <command> <options> format
BREAKING CHANGE:
CLI params put before command tokens are no longer recgonized (e.g. `sls -f <function-name> deploy function` will no longer work). In all cases construct CLI args in `sls <command> <options>` order
2022-01-27 15:21:58 +01:00
Mariusz Nowak
bd6fd4fc3d feat(CLI): Register -v as global --version alias 2022-01-27 15:21:58 +01:00
Mariusz Nowak
a4e5e5f3e3 feat: Remove @serverless/components CLI integration
BREAKING CHANGE:
Serverless Components (`@serverless/components`) CLI is no longer integrated with Framework CLI.
2022-01-27 15:21:58 +01:00
Mariusz Nowak
a646135118 feat(CLI): Support serverless-tencent CLI 2022-01-27 15:21:58 +01:00
Piotr Grzesik
9a834152a9 feat(AWS Lambda): Change default hashing algorithm
BREAKING CHANGE: Default lambda hashing algorithm was changed to `20201221`
2022-01-27 15:21:58 +01:00
Mariusz Nowak
dc0bf5c9aa feat(CLI): Global --debug flag for debug logging 2022-01-27 15:21:58 +01:00
Mariusz Nowak
5194030462 feat(CLI): Global --verbose flag for verbose logging 2022-01-27 15:21:58 +01:00
Piotr Grzesik
38412ce88b feat: Simplify logs command output 2022-01-27 15:21:58 +01:00
Mariusz Nowak
7abbde611c feat(AWS Lambda): Remove support for obsolete runtimes
BREAKING CHANGE: Runtimes `nodejs10.x`, `python2.7`, `ruby2.5` and
`dotnetcore2.1` reached end of support on AWS and are no longer recognized
in configuration.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
fcd386b33b feat: Disallow custom nested configuration path
BREAKING CHANGE: Custom nested configuration paths will no longer be
supported and such usage will result in an error.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
d4222c10cf feat(AWS API Gateway): Error on tracing or logs set for external API
BREAKING CHANGE: Enabling logs or tracing for imported API Gateway will
now result in an error instead of warning
2022-01-27 15:21:58 +01:00
Mariusz Nowak
30a3be8de7 feat: Do not decorate cli.log logs 2022-01-27 15:21:58 +01:00