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
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
Piotr Grzesik
9912939432
feat: Remove studio command schema
...
BREAKING CHANGE: Remove `studio` command schema
2022-01-27 15:21:58 +01:00
Piotr Grzesik
fe1a2db773
feat(CLI): Remove support for unrecognized cli options
...
BREAKING CHANGE: Unrecognized CLI options will no longer be supported and
will result in an error.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
16f2159761
feat(AWS EventBridge): Change default deployment method to native CF
...
BREAKING CHANGE: By default, EventBridge resources now will be deployed using
native CloudFormation resources instead of Custom Resources.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
786a76d1dd
feat(AWS API Gateway): Change default identity source for authorizers
...
BREAKING CHANGE: For authorizers with `request` type and caching disabled
(`resultTtlInSeconds: 0`), the `identitySource` will no longer be set to
`method.request.header.Authorization` by default.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
46e47d0225
feat: Remove support for object notation for service
...
BREAKING CHANGE: Object notation is no longer supported for `service` property.
Set name directly to `service`.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
33bd501f06
feat: Error instead of warning when missing "commands" or "options"
...
BREAKING CHANGE: When creating `Serverless` class instance programatically,
both "options" and "commands" have to be passed via "config" to the constructor.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
bd3ec28273
feat(AWS API Gateway): Remove API specific settings from provider
...
BREAKING CHANGE: Support for `usagePlan`, `resourcePolicy` and `apiKeys` on
`provider` level is removed. Use `provider.apiGateway` level instead to set
them.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
8d803e3392
feat(AWS Alexa): Remove support for alexaSkill without appId
...
BREAKING CHANGE: Support for simple `alexaSkill` event was removed and now
`appId` is required for all `alexaSkill` events.
2022-01-27 15:21:58 +01:00