1151 Commits

Author SHA1 Message Date
Mariusz Nowak
5c1f615ff4 refactor: Rename lib/utils/deepSortObjectByKey.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
1f30396732 refactor: Rename lib/plugins/aws/customResources 2022-01-27 15:21:58 +01:00
Piotr Grzesik
1cb6a2ff2d refactor: Remove legacy logs 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
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
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
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
Piotr Grzesik
05fb97fdab refactor: Refactor direct use of @serverless/utils/log 2022-01-19 11:59:39 +01:00
Tsimpitas Dimitris
c67a3f1a4f
feat(AWS Cognito): Support forceDeploy setting (#10435) 2022-01-05 14:17:24 +01:00
Piotr Grzesik
9e1fe0ad5d fix(Config Schema): Address invalid schema definitions 2022-01-05 13:58:59 +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
Sudipto Das
2c0a962c4f
fix(AWS API Gateway): Meaningfully reject missing restApiRootResourceId
(PR #10371)
2021-12-15 17:16:28 +01:00
Mariusz Nowak
3b4e4539d8 fix(AWS Lambda): Fix event config setup for provisioned lambdas 2021-12-15 12:29:13 +01:00
GurmeharS
1f58760f46
fix(AWS Deploy): Ensure to strip all null properties (#10304) 2021-12-06 14:36:05 +01:00
Misha Bruml
9faf37aa15
feat(AWS Kafka): Add support for mTLS access configuration (#10273) 2021-12-05 13:08:13 +01:00
Piotr Grzesik
3f0a80acd3 feat(AWS SQS): Support filterPatterns 2021-12-01 19:53:31 +01:00
Frédéric Barthelet
fc0050559c
feat(AWS Stream): Support filterPatterns (#10285) 2021-11-30 10:18:03 +01:00
Sudipto Das
f7bbd17686
fix(AWS SQS): Accept only plain string form in direct ARN assignement
(PR #10263)
2021-11-26 18:02:23 +01:00
Piotr Grzesik
a4fa49844d feat(AWS S3): Support Fn::If CF function for s3 event 2021-11-25 10:55:03 +01:00
nicoeft
44511f343b
feat(AWS SQS): Support functionResponseType (#10265) 2021-11-24 12:46:08 +01:00
Piotr Grzesik
95f3a56038 fix(AWS API Gateway): Ensure proper apiId resolution 2021-11-10 12:55:16 +01:00
Piotr Grzesik
afd0a5bd6f feat: Introduce enforce-hash-update flag to help hashing migration 2021-11-09 13:24:15 +01:00
Vicary A
e8c8d259fb
fix(AWS API Gateway): Ensure shouldStartNameWithService support 2021-11-08 17:33:00 +01:00
Piotr Grzesik
50a845709e feat: Allow legacy option for lambdaHashingVersion property 2021-11-03 10:58:14 +01:00
Caio Fauza
e3e02fe8e2
fix(AWS HTTP API): Recognize max timeout as 30s not 29s (#10119) 2021-10-29 11:40:00 +02:00
Andreas Kohn
ee38f6a308
fix(AWS EventBridge): Addres typos in error messages (#10165) 2021-10-28 11:08:20 +02:00
Mars Lan
39bdea0750
fix(AWS Deploy): Fix handling of deployment bucket extensions (#10137) 2021-10-25 13:27:13 +02:00
Piotr Grzesik
bf62b7c4da feat(AWS EventBridge): Adjust deprecation of deployment method 2021-10-22 13:36:55 +02:00
Benoît Bouré
1c105a4c16
fix(AWS EventBridge): Allow intrinsic functions in pattern (#10120) 2021-10-20 10:47:33 +02:00
Michael
a3edecf0c6
feat(AWS Lambda): Support for Amazon MQ RabbitMQ events (#9919)
Co-authored-by: Michael <michael@Michaels-MacBook-Pro.local>
Co-authored-by: Michael <michael@ip-192-168-158-61.eu-west-1.compute.internal>
2021-10-19 15:10:46 +02:00
Mariusz Nowak
cc71fc99ff fix(Packaging): Ensure to show deprecation in all cases 2021-10-18 17:34:07 +02:00
Piotr Grzesik
04b921acdc feat(CLI): Introduce deprecation on S3 Accelerate for user bucket 2021-10-15 11:09:35 +02:00
Piotr Grzesik
4da0899673 refactor(CLI): Replace warnings with modern counterparts 2021-10-15 11:09:35 +02:00
ROSeaboyer
8e6dcd1aae
feat(AWS S3): Recognize ExpirationInDays property for s3 events 2021-10-13 16:03:01 +02:00
Mars Lan
c4cb0f30f5
feat: Opt-in support for deployment bucket versioning (#9912)
Configurable via `provider.deploymentBucket.versioning`
2021-10-12 20:49:08 +02:00
Oliver
44a81fcc6a
feat(AWS Lambda): Allow overriding provider VPC with no VPC on function 2021-10-11 23:47:44 +02:00
Piotr Grzesik
d43298d25b refactor(CLI): Adapt logWarning to modern logs 2021-10-11 16:40:56 +02:00
Piotr Grzesik
39c09e44b6 refactor(CLI): Minor modern logs updates 2021-10-08 17:17:47 +02:00
Piotr Grzesik
82dd1e4c70 refactor(CLI): Modern logs for invoke local command 2021-10-07 16:20:17 +02:00
Mariusz Nowak
d071c5f74d refactor(AWS Deploy): Improve error message 2021-10-07 14:09:14 +02:00