339 KiB
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.37.2 (2021-04-22)
Bug Fixes
- API: Bring back legacy
service.serviceFilenamefor plugins (#9352) (6c896a5) (Mariusz Nowak)
2.37.1 (2021-04-21)
Bug Fixes
- API: Ensure
config.servicePathisconfig.serviceDirlive alias (#9343) (2967065) (Mariusz Nowak)
Maintenance Improvements
- Telemetry: Allow to disable telemetry via
SLS_TELEMETRY_DISABLED(#9338) (ba7fd2e) (Piotr Grzesik)
2.37.0 (2021-04-20)
Features
- Variables:
sls:stagevariable (#9296) (ef91ae1) (Matthieu Napoli)
Bug Fixes
- API: Ensure
serverless.config.servicePath(#9330) (ff589ba) (Mariusz Nowak) - CLI: Ensure to recognize interactive CLI command properly (#9332) (40fddcc) (Mariusz Nowak)
- Telemetry: Do not send request when there are no events (#9331) (f430224) (Piotr Grzesik)
2.36.0 (2021-04-20)
Features
- AWS ALB: Support
functions[].events[].alb.targetGroupName(#9222) (2cb8160) (Gabriel Plassard) - Support
Fn::Splitforvpcproperties (#9266) (19805d7) (Frédéric Barthelet)
Bug Fixes
- AWS API Gateway:
- Correctly recognize
typeforauthorizerId(#9300) (ef25d68) (Piotr Grzesik) - Deprecate invalid
apiGatewaysettings (#9238) (bca46e5) (Jaakko Lappalainen)
- Correctly recognize
- AWS IAM: Deprecate
iam.role.permissionBoundaryin favor ofiam.role.permissionsBoundary(#9318) (d1c3b3f) (Android3000) - AWS Local Invocation:
- Allow optional
package.artifactforjava(#9320) (924a698) (Yuji Yamano) - Do not build Java bridge if
artifactmissing (#9280) (5392a7d) (Yuji Yamano)
- Allow optional
- CLI:
- Ensure to respect
disabledDeprecationsconfig options (#9298) (05635c5) (Mariusz Nowak) - Recognize
--aws-profileoption by schema (#9324) (014ff94) (Mariusz Nowak)
- Ensure to respect
- Plugins: Prevent variables resolution with
plugincommand (#9298) (8ac2706) (Mariusz Nowak) - Variables:
- Clear escape slashes (#9327) (c63244c) (Mariusz Nowak)
- Fix file access error message generation (#9281) (6dd3996) (Mariusz Nowak)
Maintenance Improvements
- AWS Credentials: Remove undocumented
provider.credentials(#9287) (d26e2ae) (Piotr Grzesik) - CLI: Validate service dependency in CLI context (#9298) (088088c) (Mariusz Nowak)
- Variables:
- Use
serviceDiroption as replacement forservicePath(#9307) (712a569) (Mariusz Nowak) - Testing purpose variable resolution util (#9281) (a2f1808) (Mariusz Nowak)
- Use
- Telemetry:
- Rename
analyticstotelemetry(#9310) (d667111) (Piotr Grzesik) - Send all payloads with single request (#9304) (278935d) (Piotr Grzesik)
- Record all commands and send only on deploy (#9323) (d3ecb7c) (Piotr Grzesik)
- Rename
- Introduce
serviceDirandconfigurationFilename(#9307) (fc3a439) (Mariusz Nowak) - Refactor constructor to accept new service configuration options (#9307) (c02cd06) (Mariusz Nowak)
- Mark functions
asyncinplugins/aws/remove(#9284) (0bdb7d8) (Jaakko Lappalainen) - Refactor
awsprovider tests for prefixes (#9301) (196776c) (AlinoeDoctari) - Remove
config.updateusage (#9307) (7fb55b6) (Mariusz Nowak) - Remove support for internal
noDeployoption (#9281) (688d09b) (Mariusz Nowak) - Rename
servicePathvars toserviceDir(#9307) (e8c8f1c) (Mariusz Nowak) - Replace
config.servicePathwithservice.dir(#9307) (87d3802) (Mariusz Nowak)
2.35.0 (2021-04-09)
Features
- AWS Lambda: Add support for
cacheFromtoimages(#9251) (341a886) (Nicholas Wehr)
Bug Fixes
- AWS API Gateway:
- Do not attempt to remove
aws:tags during update (#9265) (dac06c8) (Piotr Grzesik) - Proper stage resolution for custom resource (#9277) (50e4425) (Piotr Grzesik)
- Do not attempt to remove
- AWS HTTP API: Correctly accept
identitySourceas single CF intrinsic function value for HTTP API authorizers (#9275) (fce73ad) (Piotr Grzesik) - AWS Local Invocation:
- Adjust
.gitignore(#9274) (ce210f7) (Yuji Yamano) - Correctly
decompressartifact (#9259) (af8d2a1) (Yuji Yamano) - Strip
nullenvvars forinvoke localcommand (#9263) (34d2c2f) (Yuji Yamano)
- Adjust
2.34.0 (2021-04-07)
Features
- AWS Lambda: Add support for
buildArgstoimages(#9198) (efd32d4) (Nicholas Wehr)
Bug Fixes
- AWS Deploy: Correctly identify "no updates" error during deploy (#9248) (0e6a1ce) (Piotr Grzesik)
- CLI: Ensure help output with missing
provider.name(#9235) (dae9058) (Mariusz Nowak) - Avoid re-registration of
ts-node(#9254) (88baf06) (Adam Pancutt)
Maintenance Improvements
- Analytics: Account for functions with containers for analytics (#9216) (c88a2ea) (Piotr Grzesik)
2.33.1 (2021-04-03)
Bug Fixes
- Variables: Ensure valid region value type in SSM resolution (#9236) (83cac53) (Mariusz Nowak)
2.33.0 (2021-04-02)
Features
- Plugins: Announce "type" requirement in CLI option definitions (#9230) (959da67) (Mariusz Nowak)
Bug Fixes
- CLI: Do not assume "string" option type, when no type set in definition (#9230) (c9be9bc) (Mariusz Nowak)
- Variables: Support resolving "raw" JSON string form of SSM params (#9229) (4eba512) (Mariusz Nowak)
- Packaging:
- Ensure to apply dev dependency exclusion (#92ee) (7d16947) (Mariusz Nowak)
- Recognize
layers[].package.patterns(#9231) (9793c50) (Mariusz Nowak)
- AWS CloudFront: Recognize "?" character in
pathPatternproperty (#9234) (9d84596) (Mariusz Nowak)
Maintenance Improvements
- Remove injustified "eslint-disable" comments (#9232) (2011649) (Mariusz Nowak)
2.32.1 (2021-03-31)
Bug Fixes
- AWS IAM: Support for CF functions for
provider.iam.role(#9206) (0a84f1c) (Piotr Grzesik) - CLI: Fix
commandspass to local installation (#9207) (80bddce) (Mariusz Nowak) - Variables: Ensure resolution of unrecognized CLI options (#9211) (b5668d5) (Mariusz Nowak)
Maintenance Improvements
- CLI: Fix deprecation message typo (#9209) (7f788d2) (Mariusz Nowak)
- Variables:
- Do not run old resolver when not needed (#9207) (7601e26) (Mariusz Nowak)
2.32.0 (2021-03-30)
Features
- AWS HTTP API:
- Add support for AWS IAM authorization (#9195) (d3c6e43) (Piotr Grzesik)
- Add support for custom Lambda authorizers (#9192) (37d03b6) (Piotr Grzesik)
- AWS IAM: Add support for
iam.role.namedefinition (#9166) (8c3e1be) (Sergii Kovalev) - AWS Lambda: Do not require all
imageproperties (#9177) (14f5743) (Piotr Grzesik) - CLI:
- Validate command and options against resolved schema (#9171) (2dacbcc) (Mariusz Nowak)
- Recognize CLI command plugin extensions in new resolver (#9171) (3422a12) (Mariusz Nowak)
- Packaging: Deprecate
include&excludein favor ofpatterns(#8581) (e1678fb) (Juanjo Diaz) - Variables:
- Report errors on unresolved variables (#9200) (f112e4b) (Mariusz Nowak)
- Support source extensions from plugins for new resolver (#9200) (ee76876) (Mariusz Nowak)
Bug Fixes
- CLI:
- Ensure to expose accurate
commandsSchemain resolved input (#9181) (01b135c) (Mariusz Nowak) - Fix
generate-eventandtestcommands schema visibility (#9181) (ae645e7) (Mariusz Nowak) - Fix handling of container commands (#9181) (d9cf52b) (Mariusz Nowak)
- Unconditionally crash on unrecognized command (#9181) (f1af86a) (Mariusz Nowak)
- Ensure to copy and not modify preset schemas (#9181) (64684f2) (Mariusz Nowak)
- Ensure to expose accurate
- Ensure detection of external plugins is multi instance safe (#9181) (0f35375) (Mariusz Nowak)
Maintenance Improvements
- CLI:
- Move to CLI logic required options validation (#9181) (afad231) (Mariusz Nowak)
- Ensure resolved
provider.regionif dashboard used (#9200) (af0242d) (Mariusz Nowak) - Ensure to have up to date commands (#9181) (8142515) (Mariusz Nowak)
- Generalize property resolution validation (#9171) (59434af) (Mariusz Nowak)
- Improve command resolution handling (#9200) (0065200) (Mariusz Nowak)
- Improve validation of resolution state of core config (#9171) (9e84423) (Mariusz Nowak)
- Move lifecycles definition to commands schema (#9171) (2294a4b) (Mariusz Nowak)
- Move main help renderer out of internals (#9181) (053fea1) (Mariusz Nowak)
- Pass resolved commands options to local installation (#9181) (2d4d05d) (Mariusz Nowak)
- Prevent superfluous vars resolution with help request (#9181) (c2d4f83) (Mariusz Nowak)
- Recalculate options only if external plugins were loaded (#9181) (9aa026d) (Mariusz Nowak)
- Seclude command help render from internals (#9181) (aca3c0d) (Mariusz Nowak)
- Seclude command options render logic out of internals (#9181) (41e921a) (Mariusz Nowak)
- Seclude general help render logic from internals (#9181) (87b1861) (Mariusz Nowak)
- Seclude interactive setup help render out of internals (#9181) (2fd921d) (Mariusz Nowak)
- Variables:
- Configure
cfsource in a new resolver (#9200) (a60e90f) (Mariusz Nowak) - Configure
s3source in a new resolver (#9200) (12a4cad) (Mariusz Nowak) - Configure
slssource in a new resolver (#9200) (eecd928) (Mariusz Nowak) - Configure
ssmsource in a new resolver (#9200) (3f7f67c) (Mariusz Nowak) - Configure dashboard sources in a new resolver (#9200) (385c15b) (Mariusz Nowak)
- Configure
- Dashboard: Provide direct internal access to dashboard plugin (#9200) (6292197) (Mariusz Nowak)
- Plugins: Bulletproof way to recognize external plugins (#9171) (1618e23) (Mariusz Nowak)
- Analytics: Detect Serverless CI/CD engine for analytics (#9175) (e20766c) (Piotr Grzesik)
2.31.0 (2021-03-23)
Features
- AWS API Gateway: Remove deprecation for old naming convention (#9160) (b530d6a) (Piotr Grzesik)
- Variables:
- Disallow
provider.variableSyntaxwith new resolver (#9140) (5a2da44) (Mariusz Nowak) - Meaningfully reject not resolvable
provider.name(#9140) (f67d95a) (Mariusz Nowak)
- Disallow
Bug Fixes
- Packaging: Ensure to properly exclude dependencies when
NODE_ENVset (#9142) (6e3e21c) (Piotr Grzesik) - CLI:
- Recognize "--stage" as provider agnostic option (#9151) (271ac82) (Mariusz Nowak)
- Do not show options order deprecation info with help request (#9151) (ad8f9b0) (Mariusz Nowak)
- Recognize "--version" option in commands help (#9151) (6cefe7a) (Mariusz Nowak)
- AWS Deploy: Fix format of url data as passed to
https-proxy-agent(#9147) (d935dcc) (Andreas Augustin) - Variables:
- Ensure necessary resolution interface for plugins (#9164) (841e847) (Mariusz Nowak)
- Ensure to support middle JS function resolved properties (#9161) (32ba7c8) (Mariusz Nowak)
- Fix resolution of "false" CLI params (#9151) (6c6ada9) (Mariusz Nowak)
- Unify handling of not existing addresses (#9161) (b21dc44) (Mariusz Nowak)
- Ensure to handle empty func definition with meaningful error (#9133) (86e0b6d) (Piotr Grzesik)
Maintenance Improvements
- CLI:
- Handle "help" with a schema (#9151) (d455b23) (Mariusz Nowak)
- Categorize CLI commands in schema (#9140) (471e34d) (Mariusz Nowak)
- Do not show deprecation with help command (#9140) (a72b681) (Mariusz Nowak)
- Do not throw errors when help command (#9140) (d15efd9) (Mariusz Nowak)
- Expose resolved string command by
resolveInpututil (#9151) (362f5e9) (Mariusz Nowak) - Improve flow documentation (#9140) (851c9f4) (Mariusz Nowak)
- Improve setup of resolution flow (#9140) (ab1c673) (Mariusz Nowak)
- Integrate
isHelpRequestintoresolveInpututil (#9140) (a481170) (Mariusz Nowak) - Proritize
provider.namevalidation (#9151) (9ab04a6) (Mariusz Nowak) - Recognize "--version" on command as help request (#9151) (23f45a3) (Mariusz Nowak)
- Resolve command and options gradually (#9151) (b6382fd) (Mariusz Nowak)
- Return resolved
commandSchemafromresolveInpututil (#9151) (4364acc) (Mariusz Nowak) - Wrap with function for better maintainance (#9140) (ab055a3) (Mariusz Nowak)
- Variables:
- Ensure to not resolve any value with promise (#9140) (54da2c2) (Mariusz Nowak)
- Recognize only defined CLI options in resolver (#9151) (13610cf) (Mariusz Nowak)
- Report immediatelly eventual syntax errors (#9140) (ee01833) (Mariusz Nowak)
- Smarter "is property resolved" validation (#9151) (cfe83df) (Mariusz Nowak)
- Smarter resolution phases (#9140) (a537856) (Mariusz Nowak)
- For
--helpoutput resolve just needed properties (#9140) (d851914) (Mariusz Nowak)
- Improve AWS SDK errors reporting (#9148) (89b813d) (Mariusz Nowak)
2.30.3 (2021-03-16)
Bug Fixes
2.30.2 (2021-03-16)
Bug Fixes
- Plugins: Bring back
provider.sdkproperty, to not break plugins (#9127) (3e983f3) (Mariusz Nowak)
2.30.1 (2021-03-16)
Bug Fixes
- AWS Credentials: Fix credentials resolution (#9121 & #9124) (6f8b5b4 & 41df6fb) (Mariusz Nowak)
- AWS EventBridge: Clarify CF functions support for
eventBus(5183620) (#9118) (Piotr Grzesik) - AWS Lambda: Ensure correct schema for
vpcdefinition (#9120) (4cd629a) (Piotr Grzesik)
2.30.0 (2021-03-16)
Features
Bug Fixes
- AWS Deploy: Fix
deploy functioncommand error handling (#9102) (aa7b66a) (Mariusz Nowak) - AWS IAM:
- AWS Local Invocation: Support
envvars with=in value (#9079) (ab8529c) (terrybondy & lewgordon) - Variables: Retry JS function resolvers on unresolved dependencies (#9110) (68de8bd) (Mariusz Nowak)
- CLI:
- Improve handling of container commands (#9111) (6ec463c) (Mariusz Nowak)
- Output "Plugin: " prefix only for external plugin comands (#9111) (acf720c) (Mariusz Nowak)
- Properly report SDK version when handling errors (#9097) (a79473d) (Piotr Grzesik)
- Recognize
--stage&--regionon every AWS service command (#9111) (bfde219) (Mariusz Nowak)
Maintenance Improvements
- AWS Deploy: Minimize try/catch wrap (#9102) (a7d2cf0) (Mariusz Nowak)
- CLI:
- Add Dashboard specific options to commands schema (#9111) (ed553a7) (Mariusz Nowak)
- Generalize handling of not supported commands (#9111) (8b301dc) (Mariusz Nowak)
- Recognize interactive setup command in commands schema (#9111) (b9afc14) (Mariusz Nowak)
- Resolve commands and options by schema (#9111) (fe663ea) (Mariusz Nowak)
- Seclude schema of core commands (#9111) (14a2640) (Mariusz Nowak)
- Schema for
@serverless/enterprise-plugincommands (#9111) (116fe85) (Mariusz Nowak)
- Refactor
pluginManager.invoketo async/await (#9111) (15b5a11) (Mariusz Nowak) - Refactor
pluginManager.spawnto async/await (#9111) (87b8d01) (Mariusz Nowak) - Extend
generatePayload(#9078) (f6292b2) (Piotr Grzesik) - Seclude AWS request util from internals (#8850) (5fb85d3) (AlinoeDoctari)
Templates
- Templates: Fix runtime for
azure-nodejs-typescript(#9106) (3597f45) (Tony Papousek)
2.29.0 (2021-03-09)
Features
- AWS IAM:
- AWS Stream: Add support for custom checkpoint (#9056) (b2188a2) (Vishnu Prassad)
Bug Fixes
- AWS Deploy: Warn when IAM policy does not allow to fetch lambda details (#9041) (dea7b5a) (Tristan Rigaut)
- CLI: Fix dashboard error handler error reporting (#9084) (aa9dc0a) (Mariusz Nowak)
- AWS IAM: Support CF functions for managed policies (#9089) (5f5d2e5) (Dave Lowther)
- Variables: Expose source resolution errors as non-user errors (#9088) (5e2406b) (Mariusz Nowak)
Maintenance Improvements
- CLI:
- Rely on
cli/is-help-requestutil (#9086) (c9087ec) (Mariusz Nowak) - Report Platform Client instead of SDK version (#9092) (2b857c7) (Piotr Grzesik)
- Rely on
- Variables:
- Improve error message related to JS func resolver (#9085) (b90538a) (Mariusz Nowak)
- Improve source fulfillment handling (#9088) (524c43d) (Mariusz Nowak)
2.28.7 (2021-03-04)
Bug Fixes
- Packaging: Fix packaging performance regression and increased number of observed
EMFILEerrors by reverting intensivebluebirdrelated refactors as listed below- Revert removal of
bluebirdfromlib/plugins/aws(#9074) (55abaaf) (Piotr Grzesik) - Revert removal of
bluebirdfromlib/plugins/create(#9074) (ae2c92c) (Piotr Grzesik) - Revert removal of
bluebirdfromlib/plugins/interactiveCli(#9074) (217b975) (Piotr Grzesik) - Revert removal of
bluebirdfromlib/plugins/package(#9074) (399d91b) (Piotr Grzesik) - Revert removal of
bluebirdfromlib/plugins/plugin(#9074) (2a9f79f) (Piotr Grzesik) - Revert removal of
bluebirdfromlib/classes(#9074) (c41bd64) (Piotr Grzesik) - Revert removal of
bluebirdfromlib/utils(#9074) (f62fc2e) (Piotr Grzesik) - Revert removal of
bluebirdfromlib/plugins(#9074) (7a012d8) (Piotr Grzesik)
- Revert removal of
2.28.6 (2021-03-03)
Bug Fixes
- Variables: Ensure to apply intialization patch unconditionally (#9063) (d6c7d97) (Mariusz Nowak)
2.28.5 (2021-03-03)
Bug Fixes
- Variables:
- Fix variables setup for external plugins usage (#9060) (25dd575) (Mariusz Nowak)
- Report with meaningful error unresolved
pluginsproperty (#9061) (5565047) (Mariusz Nowak)
2.28.4 (2021-03-03)
Bug Fixes
- Variables: Ensure to not share property cache across resolutions (#9057) (68f326e) (Mariusz Nowak)
Maintenance Improvements
- Variables: Ensure to pass
isConfigurationResolvedto local instance (#9057) (10e1dda) (Mariusz Nowak) - Remove
bluebirdfromlib/plugins/aws(#9054) (b11171c) (Juanjo Diaz)
2.28.3 (2021-03-02)
Bug Fixes
- Variables:
- Recognize hyphens in source types (#9052) (21ac1be) (Mariusz Nowak)
- Ensure proper error handling for resolved value parsing(#9052) (df62739) (Mariusz Nowak)
2.28.2 (2021-03-02)
Bug Fixes
- Variables: Ensure to resolve variables in resolved strings (#9050) (480b612) (Mariusz Nowak)
- AWS Credentials: Fix unrecognized profile error reporting (#9045) (6c4beb6) (Mariusz Nowak)
2.28.1 (2021-03-02)
Bug Fixes
- Variables:
- Error on property access attempt on primitive result (#9032) (131516a) (Mariusz Nowak)
- Resolve plain text for unrecognized extensions (#9032) (d2e6a8a) (Mariusz Nowak)
Maintenance Improvements
- Improve deprecation message (#9034) (8592bdb) (Mariusz Nowak)
- Remove
bluebirdfromlib/plugins/interactiveCli(#9029) (7c0ceb5) (Juanjo Diaz) - Remove
bluebirdfromlib/plugins/package(#9028) (0fb0f43) (Juanjo Diaz) - Use
asyncinlib/plugins/aws/package(#8870) (6e486b3) (ifitzsimmons) - Variables:
- Resolve all env variables with new resolver (#9040) (c1d8b58) (Mariusz Nowak)
- Do not handle resolution when no vars to resolve (#9040) (14ea1af) (Mariusz Nowak)
- Do not run old resolver when no vars to resolve (#9040) (7aac480) (Mariusz Nowak)
- Make resolution error handler reusable (#9040) (452fdc2) (Mariusz Nowak)
- Make
resolverConfigurationreusable (#9040) (8e72247) (Mariusz Nowak)
2.28.0 (2021-02-26)
Features
- AWS API Gateway: Allow reuse and customization of schema models (#7619) (aeb64fd) (Jeffrey McGuffee & Piotr Grzesik)
Bug Fixes
- CLI: Do not duplicate variables error information (#9019) (2f62bdf) (Mariusz Nowak)
- Variables: Ensure to not share source cache across resolutions (#9019) (5ad1c19) (Mariusz Nowak)
Maintenance Improvements
- CLI:
- Require
variablesResolutionModeto be resolved upfront (#9014) (a488000) (Mariusz Nowak) - Resolve
.envfiles before intializingServerlessinstance (#9014) (a9e3a66) (Mariusz Nowak)
- Require
- Remove
bluebirdfromlib/plugins/create(#8996) (258543a) (Juanjo Diaz)
2.27.1 (2021-02-25)
Bug Fixes
- Variables:
- Fix nested sources resolution (#9011) (99fd907) (Mariusz Nowak)
- Report with
nullnot existingfilesources (#9008) (3ab81e5) (Mariusz Nowak) - Fix unterminated variable resolution for some cases (#9011) (cc5bfd5) (Mariusz Nowak)
- Communicate with meaningful error not accessible
providerproperties (#8992) (e5307b0) (Mariusz Nowak) - Improve JS file resolution error handling (#9008) (9ecc108) (Mariusz Nowak)
Maintenance Improvements
- Remove
bluebirdfromlib/plugins/plugin(#8984) (9e79602) (Juanjo Diaz)
2.27.0 (2021-02-24)
Features
- AWS EventBridge: Native CloudFormation based deployment (turn on via
provider.eventBridge.useCloudFormation: true) (#8437) (13444ca) (stuartforrest-infinity & Piotr Grzesik) - AWS Deploy: Support
nullvalues for properties in CF resources (those properties will be removed for final CF template version) (#8975) (9b030ad) (yumei)
Bug Fixes
- CLI: Recognize
-sas--stagealias, when expected (9ae6045) (#8997) (Mariusz Nowak) - Variables: Ensure vars are recognized in address followed by source (#9000) (fb9ce24) (Mariusz Nowak)
Maintenance Improvements
- AWS Deploy: Rely on
provider.requestfor AWS SDK calls (#8913) (4e05995) (AlinoeDoctari) - CLI:
- Recognize
appandorgparams (#8997) (6b1921f) (Mariusz Nowak) - Refactor
-vhandling (#8997) (8db64a1) (Mariusz Nowak)
- Recognize
2.26.0 (2021-02-24)
Features
- AWS HTTP API: Add ability to apply
provider.tags(#8938) (9f5fd61) (jayasai470) - Variables: New parser and resolver implementation (#8987) (fb2c425) (Mariusz Nowak)
Bug Fixes
- AWS ALB: Conform to CF schema with multiple host header (#8965) (36c78c7) (Zach Swanson)
- CLI: Fix resolution of empty valued params as
param=(#8978) (5acdc0a) (Mariusz Nowak) - Display version related deprecations only with functions (#8980) (4f64e56) (Mariusz Nowak)
Maintenance Improvements
- Remove
bluebirdfromlib/classes(#8943) (1a694ae) (Juanjo Diaz) - Remove
bluebirdfromlib/utils(#8972) (820cc1f) (Juanjo Diaz) - Remove
bluebirdfrom top-levellib/plugins(#8973) (8fead7f) (Juanjo Diaz)
Templates
- Support TS path mapping in
aws-nodejs-typescript(#8968) (e050440) (Nick Hammond) - Ensure that
gradle-wrapper.jaris not excluded (#8967) (deed534) (Piotr Grzesik)
2.25.2 (2021-02-18)
Bug Fixes
- CLI: Ensure to recognize
-vparam as boolean in all cases (#8964) (82b95fc) (Mariusz Nowak) - AWS Lambda: Throw verbose error when referencing invalid layer (#8961) (5057f9a) (Piotr Grzesik)
- Variables: Properly resolve vars if
prototypekey is in property path (#8962) (496d357) (Piotr Grzesik)
2.25.1 (2021-02-16)
Bug Fixes
- CLI: Ensure support for upper case params (b17c461) (Mariusz Nowak)
2.25.0 (2021-02-16)
Features
- AWS HTTP API: Support
provider.httpApi.disableDefaultEndpoint(#8649) (bebf343) (Guillaume Desvé)
Bug Fixes
- CLI: Ensure to support
_in param names (#8952) (7e3e50b) (Mariusz Nowak)
2.24.0 (2021-02-16)
Features
- AWS IAM: Group IAM-related settings under
provider.iam(#8701) (9ad4d07) (Dmitry Shirokov)
Bug Fixes
- AWS Deploy: Ensure to handle artifact stream read errors (#8948) (300e3a9) (Mariusz Nowak)
- AWS Lambda: Properly resolve SHA for repo with slashes (#8918) (4c74792) (Piotr Grzesik)
- Reject non normative configuration structure (#8927) (8bd4314) (Mariusz Nowak)
Maintenance Improvements
- CLI:
- Rely on new CLI args parser (#8927) (9e059d0) (Mariusz Nowak)
- Remove internal CLI arguments parsing (#8927) (16950d0) (Mariusz Nowak)
- Move deprecation report to
initphase (#8927) (1eaa626) (Mariusz Nowak)
- Use
async/awaitinevents/apiGateway. (#8869) (c5ba682) (ifitzsimmons) - Use
async/awaitinlib/plugins/aws/invokeLocal. (#8876) (134db21) (ifitzsimmons) - Remove unneeded
splitingetHttp(#8939) (7213d1d) (Gareth Jones) - Use standalone
ServerlessError. (#8897) (006557d) (Juanjo Diaz) - Patch handling of
isInvokedByGlobalInstallationflag (#8927) (21c9f26) (Mariusz Nowak)
Templates
- Add
package.jsontoplugintemplate (#8933) (410f0ec) (Piotr Grzesik) - Update
aws-nodejs-typescriptfornodejs14.x(#8914) (5fa51dc) (Frédéric Barthelet) - Fix types handling in
aws-nodejs-typescript(#8929) (5302b91) (g-awa) - Fix statement in
.npmignoreto handle.gitignore(#8947) (d0c0879) (Piotr Grzesik)
2.23.0 (2021-02-08)
Features
- AWS Lambda: Add support for
nodejs14.xruntime (#8894) (8799cbb) (Subash Adhikari)
Bug Fixes
- AWS Lambda: Ensure proper normalization of ECR repository name (#8908) (c5639d2) (Piotr Grzesik)
- AWS Deploy: Gracefully handle denied access to ECR (#8901) (816394c) (Piotr Grzesik)
- AWS Local Invocation: Properly handle error if Java bridge is not present (#8868) (11fb141) (Piotr Grzesik)
- CLI:
- Properly resolve local version (#8899) (053bcc7) (Piotr Grzesik)
- Handle gently npm response errors (#8900) (ab77a11) (Mariusz Nowak)
Maintenance Improvements
- Use
async/awaitinlib/plugins/aws. (#8871) (efbaf00) (ifitzsimmons) - Use
async/awaitinlib/plugins. (#8875) (f95971d) (ifitzsimmons) - Use
async/awaitinaws/package/compile/events(#8873) (3c93e2a) (ifitzsimmons) - Use
async/awaitincompile/events/websockets(#8874) (61dd3bd) (ifitzsimmons) - Use
async/awaitinlib/plugins/aws/lib(#8872) (489affc) (ifitzsimmons)
2.22.0 (2021-02-02)
Features
- AWS Lambda: Add ability to customize
filefor Dockerfile (#8865) (785f97b) (Piotr Grzesik) - Standalone: Allow to install specific versions (#8858) (019f0bf) (alegonz)
Bug Fixes
- CLI: Ensure to not display programmatic use deprecation (#8864) (fa626a8) (Mariusz Nowak)
- Config Schema:
- Add type to
logRetentionInDays(#8844) (ec12a2b) (frozenbonito) - Filter out duplicate error messages (#8849) (e0bc57a) (Piotr Grzesik)
- Add schema dependencies for
imageconfig (#8849) (297c229) (Piotr Grzesik)
- Add type to
Maintenance Improvements
- Replace
fse.promises.realpathwithfs.promises.realpath(#8853) (f5174ff) (Sudipto Das)
Templates
- Add
aws-nodejs-dockertemplate (#8845) (1a0390b) (Piotr Grzesik) - Add
aws-python-dockertemplate (#8846) (fd9b26a) (Piotr Grzesik) - Fix handler path resolution in
aws-nodejs-typescript(#8829) (b753641) (Frédéric Barthelet) - Ensure that
.gitignoreis packaged for templates (#8829) (e79f906) (Piotr Grzesik)
2.21.1 (2021-01-26)
Bug Fixes
- CLI: Fix resolution of service path where nested config is involved (#8835) (9b7315f) (Mariusz Nowak)
- AWS CloudFront:
- Ensure unique names for cache policy (#8818) (a108b76) (Ben Scholzen)
- Fix origin object schema (#8827) (90d9fc2) (frozenbonito)
- Fix AWS tags validation schema (#8766) (4dff8e5) (Sam Stenvall)
Maintenance Improvements
- Remove obsolete
getLocalAccessKeyutil (#8834) (90d9fc2)(6f9824a) (Piotr Grzesik) - Upgrade to
@serverless/utilsv3 (#8834) (f6c5427) (Piotr Grzesik)
2.21.0 (2021-01-26)
Features
- AWS CloudFront: Support CF functions for origin and domain (#8828) (0839b58) (frozenbonito)
- AWS Lambda: Add support for self-managed
kafkaevent (#8784) (ff60501) (lewgordon) - Support
kmsKeyArnfordeploy function(#8697) (8a92be9) (ifitzsimmons)
Bug Fixes
- CLI: Fix resolution of "--config=" format (#8825) (cd5a739) (Mariusz Nowak)
- Packaging: Proper exclusion of dependencies across platforms (#8831) (847aa9c) (Piotr Grzesik)
- Standalone: Ensure proper resolution of runtime wrappers (#8809) (1833894) (Piotr Grzesik)
Maintenance Improvements
- Custom execution role getter (#8824) (12805c3) (Dmitry Shirokov)
- Replace
fse.existswithfs.promises.access(#8788) (9abe9db) (Sudipto Das) - Seclude configuration parse from internals (#8801) (f274cd7) (Mariusz Nowak)
2.20.1 (2021-01-22)
Bug Fixes
- CLI: Bring back support for referencing nested configurations (#8804) (7339351) (Mariusz Nowak)
- Packaging: Properly exclude devDependencies on Windows (#8803) (708f6a7) (Tomás Milar)
2.20.0 (2021-01-21)
Features
- AWS Lambda:
- Add support for building Docker images (#8725) (789c2e3) (Piotr Grzesik)
- Add support for image config (#8778) (9a55537) (Piotr Grzesik)
Bug Fixes
- AWS API Gateway:
- AWS Lambda: Ensure function update works when image used (#8786) (420e937) (Piotr Grzesik)
- AWS CloudFront: Fix check for deprecated
CacheBehaviorproperties (#8768) (c3a61e2) (Ben Scholzen) - CLI Onboarding:
- Ensure to not follow with project setup on existing path (#8770) (293cd6d) (Mariusz Nowak)
- Fix configuration of a new service in interactive setup (#8770) (76fa62d) (Mariusz Nowak)
Maintenance Improvements
- CLI: Seclude service config path resolution out of internals (#8770) (b23bfdb) (Mariusz Nowak)
- Mark functions async in
aws/customResourcesandaws/deploy(#8698) (c45f661) (ifitzsimmons)
Templates
- Add node version constraint to
aws-nodejs-typescript(#8776) (37d5f9e) (Frédéric Barthelet) - Compilation target ES2019 in
aws-nodejs-typescript(#8774) (4469388) (Frédéric Barthelet)
2.19.0 (2021-01-15)
Features
- Variables:
- Introduce unresolvedVariablesNotificationMode (#8710) (33cffc3) (Gareth Jones)
- Add support for Terraform state file parsing (#8755) (461a396) (Brian Dwyer)
Bug Fixes
- AWS CloudFront: Fix deprecations visibility (#8759) (6c67cd7) (Mariusz Nowak)
- Config Schema: Revert to ajv v6 (#8762) (d1c6568) (Piotr Grzesik)
- Packaging: Consider absolute artifact paths (#8325) (#8315) (bcbbd47) (Robert Bragg & Piotr Grzesik)
Maintenance Improvements
- Abstract resolution of deployment role (#8751) (4afdb83) (Dmitry Shirokov)
- Cleanup
mergeIamTemplatesmodule (#8736) (77e1a6a) (Dmitry Shirokov) - Improve error handling scope (#8726) (49aabdf) (Mariusz Nowak)
- Reconfigure
onExitPromisesetup (#8726) (22a03ce) (Mariusz Nowak) - Refactor
Serverless.runto async (#8749) (30015ea) (Piotr Grzesik) - Seclude
cli/resolve-local-serverless-pathutil (#8726) (9d78348) (Mariusz Nowak) - Seclude
ensureExistsutil (#8744) (c3f59e4) (Piotr Grzesik) - Seclude
ServerlessErrorintolib/serverless-error.js(#8743) (87790e5) (Mariusz Nowak) - Typos in schema (#8735) (2b7568a) (Dmitry Shirokov)
- Seclude main error handler to standalone util (#8726) (847fa34) (Mariusz Nowak)
- CLI: Seclude version output functionality out of
CLIclass (#8741) (b61621a) (Mariusz Nowak)
Templates
- Fix typo in
package.jsonfor templateaws-nodejs-typescript(#8754) (37398d0) (Alexandre de Boutray)
2.18.0 (2021-01-07)
Features
- AWS API Gateway: Move api-specific keys to
provider.apiGateway(#8670) (eacae9a) (Frédéric Barthelet) - AWS
iotFleetProvisioningevent support (#8324) (7d80245) (Frédéric Barthelet) - Standalone: Update to Node 14 for standalone binaries (#8723) (5cc3be1) (Piotr Grzesik)
Bug Fixes
- Config Schema: Improve AWS tags validation (#8714) (b093609) (Rohit Gohri)
Maintenance Improvements
- Replace
_.setwith native assignment (#8709) (66aa66f) (Frédéric Barthelet) - Upgrade "ajv" to v7 and "ajv-keywords" to v4 (#8703) (1af73ba) (Frédéric Barthelet)
- Use ajv formats (036698c) (Piotr Grzesik)
- Upgrade "js-yaml" to v4 (#8708) (b143383) (Mariusz Nowak)
- Use @serverless/utils for cloudformationSchema (#8705) (2efc357) (Frédéric Barthelet)
2.17.0 (2020-12-30)
Features
- AWS Deploy: Improve function version hashing algorithm (#8661) (ef53050) (Piotr Grzesik)
- AWS Lambda: Support referencing images with tags (#8683) (68b7ed5) (Piotr Grzesik)
- AWS HTTP API: Expose HTTP API in CloudFormation stack outputs (#8664) (f9c8677) (Santhos Baala, Ramalingam Santhanakrishnan)
- Config Schema: Validate extensions against collisions with existing properties (#8655) (7266599) (Frédéric Barthelet)
- Support
--contextand--contextPathatinvokecommand (#8652) (ff253e3) (lewgordon)
Bug Fixes
- AWS CloudFront: Ensure to describe resolved stage in comment (#8685) (120bfb7) (Mariusz Nowak)
- Variables: Fix handling of
nullin deep property resolution (#8165) (eb11e6d) (Antoine Pham & Piotr Grzesik) - AWS Lambda: Ensure layer permissions are retained with layer itself (#8688) (bf418ac) (raym0nd93 & Piotr Grzesik)
Templates
- Update
aws-nodejs-typescripttemplate (#8646) (c9db035) (Frédéric Barthelet) - Upgrade to avoid using deprecated functionality (#8677) (3c5e497) (Piotr Grzesik)
2.16.1 (2020-12-22)
Bug Fixes
- Packaging: Exclude
.envfiles only whenuseDotenvis set (#8648) (537fcac) (Piotr Grzesik)
2.16.0 (2020-12-18)
Features
Bug Fixes
- AWS Deploy:
- Fix resolution of first deploy event (#8632) (9bc1060) (Mariusz Nowak)
- Allow to disable creation of default bucket policy (#6923) (919b95f) (Piotr Grzesik)
- Packaging:
- Add exec bit for packaged files on Windows (#8615) (c864fbd) (Łukasz Jendrysik)
- Do not exclude layer paths when packaging a layer (#8602) (86b366a) (Juanjo Diaz)
- Ensure that .env files are excluded from package (#8566) (8791cda) (Piotr Grzesik)
- Expose meaningfully file access errors (#8582) (13c7b7b) (Łukasz Jendrysik)
- AWS Lambda: Improve "image" property validation (#8639) (a8be1d1) (Mariusz Nowak)
- Standalone: Fix upgrade command (#8608) (f23e50b) (Mariusz Nowak)
Maintenance Improvements
- AWS Deploy: Follow AWS naming in stack deploy action types (#8632) (a238a9b) (Mariusz Nowak)
- Convert to native Promise and async/await (#8593) (84d423d) (Juanjo Diaz)
- Normalize module path (#8620) (Mariusz Nowak)
- Remove dependency to stream-promise (#8601) (ca697f3) (Juanjo Diaz)
- Remove irrelevant fs modules (#8588) (c1907a2) (Mariusz Nowak)
- Remove unused modules (#8598) (d102a39) (Juanjo Diaz)
2.15.0 (2020-12-04)
Features
- AWS Lambda:
- Basic container image support (#8572) (c0ea4c1) (Mariusz Nowak)
- Increase memory limits per changes on AWS side (#8569) (c5ae979) (Piotr Grzesik)
Bug Fixes
- AWS API Gateway: Fix
integrationschema (#8574) (09231c0) (Mariusz Nowak)
2.14.0 (2020-12-01)
Features
Bug Fixes
- AWS IAM: Prevent function logs write access with disabled logging (#8561) (ee18167) (Ashish Sharma)
- Config Schema: Fix configuration of common properties in
resources(#8553) (9399f2b) (Frédéric Barthelet)
2.13.0 (2020-11-25)
Features
- CLI:
- Conditional support for
.envfiles (#8413) (d1a22c8) (Piotr Grzesik) - Improve general
--helpand remove--verboseoption (#8532) (4287494) (Vinod Tahelyani)
- Conditional support for
Bug Fixes
- AWS Deploy: Improve S3 bucket policy security (#8542) (2a9b57b) (Ashish Sharma)
- Config Schema:
- Recognize API Gateway resource policy shorthands (#8506) (b7901cd) (Frédéric Barthelet)
- Recognize string format of
service(#8537) (6c6881c) (Frédéric Barthelet)
Templates
aws-nodejs-typescript: Import type definitions from@serverless/typescriptproject (#8543) (fef389b) (Frédéric Barthelet)
Maintenance Improvements
- Refactor some functions to native promises (#8533) (06f6c6d) (Graham McGregor)
2.12.0 (2020-11-20)
Features
- AWS HTTP API: Support metrics (#8510) (3feafbc) (Baptiste Guerin)8496
Bug Fixes
-
Packaging: Fix compatibility with npm v7.0 (#8505) (fdd962b) (Dmitry Gorbash)
-
AWS API Gateway: Fix
usagePlan.throttlehandling (#8472) (04e18cb) (andreizet) -
CLI: Ensure to not fallback to Framework on components run error (#8530) (15332c5) (Mariusz Nowak)
-
Templates: Fix service rename (#8508) (8c0d892) (Mariusz Nowak)
Templates
aws-nodejs-typescript:- Upgrade (#8496) (786809e) (Chris Schuld)
- Fix tooling options (#8501) (cc103f1) (David ALLIX)
aws-go-mod: Fix cleanup (#8507) (2791c71) (Fukaya Temma)
2.11.1 (2020-11-09)
Bug Fixes
- Config Schema: Fix multiple event types support in
defineFunctionEventPropertiesschema extension method (#8486) (e32b771) (Frédéric Barthelet)
2.11.0 (2020-11-06)
Features
- ConfigSchema:
defineFuntionEventPropertiesschema extension method (#8471) (b5abfd8) (Frédéric Barthelet) - Deprecate
serviceobject notation (#8466) (c0a2ecf) (A. Singh) - Analytics:
- Distinguish different standalone installations (#8474) (5f81f58) (Mariusz Nowak)
- Report tabtab autocomplete installations (#8474) (04b868f) (Mariusz Nowak)
Bug Fixes
- Ensure to inspect configuration after it's fully resolved (#8482) (f60fb55) (Mariusz Nowak)
- CLI: Fix handling of command options in help display (#8476) (2fffb16) (Mariusz Nowak)
- Standalone: Recognize Windows as non auto updatable platform (#8474) (4fc29a5) (Mariusz Nowak)
2.10.0 (2020-11-03)
Features
- Config Schema:
Bug Fixes
- Config Schema:
- Support empty string as environment variables (#8468) (ff9db3e) (Mariusz Nowak)
- Ensure schema related config normalization is pursued also with validation turned off (#8460) (df1b8a9) (Mariusz Nowak)
- Support log retention at custom resource lambda log groups (#8456) (4ce9037) (Filip Pýrek)
- Analytics: Ensure to send payload when having all meta (#8467) (03859c0) (Mariusz Nowak)
Maintenance Improvements
- Remove
that = thispattern (#8463) (4ae192c) (telenord) - Config Schema:
- Run schema validation only in service context ((#8460) (c271218) (Mariusz Nowak)
- Ensure config modifications happen after its validation (#8460) (214768b) (Mariusz Nowak)
- AWS Alexa: Ensure to log deprecation at initialization stage (#8467) (a5a1a23) (Mariusz Nowak)
- AWS API Gateway: Ensure to log deprecation at initialization stage (#8467) (b6d033a) (Mariusz Nowak)
- AWS CloudFront: Ensure to log deprecation at initialization stage (#8467) (61f90a3) (Mariusz Nowak)
- Ensure to log deprecation at initialization stage (#8467) (1b26075) (Mariusz Nowak)
2.9.0 (2020-10-29)
Features
- Opt-in auto update feature for global (standalone and npm) installations. Turn on via
sls config --autoupdate(#8428) (e3f4546) (Mariusz Nowak) - AWS API Gateway: Improve API Gateway API naming, deprecate
{stage}-{service}format in favor of{service}-{stage}with suggestion to opt-in to new way (#8339) (8566135) (Fabian Schneider) - AWS CloudFront: Switch from
ForwardedValuesto cache policies (#8381) (479727e) (Frédéric Barthelet) - AWS Deploy: Update according to shifted CloudFormation limits (#8433) (7e9b2ea) (Frédéric Barthelet)
- Analytics:
- Distinguish between npm and other global installation types (#8428) (7cc898c)(Mariusz Nowak)
- Report
isAutoUpdateEnabled(#8428) (48a3e11)(Mariusz Nowak)
Bug Fixes
- AWS Deploy: Fix handling of AWS SDK numeric error codes (#8412) (6e62e1c) (Ed Holland)
- Config Schema:
- Ensure to validate
provideras set in config file (#8450) (b04ab55)(Mariusz Nowak) - Fix IAM Policy resource reference schema (#8453) (85f823c)(Mariusz Nowak)
- Ensure to validate
- Templates: Ensure service is renamed also in eventual
package-lock.json(#8409) (78f159b) (Mark Tse)
Maintenance Improvements
- Standalone: Seclude standalone utils (#8428) (5fcc54a)(Mariusz Nowak)
blluebirdremoval:- Replace
BbPromise.propswithPromise.all(#8414) (2d6824c) (Piotr Grzesik)
- Replace
2.8.0 (2020-10-16)
Features
Bug Fixes
- Config Schema: Do not mark
layers[].pathas required (#8398) ((0394025) (Mariusz Nowak) - Config Schema: Fix AWS
streameventconsumerschema(#8405) (b0fe67d) (Mariusz Nowak)
Maintenance Improvements
- Config Schema: Convert
oneOfto more optimalanyOf(#8405) (2c874e2) (Mariusz Nowak)
2.7.0 (2020-10-13)
Features
- AWS Websocket: Support CF intrinsic functions at
arn(#8335) (9303d8e) (Raul Zaldana) - Config Schema: Schema for AWS
functions[]async invocation related properties(#8385) (719fa3a) (Frédéric Barthelet) - AWS Local Invocation: Randomize
context.awsRequestId(#8380) (6a81137) (Frédéric Barthelet)
Bug Fixes
- AWS Deploy:
- Fix resolution of CloudFormation error in stack monitoring logic (#8388) (4579045) (Mariusz Nowak)
- Ensure right handling for overriden (by plugin)
package.artifact(#8351) (661caad) (Ryan Roemer)
- AWS Stream: Fix support for lambdas with provisioned concurrency (#8342) (c382d86) (Piotr Grzesik)
- AWS S3: Fix handling of lambda removal permissions (#8384) (c2d40ea) (Oz Weiss)
- Config Schema: Fix API Gateway authorizer schema (#8389) (f166546) (Mariusz Nowak)
- AWS Local Invocation: Ensure
IS_LOCALenv variable in docker (#8372) (21babec) (Marek Piotrowski)
2.6.0 (2020-10-09)
Features
Bug Fixes
- Config Schema:
- Revert invalid
oneOfbased validation (#8376) (a9b28b6) (Mariusz Nowak) - Bring back non-array supported variants (#8366) (244ae11) (Mariusz Nowak)
- Revert invalid
- Ensure to preserve
undefinedvalued service config properties asundefinedafter normalizing for schema (#8374) (2e26e07) (Mariusz Nowak)
2.5.0 (2020-10-07)
Features
- Config Schema:
- Schema for AWS
providerproperties (#8297) (38c2047) (Frédéric Barthelet) - Schema for
layers(#8299) (4168dc1) (Oz Weiss) - Schema for
provider.logs.restApi(#8309) (dd9a011) (Frédéric Barthelet) - Recognize
Fn::Transportatresoures.Resources(#8337) (11a9d37) (Raul Zaldana)
- Schema for AWS
- Imply a safe primitives coercion on service configuration properties (#8319) (6d1ee37) (Mariusz Nowak)
- Coerce service configuration primitive values to arrays, when array is expected (#8319) (a6ff964) (Mariusz Nowak)
- AWS Deploy: Retry retryable SDK errors in custom resources (#8338) (a3ebc01) (Pratik Prajapati)
Bug Fixes
- Config Schema:
- Fix
cloudFronteventbehaviorschema (#8308) (5b740f6) (Johannes Edelstam) - Fix
Fn::Joindelimiter length (#8349) (faa1dce) (Geoff Baskwill) - Fix
provider.tagsschema (#8314) (fc34140) (Noel Martin Llevares) - Recognize
snseventdisplayNameproperty as optional (#8323) (a020a4a) (Frédéric Barthelet)
- Fix
- Variables:
- Fix handling of circular object references (#8343) (fd451ca) (Mariusz Nowak)
- Fix support for
${self:}(#8343) (ac34110) (Mariusz Nowak)
- AWS API Gateway: Fix resolution of request parameters
requiredvalue (#8329) (d2fb696) (Oz Weiss) - AWS Credentials: Recognize AWS_DEFAULT_PROFILE env variable (#8354) (261c16f) (Marek Piotrowski)
- AWS IAM: Report missing
RoleNameon custom role (#8219) (60cfa75) (David Wells)
2.4.0 (2020-09-30)
Features
- Config Schema:
Bug Fixes
- Config Schema: Recognize deployment valid environment variables format (#8307) (eb5e548) (Mariusz Nowak)
- AWS SQS: Ensure to depend on provisioned alias if needed (#8298) (8c4d972) (Piotr Grzesik)
- AWS ALB: Ensure to treat
provider.alb.authorizersas optional (#8295) (e990c09) (Mariusz Nowak)
2.3.0 (2020-09-25)
Features
- AWS MSK: Support for MSK through
mskevent (#8164) (05d703e) (Piotr Grzesik) - Config Schema: Schema for AWS
alexaSmartHomeevent (#8255) (bd5099e) (Oz Weiss) - Deprecate
awsKmsKeyArnin favor ofkmsKeyArn(#8277) (a55009e) (Frédéric Barthelet)
Bug Fixes
- AWS Lambda: Address issues in version hash generation logic, ensure any layer changes influence change of hash (#8066) (e43c889) (Patrick Withams)
- Config Schema: Recognize CF intrinsic functions in vpc config (#8283) (e75e998) (Devon Powell)
- Variables: Ensure no collisions with AWS CloudFormation variables (#8279) (2fdeb51) (Matthieu Napoli)
Maintenance Improvements
lodashreplacement:- Replace
_.forEachwithObject.entries().forEach(#8280) (76e02cc) (Piotr Grzesik) - Replace
_.forOwnwithObject.entries().forEach(#8284) (56c7e44) (Piotr Grzesik)
- Replace
- Print: Read provider values from provider (#8281) (b53716a) (Mariusz Nowak)
2.2.0 (2020-09-23)
Features
- Config Schema:
- Schema for AWS
sqsevent (#8227) (4f96ce1) (Oz Weiss) - Schema for
functions[]properties (#8222) (feece9a) (Frédéric Barthelet) - Schema for AWS
cloudfrontevent (#8250) (8943693) (Oz Weiss) - Schema for AWS
cloudwatchLogevent (#8228) (42676d3) (Oz Weiss) - Schema for AWS
websocketevent (#8218) (e1ca63c) (Raul Zaldana)
- Schema for AWS
- AWS Lambda: Support CF intrinsic functions in
fileSystemConfig.arn(#8265) (4bf6543) (Piotr Grzesik) - Deprecate an attempt to extend nonexistent resources (#8266) (0ced414) (Piotr Grzesik)
Bug Fixes
- AWS Lambda: Recognize function-wide settings for version hashing (#8212) (1fceb89) (Oz Weiss)
- AWS Local Invocation: Fix Dockerfile layer path on Windows (#8273) (0164327) (Gábor Lipták)
- AWS SNS: Fix setup of redrive policy (#8268) (3e9e6aa) (5up3r20e)
- Config Schema:
- Recognize enhanced object syntax for plugins (#8259) (4b86fa5) (jimjenkins5)
- Treat explicit
nullorundefinedas no value (#8272) (e5e42ba) (Mariusz Nowak)
Maintenance Improvements
lodashreplacement:- Replace
_.{entries|entriesIn|toPairs}withObject.entries(#8275) (b867df1) (Piotr Grzesik) - Replace
_.valueswithObject.values(#8274) (57d1ce1) (Piotr Grzesik)
- Replace
- Dependencies:
- Upgrade "@serverless/utils" to v2 (#8278) (ef39e95) (Mariusz Nowak)
2.1.1 (2020-09-17)
Maintenance Improvements
- Ensure to rely on
@serverless/enterprise-plugin^4.0.4
2.1.0 (2020-09-16)
Features
- Config Schema:
Bug Fixes
- Config Schema:
- Fix CF template extension
Transformschema (#8229) (6961b62) (Michael Wolfenden) - Recognize string value at DependsOn (#8233) (4c36753) (Mariusz Nowak)
- Support
Conditionattribute inresources.extensions(#8217) (16bae33) (Geoff Baskwill)
- Fix CF template extension
- CLI: Workaround config schema error on project initialization (#8258) (738c52f) (Mariusz Nowak)
- Ensure to memoize config file resolution by instance (#8231) (3177e40) (Mariusz Nowak)
Maintenance Improvements
- Dependencies:
- Switch to
fastest-levenshtein(#8238) (0cd9cca) (Mariusz Nowak) - Register
semver-regexas dev dependency (#8245) (4c46663) (Mariusz Nowak) - Upgrade:
archiverto v5 (#8235) (389e3eb) (Mariusz Nowak)chalkto v4 (#8236) (26628ff) (Mariusz Nowak)downloadto v8 (#8237) (5931c7c) (Mariusz Nowak)filesizeto v6 (#8239) (5616603) (Mariusz Nowak)fs-extrato v9 (#8240) (370c097) (Mariusz Nowak)get-stdinto v8 (#8241) (372ce54) (Mariusz Nowak)is-dockerto v2 (#8242) (0c78259) (Mariusz Nowak)p-limitto v3 (#8243) (e136d8b) (Mariusz Nowak)semverto v7 (#8244) (c6c3804) (Mariusz Nowak)untildifyto v4 (#8246) (282b9be) (Mariusz Nowak)yargs-parserto v20 (#8248) (ce51c8f) (Mariusz Nowak)uuidto v8 (#8234) (b40b11b) (Mariusz Nowak)
- Remove not used:
cli-progress-footer(#8247) (08cb86a) (Mariusz Nowak)jwt-decode(#8247) (f38c7c5) (Mariusz Nowak)mocha-lcov-reporter(#8247) (822adbd) (Mariusz Nowak)rcdependency (#8247) (4f6e354) (Mariusz Nowak)write-file-atomic(#8247) (c375120) (Mariusz Nowak)
- Switch to
2.0.0 (2020-09-10)
⚠ BREAKING CHANGES
- Node.js version 10 or later is required (dropped support for v6 and v8)
- CLI:
- Locally installed (in service
node_modules) CLI will be run instead of global one, when globally installedserverlessCLI is invoked in a context of a service, which has locally installedserverless. slssalias forserverlessCLI command was removed. Rely onslsorserverlessinsteadbin/serverlesswas removed. If you target CLI script directly, pointbin/serverless.jsinstead
- Locally installed (in service
- AWS HTTP API:
- Default
payloadwas changed from1.0to2.0 timeoutsetting as configured directly forhttpApievent is no longer supported. Timeout value is now unconditionally resolved from function timeout setting (it's to guarantee that configured endpoint has necessary room to process function invocation)
- Default
- AWS ALB: Support for
providers.alb.authorizers[].allowUnauthenticatedsetting was removed. Rely onproviders.alb.authorizers[].onUnauthenticatedRequestinstead
Features
- CLI: Fallback to service local
serverlessinstallation by default (#8180) (dfc7839) (Mariusz Nowak) - AWS HTTP API: Switch default payload mode to 2.0 (#8133) (1596738) (andreizet)
Bug Fixes
- Packaging: Fix resolution of files with
.In their names (#8130) (c620af3) (Christian Musa)
Maintenance Improvements
- Drop support for Node.js versions below v10 (#8131) (69dd4b9) (Mariusz Nowak)
- CLI:
- Remove
slss,serverlesscommand alias (#8161) (33eef9f) (Christian Musa) - Remove deprecated
bin/serverlessfile (#8142) (4ceaca0) (Piotr Grzesik)
- Remove
- AWS Lambda: Remove support for async config on destination (#8138) (e131f26) (Piotr Grzesik)
- AWS ALB: Remove support for
authorizers[].allowUnauthenticated(#8160) (7c304df) (morgan-sam) - AWS HTTP API: Drop support for
timeoutsetting (#8184) (1cfd1f2) (Mariusz Nowak) - Replace
mkdripwithesnureDirfromfs-extra(#8183) (1beb8d0) (Mariusz Nowak)
1.83.3 (2021-03-23)
Maintenance Improvements
- Backport
analyticsUrlfrom@serverless/utils@4.0.0(#9162) (a1f6538) (Piotr Grzesik) - Enrich analytics payload with missing properties (#9162) (a7b9498) (Piotr Grzesik)
1.83.2 (2020-11-06)
Bug Fixes
- AWS HTTP API: Ensure to report deprecation at initialization phase (#8483) (61a72c6) (Mariusz Nowak)
- Ensure to inspect configuration once it's fully resolved (#8483) (1ea4719) (Mariusz Nowak)
1.83.1 (2020-11-03)
Bug Fixes
- Analytics: Ensure to send payload when having all meta (#8469) (78dce94) (Mariusz Nowak)
Maintanance Improvements
- AWS Lambda: Ensure to log deprecation at initialization stage (#8469) (2e3ce12) (Mariusz Nowak)
- AWS ALB: Ensure to log deprecation at initialization stage (#8469) (3cf6449) (Mariusz Nowak)
- AWS HTTP API: Ensure to log deprecation at initialization stage (#8469) (ecd3084) (Mariusz Nowak)
- Standalone: Support non-latest version builds (#8469) (8727044) (Mariusz Nowak)
1.83.0 (2020-09-10)
Features
- Config Schema:
- Schema for AWS
resourcessection (#8139) (00d6f79) (Geoff Baskwill) - Schema for AWS
scheduleevent (#8143) (d9b91e9) (Andy Duncan)
- Schema for AWS
- AWS Local Invocation: Resolve CF Ref in env variables (#8198) (72745c9) (Frédéric Barthelet)
- AWS HTTP API: Recognize support for CF instructions in authorizers (#8200) (428fc79) (Frédéric Barthelet)
Bug Fixes
- AWS API Gateway: Fix model resource name generator (#8204) (f727631) (Cole Mujadzic)
- AWS Stream: Fix support for
batchWindow: 0(#8202) (b0547e6) (Mariusz Nowak) - Templates: Add missing property in ruby template (#8195) (8f070d5) (jkburges)
Maintenance Improvements
- Config Schema:
- Move docs to dedicated website page (#8207) (c370295) (Mariusz Nowak)
- Unified warning log color scheme (#8207) (2c19bf5) (Mariusz Nowak)
1.82.0 (2020-09-04)
Features
- Config Schema: Schema for AWS
iotevent (#8177) (e55fc36) (Piotr Grzesik) - Analytics: Recognize and report four different installation types (#8188) (f9e955c) (Mariusz Nowak)
Maintenance Improvements
- Remove
update-notifiernotifications (as those are now covered by more accurate backend notifications, which also support notifications for multiple majors) (#8185) (11fb888) (Mariusz Nowak) - Prevent is locally installed detection on confirmed local installations (#8188) (7accad6) (Mariusz Nowak)
1.81.1 (2020-09-02)
Bug Fixes
- Revert from
frameworkVersionrequirement plan (#8178) (6dd0596) (Mariusz Nowak)
1.81.0 (2020-09-02)
Features
- CLI:
- Optionally fallback to local installation of
serverless(#8158) (9fb62f1) (Mariusz Nowak) - Announce
frameworkVersionrequirement (#8158) (9f7f9d3) (Mariusz Nowak) - Deprecate
slssCLI alias (#8156) (a2d1031) (Christian Musa)
- Optionally fallback to local installation of
- Config Schema: Schema for AWS
snsevent (#8112) (87fd3c1) (Frédéric Barthelet) - AWS Local Invocation: Resolve
Fn::ImportValueinstructions in env vars (#8157) (06ed01b) (Frédéric Barthelet) - AWS API Gateway: Allow to opt-out from default request templates (#8159) (7aad819) (Joaquín Ormaechea)
- AWS HTTP API: Support CF functions at
httpApi.authorizer.id(#8171) (453b802) (Frédéric Barthelet) - Templates:
- Ensure
frameworkVersionin all templates (#8175) (3089abc) (Mariusz Nowak) - Upgrade
google-nodejstemplate (#8152) (40fb8ae) (Viacheslav Dobromyslov)
- Ensure
- Standalone: Prevent accidental upgrades to a new major (#8136) (56aa5aa) (Mariusz Nowak)
- Analytics:
- Introduce
isLocallyInstalledcharacteristics (#8158) (246e4a6) (Mariusz Nowak) - Send info on reported deprecations (#8136) (83c4b16) (Mariusz Nowak)
- Introduce
Bug Fixes
- Packaging: Ensure to include eventual
aws-sdkdependency if installed (#8145) (2561ae8) (Mariusz Nowak) - Templates: Rename folder
vscodeto.vscode(#8168) (f308382)(Frédéric Barthelet) - Config Schema: Ensure to validate direct config where applicable (#8144) (af60319) (Mariusz Nowak)
- Fix handling of invalid range put into
frameworkVersion(#8175) (0d5a480) (Mariusz Nowak) - Fix handling of pre-releases in
frameworkVersionvalidation (#8166) (c0fb04a) (Mariusz Nowak)
Maintenance Improvements
- Config Schema:
- Define AWS definitions in context of a provider (#8144) (c79cae2) (Mariusz Nowak)
- Treat
resourcesas fully provider specific (#8144) (6d7e967) (Mariusz Nowak)
- CLI:
- Do not notify of update when new major is published (as that's in scope of backend notifications) (#8136) (230f34a) (Mariusz Nowak)
- Improve presentation of multi-line backend notifications (#8136) (1abb3c0) (Mariusz Nowak)
- AWS HTTP API: Convert
timeoutusage warnings to deprecations (#8172) (3b294fb) (Mariusz Nowak) - Seclude IAM role resource name resolution logic (#8167) (6d7103d) (Mariusz Nowak)
- Expose
serverless.onExitPromisefor internal processing (#8146) (0ab1283) (Georges Biaux) - Auto align multi-line deprecation messages (#8158) (9cb86a4) (Mariusz Nowak)
1.80.0 (2020-08-26)
Features
- AWS Lambda: Support EFS mounts (#8042) (149f64a) (Piotr Grzesik)
- Config Schema:
- Schema for AWS
eventBridgeevent (#8114) (796ce0b) (Frédéric Barthelet) - Schema for AWS
cognitoPoolevent (#8105) (184cb48) (Frédéric Barthelet)
- Schema for AWS
- Plugins: Fallback plugins search to global installation folder (#8038) (82f6db7) (Derek Kulinski)
Bug Fixes
- Config Schema: Fix recognition of some required properties (#8108) (1dd42b0) (Mariusz Nowak)
Performance Improvements
- Packaging: Exclude
aws-sdkdependency (as it's provided in AWS environment unconditionally) (#8103) (f45da3c) (Yogendra Sharma) - Packaging: Remove
aws-sdkinstallation step when packaging custom resource lambda (#8110) (258c692) (Sedat Can Yalçın)
Maintenance Improvements
- AWS Deploy: Refactor out
asyncdependency in CloudFormation stack deployment monitoring logic (#8132) (f9bcaae) (Mariusz Nowak) - Adjust deprecation logs to reflect warning format (#8108) (b0938c7) (Mariusz Nowak)
1.79.0 (2020-08-19)
Features
- Config Schema:
- AWS HTTP API schema (#8068) (f091c07) (Frédéric Barthelet)
- Schema for AWS API Gateway's
provider.resourcePolicy(#8051) (20d9c64) (Geoff Baskwill)
Bug Fixes
- AWS API Gateway: Fix referencing provisioned authorizers (#8059) (5a691f4) (Mariusz Nowak)
- AWS SQS: Fix referencing lambdas with provisioned concurrency (#8059) (2abb9ad) (Mariusz Nowak)
- AWS Credentials: Fix authentication error message resolution (#8062) (2faa20e) (Mariusz Nowak)
- AWS Lambda: Ensure to respect
maximumRetryAttemptsset to0(#8048) (bab0d56) (Mariusz Nowak) - Config Schema:
- Report configuration errors as warnings (so it's less confusing) (#8101) (e1ee0dc) (Mariusz Nowak)
- Recognize catch-all pattern in
disabledDeprecationsproperty (#8091) (c9ee6d5) (Mariusz Nowak)
- CLI: Mark
helpas command that doesn't depend on external plugins (#8056) (4660acd) (Mariusz Nowak) - Dashboard: Ensure service independent commands work unconditionally (#8056) (d8a73b8) (Mariusz Nowak)
- Templates:
- Ensure ES7+ support in
aws-nodejs-ecma-script(#8064) (e7efca4) (Sam Hulick) - Fix
SystemTextJsoninitialization inaws-sharp(#8092) (0490e8b) (Matt Davis)
- Ensure ES7+ support in
- Variabless: Show promises resolution status less frequently (to not interfere with eventual MFA input) (#8062) (516603a) (Mariusz Nowak)
1.78.1 (2020-08-04)
Bug Fixes
- Config Schema:
- Ensure schema for core properties (
frameworkVersionanddisabledDeprecations) (#8044) (a3f624e) (Mariusz Nowak) - Fix errors normalization for
oneOfcase (#8044) (f4803ee) (Mariusz Nowak) - Fix errors normalization with external refs (#8044) (d171f54) (Mariusz Nowak)
- Ensure schema for core properties (
Maintenance Improvements
- Expose
isStandalonefor metrics (#8045) (0ad5cd7) (Mariusz Nowak)
1.78.0 (2020-08-03)
Features
- Schema based validation of service config (#7335) (268f714) (Petr Reshetin & Mariusz Nowak)
- AWS Lambda: Support
maximumEventAgeandmaximumRetryAttempts(#7987) (8573ec1) (Piotr Grzesik)
Bug Fixes
- AWS EventBridge:
- Fix handling of events removal (#8004) (41d19b3) (Daniil Bratchenko)
- Fix attaching lambdas to "default" stage (#7995) (b53f080) (Pavle Portic)
- Templates: Ensure missing Kotlin dependencies (#8010) (15fae3b) (Diego Marzo)
- Set
versionFunctionsto true only in AWS provider case (9897120) (Mariusz Nowak)
1.77.1 (2020-07-28)
Bug Fixes
- AWS Local Invocation: Ensure java wrappers are moved to runtimeWrappers (#7999) (03531d8) (Yuji Yamano)
- AWS Credentials:
- Improve AWS SDK workaround (#8002) (32cde98) (Mariusz Nowak)
- Improve credentials error recognition (#8002) (863bc51) (Mariusz Nowak)
1.77.0 (2020-07-27)
Features
- Templates: Add
aws-kotlin-jvm-gradle-ktstemplate (#7992) (4727216) (Diego Marzo)
Bug Fixes
- Standalone: Ensure local invocation wrappers are accessible (#7982) (527233d) (Mariusz Nowak)
- Fix aws-sdk workaround (#7984) (de38640) (Mariusz Nowak)
- Templates: Add aws-lambda-java-events support to Java (#7986) (ab99b65) (Yuji Yamano)
- Recognize final DELETE_COMPLETE event with verbose flag (#7979) (e980625) (devops hipster in training.)
- AWS API Gateway: Ensure correct type for StatusCode property (#7977) (d0edb5d) (Lucas Astrada)
1.76.1 (2020-07-23)
Bug Fixes
- Ensure to package CLI script (a687e91) (Mariusz Nowak)
1.76.0 (2020-07-23)
Features
- AWS ALB: Support health check configuration for target groups (#7947) (a2f977c) (David Septimus)
- Templates: Upgrade
gradle-wrapperandgradlein Java runtime templates (#7972) (6da0964) (Yuji Yamano)
Bug Fixes
- Fix AWS missing credentials handling (#7963) (7af0cd8) (Mariusz Nowak)
- Fix packaged files permissions (#7965) (cae2885) (Mariusz Nowak)
- AWS Local Invocation: Add
java11support. (#7956) (dc1edc1) (Yuji Yamano) - Templates:
- Fix java
invoke-bridgebuild error handling (#7968) (87e7480) (Yuji Yamano) - Fix incomplete migration into dayjs from moment (#7961) (d5ce246) (Yuji Yamano)
- Set
ContextClassLoaderforgroovyandclojure(#7955) (25263fd) (Yuji Yamano) - Upgrade Java 3rd party libraries used for invokeLocal(#7930) (851b856) (Yuji Yamano)
- Fix java
Maintenance Improvements
- Remove no longger needed Node.js deprecation logs supression (#7964) (af89ab8) (Mariusz Nowak)
- CLI:
- Cleanup components CLI resolution logic (#7964) (cf1d51d)(Mariusz Nowak)
- Seclude Framework CLI script (#7964) (dc826b4)(Mariusz Nowak)
1.75.1 (2020-07-16)
Bug Fixes
- CLI: Ensure
--versionis only top level command option (#7949) (1f7534c) (Mariusz Nowak) - AWS Deploy: Fix resolution of SLS_AWS_REQUEST_MAX_RETRIES setting (da1b75a) (Mariusz Nowak)
1.75.0 (2020-07-15)
Features
- AWS HTTP API:
- AWS API Gateway: Support integration mapping of request headers #7897 (56b335f) (Ben Arena)
- AWS Deploy: Support customization of request retries count (6c2fabf) (Mariusz Nowak)
- Templates:
- Improve TypeScript template (#7934) (5e322c8) (Frédéric Barthelet)
- Upgrade azure-nodejs template (#7918) (a88cf00) (Ian Anderson)
- Deprecate not maintained Node.js versions (#7918) (a1f2fdb) (Mariusz Nowak)
- Expose
logDeprecationthrough which plugins may signal deprecations #7941 (f444a8d) (Mariusz Nowak) - Send list of sevice npm dependencies for notifications generator #7940 (dba0548) (Mariusz Nowak)
Bug Fixes
- CLI:
- Ensure to show help and version in context of invalid service #7924 (3ffa549) (Mariusz Nowak)
- Show interactive help unconditionally on
--help-interactive#7924 (ff0af1e) (Mariusz Nowak) - Show version info unconditionally on
-vor--version#7924 (c042dd5) (Mariusz Nowak) - Communicate access to Components CLI #7942 (79b4718) (Mariusz Nowak)
- Ensure deprecation logs support mute settings from service config #7941 (4e69c76) (Mariusz Nowak)
- Templates: Fix
PackageReferencein aws-fsharp template (#7914) (7848b6d) (Matt Davis) - Improve error handling in config file resolution #7924 (de2c68d) (Mariusz Nowak)
- Throw operational error as operational #7924 (f965e44) (Mariusz Nowak)
Maintenance Improvements
lodashreplacement:- Replace
_.concatwitharray.concat(#7851) (fce0b18) (RT) - Replace
_.findKeywithObject.keys(object).find(#7881) (d6cf036) (Duc Nguyen) - Replace
_.haswith better counterparts (#7915) (7bbd04a) (andreizet) - Replace
_.keyBywith native constructs (#7882) (e7163ce) (Duc Nguyen) - Replace
_.someusage witharray.some(#7901) (75bf185) (Piotr Grzesik) - Replace
_.toStringwith nativeString(#7893) (028e467) (Anh Dev)
- Replace
1.74.1 (2020-06-29)
Bug Fixes
- AWS Deploy: Ensure no duplicate (case-insensitive) stack tags (#7887) (71919f1) (MickVanDuijn)
- Standalone:
- Ensure reliable access from China (#7891) (6fccede) (Mariusz Nowak)
- Support SLS_GEO_LOCATION env var (#7891) (474df11) (Mariusz Nowak)
Maintenance Improvements
lodashreplacement:- Remove
_.isInteger(#7878) (3b19a5a) (Dai Van Nguyen)
- Remove
1.74.0 (2020-06-26)
Features
Bug Fixes
- AWS HTTP API: Respect logRetentionInDays setting (#7856) (9dad77c) (Jonne Deprez)
- AWS Websocket: Fix resources dependency chain (9c0f646) (Mariusz Nowak)
Maintenance Improvements
lodashreplacement:- Remove
_.isBooleanusage (#7880) (57f70f9) (Anh Dev) - Replace
_.chainwith native constructs (#7862) (288cb25) (Nguyễn Việt Đức) - Replace
_.compactwitharray.filter(Boolean)(#7858) (7e68a0c) (Çalgan Aygün) - Replace
_.isEmptywith native counterparts (#7873) (4c33476) (Dai Van Nguyen) - Replace
_.minwith native constructs (#7840) (ee94dce) (Nguyễn Việt Đức) - Replace
_.parseIntwithNumber(#7877) (f2e1942) (Dai Van Nguyen) - Replace
_.pullAllWithwith native constructs (#7861) (f6743e9) (Çalgan Aygün) - Replace
_.reducewitharray.reduce(#7883) (297f7d8) (Dai Van Nguyen) - Replace
_.sortBywitharray.sort(#7823) (57e4212) (Nguyễn Việt Đức)
- Remove
1.73.1 (2020-06-16)
Bug Fixes
- AWS API Gateway: Fix handling of
usagePlanarray (85cc447) (Mariusz Nowak)
1.73.0 (2020-06-16)
Features
- AWS Stream: Add support for
maximumRecordAgeInSecondsproperty (#7833) (003fcfb) (Demián Rodriguez) - Drop old and support new analytics endpoint, display notifications as returned by backend (#7811) (49b5914) (Mariusz Nowak)
Bug Fixes
- AWS SQS: Revert support for
maximumRetryAttemptsoption (#7832) (5a5a986) (Mariusz Nowak) - Ensure
serverless.tsis handled properly at plugin commands (#7806) (dc96b9a) (Bryan Hunter)
Maintenance Improvements
lodashreplacement:- Replace
_.firstwitharray[0](#7816) (a527744) (Chris Villanueva) - Replace
_.headwitharray[0](#7817) (8991ceb) (Chris Villanueva) - Replace
_.includeswithval.includes(#7818) (77fbb59) (Chris Villanueva) - Replace
_.indexOfwitharr.includes(#7825) (332524d) (Nguyễn Việt Đức) - Replace
_.isFunctionwithtypeof value === 'function'(#7810) (e42ab2c) (Wing-Kam) - Replace
_.isNil(value)withvalue == null(#7809) (6cf4901) (Wing-Kam) - Replace
_.isString(value)withtypeof value === 'string'(#7812) (9f3ee94) (Wing-Kam) - Replace
_.isUndefinedwith native checks (#7826) (20cef81) (Nguyễn Việt Đức) - Replace
_.joinwitharray.join(#7805) (5cf46bf) (Chris Villanueva) - Replace
_.mapwitharray.map(#7827) (4c6f8be) (Nguyễn Việt Đức) - Replace
_.nthwitharray[index](#7841) (d5de0ec) (Nguyễn Việt Đức) - Replace
_.repeatwithstring.repeat(#7842) (a549517) (Nguyễn Việt Đức) - Replace
_.replacewithstring.replace(#7843) (aaa2f96) (Nguyễn Việt Đức) - Replace
_.splitwithstring.split(#7820) (053f5f4) (srd2014) - Replace
_.takeRightwitharray.slice(#7831) (3b3db7a) (Jishnu Mohan P R) - Replace
_.toUpper(string)withstring.toUpperCase(#7808) (22a4ed2) (Wing-Kam) - Replace
_.unsetwithdelete(#7813) (e39cdfd) (Chris Villanueva)
- Replace
- Switch to
@serverless/util/config(#7811) (96afed4) (Mariusz Nowak)
1.72.0 (2020-06-02)
Features
- AWS API Gateway:
- Simplify referencing local CognitoUserPool (#7799) (2e4377e) (Alex DeBrie)
- Support
customerIdin API keys (#7786) (c6894b5) (Greg Campion) - Support toggling CloudWatch metrics (#7754) (87d40aa) (Satoru Kikuchi)
- AWS HTTP API: Support externally configured JWT authorizers (#7789) (4074739) (Michał Mrozek)
- CLI:
- Deprecations logger (#7741) (6f32f23) (Ahmad Mahmoud Mohammad & Mariusz Nowak)
- Deprecate
bin/serverlessbinary (#7759) (a60d2c7) (Mariusz Nowak)
- Templates: Azure C# template (#7738) (9611137) (Tanner Barlow)
- Variables: Support non-function exports in js files (#7540) (89ba272) (Steven Rapp)
- Support
serverless.ts(TypeScript type) as configuration input (#7755) (4db8b63) (Bryan Hunter)
Bug Fixes
- AWS API Gateway:
- Fix API key names resolution (#7804) (f9f6a3b) (Mariusz Nowak)
- Apply contentHandling only to successful responses (#7757) (aa48f0a) (Thomas Aribart)
- Downgrade
uuidto v3 (#7778) (e9be1c8) (Mariusz Nowak)
Maintenance Improvements
lodashreplacement:- Replace
_.assignand_.extendwithObject.assign(#7766) (85e9cd4) (Nguyễn Việt Đức) - Replace
_.everywitharray.every(#7764) (d1721cb) (Chris Villanueva) - Replace
_.filterwitharray.filter(#7775) (dac7c56) (Midhun Rajendran) - Replace
_.keyswithObject.keys(#7784) (d43241e) (Chris Villanueva) - Replace
_.findwitharray.find(#7782) (0036962) (Chris Villanueva) - Replace
_.forEachand_.eachwith array.forEach (#7748) (5e0af21) (Tatsuno Yasuhiro) - Replace
_.sizewith native counterparts (#7798) (2b00928) (Chris Villanueva)
- Replace
- Dependency upgrades:
- Replace
inquirerwith@serverless/inquirer(#7729) (4724cb8) (Ahmad Mahmoud Mohammad) - Upgrade
json-refsto v3 (#7763) (97e99fc) (Frédéric Barthelet) - Upgrade
globbyto v9 (#7750) (b245596) (Nguyễn Việt Đức)
- Replace
1.71.3 (2020-05-20)
Bug Fixes
- AWS Deploy: Fix packaging logic after regression introduced with #7742 (b97e2b4) (Mariusz Nowak)
1.71.2 (2020-05-20)
Bug Fixes
- AWS CloudFront: Fix merge of template configuration (#7739) (304a502) (Antonio Caiazzo)
- AWS Local Invocation: Ensure to mount as read only in docker (#7622) (4252422) (Alex Soto)
- AWS Deploy: Fix changes detection when user package artifact is involved (#7742) (05499e6) (Tatsuno Yasuhiro)
Performance Improvements
- AWS Deploy: Do not re-upload unchanged lambda layers (#7680) (2b9f63e) (Tatsuno Yasuhiro)
Maintenance Improvements
- Replace
_.{startsWith,endsWith,includes}with native methods (#7715) (8bb5517) (Tatsuno Yasuhiro) - Upgrade
globbyto v9 (#7750) (b245596) (Nguyễn Việt Đức)
1.71.1 (2020-05-15)
Bug Fixes
- CLI: Fix handling of singular
--configparam (7bcad68) (Mariusz Nowak) - Standalone: Workaround
fs-extrav8 bug in chocolatey package generation script (548bd98) (Mariusz Nowak)
1.71.0 (2020-05-15)
Features
- AWS Lambda: Support
disableLogssetting for functions, to disable generation of log group resources (#7720) (3144be8) (Ahmad Mahmoud Mohammad) - Support
provider.stackParametersfor configuring CloudFormation deployment Parameters (#7677) (a0a43a6) (Nikody Keating)
Bug Fixes
- AWS API Gateway:
- Fix handling of stage specific settings when nested stacks are involved (#7735) (cf1692f) (Mariusz Nowak)
- Improve stage settings preliminary configuration and validation (#7735) (e472a04) (Mariusz Nowak)
- AWS CloudFront: Ensure Lambda@Edge setup comes with no VPC configuration or environment variables set (#7721) (a1472ba) (Ahmad Mahmoud Mohammad)
- AWS IAM: Remove IAM role from function's
DependsOnsection (#7722) (d8222fa) (Ahmad Mahmoud Mohammad) - CLI: Reject multitple
--configparams (#7728) (ca2a73f) (Ahmad Mahmoud Mohammad)
Maintenance Improvements
- Upgrade
fs-extrato v8 (#7719) (c106d53) (Kenan Christian Dimas)
1.70.1 (2020-05-11)
Bug Fixes
- AWS IAM: Fix role and policy name resolution (#7694) (08dc745) (Mariusz Nowak)
- Standalone: Ensure pkg bug workaround is applied on WIndows (#7699) (8bc6d54) (Mariusz Nowak)
Enhancements
- Templates:
- Update aws-csharp to .NET Core 3.1 (#7708) (46df82e) (Joseph Woodward)
- Update aws-fsharp to .NET Core 3.1 (#7709) (a5a136f) (Stuart Lang)
Maintenance Improvements
- Replace
_.isArraywith nativeArray.isArray(#7703) (3fe2e98) (Tatsuno Yasuhiro) - Upgrade
archiverto v3 (#7712) (dd9bf9) (Frédéric Barthelet) - Upgrade
uuidto v8 (#7707) (5b4fd0) (Kazuki Takahashi)
1.70.0 (2020-05-07)
Features
- Variables: Support boolean and integer fallbacks (#7632) (f22bffc) (Frédéric Barthelet)
- AWS API Gateway: Support singular string value for CORS header (#7668) (fb4ea15) (Ahmad Mahmoud Mohammad)
Bug Fixes
- AWS API Gateway:
- Ensure to update stage only for deployed API's (#7663) (81953ef) (Mariusz Nowak)
- Fix visibility of ..-Allow-Credentials CORS header (#7576) (bd9fbfb) (Thomas Aribart)
- AWS Stream: Fix handling of configuration properties (#7682) (7e1dd66) (Jagdeep Singh)
- AWS Deploy Improve logic responsible for generation of custom resource lambda archive (#7684) (6b3a78) (Mariusz Nowak)
- AWS EventBridge: Ensure no duplicate event bus IAM policies (#7644) (a1fde35) (Thomas Aribart)
- Fix function version param handling in
rollback functioncommand (#7648) (03ad56b) () (Ahmad Mahmoud Mohammad)
1.69.0 (2020-04-29)
Features
- AWS HTTP API: Support payload format version customization (#7623) (4c2a52d) (Eugene Girshov)
- AWS API Gateway: Support Open API
operationIdsetting (#7617) (23bbcea) (Ryan Toussaint) - AWS SQS: Support
maximumRetryAttemptsoption (#7620) (9416e72) (Conrad Kurth) - Variables: Support region selection on AWS SSM variables (#7625) (7d3636f) (Frédéric Barthelet)
Bug Fixes
- AWS API Gateway: Fix origin wildcard handling with
cors: true(#7482) (57fec3f) (Bhuser) - AWS HTTP API: Fix default log format (#7612) (90ceecd) (Mariusz Nowak)
- AWS Info: Fix calculation of resources count (#7587) (946d32c) (herebebogans)
- AWS S3: Fix error message generation (#7564) (2e56dea) (John Mortlock)
- AWS Stream: Fix configuration of boolean
Enabledsetting (#7552) (10c016f) (Clar Charron)
1.68.0 (2020-04-22)
Features
- AWS ALB: Cognito and Oidc authentication support (#7372) (8c644f1) (Tatenda Chawanzwa)
- AWS Local Invocation: Support
ruby2.7runtime (#7538) (a6b3154) (Yotaro) - Templates: Support SSH format download template urls (#7588) (d3bf39a) (Yuga Sun)
Bug Fixes
- AWS HTTP API: Support API name customization (#7434) (7479a9a) (Eugene Girshov)
- AWS SQS: Fix resolution of
Enabledproperty (#7532) (8abae84), closes #7438 (Michael Wolfenden) - Templates: Fix Azure Functions Python template (#7452) (345b9e6) (Tanner Barlow)
1.67.3 (2020-04-08)
Bug Fixes
- Components: Handle gently initialization errors (#7556) (7b0c18e) (Mariusz Nowak)
1.67.2 (2020-04-08)
1.67.1 (2020-04-07)
Bug Fixes
- Standalone: Improve performance in China by supporting dedicated mirror for binary downloads (#7521) (8e85fe6) (Mariusz Nowak)
- AWS ALB: Fix handling of provisioned concurrency (#7285) (3138ef1) (Edward Goubely)
- Recognize AWS Web Identify Credentials (#7442) (001f56c) (Thomas Schaaf)
1.67.0 (2020-03-19)
Features
Bug Fixes
- AWS Lambda: Respect external IAM role at destinations (#7476) (7a3a45f), closes #7448 (Mariusz Nowak)
- Templates: Fix support for
~/..paths (#7381) (962506b) (Ada Ye) - AWS HTTP API: Do not validate timeout when no
httpApievent (#7467) (841aac9) (Mariusz Nowak)
1.66.0 (2020-03-09)
Features
- AWS Lambda: Support configuration of destinations (#7261) (8ed6a6e) (Mariusz Nowak)
Bug Fixes
- AWS Cognito: Fix pool update handling (#7418) (0898664) (Mariusz Nowak)
- AWS HTTP API: Ensure function
timeoutsetting is respected (#7420) (b52a41d) (Mariusz Nowak) - AWS Websocket: Fix AWS partition support (#7430) (9b627fb) (Austin J. Alexander)
- AWS S3: Add source account to lambda permissions for S3 events (#7417) (7d67f33) (Callum Smits)
- Variables: Relax pattern to allow non-ascii defaults (#7431) (7310782) (Arben Bakiu)
- Standalone: Fix logic responsible for notifications about new versions (#7412) (1565d03) (AJ Stuyvenberg)
1.65.0 (2020-02-28)
Features
- AWS HTTP API:
- Support access logs configuration (#7385) (f2cb89a) (Mariusz Nowak)
- Support attachment to externally created API (#7396) (f47b340) (Mariusz Nowak)
- Support
timeoutconfiguration (#7401) (df9846d) (Mariusz Nowak)
- Components: Support Cloud Components (#7390) (0ed52f6) (Eslam Hefnawy)
- AWS API Gateway: Support association of VPC endpoint ids (#7382) (19012a9) (Alexandre Tremblay)
- AWS CloudFormation: Support
resource.extensionsfor safe resource extensions (#7352) (08ec261) (Geoff Baskwill)
Bug Fixes
- AWS Local Invocation:
- Ensure AWS creds resolution for local docker invocation (#7375) (90b3a8f) (frozenbonito)
- Ensure AWS env vars in local invocation made with docker (#7349) (c09f718) (frozenbonito)
- Fix handler resolution (multi
.case) for local invocation (#7398) (d84e9e7) (Arben Bakiu)
- Standalone: Ensure to bundle local invocation non Node.js artifcats (#7409) (506ad86) (Mariusz Nowak)
- AWS EventBridge: Ensure AWS EventBrigde target ids fit 64 chars limit (#7359) (103fdac) (Frédéric Barthelet)
- AWS IAM: Ensure consistency in role and policy names (#7357) (9a0aaa8) (Thomas Schaaf)
- AWS SNS: Fix handling of
redrivePolicy(#7277) (292b1ca) (tcastelli)
1.64.1 (2020-02-26)
Bug Fixes
- AWS HTTP API: Configure default stage explicity (#7383) (3d79a7a) (Mariusz Nowak)
- Follow symlinks when writing a config (#7374) (3e1e1f4) (Neil Locketz)
- Service state path resolution (#7388) (5017f03) (Arben Bakiu)
- When packaging do not crash on deps with no package.json (#7368) (8518000) (darko1979)
1.64.0 (2020-02-18)
Features
- AWS HTTP API:
- Support CORS configuration (#7336) (ca69387) (Mariusz Nowak)
- Support JWT authorizers (#7346) (fbf99fa) (Mariusz Nowak)
- AWS API Gateway:
- Support
provider.logs.restApi.roleManagedExternally(#7333) (9b701a4) (coyoteecd)
(so CloudWatch IAM role access can be handled externally) - Support
authorizer.managedExternallyoption forhttpevent authorizers (#7327) (7abb23e) (Geoff Baskwill)
(so permissions for lambda authorizers are handled externally)
- Support
- AWS IAM: Support
provider.rolePermissionsBoundaryto set IAM boundary (#7319) (09466b5) (Thomas Schaaf) - AWS ALB: Support
provider.alb.targetGroupPrefixsetting (#7322) (3910df1) (isen-ng & jinhong-)
(so ALB target groups are prefixed with common strings, and can be easily referenced externally) - AWS Kinesis: Support Enhanced Fan-out (Consumer) streams (#7320) (9eba218) (Zac Charles)
- AWS Local invocation: Improve performance of invocations in Docker containers (#7178) (f6d9bfd) (Richard Davison)
- AWS Deploy:
- Support
deploymentBucket.maxPreviousDeploymentArtifactscustomization (#7283) (0241468) (Edmundo Santos) - Support tweaking max concurrent artifact uploads count (#7295) (0592a27) (Edmundo Santos)
- Support
Bug Fixes
- AWS HTTP API: (design fix) Instead of creating AWS stage, publish to default stage in all cases (#7331) (44c2342) (Mariusz Nowak)
- AWS API Gateway: Limit permission scope of authorizers (#7300) (c05dcb3) (Philipp Muens)
- AWS Websocket: Fix route names normalization (#7294) (33291c8) (tom-marsh)
1.63.0 (2020-02-05)
Features
- AWS HTTP API: Initial basic routes configuration support (69170d0)
- Support
destinationsconfig on stream events (#7262) (ea4ac26) - Support rich and reusable S3 buckets configuration (#7156) (382c0bf)
Bug Fixes
- Fix
sls logsso it also covers output from aliases (#7270) (4468805), closes #7214 - Standalone: Ensure to use proper CLI params parser (f426ed7)
1.62.0 (2020-01-29)
Features
- Support
redrivePolicyconfiguration on SNS events (#7239) (4f27378) - Ensure deterministic WebSockets deployment id (so deployments are skipped when no changes are detected) (#7248) (9f0131f)
azure-nodejs-typescripttemplate (#7252) (0549d85)
Bug Fixes
- Variables: When resolving SSM parameter, ensure to retrieve status code from AWS error correctly (bc5bbbe), closes #7237
- Do not overwrite
go.modonmakein Go template (#7245) (1793cf8)
1.61.3 (2020-01-21)
Improvements
- Support
codeparameter onServerlessError(f6c5179)
1.61.2 (2020-01-15)
Bug Fixes
- Separate AWS region and credentials resolution concern (91525e8). Fixes serverless/enterprise-plugin#340
1.61.1 (2020-01-14)
Bug Fixes
- AWS APIGW: Fix default resource policy configuration (8814671) Fixes regression introduced with #7138 Closes #7194 and #7211
1.61.0 (2020-01-13)
Features
- Standalone: Windows Chocolatey PM integration (85b196f)
- Add support for plain .git template URLs (3cfa750)
- Enhance configuration options of cloudFront event (#7170) (9591d5a), closes #7151, addresses #6843 #6785
- Support
BisectBatchOnFunctionErroroption on event streams (#7105) (560ceee) - support
RollbackConfigurationin service config (#7193) (5973c9f)
Bug Fixes
- Fix CLI params resolution (switch to
yargs-parser) (#7187) (780fb46), closes #6083 - AWS Lambda: Do not break permission resource (5e63cee), closes #7189
- Ensure CF stacks are deleted on failed creation attempt (#7158) (53a18cb), closes #6612
- Fix and improve openwhisk-java-maven templates (#7164) (41d7d0b)
- Remove hard-coded AWS partitions (#7175) (3236adb)
1.60.5 (2020-01-03)
Bug Fixes
- Standalone
- AWS Lambda: Fix provisioned concurrency setup issues (remove no longer needed AWS issue workaround) (4821ad2), closes #7137
- CLI
- Plugins: Fix resolution of config when installing plugin (b5dbdaf), closes #7130
- AWS APIGW: Fix handling of removal of
resourcePolicysetting (e662a91), closes #6789 - Variables: Ensure no same object instances are shared across config (4893f7d), closes #7098
1.60.4 (2019-12-23)
Bug Fixes
1.60.3 (2019-12-23)
Bug Fixes
- AWS APIGW: Fix Rest API id detection when no API GW involved (81096ca), regression introduced with #7126
1.60.2 (2019-12-23)
Bug Fixes
- AWS Lambda
- Fix provisioned concurrency setup (closes #7059):
- Fix provisioned concurrency configuration. Configure on alias, and not on version. Thanks to that it can work with versioning enabled and changes to provisioned concurrency configuration are not immune to
Internal Failure(04a7657) - Workaround AWS issue related to alias redeployments (56b9d3d)
- Ensure API Gateway endpoints point provisioned version (67d27ed),
- Fix provisioned concurrency configuration. Configure on alias, and not on version. Thanks to that it can work with versioning enabled and changes to provisioned concurrency configuration are not immune to
- Fix CloudWatch logs creation access (a2db989), closes #6241 #6692
- Fix provisioned concurrency setup (closes #7059):
- AWS API Gateway:
- Fix custom resource lambda artifact generation (7132af3)
1.60.1 (2019-12-20)
Bug Fixes
- Ensure necessary IAM role for handling existing cognito pools (5c6de5c), closes #6579
- Fix support for relative plugins.localPath (10ba8cb), closes #7117
- Support different AWS partitions (f353144)
1.60.0 (2019-12-18)
Features
- Binary installer
- Draw CLI boxes with
boxenpackage (80f9a65) - MaximumRetryAttempts config for stream (998b6fd), closes #7012
- Memoize resolution of dev deps exclusion paths (#7091) (5143c2a)
- Support CF instructions in awsKmsKeyArn setting (#7083) (f9b6507)
- Unconditionally display browser url (c900900)
- Update and improve aws-kotlin-jvm-gradle template (#7072) (0b3a08a)
Bug Fixes
- Ensure not to autocomplete hidden commands (3f7f532)
- Fix AWS partition reference in APIGW CloudWatch role setup (fc74c28), closes #7100
- Fix credentials validation in EC2 environment (#6977) (f8ee027)
- Prevent uncaught exception in case of
openutil issue (f29d169) - Recognize falsy values as CLI options defaults (#7071) (7e0e903)
1.59.3 (2019-12-09)
Bug Fixes
- Do not set optional ParallelizationFactor when not explicitly set (e74d1a0), closes #7049
- Fix provisioned concurrency support (be0ebb7), closes #7059
1.59.2 (2019-12-06)
Bug Fixes
- Ensure to not create cognito pools marked as 'existing' (fe546c5)
1.59.1 (2019-12-05)
Bug Fixes
- Fix mishandling of cachedCredentials in invokeLocal (699e78d), closes #7050, regression introduced with #7044
1.59.0 (2019-12-04)
- Fix spelling and typos in docs, code variables and code comments
- Code cleanup and refactoring
- Add support for contentHandling - Fixes gh-6949
- Fix deployment bucket SSE documentation
- Make authorizer type check from #6150 case insensitive
- Govcloud custom resource fix
- Lint and style patches
- Fix/cors omit access control allow credentials on false
- Fix: remove
$context.statusfrom websocket access log format - Clarifying Azure setup
- Expose ParallelizationFactor prop for Kinesis Streams
- Replace moment with dayjs
- Update AWS SQS event docs regarding FIFO queue trigger for Lambda
- Awsprovider - adding support for SDK sub-classes.
- Provide backoff for retryable aws requests and the option to adjust the cf status check interval via an environment variable
- Add page for best practices on CI/CD
- Optimize custom resources generation
- Update API GW stage settings only when explicitly set
- Do not apply APIGW wide settings on externally referenced APIGW
- Enable Content Trust checking when pulling lambci/lambda images
- Fix resolution of user configured APIGW
- Add option to change log level for websocket logs
- Support lambda provisioned concurrency
- Fix AWS creds handling
- Fix lambda provisioned concurrency setup
Meta
1.58.0 (2019-11-20)
- Fix missing ALB trigger in console
- Add support for vpc link integration discussed as part of #5025
- Setup Codecov
- Fix handling of China region in S3 bucket policy
- Fix policy definition
- Fix typo in Tencent docs
- Add Knative provider template
- Add Knative documentation
- PLAT-1798 - set env vars for AWS creds from cached credentials…
- Add azure python to cli
- updated providers menu order in docs
- Update API Gateway tagging to use partition for deployed region
- Fix: use normalized maps in zipService.js
- Add support for multi-value headers in ALB events
- Improve config error handling
- sls-flask starter kit
- Add variable completion report if variable progress was reported
- Update docs links
- Update documentation to include information about tags
- Python3.8 support!
- Updates to CI/CD settings for the beta
- rename output variables to outputs
- Fix Tencent Template and Readme
- Default to Nodejs12.x runtime
- #6162: Support multiple schemas, don't overwrite RequestModels for each
- Support empty deploymentPrefix
Meta
1.57.0 (2019-11-06)
- Note about how to move services to new apps
- Allow casting to boolean in Serverless variables
- Create distinct target groups for different ALBs
- sls create --help improvements
- Fix race conditions handling in stats requests
- Update AWS Limits on Lambda@Edge
- Fixes bug with sns-cross-region definition using psuedo params
- Add tencent-plugins english version docs
Meta
1.56.1 (2019-10-31)
- Fix deployment bucket policy handling with custom bucket
- Feat: aws-nodejs-typescript template improvements
Meta
1.56.0 (2019-10-31)
- AWS - deployment bucket policy for HTTPS only
- Docs on renamed outputs and expanded support
- Fix minor typo
- Added mock integration documentation example
- Fix region error handling in Lambda@Edge implementation
- Allow specifying ApiGateway logs role ARN
- Adds unused memory alert
- Find origin by domain name and path
- fix minor typo in kubeless docs
- Add tencent provider create-template
Meta
1.55.1 (2019-10-23)
Meta
1.55.0 (2019-10-23)
- Allow empty arrays in overrides
- Make question mark available as variables fallback
- Improve plugins resolution and initialization flow
- Azure Python template
- Chore - stop using deprecated 'new Buffer()' method.
- AWS - adding naming function for S3 compiled template file name.
- Span docs! and full
serverless_sdkdocs - Fix perms with several CloudWatch log subscriptions
- Fixing an Azure docs broken link
- Adding note to Azure nodejs template
- Updated Azure Functions documentation
- Support for NotAction and NotResource in IAM role statements
- added frontmatter to sdk docs
- Setup completion via CLI command and interactive CLI step
- Upgrade gradle version
- Update Google provider documentation for functions
- SNS integration tests
- SQS integration tests
- Streams integration tests
- Improvements on SQS docs as suggested on #6516
- Schedule integration tests
- Update event documentation
- Upgrade groovy/gradle/plugin versions and dependencies (aws-groovy-gradle)
- Upgrade gradle/plugins version and dependencies (aws-clojure-gradle)
- IoT integration tests
- Update https-proxy-agent dependency
- Allow to use Ref in stream arn property
- Add Tests for resolveFilePathsFromPatterns()
- Integration tests improvements and fixes
- Honor cfnRole in custom resources
Meta
1.54.0 (2019-10-09)
- Fixing typos in variable names
- Simplify GitHub Issue / PR templates
- Capture and span docs
- Automate keeping the sfe-next branch upto date
- Update dependencies in aws-scala-sbt template
- PR Template --> Hide useful scripts in expandable section
- Doc refactoring and new features
- doc: add cosmosdb events doc
- Showcase how to use AWS SDK in sls helpers
- Issue 4867 - Allowing InvokeBridge to find handleRequest method from super classes
- Update Azure environment variable documentation
- Update quick-start.md
- Add Questions issue template that navigate users to forums
- Update SLS Deploy Documentation
- S3 Block Public Access
- Documentation for CI/CD
- Added logging Implementation for serverless openwhisk-nodejs template
Meta
1.53.0 (2019-09-25)
- Respect logRetentionInDays in log group for websocket
- Remove requirement for an existing AWS profile on sls package command
- Adding docs on using captureError
- Make minor correction to CONTRIBUTING.md.
- [Docs] Added clarification on specifying SNS ARN
- Fix regular expression escaping in aws plugin.
- Update Azure quickstart and Azure Node.js project README
- Update Azure CLI Reference Docs
- Docs: update and clean up hello world app documentation
- Update Azure provider guide docs
- Update azure nodejs template
- Move common test utils to @serverless/test
- Add testing docs
- Add aliyun provider
- Update homepage in package.json to point to the docs
- Fix typo
- Truncated aliyun events menuText
- Added Components Versions
- Add commas when specifying Google roles for legibility
- Add Theodo to the consultants section of the README
- Remove incorrect AWS Access Role test instruction
- Feat: add qualifier option to invoke command
- Upgrade @serverless/test to v2
- Allow plugins not in registry to be installed
- PLAT-1599 Modularize interactive AWS setup
- Documented url+zip deploy strategy for serverless-kubeless
- Improve message for Windows users in AWS credentials setup
- Fix custom resources install
- Add support for MaximumBatchingWindowInSeconds property on stream events
- Alibaba Docs Update
- Update Jackson versions
- Improvements to stats handling
Meta
1.52.2 (2019-09-20)
Meta
1.52.1 (2019-09-19)
Meta
1.52.0 (2019-09-11)
- Add initialize lifecycle event
- Fix API Gateway name not being resolved API Gateway Resource not in main stack
- Support optional CloudWatch logs writing for custom resource lambdas
- Ensure inquirer's chalk override works through symlinks
- Fixes aws partition name in apigateway resourceArn to support GovCloud
- Do not retry on AWS 403 errors
- Fix overriding package settings after packaging function
- null
- Download templates from a Bitbucket Server
- Update Readme to replace SC5.io with nordcloud.com
- Add plugin hooks to define config variable getters
- Allow for tail on GetAtt parsing
- Resolve empty config object for an empty config file
- Remove enterprise from upgrade notes
- Add support for Lambda@Edge
- Tests for interactive CLI
- Support functions without events in CloudFront remove logging
- Add support for Condition and DependsOn
- Improve plugin loading error reporting
- Use hooks to log Lambda@Edge removal reminder
- Quickfix "too many open files" issue on Windows
- Bump sfe plugin!
- replace use of tenant with org in docs & templates
- Update insights.md
Meta
1.51.0 (2019-08-28)
- AWS API Gateway customize log level
- Fix retained layer logical id
- add docs for options misused in #6546
- Fix: Remove Bluebird promise warning when NODE_ENV=development
- AWS API Gateway set value of provider.logRetentionInDays for log group expiration
- Fix support for external websocketApiId
- Ensure AWS SDK is mocked for tests that call it
- do not log warnings on empty arrays
- API Gateway enable/disable access/execution logs
- Allow unresolved Rest API id with provider.tags setting
- Improve error reporting
- Fix exclusion of Yarn logs in Lambda packages
- Improve Rest API id resolution for SDK updates
- Fix ServerlessError handling
- Style updates for docs
- PLAT-1629 - Fix custom resource lambda naming
- Ensure API Gateway CloudWatch role is setup via custom resource
Meta
1.50.1 (2019-08-26)
Meta
1.50.0 (2019-08-14)
- Render event information in aws-ruby handler template
- Adding ap-south-1 to supported region list
- Fix invalid path char in GoLang packaging on Windows
- Multiple event definitions for existing S3 bucket
- Remove Enterprise and Platform from log info
- Allow AWS Subscription Filters to be reordered
- Check if more than 1 existing bucket is configured
- Multiple event definitions for existing Cognito User Pools
- Improve error handling
- Add PreTokenGeneration & UserMigration Cognito triggers
- Add Twilio Runtime to create templates
- Update kubeless guide docs
- Fix ImportValue handling in existing S3 buckets #6416
- Improve interactive AWS creds flow
- Retain existing Cognito User Pool config
- Switch integration tests runner from Jest to Mocha
- Change strategy for deciding to deploy new function.
- Fix support for EventBridge partner event sources
- fix(GITHUB-6525-5172): Rewrite copyDirContentsSyncAllow to call fs-extra::copySync() on the directories instead of calling it on the files to copy individually
- Do not crash CI on Coveralls error
- Only add merged IAM policies for Lambda when they will be used (#6262)
- Setup APIGW CloudWatch role via custom resource
- Fix deploy command if package.individually set on a function-level
Meta
1.49.0 (2019-07-30)
- Remove hard coded partition when validating subscription filters
- Fix cross-account/cross-regions SNS subscriptions to topics with the same name
- Add EventBridge event source
- Update invoke-local.md documentation
- Doc new insights
- New error insight alert doc update to reflect per execution inspection
- Existing S3 bucket fixes
Meta
1.48.4 (2019-07-25)
- Add note for supported version of existing bucket feature
- Support in interactive flow for SFE provided AWS creds
- Fix sls package regression caused by cred fail fast
Meta
1.48.3 (2019-07-23)
- Issue 6364 request path
- Remove spaces from Cognito Pool Name
- Use slss.io for links
- Fix regression in EC2 & CodeBuild caused by missing creds check
Meta
1.48.2 (2019-07-19)
Meta
1.48.1 (2019-07-19)
- Use Python3 for Python in interactive setup
- Fixing broken link for Node install.
- Added Cloud Build option for serverless deploy guide
- Changed AWS subscription filters to use function object name
- Strip trailing comment when renaming a service
- Improve tracking reliability
Meta
1.48.0 (2019-07-18)
- SFE plugin & sdk version info
- Allow optionally splitting SSM parameter value for StringList type
- Cross region SNS Trigger
- Fix typo
- Add SLS_NO_WARNINGS env var
- Fix async S3 test
- Fix AWS secret access key validation in interactive CLI
- Improve post install message
- PLAT-1385 Ensure expected service name in interactively created project
- Updated gradle and kotlin.js gradle plugin fixing #5598
- actually update the right aws creds link interactive setup aws
- Integrating Components
- Add support for existing Cognito User Pools
- Add the missing colon
Meta
1.47.0 (2019-07-10)
- Add Onica as a Consultant
- Correct typo
- Adapt new ESLint and Prettier configuration
- Ensure deploy is triggered in CI
- Remove jsbeautify configuration
- Improve PR template
- Allow users to specify API Gateway Access Log format
- Fix service.provider.region resolution
- Add null as a consultant
- Update very minor typo in credentials.md
- Expose non-errors in informative way
- Fix async leaks detection conditional
- Typo fix in AWS ALB event documentation
- Websockets: fix passing log group ARN
- Specify invoke local option in the guide
- Update Webpack version and usage of aws-nodejs-ecma-script template
- Make ALB event target group names unique
- Improve Travis CI conf
- Support for Github Entreprise in sls create
- Merge patch 1.46.1 release artifacts back into master
- Add support for existing S3 buckets
- PLAT-1202 - Interactive
serverlesscreate - PLAT-1091 - message in
npm ioutput about theserverlessquickstart command
Meta
1.46.1 (2019-06-28)
Meta
1.46.0 (2019-06-26)
- Fix formatting issue with Markdown link
- Update docs | dont use provider.tags with shared API Gateway
- Fix: Update azure template
- Improve user message
- Reference custom ApiGateway for models and request validators if conf…
- Ensure integration tests do not fail when run concurrently
- Improve integration test experience
- Fix lambda integration timeout response template
- Fix duplicate packaging issue
- Fix Travis configuration for branch/tag runs
- fixed a typo 🖊
- Fix #6267
- #6017 Allow to load plugin from path
- Added correction based on community feedback
- Remove package-lock.json and shrinkwrap scripts
- Remove README redundant link
- Remove default stage value in provider object
- Use naming to get stackName
- Fix typo in link to ALB docs
- Add ip, method, header and query conditions to ALB events
- Feature/support external websocket api
Meta
1.45.1 (2019-06-12)
Meta
1.45.0 (2019-06-12)
- Add
--configoption - Fix and improve ESlint config
- Tests: Fix mocha config
- Thorough integration testing
- Tests: Isolation improvements
- Add support for Websocket Logs
- Cleanup and improve Travis CI configuration
- Tests: Fix stub configuration
- Tests: Upgrade Sinon
- Add Application Load Balancer event source
- Do not run integration tests for PR's
- Adding a validation to validation.js script
- Tests: Upgrade dependencies, improve isolation and experience on Windows
- Add support for S3 hosted package artifacts
- Remove root README generator
- Myho/npm lint fix
- Use common prefix for log groups permissions at Lambdas' execution roles
- Update Scala version to 2.13.0 for aws-scala-sbt template
Meta
1.44.1 (2019-05-28)
Meta
1.44.0 (2019-05-28)
- Built in integration of Serverless Enterprise
- Setup Travis Windows support / Remove AppVeyor
- Update required Node.js version / Add version check
- Add scopes for cognito type APIGW referenced authorizer
- Do not throw error if authorizer has empty claims
- Tests: Patch mocha bugs and fix broken async flow cases
- Fix tagging API Gateway stage fails if tag contains special characters like space
- Solve the problem of principal format in China region
- Upgrade mocha, switch from istanbul to nyc, improve tests configuration
Meta
1.43.0 (2019-05-20)
- Update services.md
- Azure: exclude development dependency files when packaging functions
- Update release process docs and toolings
- Update AWS Node.js runtime to version 10
- Fix tests setup issues
Meta
1.42.3 (2019-05-14)
- Update deploy.md
- Adding a more specific example of how to package individually
- Update Azure Functions Template
- Update cloudflare documentation
- Azure template update
- Remove not used module
- Support color output in tests
- Fix validation after API Gateway deployment
- Improve handling of custom API Gateway options
Meta
1.42.2 (2019-05-10)
Meta
1.42.1 (2019-05-09)
Meta
1.42.0 (2019-05-09)
- Update cors.md
- Add tags to AWS APIGateway Stage
- Remove safeguards when using API Gateway Stage resource settings
- Enable Setting Amazon API Gateway API Key Value
- Add more specific sub command error handling
- Use region pseudo parameter
- Add authorization scopes support for cognito user pool integration
- Merging v1.41.1 changes back into master
- Support wildcard in API Gateway cors domains
- Support setting both proxy and ca file for awsprovider AWS config agent
- Fix doc: How to update serverless
- Update event.md
- Allow Fn::Join in stream event arns
- Fix markup error with Authe1.42.0 (2019-05-09)ntication value
- Drop duplicate paragraph in aws/guide/credentials
- Improve integration test of aws-scala-sbt
- Highlight skipping of deployments
- Add support for API Gateway REST API Logs
- Implement logging with Log4j2 for aws-scala-sbt
- Update serverless.yml.md
- Fixed three small typos in doc
- fixed small errors in spotinst docs
- Add support for API Gateway Binary Media Types
- SDK based API Gateway Stage updates
Meta
1.41.1 (2019-04-23)
Meta
1.41.0 (2019-04-18)
- Add error message when provider does not exist
- The code for removing comments is easy to read
- Added rust template for Cloudflare WASM
- Remove useless variable assignment
- Merge identical IF-branches
- eslint: Mark as root config
- #4750 Java invoke local support for handlers that implement RequestStreamHandler
- #5993: Ability to pass args for docker run command during invoke local docker
- Add additional Capability when Transform is detected
- #5990: Fix layer download caching during invoke local docker
- #5947: Ensure invoke local docker runs lambda with the dependencies
- Updating Node.js runtime version
- Make it easier on the eyes of serverless newcomers
- Allow specifying a retention policy for lambda layers
- Update quick-start.md
- Add AWS x-ray support for API Gateway
- Add support for multiple usage plans
- #5945: Invoke local docker to pass env vars to lambda container
- Update newsletter + enterprise link in readme
Meta
1.40.0 (2019-03-28)
- Align error logging
- Fixing minor typo
- Documentation tweak around shared authorizers
- Support for asynchronous lambda invocation with integration type AWS
- Add unit tests for getLocalAccessKey function
- Document changes from #4951
- Added ability to create custom stack names and API names
- Fixes #5188 "Failed to fetch the event types list due the error: API …
- Allow * in variable string literal defaults
- Add Serverless instanceId concept
- Doc: Include that APIGateway status code of async events
- Update npm dependencies
Meta
1.39.1 (2019-03-18)
Meta
1.39.0 (2019-03-15)
- Add support for invoke local with docker
- fix regression with golang check on windows
- Support for Cloudwatch Event InputTransformer
- Allow individual packaging with TypeScript source maps
- Support API Gateway stage deployment description
- Allow Fn::Join in SQS arn builder
- Add AWS x-ray support for Lambda
- Fix CloudFormation template normalization
- Fix bug when using websocket events with functions with custom roles
- Print customized function names correctly in sls info output
- Added websockets authorizer support
- Support more route characters for websockets
- kotlin jvm maven updates
- Put
Custom Response Headersinto[Responses] - Packaging exclude only config file being used
Meta
1.38.0 (2019-02-20)
- Set timout & others on context in python invoke local
- Append in Custom Syntax
- Don't load config for
config - Replace blocking fs.readFileSync with non blocking fs.readFile in checkForChanges.js
- Added layer option for deploy function update-config
- fix makeDeepVariable replacement
- Make local ruby pry work
- Replace \ with / in paths on windows before passing to nanomatch
- Support deploying GoLang to AWS from Windows!
- Fix windows go rework
- Make use of join operator first argument in sns docs
- add support for command type='container'
- Add Google Python function template
- Update config-credentials.md
- Update bucket conf to default AES256 encryption.
- Fix: override wildcard glob pattern (**) in resolveFilePathsFromPatterns
- Indicate unused context in aws-nodejs-typescipt
- Add stack trace to aws/invokeLocal errors
- Missing underscore
- Updating cloudformation resource reference url
- Docs: Replacing "runtimes" with "templates"
- Add support for websockets event
- AWS: ${ssm} resolve vairbale as JSON if it is stored as JSON in Secrets Manager
- Fix service name in template install message
Meta
1.37.0 (2019-02-06)
- Fixes for AWS cors config issues
- Preserve whitespaces in single-quote literal fallback
- AWS: Add fallback support in ${cf} and ${s3}
- Throw an error if plugin is executed outside of a serverless directory
- Require provider.credentials vars to be resolved before s3/ssm/cf vars
- Provide multi origin cors values
- handle layers paths with trailing slash and leading ./ or just .
- Resolve profile before performing aws-sdk dependent actions
- Fix assuming a role with an AWS profile
- Allows Fn::GetAtt with Lambda DLQ-onError
- Fix #5664 - Rollback fails due to a timestamp parsing error
- AWS: Tell S3 bucket name and how to recover if deployment bucket does not exist
- Do not print logs if print command is used.
- Default to error code if message is non-existent
- Add resource count and warning to info display
- Add uploaded file name to log while AWS deploy
- Enable tab completion for slss shortcut
- Upgrade google-cloudfunctions to v2 and set defaults to node8 etc
- Convert reservedConcurrency to integer to allow use env var
Meta
1.36.3 (2019-01-23)
- AWS: Consolidates Lambda::Permission objects for cloudwatchLog events
- Suppress confusing warning "A valid undefined..."
- Add google go template
- Provide AWS_PROFILE from configuration for invoke local
- Test that CLI does not convert numeric option to number
- Remove duplicate-handler warnings based on community feedback.
- Enable download template from a private github repo using personal access token
- Fix sls plugin install -n @scoped/package
Meta
1.36.2 (2019-01-21)
- AWS: Request cache should add region as key to prevent cross-region cache collision
- Fixed a link
- Clarify docs for the http key for GCF
- Fix awsProvider.js : "Cannot use 'in' operator to search for '0'
- Fix array notation in stream ARN
- Remove platform code
- Increase @types/aws-lambda version in aws-nodejs-typescript template
- Update aws-scala-sbt template
- docs: Kubeless secrets
- docs menu sidebar - added [Getting Started] above [Providers]
- Fix layer doc reference to functions (should be layers)
Meta
1.36.1 (2019-01-14)
Meta
1.36.0 (2019-01-10)
- Log AWS SDK calls in debug mode
- Added currently supported regions for GCP functions
- Update Cloudflare Templates
- AWS: Validate rate/cron syntax before Deploy
- Fix error log output
- Support for native async/await in AWS Lambda for aws-nodejs-typescript template
- aws-csharp create template uses handler-specific artifact
- change behaviour on initial stack create failed
- Add warning for multiple functions having same handler
- AWS: Add API Gateway stage name validation.
- fix Cloudflare template config
- AWS: Fix ${cf.REGION} syntax causes deployment in wrong region
- support for @ symbol in ${file()} variables paths
- Fix ResourceLimitExceeded for cloudwatchLog event
- various documentation updates (#5625, #5613, #5628, #5659, #5618, #5437, #5623, #5627, #5665)
Meta
1.35.1 (2018-12-18)
Meta
1.35.0 (2018-12-13)
- Fix logRetentionInDays regression in AWS
invoke localsupport for Ruby lambdas- Set reserved concurrency in cfn template even if zero
- Fix
--envbeing shadowed when usingsls invoke local - Preserve whitespace in variable literal defaults
- Drastically improved dev dependency exclusion performance
- Extend ${cf} syntax to get output from another region
- Upgrade aws-sdk dep to fix issues with using AWS Profiles
- Documentation updates
Meta
1.34.1 (2018-11-30)
Meta
1.34.0 (2018-11-29)
- Lambda Layers support
- Python3.7 support
- Updating roles requirement for GCF deployment
- Support returning promises from serverless.js
- update CloudFlare worker docs to new more consistent config
- fix --aws-profile so it overrides profile defined in serverless.yml
- Fix invoke local when using a callback in nodejs
- Fix parsing of --data & --context option with invoke local
Meta
1.33.2 (2018-11-18)
Meta
1.33.1 (2018-11-15)
Meta
1.33.0 (2018-11-15)
- 2116 consistent errors missing config
- Update plugin version of google-nodejs template
- insert line break to suppress warning
- Fix wrong example function name.
- Removed errant apostrophe
- Wrong error when S3 bucket name starts with an upper-case character
- Fix integration test
- Use pythonX instead of pythonX.Y in invoke local(take 3)
- update python invokeLocal to detect tty
- Fix typo in Google workflow
- Updating services.md > Invoking Serverless locally
- Assume role and MFA support for Serverless CLI
- Fix build error caused by new docs PR
- Adding Ruby support for OpenWhisk provider plugin.
- Update Cloudflare Workers documentation
- break single general issue template into two specialized templates
- Improve language in alexa-skill documentation
- APIG ApiKeySourceType support.
- Revert "Update cognito-user-pool.md"
- Let function package.individually config override service artifact
- Added CloudWatch Proxy to examples
- Multiple cloudformation resources
- Added possibility to specify custom S3 key prefix instead of the stan…
- Doc update for openwhisk package name
- add aws-go-mod
- Fix bin process not always exiting
- Avoid args being rounded and converted to numbers
- Add CacheControl headers on the OPTIONS response in AWS API Gateway
- fix Makefile style for Go template
- Update handler name when deploy a single function
- fix: Implement context.log function for invoke local command on Python environment.
- validate if serverless.yml exists when running sls info command
- Update documentation, README.md
- Remove invalid log
- fix 3916
- Update cognito-user-pool.md
- add gitignore setting to Go template
- fixed anchor links in aws/guide/variables.md file
- Serverless Pipeline
- add Serverless Line Bot example
- Update invoke-local.md
- Webtask Deprecation
- Add Support for Shorthand CloudFormation Syntax
- Provide Consistent Service Path (Fix #5242)
- Add Cloudflare to docs/getting-started page.
- Invoke local override env
- more faithfully represent aws lambda python runtime context
- Update AWS TypeScript handler template
- add untildify package to handle create paths with a ~
- [Docs] - Add support information for AWS lambda and SQS
- Update README.md
- Add information on invoking Workers.
- Update quick-start.md
- Cloudflare: Specify config under provider property
- Create an HttpsProxyAgent for plugin list if necessary
Meta
1.32.0 (2018-09-17)
Meta
1.31.0 (2018-09-11)
- Add support for Cloudflare Workers
- docs: Fix mismatch in AWS Metrics
- Add new template for AWS Alexa Typescript
- Remove
/tmp/node-dependencies* - Adds FilterPolicy to SNS event
- Update API Gateway Default Request Templates
- Update serverless.yml.md
- Fix for #3069 - Failing to handle schedule event body params
- Remove redundant link to same docs page
Meta
1.30.3 (2018-08-28)
Meta
1.30.2 (2018-08-28)
- Fixed a bug when using DynamoDB events with Serverless Platform
- Fixed a bug when using deep variable references
- Fixed an issue with Makefile of the aws-go-dep template
Meta
1.30.1 (2018-08-16)
- Fix CI deployment to Serverless Platform
- Fix a minor resources ID issue on Serverless Platform
- Update nodejs template to 8.10
Meta
1.30.0 (2018-08-09)
- Added support for multiple access keys for multiple tenants
- Fixed a publishing bug when having more than 100 resources
- Add Windows support for spawning mvn
- Update spawn API with {shell=true}
- AWS Clojurescript Gradle Template
- Use latest dotnet runtime in AWS Lambda
- Ignore null errors to allow resolution instead of rejection on undefined SSM variables
- Fixed a bug when using deep variable references
- Add support for installing templates and boilerplates from GitLab
- Fixed that create command didn't use the service name given as -n option
Meta
1.29.2 (2018-07-29)
- Fixed a bug when using APIG lambda integration with Serverless Dashboard
- Fixed a bug by transforming env var to string when setting num value
Meta
1.29.1 (2018-07-28)
Meta
1.29.0 (2018-07-26)
- Fixes issue with Node 10.7.0
- Serverless Dashboard Updates: Subscriptions, Resources, Deploys and Refresh Tokens
- Support
invoke localof AWS Lambda Async Functions - Improve aws-scala-sbt template
Meta
1.28.0 (2018-07-04)
- Add SQS event integration
- Integration with the Serverless Dashboard
- Add APIG resource policy
- Add PRIVATE endpoint type
- Added ability to create custom stack names and API names
- Add print options to allow digging, transforming and formatting
- only use json-cycles when opt-in, for state serialization
- Make function tags inherit provider tags
- Make local plugins folder configurable
- More flexible version constraint for AWS Lambda Go library
- Update aws-java-maven template to use Log4J2 as recommended by AWS
- Fix binary support for pre-flight requests (OPTIONS method)
Meta
1.27.0 (2018-05-02)
- Add maxAge option for CORS
- Add fn integration
- iamManagedPolicies merging with Vpc config
- Support arrays in function definition too
- Add iam managed policies
- Pass authorizer custom context to target lambda
- Allow UsagePlan's to be created without ApiKeys defined
- Added name property to cloudwatchEvent CF template
- Java maven templates for OpenWhisk
- Pass serverless variable when calling function in referenced file
- Eliminate/Report Hung Promises, Prepopulate Stage and Region, Handle Quoted Strings
- Restricting alexaSkill functions to specific Alexa skills
- Add support for concurrency option in AWS Lambda
- Fix concurrency upload
- Support AWS GovCloud and China region deployments
Meta
1.26.1 (2018-02-27)
Meta
1.26.0 (2018-01-29)
- AWS Go support
- Support for using an existing ApiGateway and Resources
- Add logRetentionInDays config
- Add support of
serverless.jsconfiguration file - Add "did you mean..." CLI suggestions
- Add
--template-pathoption toserverless create - Add support POJO input support for Java invoke local
Meta
1.25.0 (2017-12-20)
- Improve Stage and Region Usage
- Add API Gateway endpoint configuration
- Add cache to Variables class
- Added support for circular references in the variable system
- Circular Vars Fix
- Ignore the check whether deploymentBucket exists when using "package"
- Template / AWS Kotlin JVM Gradle
- Basic logging for python invoke local
- Add Amazon S3 Transfer Acceleration support
- Updated awsProvider to allow manual specification of certificate auth
- Fix lambda version generation when only function config changes
- Added request cache and queue to AWS provider and use it from variable resolution
- Add significant variable usage corner cases
Meta
1.24.1 (2017-11-07)
- Fix this.userStats.track is not a function error when tailing function logs
- Improve variables test
- Error when file referenced in serverless.yml does not exist
Meta
1.24.0 (2017-11-01)
- Run "serverless deploy list" if timestamp is not specified in rollback command
- Add alexaSmartHome event
- Distinguish plugin initialization error from plugin not found error
- Removing private: true from function does not change it's state
- Change packaging order in zipFiles function
- Enable bluebird long stack traces only in SLS_DEBUG mode
- Create service using template from an external repository
- API Gateway timeout hardcap
- Set stdin to a TTY in invoke.py to allow PDB use
- Add function attached to API Gateway effective timeout warning
- Exclude dev dependency .bin executables
- Fix "deploy function" command by normalizing role
- Add print command to generate output of computed serverless.yml
- Print message if Serverless Framework update is available
- Allow symlinks as custom variable files in serverless.yml
- Provide option to conceal API Gateway key values from the output
- Configurable Authorizer Type
Meta
1.23.0 (2017-09-21)
- Obey VIRTUAL_ENV on Windows
- Implement pinging for the CLI login
- Fixed a bug with deploy function not inheriting provider config
- Added Auth0 Webtasks Provider Template for Nodejs
- Added Java support for invoke local
Meta
1.22.0 (2017-09-13)
- Serverless now fails if provided profile is not valid
- Removed escaping of double quotes around string values in Serverless Variables
- Added 4 new plugin commands
- Added aws-kotlin-jvm-marven template
- Added --update-config option to deploy function command
- Added description to CloudWatch Events
- Added support for aliasing commands
- Added --function option to deploy command
- Fixed a bug with Kinesis events
- Fixed a bug with packaging
Meta
1.21.1 (2017-09-06)
Meta
1.21.0 (2017-08-30)
- Allow custom CLI class instances
- Add support in Spotinst Functions
- Add PHP support for OpenWhisk
- Fixed a bug with stack deletion monitoring
- Allow AWS Profile CLI option to overwrite config and env
- Improve performance of the package plugin
- Add support for custom context with Invoke Local
- Add aws-nodejs-typescript template
- Add aws-nodejs-ecma-script template
- Allow updates for AWS profiles
- Fixed a bug in Invoke Local when using Python in Windows
- Fixed a bug with the Variable System overwrites
Meta
1.20.2 (2017-08-17)
Meta
1.20.1 (2017-08-17)
Meta
1.20.0 (2017-08-16)
- Add Serverless Run plugin
- Add Serverless Emit plugin
- Kubeless template for python and nodejs
- Improve deprecation hook message
Meta
1.19.0 (2017-08-02)
- Removed provider name validation
- Fixed a bug with dev dependencies exclusion
- Fixed a bug with "deploy list functions"
- Fixed a bug with Serverless Plugins loading
Meta
1.18.1 (2017-07-28)
Meta
1.18.0 (2017-07-20)
- Added support for a new "default" property for Plugins CLI options
- Fixed a bug with dev dependencies exclusion
- Added support for a new "publish" property to opt-out from Platform publishing
- Fixed a bug with "sls remove" when the stack includes Exports
- Added support for request parameter configuration with lambda-proxy integration
- Enhanced the environment variables for invoke local to include AWS_REGION
- Updated the deploy command to ignore custom plugins in service directory during deployment
- Fixed a bug with function packaging
- Updated the package command to ignore function packaging if a custom artifact is specified
- Added support for absolute paths when using Serverless Variables file references
Meta
1.17.0 (2017-07-05)
- Cleanup F# build template output on macOS - #3897
- Add disable flag for OpenWhisk functions - #3830
- Only redeploy when the code/config changes - #3838
- Add opt-out config for dev dependency exclusion - #3877
- Add infinite stack trace for errors - #3839
- Fixed a bug with autocomplete - #3798
Meta
1.16.1 (2017-06-26)
- CI/CD fix for the Serverless Platform - #3829
Meta
1.16.0 (2017-06-21)
- Added support for usage plans to APIG - #3819
- Optmizied packaging to exclude dev dependencies - #3737
- Added support for S3 server side encryption - #3804
- Improved HTTP error handling - #3752
- Throw an error when requsted CF variable doesn't exist - #3739
- Throw an error if an individual package is empty - #3729
Meta
1.15.3 (2017-06-12)
- Fixed autocomplete bug with help option - #3781
Meta
1.15.2 (2017-06-10)
- Fixed installation error - #3763
Meta
1.15.0 (2017-06-08)
- Added autocomplete support to the CLI - #3753
- Added KMS key support - #3672
- Added Cognito User pool support - #3657
- Added serverless.json support - #3647
- Added aws-profile support - #3701
- Added CloudFormation validation support - #3668
- Fixed S3 event race condition bug - #3705
- Fixed CORS origin config bug - #3692
Meta
1.14.0 (2017-05-24)
- Added login command - #3558
- Added support for DeadLetter Config with SNS - #3609
- Added support for S3 variables - #3592
- Added rollback function command - #3571
- Added
X-Amz-User-Agentto list of allowed headers in CORS - #3614 - Added support for HTTP_PROXY API Gateway integration - #3534
- Added IS_LOCAL environment variable with invoke local command - #3642
- Removed package.json in exclude rules - #3644
Meta
1.13.2 (2017-05-15)
- Fixed a bug when using dot notation in YAML keys (#3620)
Meta
1.13.1 (2017-05-12)
- Fixed bug when referencing variables from other variable object values (#3604)
- Fixed bug when packaging a functions-free service (#3598)
Meta
1.13.0 (2017-05-10)
- Added support for cross service communication via CloudFormation outputs (#3575)
- Add Lambda tagging functionality (#3548)
- Added support for Promises in the variable system (#3554)
- Added hello-world template (#3445)
- Improved Info plugins lifecylce events for plugin authors (#3507)
- Allow service to be specified as object in serverless.yml (#3521)
Meta
1.12.1 (2017-04-27)
- Fix bug when using the package command with the variable system (#3527)
Meta
1.12.0 (2017-04-26)
- Separated packaging and deployment with a new package command (#3344)
- Extend OpenWhisk runtime support (#3454)
- Upgrade gradle wrapper to 3.5 (#3466)
- Fixed bug when using event streams with custom roles (#3457)
- Fixed bug with SNS events (#3443)
- Fixed bug when using custom deployment bucket (#3479)
- Added support for Python 3.6 for Lambda (#3483)
- Added new syntax to specify ARN for SNS events (#3505)
1.11.0 (2017-04-12)
- Add CloudWatch Logs Event Source (#3407)
- Add version description from function (#3429)
- Add support for packaging functions individually (#3433)
Meta
1.10.2 (3.04.2017)
- Add support for packaging functions individually at the function level (#3433)
1.10.1 (2017-03-30)
- Update serverless-alpha detection (#3423)
Meta
1.10.0 (2017-03-29)
- Fixed bug with ANY http method (#3304)
- Reduced unit test time significantly (#3359)
- Added AWS Groovy Gradle Template (#3353)
- Reduce dependency tree depth between IAM & Log Groups (#3360)
- Added entrypoints for plugins (#3327)
- Removed pre-install script (#3385)
- Expose plugin hooks (#2985)
- Add support for Node 6 runtime in invoke local (#3403)
- Updated Node.js templates to include Node 6 runtime by default (#3406)
- Removed breaking changes warnings (#3418)
- Auto loading serverless-alpha plugin (#3373)
Meta
1.9.0 (2017-03-14)
- Fixed bug with serverless plugins lookup (#3180)
- Fixed bug with
serverless creategenerated .gitignore (#3355) - Fixed bug with authorizer claims (#3187)
- Added support for CloudFormation service roles (#3147)
- Improvements for invoke local plugin (#3037)
- Added Azure Functions Node.js template in
serverless create(#3334) - Allow DynamoDB and Kinesis streams to use GetAtt/ImportValue (#3111)
Meta
1.8.0 (2017-02-28)
Non-Breaking Changes
- Fixed bug with deployment progress monitoring (#3297)
- Fixed "too many open files" error (#3310)
- Fixed bug with functions lists loaded from a separate file using Serverless Variables (#3186)
Breaking Changes
Removed IamPolicyLambdaExecution Resource
We've removed the IamPolicyLambdaExecution resource template and replaced it with inline policy within the role as it's been causing issues with VPC and bloating the CF template. This is a breaking change only for users who are depending on that resource with Ref or similar CF intrinsic functions.
Changed displayed function name for sls info
The function name displayed when you run sls info is now the short function name as found in serverless.yml rather than the actual lambda name to keep it more provider agnostic. This could be breaking for any user who is depending or parsing the CLI output.
Meta
1.7.0 (2017-02-14)
- Added CloudWatch event source (#3102)
- Fixed average functions duration calculation in "sls metrics" output (#3067)
- Added SLS_IGNORE_WARNINGS flag and logging upcoming breaking changes (#3217)
- Reduced memory consumption during zipping process (#3220)
- Fixed bug when using LogGroup resources with custom roles (#3213)
Meta
1.6.1 (2017-01-31)
A minimal patch release that fixes an issue with rendering README.md on npm registry.
1.6.0 (2017-01-30)
Important Note: This release includes breaking changes. If your services stopped working after upgrading to v1.6.0, please read the following section.
Breaking Changes
CloudWatch logs are created explicitly
Up until this release, CloudWatch log groups were created implicitly by AWS/Lambda by default and were not included in your service stack. However, some users were able to easily reach the CloudWatch log group limits (currently at 500 log groups), and it wasn't an easy task to clear them all. Because of that we decided to explicitly create the log groups using CloudFormation so that you can easily remove them with sls remove. This was also optionally possible with the cfLogs: true config option.
If your service doesn't have the cfLogs: true set, and one of the function has been invoked at least once (hence the log groups were created implicitly by AWS), then it's very likely that you'll receive a "log group already exists" error after upgrading to v1.6.0. That's because CF is now trying to create the already created log groups from scratch to include it in the stack resources. To fix this breaking change, simply delete the old log group, or rename your service if you must keep the old logs.
Removed function Arns from CloudFormation outputs
Up until this release, the output section of the generated CloudFormation template included an output resource for each function Arn. This caused deploying big services to fail because users were hitting the 60 outputs per stack limit. This effectively means that you can't have a service that has more than 60 functions. To avoid this AWS limit, we decided to remove those function output resources completely, to keep the stack clean. This also means removing the function Arns from the sls info command, and at the end of the deployment command.
This is a breaking change for your project if you're depending on those function output resources in anyway, or if you're depending on function arn outputs from the deploy or info commands. Otherwise, your project shouldn't be affected by this change. Fixing this issue depends on your needs, but just remember that you can always create your own CF outputs in serverless.yml.
Moved getStackName() method
This is a breaking change for plugin authors only. If your plugin used the provider.getStackName() method, it has been moved to naming.js, and should be referenced with provider.naming.getStackName() instead.
Removed the defaults property from serverless.yml
We've finally dropped support for the defaults property which we introduced in v1. All child properties should now be moved to the provider object instead.
Non-breaking changes
- Reduce memory consumption on deploy by at least 50% (#3145)
- Added openwhisk template to
sls createcommand (#3122) - Allow Role 'Fn::GetAtt' for Lambda
role(#3083) - Added Access-Control-Allow-Credentials for CORS settings (#2736)
- add Support for SNS Subscription to existing topics (#2796)
- Function version resources are now optional. (#3042)
- Invoke local now supports python runtime. (#2937)
- Fixed "deployment bucket doesn't exist" error (#3107)
- Allowed function events value to be variables (#2434)
Meta
1.5.1 (2017-01-19)
Bug Fixes
- Fix bug with multi line values is given in IoT events (#3095)
- Add support of numeric template creation path (#3064)
- Fix deployment bucket bug when using eu-west-1 (#3107)
Meta
1.5.0 (2017-01-05)
Features
- Added IoT event source support (#2954)
- Cognito user pool authorizer (#2141)
- Service installation with a name (#2616)
Bug Fixes
- Fix VTL string escaping (#2993)
- Scheduled events are enabled by default (#2940)
- Update status code regex to match newlines (#2991)
- Add check for preexistent service directory (#3014)
- Deployment monitoring fixes (#2906)
- Credential handling fixes (#2820)
- Reduced policy statement size significantly (#2952)
Meta
1.4.0 (2016-12-15)
Features
- Alexa event support (#2875)
- New C# service template (#2858)
- Local Invoke Improvements (#2865)
- Service wide metrics (#2846)
- Install service by pointing to a Github directory (#2721)
- Add support for stdin for invoke & invoke local (#2894)
Bug Fixes
- Fixed exit code for failed function invocations (#2836)
- Stricter validation for custom IAM statements (#2132)
- Fixed bug in credentials setup (#2878)
- Removed unnecessary warnings during Serverless installation (#2811)
- Removed request and response config when using proxy integration (#2799)
- Internal refactoring
Meta
1.3.0 (2016-12-02)
Features
- Metrics support (#1650)
- AWS credential setup command (#2623)
- Lambda versioning on each deploy (#2676)
Improvements
- Documentation improvements with
serverless.ymlfile reference (#2703) - Display info how to use SLS_DEBUG (#2690)
- Drop
event.jsonfile on service creation (#2786) - Refactored test structure (#2464)
- Automatic test detection (#1337)
Bug Fixes
- Add DependsOn for Lamda functions and IamPolicyLambdaExecution (#2743)
- Add JSON data parsing for invoke command (#2685)
- Internal refactoring
Meta
1.2.0 (2016-11-22)
Features
- Lambda environment variables support (#2748)
- Load Serverless variables from javascript files (#2495)
- Add support for setting custom IAM roles for functions (#1807)
- Lambda environment variables support in Invoke Local (#2757)
- Tighter and secure permissions for event sources (#2023)
Bug Fixes
- Fix
--noDeployflag to generate deployment files offline without needing internet connection (#2648) - Bring back the
includepackaging feature with the help of globs (#2460) - Internal refactoring
Meta
1.1.0 (2016-11-02)
Future breaking changes
We will include the LogGroup for your Lambda function in the CloudFormation template in the future. This will break deployments to existing applications because the log group was already created. You will get a warning about this if you deploy currently. We will force this behaviour in a future release, for now you can set it through the cfLogs: true parameter in your provider config. This change will also limit the logging rights to only this LogGroup, which should have no impact on your environment. You can read more in our docs.
Features
- Rollback Support (#2495)
- Log Groups in Cloudformation (#2520)
- Allow Services without functions (#2499)
- Clean up S3 Deployment bucket only after successful deployment (#2564)
- Allow Inclusion after Exclusion using ! Globs (#2266)
- Version Pinning for Serverless Services to only deploy with specified versions (#2505)
- Invoke local plugin (#2533)
- Plugin template (#2581)
- Simple Plugins are now installable in subfolder of the service (#2581)
Bugs
- Fix variable syntax fallback if the file doesn't exist (#2565)
- Fix overwriting undefined variables (#2541)
- Fix CF deployment issue (#2576)
- Correctly package symlinks (#2266)
Other
- Large documentation refactoring (#2527)
Meta
1.0.3 (2016-10-21)
Following is a selection of features, bug fixes and other changes we did since 1.0.2. You can also check out all changes in the Github Compare View
Features
- Stack Tags and Policy (#2158)
- CF Stack Output Variables in Verbose deploy output (#2253)
- Custom Status code for non-proxy APIG integration (#2014)
- Function Runtime can now be configured per function (#2425)
- Allow absolute path for invoke command event file (#2443)
- Add list deployments command to show last deployments stored in S3 bucket (#2439)
Bugs
- Fix not thrown error after failed ResourceStatus bug (#2367)
- Fix overwrite resources and custom resource merge bug (#2385)
- Clean up after deployment works correctly now (#2436)
Other
- Migrate Integration tests into main repository (#2438)
1.0.2 (2016-10-13)
- Clean up NPM package (#2352)
- Clean up Stats functionality (#2345)
1.0.1 (2016-10-12)
Accidentally released 1.0.1 to NPM, so we have to skip this version (added here to remove confusion)
1.0.0 (2016-10-12)
Breaking Changes
- The HTTP Event now uses the recently released Lambda Proxy by default. This requires you to change your handler result to fit the new proxy integration. You can also switch back to the old integration type.
- The Cloudformation Name of APIG paths that have a variable have changed, so if you have a variable in a path and redeploy CF will throw an error. To fix this remove the path and readd it a second deployment.
Release Highlights
Following is a selection of the most important Features of the 1.0.0 since 1.0.0-rc.1.
You can see all features of 1.0.0-rc.1 in the release blogpost
Documentation
- New documentation website https://serverless.com/framework/docs
Events
- API Gateway Improvements
- Supporting API Gateway Lambda Proxy (#2185)
- Support HTTP request parameters (#2056)
- S3 Event Rules (#2068)
- Built-in Stream Event support (Dynamo & Kinesis) (#2250)