14965 Commits

Author SHA1 Message Date
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
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
Piotr Grzesik
650ed37db3 feat(AWS HTTP API): Deprecate provider.httpApi.useProviderTags 2022-01-27 15:21:58 +01:00
Piotr Grzesik
afc0955093 feat(AWS HTTP API): Always apply provider.tags to HTTP API
BREAKING CHANGE: Tags from `provider.tags` are applied by default to HTTP API
Gateway.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
dcc9fc0cab feat(AWS API Gateway): Remove support for request.schema
BREAKING CHANGE: Support for `http.request.schema` has been removed and replaced
with `http.request.schemas`.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
b5e6857c83 feat(CLI): Remove -v alias for --verbose flag
BREAKING CHANGE: The `--verbose` CLI flag does no longer support `-v` alias
2022-01-27 15:21:58 +01:00
Piotr Grzesik
ff9bbb0ff4 feat(AWS CloudFront): Remove support for deprecated behavior props
BREAKING CHANGE: Support for `MinTTL`, `MaxTTL`, `DefaultTTL` and
`ForwardedValues` on `cloudfront.behavior` has been removed.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
b24ab3c059 feat: Throw error on duplicated plugin definition
BREAKING CHANGE: Duplicate plugin definition in configuration will now result
in an error instead of a warning.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
98848ab4fc feat: Throw for --aws-s3-accelerate when custom bucket used
BREAKING CHANGE: Using `--aws-s3-accelerate` flag will result in an error
instead of deprecation when custom S3 bucket is used.
2022-01-27 15:21:58 +01:00
Piotr Grzesik
7474746a8e feat: Remove support for provider.disableDefaultOutputExportNames
BREAKING CHANGE: Removed support for `provider.disableDefaultOutputExportNames`
2022-01-27 15:21:58 +01:00
Piotr Grzesik
c71bab3cd4 feat(AWS Lambda): Change default runtime to nodejs14.x
BREAKING CHANGE: Default runtime has been changed from `nodejs12.x` to
`nodejs14.x`
2022-01-27 15:21:58 +01:00
Piotr Grzesik
59116758c9 feat(AWS Lambda): Remove support for awsKmsKeyArn setting
BREAKING CHANGE: Properties `service.awsKmsKeyArn` and
`functions[].awsKmsKeyArn` are no longer supported. Use `provider.kmsKeyArn`
and `functions[].kmsKeyArn` instead.
2022-01-27 15:21:58 +01:00
Mariusz Nowak
f9e6e2c405 feat(Plugins): Pass log writers to plugin constructor 2022-01-27 15:21:58 +01:00
Mariusz Nowak
126a076343 test: Upgrade curated plugins 2022-01-27 15:21:58 +01:00
Mariusz Nowak
b30a2277a7 test: Upgrade @serverless/test to v9 2022-01-27 15:21:58 +01:00
Mariusz Nowak
f4e499b4bf chore: Upgrade @serverless/dashboard-plugin to v6 2022-01-27 15:21:58 +01:00
Mariusz Nowak
6a659f1b20 refactor: Upgrade @serverless/utils to v6 2022-01-27 15:21:58 +01:00
Piotr Grzesik
13e8ca6f83 feat: Remove support for Node v10
BREAKING CHANGE: Node in versions lower than 12 is no longer supported
2022-01-27 15:21:58 +01:00
Piotr Grzesik
73cb9cdef7 chore: Set frameworkVersion to v3 in templates and docs 2022-01-27 15:21:58 +01:00
Mariusz Nowak
cb58fb9967 docs: Remove outdated anatomy doc 2022-01-25 13:17:32 +01:00
Mariusz Nowak
04db0bb66a test: Remove obsolete files 2022-01-25 09:36:44 +01:00
Mariusz Nowak
9b17e8d01a chore: Release v2.72.2 v2.72.2 2022-01-24 21:21:34 +01:00