369 Commits

Author SHA1 Message Date
Mariusz Nowak
1f30396732 refactor: Rename lib/plugins/aws/customResources 2022-01-27 15:21:58 +01:00
Mariusz Nowak
d3d55dfcfc refactor: Rename lib/plugins/aws/invokeLocal 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
089f4afba8 test: Rename fixture programmatic/requestSchema 2022-01-27 15:21:58 +01:00
Mariusz Nowak
284b7af73f test: Rename fixture programmatic/requestParameters 2022-01-27 15:21:58 +01:00
Mariusz Nowak
dcd6bea1b6 test: Rename fixture programmatic/packageArtifact 2022-01-27 15:21:58 +01:00
Mariusz Nowak
43d3207ad3 test: Rename fixture programmatic/packageArtifactInServerlessDir 2022-01-27 15:21:58 +01:00
Mariusz Nowak
04869f1d6f test: Rename fixture programmatic/iotFleetProvisioning 2022-01-27 15:21:58 +01:00
Mariusz Nowak
84626e385c test: Rename fixture programmatic/httpApi 2022-01-27 15:21:58 +01:00
Mariusz Nowak
c8a6039d39 test: Rename fixture programmatic/httpApiCatchAll 2022-01-27 15:21:58 +01:00
Mariusz Nowak
d9b2601650 test: Rename fixture programmatic/functionLayers 2022-01-27 15:21:58 +01:00
Mariusz Nowak
7e2881e9fe test: Rename fixture programmatic/congnitoUserPool 2022-01-27 15:21:58 +01:00
Mariusz Nowak
4bf951546c test: Rename fixture programmatic/checkForChanges 2022-01-27 15:21:58 +01:00
Mariusz Nowak
8533f6a68f test: Rename fixture programmatic/apiGateway 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
fc0eb5aebc refactor(Templates): Unify file naming convention 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
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
Piotr Grzesik
82b373e9c7 refactor(AWS Deploy): Use change sets in CF deployments 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
b5069ef8cb feat(CLI): Deprecate support for deploy -f alias 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
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
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
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
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
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
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
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
b30a2277a7 test: Upgrade @serverless/test to v9 2022-01-27 15:21:58 +01:00
Mariusz Nowak
04db0bb66a test: Remove obsolete files 2022-01-25 09:36:44 +01:00
Mariusz Nowak
e4feff6497 test(AWS Deploy): Ensure we tests against unached version 2022-01-24 20:09:41 +01:00
Mariusz Nowak
1608e743de fix(Packaging): Revert exclusion of local plugins from a bundle
As it was discovered as breaking for some existing projects
2022-01-10 12:54:56 +01:00
Elin
129c0ee0a5
test(AWS Websocket): Refactor API tests (#10466) 2022-01-07 15:10:15 +01:00
Shalvah
62d8da209e
fix(Packaging): Do not include local plugins in a bundle (#10259) 2022-01-06 16:18:16 +01:00
Tsimpitas Dimitris
c67a3f1a4f
feat(AWS Cognito): Support forceDeploy setting (#10435) 2022-01-05 14:17:24 +01:00
Piotr Grzesik
0190d0df05 fix(AWS Deploy): Check for VPC config change in deploy function 2021-12-22 15:58:47 +01:00
Adam Lanners
c0eda27290
feat(AWS API Gateway): Allow use of custom authorizer with authorizerId
Co-authored-by: Adam Lanners <adam@onetapaway.com>
2021-12-21 10:49:50 +01:00
mdanyalkhan
352553e5bb
test(AWS SQS): Refactor to runServerless based (#10388) 2021-12-20 13:26:56 +01:00
Mariusz Nowak
729196f772
test(AWS API Gateway): Improve tests organization 2021-12-16 15:10:18 +01:00