8407 Commits

Author SHA1 Message Date
Mariusz Nowak
bd7dece8ce refactor: Rename lib/classes/Service.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
b587edfc6f refactor: Remove lib/classes/Error.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
63961a537f refactor: Rename lib/classes/Config.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
4a97648626 refactor: Rename lib/classes/CLI.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
7289137073 refactor: Rename lib/Serverless.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
c6300fbc24 refactor: Rename …mResources/resources/event-bridge/lib/eventBridge.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
a55a48fdec refactor: Rename lib/plugins/aws/customResources/resources/eventBridge 2022-01-27 15:21:58 +01:00
Mariusz Nowak
5cc98ca676 refactor: Rename …s/customResources/resources/apiGatewayCloudWatchRole 2022-01-27 15:21:58 +01:00
Mariusz Nowak
8da00202f2 refactor: Rename …esources/resources/cognito-user-pool/lib/userPool.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
227191f59b refactor: Rename …lugins/aws/customResources/resources/cognitoUserPool 2022-01-27 15:21:58 +01:00
Mariusz Nowak
fc0eb5aebc refactor(Templates): Unify file naming convention 2022-01-27 15:21:58 +01:00
Mariusz Nowak
73b1886040 refactor: Adapt to rename in @serverless/dashboard-plugin 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
e142254056 refactor(CLI): Seclude uncaught exception handling 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
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
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
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
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