575 KiB
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
3.38.0 (2023-11-21)
Features
3.37.0 (2023-11-16)
Features
Bug Fixes
- bump platform-client version for axios (#12260) (10980b9)
- Update pkg config to include axios cjs (#12261) (b21afaf)
3.36.0 (2023-10-23)
Features
Bug Fixes
- Dashboard documentation improvements (bb4d7c8)
- Fix menu for dashboard documentation (8f266af)
- Improve dashboard documentation (ad8bbf1)
- Improve dashboard documentation (f67df7f)
- Minor dashboard doc improvements (#12177) (f1fa19c)
3.35.2 (2023-09-16)
Bug Fixes
3.35.1 (2023-09-16)
Bug Fixes
3.35.0 (2023-09-15)
Features
- Make dashboard monitoring opt-out (#12138) (45cbd52)
- Post deploy serverless dashboard integration (#12063) (66e3107), closes #12059
- Remove Console Login (#12153) (590bb7e)
- Remove Dashboard onboarding from framework (#12151) (6ee277d)
- Upgrade to @serverless/dashboard-plugin (#12157) (f057629)
Bug Fixes
- Adjust providers endpoint (#12154) (9b770a2), closes #12151
- Check for Serverless Dashboard IAM stack prior to creation (#12147) (bf518b9)
- Handle account being integrated with an existing org (#12149) (561a875)
- Local credentials should be resolved in onboarding command (#12148) (307865d)
- recognize ap-south-2 as a valid AWS region (#12129) (b09d0d6)
3.34.0 (2023-08-03)
Features
Bug Fixes
Maintenance Improvements
3.33.0 (2023-06-26)
Features
- AWS Deploy: Recognize
ruby3.2runtime (#12004) (0a0a4fc) (Ryan Rickerts) - AWS MSK: Support
AT_TIMESTAMPstarting position (#12034) (483ea16) (Ben)
Bug Fixes
- AWS ALB: Recognize CIDR format at
ipconfiguration (#11889) (04db0f0) (Inqnuam) - AWS Websocket: Fix internal authorizers handling (#11871) (a50773b) (James Kyburz)
- Packaging: Fix merging
DependsOnfrom user resources (#12009) (4582913) (Kirill Khoroshilov)
3.32.2 (2023-06-02)
Maintenance Improvements
- Telemetry: Report installed
dockerversion (39806d6) (Mariusz Nowak)
3.32.1 (2023-06-01)
Bug Fixes
- AWS Deploy: Revert broken
vpcconfiguration on custom resources (#12001) (d0e3056) (Mariusz Nowak)
3.32.0 (2023-05-31)
Features
- AWS Lambda:
- Response streaming for Lambda URL (#11907) (3afb71e) (Goran Rakic)
- Do not recognize dropped
nodejs12.xruntime (#11995) (032e43c) (Mariusz Nowak)
- AWS Deploy:
--minify-templateCLI param (#11980) (4d64730) (Mieszko Kycermann)
Bug Fixes
- AWS ALB: Allow multiple http-header conditions (#11888) (72b27cb) (Inqnuam)
- AWS CloudFront: Accept CF intrinsic functions in
behavior(#11994) (41e90c3) (antoniogomezm) - AWS Deploy:
- Ensure
vpcconfiguration on custom resources (#11985) (f2d1e23) (Lokesh Jawale) - Fix default runtime resolution (#11995) (943bf6d) (Mariusz Nowak)
- Ensure
- AWS Lambda: Recognize only valid .NET runtimes (#11960) (dd081bb) (Stuart Lang)
Maintenance Improvements
- Telemetry: Inspect
dockeravailability (#11999) (83670f9) (Mariusz Nowak) - Console: Added warning about dev mode (#11975) (e5cb8ac) (Dan Jarvis)
- Packaging: Warn on inffective
functions[].packageconfig (#11974) (88099ad) (Lokesh Jawale)
3.31.0 (2023-05-17)
Features
- AWS Schedule:
AWS::Scheduler::Schedulebased triggers (#11935) (34d922d) (Tie) - AWS Kinesis: More reliable consumer naming mode (#9706) (9d7b121) (Peter Reshetin)
- AWS Lambda:
- Recognize
java17runtime (#11938) (e1703c8) (Baerten Dennis) - Recognize
python3.10runtime (#11922) (8341d7a) (t3yamoto) - Recognize new .NET runtimes (#11941) (314f32c) (Graham Campbell)
- Recognize
- AWS EventBridge: Recognize
$orin pattern property (#11967) (d6de334) (Mitch Dempsey)
Bug Fixes
- AWS CloudWatch: Ensure no circular resource references (#11893) (75ce58b) (Rob Nielsen)
- AWS Deploy: Fix
provider.layerssupport indeploy functioncmd (#11972) (ed15cb2) (Mariusz Nowak)
Maintenance Improvements
- AWS Lambda: Remove references to deprecated runtimes (#11940) (fe6e0a6) (Bartłomiej Szostek)
3.30.1 (2023-04-06)
Bug Fixes
- Ensure to not login back accidentaly on logout operation (#11900) (ec9eac4) (Mariusz Nowak)
3.30.0 (2023-04-05)
Features
Bug Fixes
Maintenance Improvements
3.29.0 (2023-03-24)
Features
- Console: Retain console properties on function deploy (#11849) (4ee5505) () (Dan Jarvis)
- AWS CLoudFront: Recognize
OriginAccessControlIdfield (#11855) (9339377) (Jonathan Keslin) - AWS EventBridge: Support
descriptionproperty (#11821) (2efe816) (Anthony Roussel)
Bug Fixes
- AWS Lambda:
- Fix function references when represented by alias (#11788) (16dd286) (Rob Nielsen)
- Fix
runtimeManagmenthandling (#11778) (8db2f4c) (Himanshu Pant)
- AWS API Gateway: Fix support for
provider.apiGateway.stage(#11772) (6fe2ea5) (Charlie Benger-Stevenson) - Do not crash on
nullresource properties input (#11789) (86bb67d) (SleepWithCoffee)
Maintenance Improvements
- AWS Lambda: Improve function deploy skip message (#11779) (ad8c24e) (Midhun Rajendran)
lodashreplacement:- Replace
_.entrieswithObject.entries(#11793) (1181780) (SleepWithCoffee) - Replace
_.fromPairswithObject.fromEntries(#11794) (03d3ab3) (SleepWithCoffee)
- Replace
bluebirdreplacement:- Replace
BbPromise.eachwith native counterpart (#11797) (5068516) (SleepWithCoffee)
- Replace
- **
async/awaitrefactor:**- In
lib/classesconvert promise returning functions to async functions (#11851) (77c91f2) (SleepWithCoffee)
- In
3.28.1 (2023-03-02)
Maintenance Improvements
- Supress AWS SDK v2 deprecation message (#11769) (74c3ae0) (Mariusz Nowak)
3.28.0 (2023-02-28)
Features
- AWS Lambda:
- Ensure
logs:TagResourcepermission to IAM role (#11766) (7410275) (Martin Gerlach) - Recognize CF functions at
.provisionedConcurrency(#11760) (56d8bec) (ROSeaboyer) - Support
runtimeManagementconfig (#11715) (18d4d69) (ROSeaboyer)
- Ensure
- AWS Schedule: Support CF instrinsic functions at
.rate(#11714) (fc6bd57) (ROSeaboyer)
Bug Fixes
- CLI Onboarding: Don't crash if Dashboard server is inaccessible (#11712) (983a3b9) (Mariusz Nowak)
3.27.0 (2023-01-26)
Features
- AWS EventBridge: Support
functions[].events[].eventBridge.name(#11690) (b925c4c) (ROSeaboyer) - AWS ActiveMQ: Support
functions[].events[].filterPatterns(#11656) (1b55710) (Shreyance Jain) - AWS Kafka: Support
functions[].events[].filterPatterns(#11645) (6a5e8d9) (Jason Rowsell) - AWS MSK: Support
functions[].events[].filterPatterns(#11636) (63584a9) (Shreyance Jain) - AWS RabbitMQ: Support
functions[].events[].filterPatterns(#11659) (e769570) (Shreyance Jain) - AWS CloudFront: Recognize
behavior.ResponseHeadersPolicyId(#11633) (906ea31) (Jason Rowsell) - AWS SNS: Support
functions[].events[].filterPolicyScope(#11644) (b7d6af6) (Jason Rowsell) - AWS SQS: Support
functions[].events[].sqs.maximumConcurrency(#11678) (57f2719) (Jason Rowsell) - AWS Lambda: Recognize
ap-southeast-4Melbourne region (#11700) (6591504) (Sam Chung) - Recognize
Fn::Base64as CloudFormation instruction (#11671) (f020bd8) (Ron Korving) - Remove support for Serverless Tencent CLI (#11658) (0a148b4) (Mariusz Nowak)
Maintenance Improvements
- AWS SQS: Optimize IAM permissions generation (#11685) (99cd9e6) (ROSeaboyer)
- Console: Improve warning message (#117009) (2198799) (Mariusz Nowak)
3.26.0 (2022-12-22)
Features
- Plugins: Support variables in configuration extensions (#11558) (968ddd5) (Marco Kleinlein)
- AWS Lambda:
functions[].snapStartsupport (#11576) (adf11b7) (Baerten Dennis) provider.logDataProtectionPolicyandfunctions[].logDataProtectionPolicy(#11599) (2a5e11a) (timo92)- Support
.cjsand.mjsconfiguration extensions (#11586) (9d57933) (Florian Proksch)
Bug Fixes
- Variables: Support empty string environment variables (#11629) (022db9c) (Jason Rowsell)
- AWS Local Invoke: Revert breaking jackson-databind upgrade (#11589) (f00eb82) (Geoff Denning)
Maintenance Improvements
- Isolate
importinvocations (#11587) (fe62096) (Mariusz Nowak) - Remove no longer applicable setting (#11608) (dd5b8f6) (Mariusz Nowak)
- Support relative paths in
import-esmutil (#11593) (fcf17a6) (Mariusz Nowak) - Improve module name (#11587) (ac1e0db) (Mariusz Nowak)
3.25.1 (2022-11-28)
Maintenance Improvements
- Wokaround AWS-SDK issue by temporarily pinning v2 version (cb81085) (Mariusz Nowak)
- AWS Local Invocation: Upgrade Java dependencies (#11535) (eb741fe) (xiaokang)
3.25.0 (2022-11-21)
Features
- AWS Deploy:
- Recognize
nodejs.18.xruntime (#11526) (c25f854) (Piotr Grzesik) - Recognize
eu-central-2,eu-south-1andme-central-1regions (#11524) (54f4fc7) (Umut Uzgur)
- Recognize
- AWS API Gateway: Allow CloudFormation intrinsic functions in
authorizer.scopes(#11505) (4169ae1) (franzmango) - AWS Kafka: Support
startingPositionTimestamp(#11479) (858758e) (Daniele Iasella)
Bug Fixes
- AWS Deploy: Respect existing CloudFormation templates in YAML format (#11521) (20d79a2) (Nick Graffis)
- Do not crash on
nullvalue (#11506) (c4902f3) (Shogo Hida)
3.24.1 (2022-11-04)
Bug Fixes
- Console: Ensure errorneus resolution of url to not break deploys (#11501) (f72c595) (Mariusz Nowak)
3.24.0 (2022-10-31)
Features
- Console: New Serverless Console integration (#11434) (9a41468) (Mariusz Nowak)
- AWS API Gateway: support
provider.apiGateway.stage(#11487) (0a49c4f) (Pavan Andhukuri) - AWS Kinesis: Support
AT_TIMESTAMPstarting position (#11483) (5d41995) (Daniele Iasella) - Support
Fn::ToJsonStringin environment variables (#11461) (0c186a6) (Jurriaan Proos)
Bug Fixes
- AWS HTTP API: Ensure maximum API gateway timeout (#11453) (c5ca9b7) (Jurriaan Proos)
- CLI Onboarding: Ensure to not show backend notification (#11434) (ba831b8) (Mariusz Nowak)
Maintenance Improvements
- CLI Onboarding: Improve debug logs (#11434) (914d00b) (Mariusz Nowak)
3.23.0 (2022-10-11)
Features
- AWS CloudFront: Allow legacy behavior configuration (#11411) (65e9860) (Arthur Weber)
- AWS Kafka: Support
consumerGroupIdoption (#11345) (9bb3f11) (Phil-Pinkowski)
Bug Fixes
- Ensure to not crash when
~/.serverlessis not accessible (#11403) (b95c749) (Thomas Hamer)
Maintenance Improvements
- AWS Deploy: Add bucket name to exception (#11389) (11b7a05) (Roberto Aguilar)
- AWS Deploy: Bump custom resources to
nodejs16.xruntime (#11367) (93ce41e) (Çağrı Atalay) - Upgrade
dotenv-expandto v9 (#11433) (c769c1e) (Mariusz Nowak) - Upgrade
filesizeto v10 (#11433) (9ef5fd2) (Mariusz Nowak)
3.22.0 (2022-08-16)
Features
- AWS Cognito: Add Support for Custom Sender Triggers (#11201) (22802ef) (AustinMathuw)
Bug Fixes
- AWS HTTP API: Fix API Gateway timeout resolution (#11223) (16b0cd6) (Corentin Doue)
- Variables: Fix handling of parallel resolution of same variable (#11299) (1f9a07f) (Mariusz Nowak)
Maintenance Improvements
- Remove left over internal
self:handling (#11279) (544717e) (pjmattingly) lodashreplacement:- Replace
_.flatMapwithArray.prototype.flatMap(#11272) (4f7e129) (pjmattingly) - Replace
_.flattenwithArray.prototype.flat(#11271) (b36cdf2) (pjmattingly)
- Replace
- Ignore
doctorin Compose triage (#11283) (ef2dcb6) () (Piotr Grzesik)
3.21.0 (2022-07-14)
Features
- Console: Rely on Console ready layers published to AWS (#11236) (f9bc405) (Mariusz Nowak)
Bug Fixes
- Console: Keep currently attached layers with
function deploy(#11235) (198d3b7) (Mariusz Nowak)
3.20.0 (2022-07-08)
Features
- Add
X-Amzn-Trace-Idto default CORS headers (#11168) (9fd56fd) (Szymon Bartnik) - AWS Local Invocation:
- Support ESM handlers (#11212) (675b1db) (Børge Bardo)
- Support Node handlers with
.cjsextension (#11203) (688f50d) (Piotr Grzesik)
Bug Fixes
- AWS Invocation: Ensure proper log formatting for
invoke(#11189) (c4eb2ad) (Piotr Grzesik) - Console: Fix console url for platform dev stage case (#11219) (543612a) (Mariusz Nowak)
Maintenance Improvements
- AWS Deploy: Improve vague S3-related access errors (#11217) (1b2ac24) (Piotr Grzesik)
- CLI: Recognize
--helpforcomposetriage (#11137) (37b29b0) (Piotr Grzesik) - Console: Report command which originated login operation (#11220) (8d4bf4f) (Piotr Grzesik)
- Improve error message for CLI param validation (#9846) (a2ea68d) (Matthieu Napoli)
3.19.0 (2022-06-02)
Features
- Console: Support new user settings format (#11115) (21461b5) (Mariusz Nowak)
- Recognize
Fn::Selectinenvironmentconfig schema (#11114) (ed111e0) (John Minns)
Maintenance Improvements
- Improve CLI messages when onboarding into Console (#11123) (cefb762) (Matthieu Napoli)
3.18.2 (2022-05-23)
Bug Fixes
- AWS Deploy: Ensure to only remove specific stage deploy artifacts (#11100) (9eae965) (Ryan Hartkopf)
Maintenance Improvements
- Console: Upgrade
@serverless/aws-lambda-otel-extension(#11106) (5327b70) (Mariusz Nowak) - Telemetry: Recognize
isUsingCompose(#11105) (007c294) (Piotr Grzesik)
3.18.1 (2022-05-20)
Bug Fixes
- CLI Onboarding:
- Recognize Dashboard providers for deployment when Dashboard monitoring is turned off (#11096) (38ff287) (Mariusz Nowak)
- Support Dashboard providers with the Console enabled (#11096) (8825e86) (Mariusz Nowak)
Maintenance Improvements
- Console: Improve user error message (#11094) (6748642) (Mariusz Nowak)
3.18.0 (2022-05-19)
Features
- Console:
- Switch to a new authentication system (#11060) (d40866a) (Mariusz Nowak)
- In uneven scenario let user decide whether intent is to login into the Dashboard or the Console(#11045) (0f21362) (Mariusz Nowak)
- Report
orgmismatch with a meaningful error (#11060) (ecaeb1f) (Mariusz Nowak) - Support
console.orgsetting (so differentorgsettings can be used for the Dashboard and the Console) (#11060) (3b3cfae) (Mariusz Nowak)
- AWS MSK: Add support for SASL/SCRAM authentication (#11060) (184cb03) (Ariel Gordone)
- AWS S3: Support
forceDeploysetting (#11066) (5af44a4) (Simon Archer) - AWS Lambda: Recognize all variants of supported log retention days (#11076) (a4d0ad5) (Brian Celenza)
Bug Fixes
- AWS Lambda: Fix support for lambdas with provisioned concurrency on with
url: true(#11045) (2107aec) (Piotr Grzesik) - CLI: Fix CLI command validation when using custom providers (#11080) (5004fb1) (Mariusz Nowak)
- Variables: Fix reporting of unresolved sources (#11080) (77e21f9) (Mariusz Nowak)
Maintenance Improvements
- Console:
- Rely on generic
apiRequestfor ingestion tokens rotation (#11060) (#11060) (0cecae7) (Mariusz Nowak) - Separate Dashboard & Console login logic (#11060) (443fa4b) (Mariusz Nowak)
- Rely on generic
- CLI Onboarding: Generalize
isConsoleresolution (#11060) (caaa3c8) (Mariusz Nowak)
3.17.0 (2022-05-10)
Features
- AWS Lambda: Add support for
nodejs16.xruntime (#11049) (719766b) (Hibanka) - AWS Websocket: Allow propagating tags to Websocket APIGW (#10931) (22e4842) (tjurdzinski)
3.16.0 (2022-04-29)
Features
- AWS Deploy: New option to deploy with CloudFormation without using changesets, which is faster. Learn more in the documentation. (#11016) (efa3a28) (Piotr Grzesik)
Bug Fixes
- CLI: Do not run
composefor non-service commands (#11017) (e56bc4b) (Piotr Grzesik) - Allow S3 event rule prefix and suffix to use CF functions (#11018) (0279e1e) (Matthew Crouch)
- Ensure to attempt minimal config resolution for plugin commands (#11005) (af9a238) (Piotr Grzesik)
- Ensure to not add double entries during
plugin install(#11005) (c4ca97d) (Piotr Grzesik)
Maintenance Improvements
- AWS Local Invocation: Rely on observable spawn (#11002) (6d97496) (Mariusz Nowak)
- Console:
- Configure
loginas standalone command (#11003) (fffaf9c) (Mariusz Nowak) - Configure
logoutas standalone command (#11003) (70ca359) (Mariusz Nowak)
- Configure
3.15.2 (2022-04-22)
Maintenance Improvements
- Console: Report requests and responses to server (#10999) (fa8243f) (Mariusz Nowak)
3.15.1 (2022-04-22)
Maintenance Improvements
- Console:
- Propagate
disableLogsCollectionto extension user settings (#10995) (4521eb7) (Mariusz Nowak) - Support
disableRequestResponseMonitoringsetting (#10995) (e5c088f) (Mariusz Nowak)
- Propagate
- Telemetry:
- Fix Console org reporting (#10995) (c0aabb4) (Mariusz Nowak)
- Debug log for telemetry payload (#10995) (db67962) (Mariusz Nowak)
3.15.0 (2022-04-20)
Features
- Introduce Serverless Framework Compose, a new feature that enables deploying multiple services in one command, in parallel, or ordered by dependencies
Maintenance Improvements
- Handle
@serverless/composeinstall in non-interactive environments (#10984) (75885cb) (Piotr Grzesik) - Support custom error message for variables resolution (#10985) (f7ffb19) (Piotr Grzesik)
3.14.0 (2022-04-14)
Features
Maintenance Improvements
- Enable triage process to run
@serverless/compose(#10950) (401c721) (Piotr Grzesik)
3.13.0 (2022-04-13)
Features
- Variables: Ensure support for promise properties at
filesource (#10949) (8dae213) (Mariusz Nowak)
Bug Fixes
- AWS API Gateway: Correctly construct resource name for schema (#10940) (0a0f6c6) (Piotr Grzesik)
- AWS Local Invocation: Ensure environment variables resolution for docker invoke (#10962) (1a8e7d9) (Sergii Dolgushev)
- CLI: Do not attempt to resolve full config for
login(#10942) (9b62d14) (Piotr Grzesik) - Standalone: Ensure proper
npmbundling (#10941) (cf482f0) (Piotr Grzesik)
Maintenance Improvements
- Console: Document
--consolewith a link to documentation (#10951) (23a5ea3) (Mariusz Nowak) - Telemetry: Ensure to pass unique id with events (#10966) (3bcff79) (Piotr Grzesik)
3.12.0 (2022-04-06)
Features
- AWS Lambda: Add support for function URLs (#10936) (d215517) (Piotr Grzesik)
Maintenance Improvements
- CLI: Fix typos in
createCLI messages (#10933) (26f79aa) (Petri Partio)
3.11.0 (2022-04-04)
Features
- AWS RabbitMQ: Support
virtualHost(#10814) (e21fb75) (Rudolf Nel) - CLI Onboarding: Support all runtimes for dashboard (with limited functionality) (#10922) (0ca0cff) (Piotr Grzesik)
3.10.2 (2022-03-31)
Maintenance Improvements
- Console: Report logs with opt out option (#10919) (ababd90) (Mariusz Nowak)
3.10.1 (2022-03-30)
Bug Fixes
- AWS Deploy: Apply stack policy after executing change sets (#10903) (2d2cb3e) (Mark Tse)
- AWS Local Invocation:
- Ensure proper artifact permissions for
rustfunctions (#10891) (11dd77e) (Sergii Dolgushev) - Ensure package before resolving runtime (#10888) (80b3e1a) (Sergii Dolgushev)
- Ensure proper artifact permissions for
Maintenance Improvements
- AWS Deploy: Ensure no internal dependency on
console(#10908) (2a8ef3e) (Mariusz Nowak) - Telemetry: Send more frequently to avoid too big payloads (#10909) (889e1b6) (Piotr Grzesik)
3.10.0 (2022-03-25)
Features
- AWS Lambda: Support
ephemeralStorageSize(#10901) (d317cff) (Piotr Grzesik)
3.9.0 (2022-03-24)
Features
- AWS Lambda: Support
Reffordestinationsproperties (#10845) (9e0ca03) (ALOHACREPES345)
Bug Fixes
- AWS Deploy:
- Fix handling of state file in check for changes logic (#10885) (12d95dc) (Mariusz Nowak)
- Recognize otel extension in check for changes logic (#10885) (6da0b65) (Mariusz Nowak)
- Console: Ensure single layer attachment with
package.individually(#10895) (fac8a73) (Mariusz Nowak)
Maintenance Improvements
- AWS Deploy:
- Debug logs for check for changes logic (#10885) (9f76f19) (Mariusz Nowak)
- Debug logs for logs subscription check (#10885) (895f320) (Mariusz Nowak)
- Improve internal resolution of hashes (#10885) (711b643) (Mariusz Nowak)
- Refactor
getMostRecentObjectsto async/await (#10885) (1461860) (Mariusz Nowak) - Refactor to async/await (#10885) (8bb306b) (Mariusz Nowak)
- Refactor to native promises (#10885) (c5970e7) (Mariusz Nowak)
- Console:
- Do not disable dashboard with console (#10895) (e6cdc9d) (Mariusz Nowak)
- Ensure to list extension layer in layers output (#10895) (14109e8) (Mariusz Nowak)
- Improve error reporting when layer cannot be added (#10895) (ba71dd9) (Mariusz Nowak)
3.8.0 (2022-03-21)
Features
- AWS Lambda:
- Recognize
Fn::Iffor properties ofvpc(#10877) (6a86ed7) (ALOHACREPES345) - Support
logRetentionInDaysper function (#10878) (4c25184) (ALOHACREPES345)
- Recognize
3.7.9 (2022-03-18)
Bug Fixes
- CLI Onboarding: Ensure to process fully resolved service config (#10873) (6a1f083) (Mariusz Nowak)
- CLI Onboarding: Improve fix for initial variables resolution (#10873) (1f12b19) (Mariusz Nowak)
- Console: Prevent AWS region mismatch (#10873) (43480ee) (Mariusz Nowak)
- Fix internal unrecognized command error processing (#10873) (a89e36a) (Mariusz Nowak)
Maintenance Improvements
- CLI: Configure processing flow debug logs (#10873) (7af0c8c) (Mariusz Nowak)
- Console: Present url to console UI (#10873) (0d9f866) (Mariusz Nowak)
- Upgrade to async/await (#10873) (8c7731d) (Mariusz Nowak)
3.7.8 (2022-03-17)
Bug Fixes
- Console:
- Fix reference to bucket name in CF template (#10869) (fcaa9c2) (Mariusz Nowak)
- Fix upload of extension to S3 bucket (#10869) (23719d8) (Mariusz Nowak)
3.7.7 (2022-03-17)
Bug Fixes
- Console: Respect custom deployment bucket configuration (#10867) (4d705cc) (Mariusz Nowak)
Maintenance Improvements
- Console:
- Generalize internal
bucketNameresolution (#10867) (103fc55) (Mariusz Nowak) - Report used layer extension version to telemetry (#10867) (db89f20) (Mariusz Nowak)
- Generalize internal
- CLI: Support internally a temporary
SLS_DISABLE_AUTO_UPDATEenv var (c939457) (Piotr Grzesik)
3.7.6 (2022-03-17)
Bug Fixes
- Standalone: Ensure error in China upload don't break GitHub upload (#10853) (2b8afac) (Mariusz Nowak)
- Console: Ensure to package extension without errors (#10860) (64ee4a5) (Mariusz Nowak)
Maintenance Improvements
- Console: Upgrade to rely on v0.2 version of extension (#10837) (3ccfec1) (Mariusz Nowak)
3.7.5 (2022-03-14)
Bug Fixes
- AWS Kafka: Allow usage of Server Root CA without client TLS auth (#10837) (6a6417c) (Fabian Desoye)
- CLI: Ensure proper resolution of options for service commands (#10846) (dd421cc) (Piotr Grzesik)
Maintenance Improvements
- Console: Dynamically resolve latest version of the extension (#10842) (c28c48c) (Mariusz Nowak)
3.7.4 (2022-03-10)
Bug Fixes
- AWS Local Invocation: Remove log4j dependency from java wrapper (#10832) (8b17338) (Yuji Yamano)
Maintenance Improvements
- Console: Communicate new token implications with verbose mode (#10835) (7e56aa1) (Mariusz Nowak)
3.7.3 (2022-03-09)
Bug Fixes
- CLI Onboarding:
- Enable Console in config, only with
--console(#10825) (b173d90) (Mariusz Nowak) - Ensure to enable Console when commented out (#10825) (f0bff74) (Mariusz Nowak)
- Fix
initialContext.isDashboardEnabledresolution (#10825) (10c24f6) (Mariusz Nowak) - Fix
isConsoleresolution inloginstep (#10825) (688bfcf) (Mariusz Nowak) - Fix resolution of onboarding message (#10825) (624536f) (Mariusz Nowak)
- Leave
appintact with also enabled Dashboard (#10825) (a043624) (Mariusz Nowak) - Prevent side-effects of not supported
appoption (#10825) (0c65663) (Mariusz Nowak) - Setup
appwhen Console and Dashboard enabled (#10825) (bffbfe3) (Mariusz Nowak) - With Console always favor console messaging (#10825) (f0d441e) (Mariusz Nowak)
- Enable Console in config, only with
Maintenance Improvements
- CLI Onboarding:
- Support joint Console (experimental) & Dashboard configurations (#10825) (48609f7) (Mariusz Nowak)
- Hide not supported templates with console (#10825) (79e156f) (Mariusz Nowak)
- Reorganize
writeOrgAppAndConsoleinput (#10825) (fc9dc1d) (Mariusz Nowak) - Reorganize internal variables (#10825) (25d2e7a) (Mariusz Nowak)
- Support future object notation for
console(#10825) (2f187a5) (Mariusz Nowak)
- Console: Unify headers resolution (#10825) (494fb26) (Mariusz Nowak)
- Telemetry:
- Expose
initialContext.isConsoleEnabled(#10825) (f580883) (Mariusz Nowak) - Ensure to not leak
falseas empty value (#10825) (167a77e) (Mariusz Nowak)
- Expose
3.7.2 (2022-03-08)
Bug Fixes
- Ensure to properly support moving directories across filesystems (#10796) (d06b64d) (Piotr Grzesik)
Maintenance Improvements
- AWS Lambda: Support
provisionedConcurrencyset to0(#10798) (e40ba43) (Dustin Fay) - Standalone: Update Tencent CLI standalone download URL (#10811) (e26625a) (Tim Qian)
- Telemetry: Ensure excluding
shouldSendTelemetryfrom payload (#10810) (9c6423b) (Piotr Grzesik)
3.7.1 (2022-03-02)
Bug Fixes
- CLI Onboarding: Ensure improved variables resolution for existing templates (#10784) (17df292) (Piotr Grzesik)
Maintenance Improvements
- Telemetry: Rely on direct evaluation of
isTtyTerminal(#10786) (e29253f) (Piotr Grzesik) - Recognize
logoutas service-aware command (#10785) (21c783d) (Piotr Grzesik)
3.7.0 (2022-03-01)
Features
- CLI Onboarding: Support
--consoleflag (#10779) (a34d07a) (Piotr Grzesik)
3.6.0 (2022-03-01)
Features
- Variables: Add support for
csjinfilesource (#10776) (df08283) (Julian Grinblat)
Maintenance Improvements
- Console: Support login with Console (#10777) (4ce1088) (Piotr Grzesik)
3.5.1 (2022-02-28)
Bug Fixes
- AWS Lambda: Properly format
logswith missing init duration (#10772) (0bb64e2) (Piotr Grzesik)
3.5.0 (2022-02-28)
Features
- AWS Lambda: Simplify
logscommand output (#10768) (d8f251c) (Piotr Grzesik)
Maintenance Improvements
- Console: Add missing
OTEL_RESOURCE_ATTRIBUTESvar (#10762) (1f9458b) (Piotr Grzesik & Mariusz Nowak) - Log environment details of error to stderr (#10769) (f439201) (Piotr Grzesik)
3.4.0 (2022-02-25)
Features
- AWS Lambda: Add support for
dotnet6runtime (#10757) (818dda2) (Martin Costello) - Console: Initial (experimental) support (#10752) (bdaf21e) (Mariusz Nowak)
Bug Fixes
- AWS API Gateway: Properly apply
descriptionto REST API (#10746) (451def9) (ALOHACREPES345)
Maintenance Improvements
- AWS Deploy: Generalize
uploadZipFilelogic (#10752) (26bc112) (Mariusz Nowak) - AWS Deploy: Improve progress logs for rollback (#10752) (24c45a0) (Mariusz Nowak)
- AWS Deploy: Refactor
extendedValidateto async (#10752) (e1d2b82) (Mariusz Nowak) - AWS Deploy: Store resolved state on internal class (#10752) (1c00eb2) (Mariusz Nowak)
- AWS Deploy: Upload state file to deployment bucket (#10752) (5525a3e) (Mariusz Nowak)
- Expose
isDashboardEnabledresolver (#10752) (ba34c57) (Mariusz Nowak) - Generalize S3 upload dirname handling (#10752) (9223b79) (Mariusz Nowak)
- Introduce hooks tracking debug logs (#10752) (efe1139) (Mariusz Nowak)
- Mark
saveServiceStateinternal function as async (#10752) (4f895a2) (Mariusz Nowak)
3.3.0 (2022-02-18)
Features
- Variables: Support for
--paramCLI options (#10713) (964b883) (Piotr Grzesik)
Bug Fixes
Maintenance Improvements
- CLI: Remove obsolete
vpostfix when listing global version (#10708) (5013af0) (Mariusz Nowak)
3.2.1 (2022-02-14)
Bug Fixes
- CLI: Ensure to pass through
serverless-tencentexit code (#10698) (4d091b4) (Mariusz Nowak) - Config Schema: Safe generation of standalone AJV validator (#10680) (6093ee4) (Piotr Grzesik)
- Standalone: Fix upgrade when temp dir is on other device (#10684) (1b8d463) (Mariusz Nowak)
Maintenance Improvements
- Upgrade to
@serverless/testinv10(4201b30)
3.2.0 (2022-02-10)
Features
- Plugins: Support ESM format for plugins (#10657) (ec3271f) (frozenbonito)
Bug Fixes
- AWS Deploy: Add descriptive error if S3 bucket cant be cleaned (#10668) (d4ee656) (Piotr Grzesik)
- Config Schema: Recognize
provider.websocketsDescription(#10663) (9778751) (Jérémy Benoist) - Variables: Improve resolution of AWS auth related properties (#10652) (e66c865) (Mariusz Nowak)
- Improve detection of
tty(#10662) (0c810bf) (Piotr Grzesik) - Improve validation of min supported Node version (#10655) (bf084f3) (Piotr Grzesik)
Maintenance Improvements
- CLI: Conditionally apply post dotenv resolution logic (#10652) (30465cc) (Mariusz Nowak)
- Variables:
- Ensure to mark
awsas fulfilled source (#10652) (a4c9392) (Mariusz Nowak) - Optimize
provider.nameresolution handling (#10652) (6e1f5ed) (Mariusz Nowak)
- Ensure to mark
- Use templates from
examplesincreatecommand (#10576) (76a60ae) (Piotr Grzesik) - Change all occurences of succesful to successful (#10639) (77f8e56) (Rohan Mukherjee)
3.1.1 (2022-02-02)
Bug Fixes
- AWS Deploy: Ensure to clear
notificationArnsif needed during changeset deployment (#10620) (a2e58cd) (Piotr Grzesik) - AWS Deploy: Handle gently missing template body (#10622) (195c3f2) (Mariusz Nowak)
- AWS Deploy: Properly apply
stackPolicywith changesets (#10617) (ee30a7b) (Piotr Grzesik)
Maintenance Improvements
- CLI Onboarding: Improve deploy messaging (#10623) (97fda34) (Piotr Grzesik)
- CLI: Expose installation type by
serverless-tencentversion info (#10621) (4c5f834) (Mariusz Nowak) - Config Schema: Improve error message for non-function AJV validate (#10625) (e4ee0a3) (Piotr Grzesik)
3.1.0 (2022-02-01)
Features
- AWS ActiveMQ: Support
maximumBatchingWindow(#10593) (658dc28) (Richard Hull) - AWS Kafka: Support
maximumBatchingWindow(#10591) (e90c114) (Richard Hull) - AWS MSK: Support
maximumBatchingWindow(#10580) (d341b6b) (Richard Hull) - AWS RabbitMQ: Support
maximumBatchingWindow(#10598) (d0554b7) (Richard Hull) - Recognize
ap-southeast-3AWS region (#10586) (f77477e) (Jeremy Care)
Bug Fixes
- CLI:
- Fix support for
-c(--config) shortcut (#10607) (06fc4df) (Mariusz Nowak) - Get
serverless-tencentversion from all supported locations (#10608) (395ea7d) (Mariusz Nowak)
- Fix support for
3.0.1 (2022-01-28)
Bug Fixes
- Report more meaningful strict schema mode error (#10574) (e98d699) (Piotr Grzesik)
Maintenance Improvements
- CLI Onboarding: Minor wording adjustments (#10575) (772a9bb) (Piotr Grzesik)
Templates
- Update dependencies of
aws-nodejs-typescriptto v3 (#10582) (88ac3d0) (Paul Lessing)
3.0.0 (2022-01-27)
We are excited to announce the release of Serverless Framework v3!
This new major version brings a cleaner and redesigned CLI experience as well as a brand new feature: stage parameters.
Read all about Serverless Framework v3 in the official blog post.
⚠ BREAKING CHANGES
Read the complete v3 Upgrade Guide.
- Variables: Old variables resolver is permanently removed. Any resolution error as approached with current resolver is assumed as final (there's no longer fallback to old resolver)
- AWS Lambda:
- Default lambda hashing algorithm was changed to
20201221 - Runtimes
nodejs10.x,python2.7,ruby2.5anddotnetcore2.1reached end of support on AWS and are no longer recognized in configuration. - Default runtime has been changed from
nodejs12.xtonodejs14.x - Properties
service.awsKmsKeyArnandfunctions[].awsKmsKeyArnare no longer supported. Useprovider.kmsKeyArnandfunctions[].kmsKeyArninstead.
- Default lambda hashing algorithm was changed to
- CLI:
- CLI params put before command tokens are no longer recgonized (e.g.
sls -f <function-name> deploy functionwill no longer work). In all cases construct CLI args insls <command> <options>order - Unrecognized CLI options will no longer be supported and will result in an error.
enableLocalInstallationFallbackconfiguration property is no longer supported.- Remove
studiocommand schema - The
--verboseCLI flag does no longer support-valias - Opt-in tab-tab autocompletion feature is removed due to performance and security issues
- CLI params put before command tokens are no longer recgonized (e.g.
- AWS API Gateway:
- Enabling logs or tracing for imported API Gateway will now result in an error instead of warning
- For authorizers with
requesttype and caching disabled (resultTtlInSeconds: 0), theidentitySourcewill no longer be set tomethod.request.header.Authorizationby default. - Support for
usagePlan,resourcePolicyandapiKeysonproviderlevel is removed. Useprovider.apiGatewaylevel instead to set them. - Support for
http.request.schemahas been removed and replaced withhttp.request.schemas.
- AWS HTTP API: Tags from
provider.tagsare applied by default to HTTP API Gateway. - AWS CloudFront: Support for
MinTTL,MaxTTL,DefaultTTLandForwardedValuesoncloudfront.behaviorhas been removed. - AWS EventBridge: By default, EventBridge resources now will be deployed using native CloudFormation resources instead of Custom Resources.
- AWS Alexa: Support for simple
alexaSkillevent was removed and nowappIdis required for allalexaSkillevents.- Serverless Components (@serverless/components) CLI is no longer integrated with Framework CLI. - Dashboard:
tenantconfiguration setting is no longer respected. Ensure to rely onorginstead - AWS Deploy: Deployment now uses change sets instead of direct stack updates.
- Serverless Components v1 (
@serverless/cli) CLI is no longer integrated with Framework CLI. - Custom nested configuration paths will no longer be supported and such usage will result in an error.
- Object notation is no longer supported for
serviceproperty. Set name directly toservice. - When creating
Serverlessclass instance programatically, bothoptionsandcommandshave to be passed viaconfigto the constructor. - Duplicate plugin definition in configuration will now result in an error instead of a warning.
- Using
--aws-s3-accelerateflag will result in an error instead of deprecation when custom S3 bucket is used. - Removed support for
provider.disableDefaultOutputExportNames - Node.js versions lower than v12.13.0 (LTS) is no longer supported
- Lifecycle events marked as deprecated (in context of v1) are no longer evaluated
Features
- Variables: Remove old variables resolver (#10512) (9bf6c16) (Mariusz Nowak)
- Packaging: Deprecate
package.includeandpackage.exclude(#10348) (aa4f9e3) (Mariusz Nowak) - CLI:
- Unconditionally fallback when local installation found (#10503) (137554c) (Mariusz Nowak)
- Simplify
logscommand output (#10203) (d4124a3) (Piotr Grzesik) - Deprecate support for
deploy -falias (#10346) (09c9ea3) (Mariusz Nowak) - Deprecate missing options schema (#10394) (0db9c49) (Mariusz Nowak)
- Deprecate recognition of
projectDirconfiguration setting (#10511) (00fcd83) (Mariusz Nowak) - Global
--debugflag for debug logging (#10197) (3b4f267) (Mariusz Nowak) - Global
--verboseflag for verbose logging (#10197) (2eef264) (Mariusz Nowak) - Register
-vas global--versionalias (#10332) (211db81) (Mariusz Nowak) - Remove
-valias for--verboseflag (#10153) (03b77c0) (Mariusz Nowak) - Remove support for unrecognized cli options (#10172) (7c2b2ea) (Piotr Grzesik)
- Simplify CLI args parsing to
<command> <options>format (#10332) (8229812) (Mariusz Nowak) - Support
serverless-tencentCLI (#10305) (10db944) (Mariusz Nowak) - Do not decorate
cli.loglogs (#10196) (1f44227) (Mariusz Nowak) - Expose
sls doctorcommand (#10504) (d403bfc) (Mariusz Nowak) - Remove
studiocommand schema (#10191) (7f1e7e1) (Piotr Grzesik) - Remove tab autocomplete feature (#10414) (519ce0c) (Mariusz Nowak)
- AWS Lambda:
- Change default hashing algorithm (#10255) (775debf) (Piotr Grzesik)
- Change default runtime to
nodejs14.x(#10147) (30e99fb) (Piotr Grzesik) - Remove support for
awsKmsKeyArnsetting (#10146) (6de37bf) (Piotr Grzesik) - Remove support for obsolete runtimes (#10207) (23cfb63) (Piotr Grzesik)
- AWS HTTP API:
- Always apply
provider.tagsto HTTP API (#10141) (b34d549) (Piotr Grzesik) - Deprecate
provider.httpApi.useProviderTags(#105) (fee410a) (Piotr Grzesik)
- Always apply
- AWS API Gateway:
- Change default identity source for authorizers (#10168) (1139255) (Piotr Grzesik)
- Error on tracing or logs set for external API (#10198) (64ea6e5) (Piotr Grzesik)
- Remove API specific settings from
provider(#10157) (99941f0) (Piotr Grzesik) - Remove support for
request.schema(#10143) (b8019d8) (Piotr Grzesik)
- AWS CloudFront: Remove support for deprecated
behaviorprops (#10149) (c22277f) (Piotr Grzesik) - AWS EventBridge: Change default deployment method to native CF (#10164) (46956f3) (Piotr Grzesik)
- AWS IAM: Deprecate IAM settings grouped directly at
provider(#10348) (d7fd239) (Piotr Grzesik) - Plugins: Pass log writers to plugin constructor (#10140) (57079b7) (Mariusz Nowak)
- Config Schema: Deprecate
warnas a validation mode default (#10348) (6e27cc1) (Mariusz Nowak) - Standalone: Upgrade
npmto v8 (#10349) (6bfdc0c) (Mariusz Nowak) - Dashboard: Drop support for
tenant(#10525) (9894875) (Mariusz Nowak) - AWS Alexa: Remove support for alexaSkill without appId (#10142) (a9edd06) (Piotr Grzesik)
- Disallow custom nested configuration path (#10205) (aeb9a57) (Piotr Grzesik)
- Error instead of warning when missing
commandsoroptions(#10158) (f86f691) (Piotr Grzesik) - Remove
@serverless/cliCLI integration (#10462) (396cfb9) (Mariusz Nowak) - Remove
@serverless/componentsCLI integration (#10327) (3395395) (Mariusz Nowak) - Remove support for
provider.disableDefaultOutputExportNames(#10148) (a9cd331) (Piotr Grzesik) - Remove support for Node v10 (#10186) (90f00b7) (Piotr Grzesik)
- Remove support for object notation for
service(#10156) (bccd188) (Piotr Grzesik) - Restrict stage name with pattern (c8c9f49) (Mariusz Nowak)
- Support
paramsconfiguration (#10400) (4675b57) (Mariusz Nowak) - Throw error on duplicated plugin definition (#10150) (d3aca0a) (Piotr Grzesik)
- Throw for
--aws-s3-acceleratewhen custom bucket used (#10151) (b7d48e5) (Piotr Grzesik)
Maintenance Improvements
- AWS Deploy: Use change sets in CF deployments (#10390) (e2c65a2) (Piotr Grzesik)
- CLI Onboarding: Download templates from v3 examples branch (#10482) (ded1b0e) (Piotr Grzesik)
- CLI:
- Convert
isLocallyInstalledto export result directly (#10503) (ad0bbb0) (Mariusz Nowak) - Export resolved local installation path directly (#10503) (fb3b39a) (Mariusz Nowak)
- Improve post install log to reflect modern style (#10418) (843764b) (Mariusz Nowak)
- Improve progress for CloudFormation updates (#10458) (14b1443) (Piotr Grzesik)
- Seclude
paramRegExp(#10346) (703e40f) (Mariusz Nowak) - Seclude uncaught exception handling (#10542) (b4bd0d4) (Mariusz Nowak)
- Unify finalization of a process handling (#10542) (29357f4) (Mariusz Nowak)
- Move
isLocalyInstalledutil to CLI context (#105) (3dc8395) (Mariusz Nowak)
- Convert
- Config Schema:
- Upgrade
ajvtov8along with related packages (#10440) (15cd724) (Piotr Grzesik) - Do not rely on
ajv-keywords(#10490) (#10490) (4a22a4e) (Piotr Grzesik)
- Upgrade
- Telemetry: Include
paramsCountin telemetry (#10460) (dd721b0) (Piotr Grzesik) - Rely on
require.resolveto detect wether module exist (#10503) (040be5f) (Mariusz Nowak) - Remove
legacylogs (#10527) (a92ab91) (Piotr Grzesik) - Remove
lib/classes/Error.js(#10563) (44391fa) (Mariusz Nowak) - Remove evaluation of deprecated lifecycle events (#10345) (34bb51e) (Mariusz Nowak)
- Remove internal
suppressLogIfPrintCommandmethod (#10526) (584286e) (Mariusz Nowak) - Unify file naming convention (#10563) (Mariusz Nowak)
- Replace
ncjsm/resolveusage with nativecreateRequire(#10503) (d18efc2) (Mariusz Nowak) - Adapt to rename in
@serverless/dashboard-plugin(#10543) (88234a5) (Mariusz Nowak) - Upgrade
@serverless/utilsto v6 (74d9c70) (Mariusz Nowak)
2.72.3 (2022-02-22)
Maintenance Improvements
- Improve CLI options deprecation message (#10740) (58ed08c) (Piotr Grzesik)
2.72.2 (2022-01-24)
Bug Fixes
- Variables: Fix too eager nested resolution tracking (#10554) (8db03c9) (Steven Noorbergen)
2.72.1 (2022-01-21)
Maintenance Improvements
- Refactor direct use of
@serverless/utils/log(#10534) (05fb97f) (Piotr Grzesik)
2.72.0 (2022-01-17)
Features
- CLI Onboarding: Auto login if
orgprovided or configured (#10510) (dcf5273) (Piotr Grzesik)
Bug Fixes
- CLI: Respect old Node.js versions in version detection (#10499) (427920e) (Mariusz Nowak)
Maintenance Improvements
- AWS Deploy: Improve custom resource generation log (#10496) (521861b) (Mariusz Nowak)
- CLI Onboarding: Improve user message when
appdoes not exist (#10509) (20afe33) (Mariusz Nowak) - Ensure support for
warnmode for modern deprecations (#10502) (82303b3) (Piotr Grzesik) - Support
concealoption in modern logs (#10501) (0dacf1b) (Piotr Grzesik)
Templates
- Ensure
esbuilddependency inaws-nodejs-typescript(#10484) (452e4d8) (François Farge)
2.71.0 (2022-01-10)
Features
- AWS Cognito: Support
forceDeploysetting (#10435) (c67a3f1) (TsimpDim) - Variables: Resign from
projectDirconcept (#10478) (5a76437) (Mariusz Nowak)
Bug Fixes
- CLI: Fix handling of provider URL handling (#10461) (7ebe133) (Mariusz Nowak)
- Config Schema: Address invalid schema definitions (#10452) (9e1fe0a) (Piotr Grzesik)
Maintenance Improvements
- CLI Onboarding: Download templates from v2 examples branch (#10447) (46d090a) (Piotr Grzesik)
- CLI: Ensure telemetry logs are issued at debug level (#10424) (7b36038) (Mariusz Nowak)
Templates
- Upgrade
log4jto2.17.1in corresponding templates (#10430) (2c3ab1d) (Graham Campbell)
2.70.0 (2021-12-27)
Features
- AWS API Gateway: Allow use of custom authorizer with authorizerId (#10384) (c0eda27) (Adam Lanners)
- AWS Local Invocation: Upgrade
log4jto version 2.17.0 (#10396) (2782ed4) (Vassili Gorshkov)
Bug Fixes
- AWS API Gateway: Meaningfully reject missing
restApiRootResourceId(#10371) (2c0a962) (Sudipto Das) - AWS Deploy: Fix reliability of VPC config change detection in
deploy function(#10409) (0190d0d) (Piotr Grzesik)
Templates
- Upgrade
log4jinaws-lambda-java-log4j2(#10383) (786f5e4) (Marina) - Upgrade
log4jinaws-kotlin-jvm-gradle(#10382) (7bf8f1b) (Varun) - Upgrade
log4jdependencies (#10392) (86fa604) (Juan Bermúdez)
Maintenance Improvements
- Telemetry:
- Report
didCreateServiceproperty (#10406) (4fa20a5) (Piotr Grzesik) - Report
projectIdin remove command (#10415) (0de3bc3) (Piotr Grzesik) - Ensure to report
projectIdfor interactive (#10406) (08b5acb) (Piotr Grzesik)
- Report
- CLI: Replace internal old logging utils with modern interface (#10417) (5a451ad) (Mariusz Nowak)
- Variables: Support custom sources in internal resolver (#10393) (365a7f1) (Mariusz Nowak)
2.69.1 (2021-12-15)
Bug Fixes
- AWS Lambda: Fix event config setup for provisioned lambdas (#10366) (3b4e453) (Mariusz Nowak)
- CLI:
- Do not crash on help request (#10347) (f6feb0b) (Mariusz Nowak)
- Improve error handler resolution (#10367) (0dedd3e) (Mariusz Nowak)
Templates
- Upgrade
log4jin Java based templates (#10363) (7de020b) (Vassili Gorshkov) - Upgrade
log4jin Java based templates (#10339) (c1df4f8) (Vassili Gorshkov)
2.69.0 (2021-12-13)
Features
- AWS Deploy: Ensure existence of S3 deployment bucket (if possible) (#10317) (f358585) (Piotr Grzesik)
- AWS Kafka: Add support for
mTLSaccess configuration (#10273) (9faf37a) (Misha Bruml) - Standalone:
- Support installation on M1-based Macs (#10291) (92ae054) (Piotr Grzesik)
- Use Node 16 as base for binaries (#10291) (eb8f474) (Piotr Grzesik)
Bug Fixes
- AWS Deploy:
- Allow removal of stack with bucket missing (#10306) (1a85a4a) (Piotr Grzesik)
- Ensure to strip all
nullproperties from CloudFormation template (#10304) (1f58760) (GurmeharS) - Recognize all boolean values at
provider.disableRollback(#10324) (2485c7e) (François Farge)
- Variables: Provide opt-out from forced decryption at
ssmsource (#10315) (503c031) (Omer Shacham)
Maintenance Improvements
- Configure promise returning functions as async (#10309) (4d4f863) (mdanyalkhan)
- Use
async/awaitsyntax inbucket.js(#10306) (39e43b5) (Piotr Grzesik)
2.68.0 (2021-12-02)
Features
- AWS Deploy:
- AWS SQS: Support
filterPatterns(#10297) (3f0a80a) (Piotr Grzesik) - AWS Stream: Support
filterPatterns(#10285) (fc00505) (Frédéric Barthelet)
Bug Fixes
- AWS SQS: Accept only plain string form in direct ARN assignement (#10263) (f7bbd17) (Sudipto Das)
- Variables: Resolve variables in resolved address & params values (#10296) (63d54e1) (Mariusz Nowak)
Maintenance Improvements
- Variables: Seclude internal logic for reuse (#10296) (9c75044) (Mariusz Nowak)
Templates
- Update dependencies in
aws-java-maven(#10289) (0714f7d) (burakaktasfe)
2.67.0 (2021-11-26)
Features
- AWS Deploy: Support
disableRollbackparameter (#10236) (c9fefce) (Frédéric Barthelet) - AWS Lambda: Add
platformoption for container images (#10237) (5b61b41) (Zane Mountcastle) - AWS S3: Support
Fn::IfCF function for s3 event (#10272) (a4fa498) (Piotr Grzesik) - AWS SQS: Support
functionResponseType(#10265) (44511f3) (nicoeft)
2.66.2 (2021-11-17)
Bug Fixes
- CLI: Fix component template recognition in triage (#10252) (4494f77) (Mariusz Nowak)
Maintenance Improvements
- CLI: Expose dashboard provider name when starting deployment (#10194) (6698fa6) (Mariusz Nowak)
Templates
- Use
iam.rolesyntax (#10227) (a55d51c) (Piotr Grzesik) - Update
ts-nodefor es2020 and es2021 support inaws-nodes-typescript(#10234) (e131609) (Frédéric Barthelet)
2.66.1 (2021-11-10)
Bug Fixes
- AWS API Gateway: Ensure proper
apiIdresolution (#10221) (95f3a56) (Piotr Grzesik)
Maintenance Improvements
- CLI: Improve timestamp visiblity in
deploy listoutput (#10211) (55146c4) (Mariusz Nowak)
Templates
- Upgrade
middyinaws-nodejs-typescript(#10215) (ad95e03) (Frédéric Barthelet) - Use non deprecated API in
aws-nodejs-typescript(#10214) (6671d98) (Frédéric Barthelet)
2.66.0 (2021-11-09)
Features
- Introduce
enforce-hash-updateflag to help Lambda hashing version migration (#10209) (afd0a5b) (Piotr Grzesik) - Variables: Recognize
:in variable address to supportoutputsource (#10208) (723927f) (Piotr Grzesik)
Bug Fixes
- AWS API Gateway: Ensure
shouldStartNameWithServicesupport (#10177) (e8c8d25) (Vicary A.) - CLI: Do not recommend
frameworkVersionwhen running pre release (#10204) (53490a5) (Mariusz Nowak)
Maintenance Improvements
- Ensure to use
legacy.loginstead ofcli.log(#10206) (ea05d7c) (Mariusz Nowak)
2.65.0 (2021-11-03)
Features
- AWS Lambda:
- Support CF intrinsic functions at
functions[].reservedConcurrency(#10129) (7cfddff) (ROSeaboyer) - Allow to stick to current default Lambda hashing version mode with
lambdaHashingVersion: 20200924setting (#10173) (50a8457) (Piotr Grzesik)
- Support CF intrinsic functions at
- AWS EventBridge: Adjust deprecation of deployment method and allow to keep using old approach (#10133) (bf62b7c) (Piotr Grzesik)
- AWS Local Invocation: Support decimal serialization for Python (#10178) (9ef46ba) (Shane R. Spencer)
Bug Fixes
- AWS Deploy: Fix handling of deployment bucket extensions (#10137) (39bdea0) (Mars Lan)
- AWS HTTP API: Recognize max timeout as 30s instead of 29s (#10119) (e3e02fe) (Caio Fauza)
- CLI:
- Fix
helpcommand usage information (#10175) (254e70c) (Sebastian Bille) - Fix resolution of help for not integrated commands (#10128) (204f205) (Mariusz Nowak)
- Fix
- Recognize accessible configuration parts on validation errors (#10134) (b7a6349) (Mariusz Nowak)
Performance Improvements
- CLI: Integrate CLI triage into this package (no
@serverless/componentsand@serverless/climodules are loaded unless their CLI is used)(#10131) (415bdef) (Mariusz Nowak)
Maintenance Improvements
- CLI:
- Improve file size output in logs (#10169) (4448490) (Mariusz Nowak)
- Improve main progress message (#10183) (533f709) (Mariusz Nowak)
- Telemetry: Add
projectIdto payload (#10180) (cc7d7e4) (Piotr Grzesik) - AWS EventBridge: Address typos in error messages (#10165) (ee38f6a) (Andreas Kohn)
- Seprate internal and plugin output sections (#10184) (7bb2520) (Mariusz Nowak)
Templates
- Package lambdas individually in
aws-nodejs-typescript(#10106) (3aab5f8) (Adrien Cacciaguerra) - Upgrade
azure-nodejs-typescript(#10163) (26846d5) (Giang Nguyen)
2.64.1 (2021-10-20)
Bug Fixes
- CLI: Handle gently case where temp folder is on other device (#10124) (a030636) (Mariusz Nowak)
2.64.0 (2021-10-20)
Features
Bug Fixes
- AWS Deploy: Recognize
LogicalResourceIdinstackPolicy(#10097) (1a528c2) (Monsma) - AWS EventBridge: Allow intrinsic functions in
pattern(#10120) (1c105a4) (Benoît Bouré) - CLI: Ensure command validation for service independent commands (#10115) (6022fb9) (Mariusz Nowak)
- Packaging: Ensure to show deprecation in all cases (#10111) (cc71fc9) (Mariusz Nowak)
Maintenance Improvements
- CLI:
- Support
decoratedMessageonServerlessError(#10112) (2217158) (Piotr Grzesik) - Enhanced modern error reporting for CloudFormation (#10112) (cfd828e) (Piotr Grzesik)
- Report
credentialssource in modern error output (#10114) (b4ff87d) (Piotr Grzesik) - Improve style for local fallback modern notice (#10111) (73c071b) (Mariusz Nowak)
- Introduce
doctorcommand for modern handling of deprecations (#10115) (452e234) (Mariusz Nowak) - Do not filter commands by
lifecycleEventsfor help (#10115) (6991d66) (Mariusz Nowak)
- Support
2.63.0 (2021-10-15)
Features
- AWS Deploy: Introduce warning about
deploy -falias (#10078) (40f574f) (Piotr Grzesik) - AWS Lambda: Allow overriding provider VPC with no VPC on function level (#10060) (44a81fc) (Oliver)
- AWS S3: Recognize
ExpirationInDaysproperty fors3events (#10083) (8e6dcd1) (ROSeaboyer) - CLI:
- Introduce deprecation for duplicate plugin definition (#10080) (d2a75ea) (Piotr Grzesik)
- Introduce deprecation instead of warning on S3 Accelerate for user provided bucket (#10080) (04b921a) (Piotr Grzesik)
- Opt-in support for deployment bucket versioning (#9912) (c4cb0f3) (Mars Lan)
Maintenance Improvements
- CLI: New logs (experimental):
- Adapt
logInfoto modern logs (#10078) (771f99b) (Piotr Grzesik) - Adapt
logWarningto modern logs (#10078) (d43298d) (Piotr Grzesik) - Cover image building with modern logs (#10070) (a2be338) (Piotr Grzesik)
- Improve handling of service outputs in modern logs (#10100) (7d19ca8) (Mariusz Nowak)
- Introduce modern warning about resource limit (#10086) (ca705b8) (Piotr Grzesik)
- Minor modern logs updates (#10071) (39c09e4) (Piotr Grzesik)
- Remove empty line in
infocommand (#10086) (03b4b3d) (Piotr Grzesik) - Replace
process.stdoutuse with modern logs (#10087) (be00a26) (Piotr Grzesik) - Replace warnings with modern counterparts (#10080) (4da0899) (Piotr Grzesik)
- Update link style for modern logs (#10096) (6264296) (Mariusz Nowak)
- Adapt
- Fix typo in
lib/classes/Variables.js(#10093) (49f0913) (Chris Poli)
Templates
2.62.0 (2021-10-08)
Features
- AWS Deploy: Remove
deploy -fdeprecation (#10063) (1084251) (Mariusz Nowak) - Config Schema: Remove validation mode related deprecation (#10063) (a9bf916) (Mariusz Nowak)
- Packaging: Remove
package[include|exclude]deprecation (#10063) (70e2736) (Mariusz Nowak)
Bug Fixes
- AWS Deploy: Throw on attempt of extending not existing resource (#10063) (02be86c) (Mariusz Nowak)
Maintenance Improvements
- CLI: New logs (experimental):
- Simplify CF deploy progress (#10068) (be60ed4) (Mariusz Nowak)
- Expose function artifact size in deploy summary (#10062) (8746100) (Mariusz Nowak)
createcommand (#10066) (05f937f) (Piotr Grzesik)invoke localcommand (#10065) (82dd1e4) (Piotr Grzesik)invokecommand (#10052) (2af95c0) (Piotr Grzesik)metricscommand (#10051) (592596c) (Piotr Grzesik)removecommand (#10050) (3934cad) (Piotr Grzesik)rollback functioncommand (#10064) (4cbc342) (Piotr Grzesik)rollbackcommand (#10064) (f0970e0) (Piotr Grzesik)uninstallcommand (#10034) (2787ea0) (Piotr Grzesik)upgradecommand (#10034) (9b5e6b1) (Piotr Grzesik)- Ensure empty line prior final status with progress (#10063) (#10062) (c9f2227) (Mariusz Nowak)
- Reconfigure dashboard related warning (#10053) (7c91cde) (Mariusz Nowak)
- AWS Deploy: Improve error message (#10063) (d071c5f) (Mariusz Nowak)
- Remove async handling from sync function (#10053) (5f1a916) (Mariusz Nowak)
2.61.0 (2021-10-04)
Features
- AWS Lambda: Support 64-bit ARM architecture (#10049) (fe655d4) (Mariusz Nowak)
Bug Fixes
- AWS Credentials: Fail when profile is already configured (#10038) (f8ad7bc) (Piotr Grzesik)
Maintenance Improvements
- CLI: New logs (experimental):
config credentialscommand (#10038) (bcb2408) (Piotr Grzesik)config tabcompletion installcommand (#10038) (16a7739) (Piotr Grzesik)config tabcompletion uninstallcommand (#10038) (02eebb4) (Piotr Grzesik)configcommand (#10038) (7926570) (Piotr Grzesik)slstatscommand (#10036) (0c9dae1) (Piotr Grzesik)
2.60.3 (2021-10-01)
Bug Fixes
- CLI: Fix resolution of handler in case of local fallback (#10042) (7d31410) (Mariusz Nowak)
Maintenance Improvements
- CLI:
- Improve modern
infooutput (#10037) (2828a2c) (Mariusz Nowak) - Improve modern error reporting (#10037) (a205f88) (Mariusz Nowak)
- Improve modern logs for
logscommand (#10037) (d1701bf) (Mariusz Nowak) - Modern logs for
installcommand (#10040) (bd4d215) (Piotr Grzesik) - Modern logs for
printcommand (#10035) (4ed34c3) (Piotr Grzesik) - Generalize
writeServiceOutputs(#10037) (8aa700d) (Mariusz Nowak)
- Improve modern
2.60.2 (2021-09-30)
Bug Fixes
- AWS EventBridge: Ensure proper support for
deadLetterQueueArn(instead ofdeadLetterConfig) (#10030) (846cfa1) (Piotr Grzesik)
2.60.1 (2021-09-29)
Bug Fixes
- AWS EventBridge: Fix
MaximumEventAgeInSecondtemplate reference (#10023) (cd03f55) (Mariusz Nowak) - Standalone:
- Fix internal npm installation handling (#10014) (5a583a9) (Mariusz Nowak)
- Upgrade
npmversion to one that supports Node.js v14 (#10014) (62d697c) (Mariusz Nowak)
- CLI: Fix handling when local
serverlessis removed in command run (#10016) (1a3ccdb) (Mariusz Nowak)
Maintenance Improvements
- Plugins:
- Seclude
plugin installstandalone command (#9942) (713ac1e) (Seungchan Ahn) - Seclude
plugin uninstallstandalone command (#10015) (26ce1c6) (Seungchan Ahn) - Fix manual update notice (#10016) (0d5884e) (Mariusz Nowak)
- Seclude
- CLI: New logs (experimental):
plugin installcommand (#10016) (8c5f22c) (Mariusz Nowak)plugin listcommand (#10016) (00e016c) (Mariusz Nowak)plugin searchcommand (#10016) (1463171) (Mariusz Nowak)plugin uninstallcommand (#10016) (3094be0) (Mariusz Nowak)- interactive setup (#10024) (07aed34) (Mariusz Nowak)
- Local version fallback (#10024) (231095d) (Mariusz Nowak)
- Rely on newly introduced log style functions (#10024) (e070110) (Mariusz Nowak)
- Move variables resolution log to debug level (#10016) (b0d854a) (Mariusz Nowak)
2.60.0 (2021-09-24)
Features
- CLI:
- Remove missing CLI options schema deprecation (#10001) (5b38232) (Mariusz Nowak)
- Revert from unconditional
.envsupport announcement (#10003) (40cdb4f) (Mariusz Nowak)
- AWS Stream: Support
tumblingWindowInSeconds(#9979) (af39fc0) (Guilherme Martins Crocetti) - Support
finalizehook, triggered on command finalization (#9956) (cb4f08a) (Mariusz Nowak)
Bug Fixes
- AWS S3: Recognize
BucketKeyEnabledsetting (#9985) (54bb13b) (John Armstrong) - CLI: Fix general help output when in context of AWS service (#9994) (0833fd0) (Mariusz Nowak)
- Plugins: Ensure to keep
optionsas passed to plugins up to date (#9999) (e3af1f3) (Mariusz Nowak) - Telemetry: Ensure to not show backend notification on error (#9999) (dce0ff1) (Mariusz Nowak)
Templates
- Improve source maps handling in
aws-nodejs-typescript(#9961) (28d230f) (Adrien Cacciaguerra) - Switch to esbuild in
aws-nodejs-typescript(#9962) (aaabb50) (Adrien Cacciaguerra)
Maintenance Improvements
- Reorganize hooks resolution (#9976) (76006ec) (Mariusz Nowak)
- Simplify lifecycle event hooks resolution (#9976) (8b4498c) (Mariusz Nowak)
- Replace
_.flatMapusage (#9948) (26b8bd5) (Jonas Matos) - CLI: New logs (experimental):
- Fix final
deploystatuses timing (#9967) (084a995) (Mariusz Nowak) - Fix CloudFormation update resources status log in verbose mode (#9967) (bcd8a02) (Mariusz Nowak)
- Ensure to strip colors from error messages (#9967) (80005aa) (Mariusz Nowak)
- Ensure to write outputs on
info(#9991) (43d17de) (Mariusz Nowak) - Present deprecations with single summary log (#9960) (7eba95f) (Piotr Grzesik)
- Add timer to final
deploystatuses (#9959) (7828cc7) (Piotr Grzesik) - debug (previously verbose)
deploylogs (#9967) (655140b) (Mariusz Nowak) - Help output (#9998) (b2df3cc) (Mariusz Nowak)
deploy functioncommand (#9990) (4d42ce3) (Mariusz Nowak)deploy list functionscommand (#10000) (ffbdfed) (Mariusz Nowak)deploy listcommand (#10000) (9d6482c) (Mariusz Nowak)packagecommand (#9956) (fa2507d) (Piotr Grzesik)deploy functioncommand (#9990) (10df2e5) (Mariusz Nowak)- verbose logs for
deployoperation (#9967) (e423404) (Mariusz Nowak) - dapt pre-created log style generators (#9998) (8c9bd4a) (Mariusz Nowak)
- Convert custom resource packaging related log (#9989) (0f0b85a) (Mariusz Nowak)
logscommand (#9991) (cbd2e64) (Mariusz Nowak)- Refactor main progress event with
isMainEventoption (#9981) (a6553f8) (Mariusz Nowak)
- Fix final
2.59.0 (2021-09-14)
Features
- CLI Onboarding: Switch to
httpApi-based templates (#9954) (12216db) (Piotr Grzesik) - CLI: First iteration of support for
verbosemode indeploywith modern logs (#9952) (fbdd124) (Piotr Grzesik)
Bug Fixes
- AWS API Gateway: Ensure consistent default for
corsconf (#9909) (7cd3966) (Seungchan Ahn)
Maintenance Improvements
- Replace
_.pickwith native property assignment (#9937) (6087fa3) (Jonas Matos)
2.58.0 (2021-09-13)
Features
- AWS API Gateway: Support
enabledforapiKeysconfig (#9918) (1107763) (Piotr Grzesik) - AWS CloudFront: Support
behavior.CachePolicyId(#9895) (3abc2f0) (Seungchan Ahn) - AWS EventBridge: Support
deadLetterQueueandretryPolicy(#9903) (130fb38) (Eve & JP Bochi) - AWS ActiveMQ: Add support for
activemqevent (#8840) (cacb529) (lewgordon & Piotr Grzesik) - AWS Schedule: Allow multiple
rateexpressions in single event (#9892) (9f0bc68) (Federico Jasson) - CLI:
- Configure log writing with new (experimental) log engine (#9923) (ec93174) (Mariusz Nowak)
- Introduce first iteration of modern logs for
deploy(#9934) (171897d) (Piotr Grzesik)
- Do not retry AWS requests if the token has expired (#9914) (b0ca237) (Mars Lan)
- Support
errorhook to be triggered on command error (#9936) (5c9766c) (Mariusz Nowak)
Bug Fixes
- AWS API Gateway: Ensure proper
RequestValidatorname (#9910) (510b1d1) (Piotr Grzesik) - AWS CloudFront: Recognize
behavior.TrustedKeyGroupsin schema (#9884) (da71df6) (Petr Reshetin) - AWS Lambda: Recognize
Fn::Iffunction forenvironment(#9905) (63743ad) (Piotr Grzesik)
Maintenance Improvements
- CLI:
- Ensure no monkey patching by progress override (#9923) (e46ce80) (Mariusz Nowak)
- Ensure to clear progress in expected time points (#9928) (29aec52) (Mariusz Nowak)
- Replace
fse.accesswithfs.promises.access(#9915) (5155e01) (Sudipto Das) - Replace
fse.readFilewithfs.promises.readFile(#9935) (f431218) (Sudipto Das) - Use
getCompiledTemplateS3Suffixfromprovider.naming(#9926) (95d3024) (Andreas Kohn) - Internal API to register service outputs (#9933) (b425cf1) (Mariusz Nowak)
- Register service outputs (#9933) (312266e) (Mariusz Nowak)
Templates
2.57.0 (2021-08-31)
Features
- Variables: Enable
envvariables inprovider.stageproperty (#9896) (bbb6c6c) (Mariusz Nowak)
Bug Fixes
- AWS API Gateway:
- Recognize CF functions at
functions[].events[].http.connectionId(#9894) (3e8858b) (Piotr Grzesik) - Recognize CF functions at
functions[].events[].http.request.headers[].mappedValue(#9894) (868ac02) (Piotr Grzesik) - Recognize CF functions at
functions[].events[].http.request.uri(#9894) (13ce56a) (Piotr Grzesik) - Fix request validator triage (#9887) (cb109dd) (Mariusz Nowak)
- Recognize CF functions at
- Variables: Fix new sources resolution error message at old resolver (#9888) (8dece7f) (Mariusz Nowak)
Maintenance Improvements
- Variables: Enable early
sls:stageresolution (#9890) (56e9423) (Mariusz Nowak) - Replace
fse.writeFilewithfs.promises.writeFile(#9870) (05fff98) (Sudipto Das) - Upgrade
filesizeto v8 (#9901) (9a2511c) (Mariusz Nowak)
2.56.0 (2021-08-25)
Features
- AWS EventBridge: Support disabling a rule (#9865) (6193d38) (Jake Scott)
- AWS HTTP API: Support
shouldStartNameWithServiceoption (#9758) (ef5a8fa) (Thiago Moraes) - CLI Onboarding: Improve onboarding messaging (#9877) (f69a19c) (Piotr Grzesik)
Bug Fixes
- AWS HTTP API: Always allow to define catch-all route (#9840) (7e9bfd6) (Karim Kanso)
- CLI: Mark
dashboardcommand with optional service dependency (#9874) (9a8e7e4) (Piotr Grzesik) - AWS Local Invocation: Support
python3.9runtime (#9879) (ee17ee5) (Shane R. Spencer) - AWS Lambda: Prevent external subscription filter removal for CloudWatch (#9839) (afc9a13) (Han Sang Hoon (한상훈))
Maintenance Improvements
- Convert
uploadandrollbacktoasync/await(#9866) (0682ba8) (Remigiusz Orłowski)
2.55.0 (2021-08-18)
Features
- AWS Lambda: Recognize
python3.9as valid runtime (#9854) (1aa24b8) (Piotr Grzesik)
Bug Fixes
- AWS HTTP API: Properly handle authorizer function with alias (e.g. with
provisionedConcurrency) (#9850) (0ca6aaa) (Piotr Grzesik)
Maintenance Improvements
- CLI Onboarding: Adjust summary messages in deploy step (#9835) (b751c50) (Piotr Grzesik)
- Replace
fse.statwithfs.promises.stat(#9845) (bb0484e) (Sudipto Das) - Telemetry: Recognize
notificationsMode(#9851) (00fdba1) (Piotr Grzesik)
2.54.0 (2021-08-12)
Features
- AWS IAM: Resign from deprecating old format of IAM settings (#9778) (847dd8f) (Mariusz Nowak)
- AWS Lambda: Add support for multiple subscription filters (#9760) (5c9ca56) (Han Sang Hoon (한상훈))
- AWS API Gateway: Deprecate default for
identitySourceforrequestauthorizers with disabled caching (#9825) (0e01d9e) (Piotr Grzesik) - CLI: Deprecate
-vas alias for--verbose(#9811) (53b41eb) (Piotr Grzesik)
Bug Fixes
- AWS Deploy: Ensure right code for
deploy -fdeprecation (#9833) (90877d5) (Mariusz Nowak) - AWS Layers: Support references to external layers (#9826) (dc74f41) (Piotr Grzesik)
- Variables: Unconditionally deprecate old vars engine extensions (#9827) (b7f4e08) (Mariusz Nowak)
2.53.1 (2021-08-06)
Bug Fixes
- AWS API Gateway: Ensure
MinimumCompressionSizecan be set to 0 (#9806) (f0ae032) (Lewis Putz)
Maintenance Improvements
- CLI: Change formatting of notifications (#9807) (7c51f55) (Piotr Grzesik)
- Use
asyncinlib/utils(#9809) (48c3d99) (Nyambayar Turbat)
2.53.0 (2021-08-04)
Features
- Variables: Accept case-insensitive strings in
strToBool(#9770) (612f668) (Shane R. Spencer)
Bug Fixes
- AWS API Gateway: Ensure to attach validator when required parameters are defined (#9793) (d275459) (Karim Kanso)
- Plugins: Improve error message when a plugin is missing (#9798) (5c9df56) (Matthieu Napoli)
Maintenance Improvements
- Telemetry: Recognize used variable sources (#9790) (60d729b) (Piotr Grzesik)
- Replace
fse.readdirwithfs.promises.readdir(#9780) (1e00f9e) (Sudipto Das) - Use
asyncinlib/plugins/create(#9683) (4b87497) (Nyambayar Turbat) - Use
asyncinlib/plugins/plugin(#9680) (377da09) (Nyambayar Turbat)
2.52.1 (2021-07-22)
Bug Fixes
- CLI Onboarding: Ensure credentials resolution is always performed before deploy step (#9761) (b85f393) (Piotr Grzesik)
- CLI:
- Ensure
processedInputis properly resolved in local fallback (#9769) (464467e) (Mariusz Nowak) - Fix validation of
deprecationNotificationModeconfig option (#9762) (916c76f) (frozenbonito)
- Ensure
- Fix
functions[]validation (ignorenullvalues) (#9756) (922ec00) (Mariusz Nowak)
Maintenance Improvements
- CLI Onboarding:
- Move
dashboard-loginstep from@serverless/dashboard-plugin(#9766) (adef710) (Piotr Grzesik) - Move
dashboard-set-orgfrom@serverless/dashboard-plugin(#9766) (afdf77c) (Piotr Grzesik)
- Move
- Telemetry: Use
prompt-with-historyfor onboarding telemetry (#9768) (4d56be5) (Piotr Grzesik) - Replace
fse.unlinkwithfs.promises.unlink(#9754) (daee1d5) (Sudipto Das)
2.52.0 (2021-07-15)
Features
- AWS CloudFormation: Allow to disable default export names (#9748) (6f49488) (Piotr Grzesik)
- CLI: Automatically expand loaded env variables from
.envfiles (#9615) (1864969) (David Asensio Cañas)
Bug Fixes
- CLI: Do not validate configuration with
plugin ..commands (#9741) (040036d) (Mariusz Nowak) - Variables: In
ssmsource auto parse only object JSON notation (#9747) (8c741d1) (Mariusz Nowak) - Improve
functionsvalidation (#9741) (3e58d62) (Mariusz Nowak)
Maintenance Improvements
- Telemetry: Record initial context for interactive setup (#9736) (560aee5) (Piotr Grzesik)
- CLI: Reuse already imported module (#9741) (be441cc) (Mariusz Nowak)
- Add
has-local-credentialsutil (#9736) (82a35b3) (Piotr Grzesik)
2.51.2 (2021-07-08)
Bug Fixes
- Packaging: Fix
package.artifactvalidation for S3 urls (#9725) (ab3c543) (Mariusz Nowak)
2.51.1 (2021-07-08)
Bug Fixes
- CLI: Fix
SIGINTsignal handling (#9712) (c5a3f69) (Mariusz Nowak) - Packaging: Validate
package.artifactpaths (#9721) (21c0fed) (Mariusz Nowak) - AWS Local Invocation: Bump AWS Java pom version to pull in fix (#9714) (504b42a) (tlloyd-synalogik)
Maintenance Improvements
- Telemetry:
- Report all interruption signals (#9712) (7354c20) (Mariusz Nowak)
- Report whether we're in context of TTY terminal (#9712) (9cea555) (Mariusz Nowak)
- Ensure no doubled telemetry in edge cases (#9716) (fd5005e) (Mariusz Nowak)
- CLI: Improve module imports order (#9712) (dff2799) (Mariusz Nowak)
2.51.0 (2021-07-06)
Features
- AWS Kafka: Add support for
SASL/PLAINauth tokafkaevent (#9666) (3e14f06) (Daniele Iasella) - CLI: New
warn:summary(default) deprecations logging mode (#9693) (9b624a5) (Mariusz Nowak)
Bug Fixes
- CLI: Recognize
--verboseoption ininfocommand (#9695) (b124152) (Mariusz Nowak)
Maintenance Improvements
- CLI: Fix typo in error message (#9682) (f16c45f) (KIDANI Akito)
- Telemetry:
- Properly handle situation when not in service dir in credentials step (#9678) (b21c1e4)
- Ensure to pass all steps with configured questions (#9701) (b5d3167) (Piotr Grzesik)
- Correctly report
outcomefor interactive setup (#9699) (0c5b8dd) (Piotr Grzesik) - Ensure telemetry generation and related utils are sync (#9692) (e65199c) (Piotr Grzesik)
- Report
commandUsageas object (#9690) (cc24bc2) (Piotr Grzesik) - Handle interruptions and persist telemetry data (#9699) (502f7e7) (Piotr Grzesik)
- Drop old variables engine related deprecation (#9698) (5b54ed2) (Mariusz Nowak)
- Make deprecations default mode internally modifyable (#9693) (07a69a8) (Mariusz Nowak)
- Replace
fse.createWriteStreamwithfs.createWriteStream(#9687) (3500f64) (Sudipto Das) - Use
asyncinlib/plugins/package(#9644) (db67b35) (Nyambayar Turbat)
2.50.0 (2021-07-01)
Features
- AWS Lambda: Support
Fn::IfforPrincipal.AWS(#9664) (894ac5b) (Piotr Grzesik) - AWS Deploy: Deprecate
functionoption indeploycommand (#9364) (d861d11) (Jaakko Lappalainen & Piotr Grzesik) - Variables:
- Resolve vars in strings which are subject to be joined (#9657) (0e3db01) (Mariusz Nowak)
- Support
aws:regionandaws:accountIdvariables (#9662) (33794ea) (Piotr Grzesik) - Support variables across file address resolution (#9657) (80b7640) (Mariusz Nowak)
Bug Fixes
- AWS Deploy: Meaningfully report inaccessible file artifacts (#9668) (23c290e) (Mariusz Nowak)
- AWS Local Invocation: Fix error handling of invalid file content (#9667) (e836722) (Mariusz Nowak)
- CLI Onboarding:
- Do not attempt local fallback during onboarding (#9660) (ae5be0f) (Piotr Grzesik)
- Only call
handleErrorif plugin defined (#9659) (a80681f) (Piotr Grzesik)
Maintenance Improvements
- Telemetry:
- Include
commandUsagein case of error (#9671) (ac03d83) (Piotr Grzesik) - Increase error location coverage (#9669) (7264d16) (Mariusz Nowak)
- Report
configValidationMode(#9669) (8e2d48f) (Mariusz Nowak) - Report configuration validation result (#9669) (01f1586) (Mariusz Nowak)
- Include
Templates
- Adjust
runtimeforopenwhisk-pythontemplate (#9670) (6a020d1) (Piotr Grzesik)
2.49.0 (2021-06-29)
Features
- AWS Lambda: Support
Fn::FindInMapforvpcconfig (#9653) (34a9d91) (Piotr Grzesik) - CLI Onboarding:
- Add deploy step (#9536) (28a06a0) (Piotr Grzesik)
- Allow to setup Dashboard Provider credentials during onboarding (#9509) (feb0421) (Piotr Grzesik)
Bug Fixes
- CLI: Fix standalone detection on Windows (#9648) (4bc8e2e) (Mariusz Nowak)
- Packaging: Fix artifact generation with temp path on other device (#9616) (70fb8b9) (Sean Dawson)
Maintenance Improvements
- Replace
fse.chmodwithfs.promises.chmod(#9647) (83c7726) (Sudipto Das) - Add
resolveRegionutil (#9509) (98e3668) (Piotr Grzesik) - Add
resolveStageutil (#9509) (09bb4fa) (Piotr Grzesik) - Telemetry:
- Add
hasLocalCredentials(#9594) (5e0d805) (Piotr Grzesik) - Add interactive flow support (#9594) (0eba2dc) (Piotr Grzesik)
- Add
Templates
- Use
amd64arch foraws-gotemplate (#9646) (cb9f7e2) (Andrey Kabylin)
2.48.1 (2021-06-25)
Bug Fixes
- AWS API Gateway: Ensure that
Methodresource depends onPermissionresource (#9609) (93b9027) (Nyambayar Turbat) - CLI:
- Ensure to list version in case of fallback from some versions (#9641) (989cb82) (Mariusz Nowak)
- Fix standalone detection (case of a fallback from standalone) (#9641) (1681af4) (Mariusz Nowak)
Maintenance Improvements
- Config Schema: Improve error message and documentation (#9639) (a36247b) (Mariusz Nowak)
- Replace
fse.renamewithfs.promises.rename(#9605) (e6ff228) (Sudipto Das)
2.48.0 (2021-06-21)
Features
- Introduce an opt-in "error" deprecation notification mode (#9623) (c22a8b9) (Mariusz Nowak)
Bug Fixes
- Packaging: Do not report hashing deprecations for container lambdas (#9623) (68c2a08) (Mariusz Nowak)
- Ensure to support deprecation settings at early stage of processing (#9623)(011e0ce) (Mariusz Nowak)
Maintenance Improvements
- Telemetry: Recognize
constructs(#9628) (9e10cea) (Piotr Grzesik) - Ensure early access to configuration in logDeprecation method (#9623) (53b9762) (Mariusz Nowak)
2.47.0 (2021-06-18)
Features
- Deprecate Node.js v10 (#9600) (e24fdc9) (Milind Vaidya)
- AWS HTTP API: Support
payloadversion per function (#9551) (87ce28e) (Nyambayar Turbat) - AWS S3: Support CloudFormation instrinsic functions at
functions[].events[].s3.bucketproperty (#9617) (42690a7) (Piotr Grzesik)
Bug Fixes
- AWS Cognito: Fix user pool premission resource logical id normalization (#9592) (f4c9b58) (arunkc)
- AWS Invocation: Fix resolution of options with non-AWS provider (#9602) (54da80e) (Corentin Doue)
- Variables: Ensure to strip unrecognized legacy
ssmresolver instructions (#9601) (f61859f) (Mariusz Nowak)
Maintenance Improvements
- Variables: Improve error message (#9601) (4a732e2) (Mariusz Nowak)
2.46.0 (2021-06-11)
Features
- CLI Onboarding: Make it service setup specific, remove
auto-updatestep (#9582) (519f77e) (Piotr Grzesik) - Config Schema: Improve error messaging for same type variants (#9588) (8ac249b) (Mariusz Nowak)
- Show information on how to turn on auto updates in postinstall step (#9582) (93c88c0) (Piotr Grzesik)
Bug Fixes
- Variables:
- Fix resolution visibility of top level properties (as
outputs) (#9591) (004c6e2) (Mariusz Nowak) - Improve required properties resolution validation order (#9591) (727d7f4) (Mariusz Nowak)
- Meaningfully report misuse of dashboard sources (#9591) (cc09c62) (Mariusz Nowak)
- Recognize
tenantsetting (while deprecated it's still recognized by plugin) (#9591) (aa45876) (Mariusz Nowak)
- Fix resolution visibility of top level properties (as
Maintenance Improvements
- Reorganize and document service configuration dependencies (#9591) (c86a76c) (Mariusz Nowak)
- Telemetry: Optimise reported error location length:
- Remove eventual
/node_modulesprefix (#9587) (f3ff6d2) (Mariusz Nowak) - Replace repeated paths with
^(#9587) (f6a7d03) (Mariusz Nowak)
- Remove eventual
2.45.2 (2021-06-09)
Bug Fixes
- Variables:
- Skip unrecognized sources check with partial resolution (#9579) (93b89fc) (Mariusz Nowak)
- Ensure to report only unrecognized sources (#9579) (98701f3) (Mariusz Nowak)
2.45.1 (2021-06-08)
Bug Fixes
- Fix
projectDirpattern in config schema (#9574) (8954b5f) (Mariusz Nowak)
2.45.0 (2021-06-08)
Features
- Variables: Allow to reference files in scope of a project directory (#9561) (8dbb56e) (Mariusz Nowak)
- Introduce project directory setting, configurable via
projectDir(#9561) (d6e4b49) (Mariusz Nowak)
Bug Fixes
- AWS API Gateway: Don't create log group resource if access logs are disabled (#9560) (a116dfe) (Piotr Grzesik)
- Templates: Allow usage of
google-nodejs-typescripttemplate (#9557) (accf5bd) (Corentin Doue)
Maintenance Improvements
- Upgrade
dotenvto v10 (#9569) (99d1697) (Mariusz Nowak)
2.44.0 (2021-06-02)
Features
- CLI Onboarding: Make it service setup specific:
- If not in service context, immediately go into project setup questions (skip "Do you want to create a new project" question) (#9524) (d5e2baf) (Piotr Grzesik)
- Remove
tab-completionfrom interactive flow (#9531) (3bac0f3) (Piotr Grzesik)
Bug Fixes
- Variables:
- Unify error messaging for function resolvers (#9545) (bb3b766) (Mariusz Nowak)
- Ensure to apply a resolution with a new resolver in case of a fallback to a local version (#9544) (14a5275) (Mariusz Nowak)
- CLI:
- Ensure to gently handle missing data from global installation in case of local fallback (#9539) (1b90dfb) (Mariusz Nowak)
- Fix handling of numeric error codes coming from AWS SDK requests (#9538) (f2cdbae) (Mariusz Nowak)
Maintenance Improvements
- Variables:
- Cleanup handling of
variableSyntaxdefault (#9544) (582d150) (Mariusz Nowak) - Seclude resolution of sources from external plugins (#9544) (6efc161) (Mariusz Nowak)
- Cleanup handling of
2.43.1 (2021-05-25)
Bug Fixes
- AWS Local Invocation: Fix invalid result handling (#9507) (bbff029) (Mariusz Nowak)
- Telemetry: Ensure to pass proper config for local fallback error handler (#9519) (9b2a111) (Piotr Grzesik)
- Variables: Ensure proper resolution of AWS-related variables in case of errors (#9518) (ee66585) (Piotr Grzesik)
Maintenance Improvements
- Use
downloadfrom@serverless/utils(#9513) (716b312) (Piotr Grzesik) - CLI Onboarding: Use "Starter" not "Empty" for templates (#9514) (2984adb) (Piotr Grzesik)
- Telemetry: Improve AWS stack error codes (#9510) (c265905) (Mariusz Nowak)
2.43.0 (2021-05-20)
Features
- CLI Onboarding: In
servicestep, if possible propose a default project name (#9503) (dee54ed) (Piotr Grzesik)
Bug Fixes
- AWS Deploy: Fix stack errors processing (#9505) (18a9b2b) (Mariusz Nowak)
- AWS IAM: Do not depend on default execution role when custom role provided (29f0e9c) (Piotr Grzesik)
Maintenance Improvements
- Do not recognize YAML Exception as user error (#9505) (db16df2) (Mariusz Nowak)
- Do not rely on
serverless.yamlParser(#9505) (aa8f7be) (Mariusz Nowak) - Ensure codes for user errors (#9505) (6adaa9f) (Mariusz Nowak)
2.42.0 (2021-05-19)
Features
- CLI Onboarding:
- Switch to templates hosted at
serverless/examples(#9484) (e4ea50d) (Piotr Grzesik) - Support
--nameCLI option forservicestep (#9471) (53575dc) (Piotr Grzesik) - Support
template-pathCLI option forservicestep (#9471) (98c9700) (Piotr Grzesik) - Support
templateandtemplate-urloptions forservicestep (#9495) (f1a288c) (Piotr Grzesik)
- Switch to templates hosted at
Bug Fixes
- AWS API Gateway: Fix schema for
apiKeysandpermissionsBoundary(#9489) (5601025) (lyndoh) - AWS Local Invocation: Report invalid handler path meaningfully (#9499) (a2297ee) (Mariusz Nowak)
- Variables:
- Fix reporting of variable resolution errors trigger by variable resolution made in JS function resolvers (#9482) (f6b7cfa) (Mariusz Nowak)
- Ensure report user error as user error (#9499) (a8f4aeb) (Mariusz Nowak)
- Expose remote lambda invocation failure as user error ((#9499) 8f3d4e4) (Mariusz Nowak)
- Expose template error with user error (#9499) (07b60a6) (Mariusz Nowak)
- Construct user errors with
ServerlessError(#9499) (c563581) (Mariusz Nowak) - Do not stumble on missing resource properties (#9499) (f87aee2) (Mariusz Nowak)
Maintenance Improvements
- Telemetry:
- Report resource types for user configured resources at
resources.Resources(#9501) (8d0ff07) (Mariusz Nowak) - Normalize AWS request error codes (#9499) (5a23931) (Mariusz Nowak)
- Report error location for non-normative error codes (#9499) (07d5b9c) (Mariusz Nowak)
- Remove dead path error handling (#9499) (91b10ed) (Mariusz Nowak)
- Improve granularity of stack deployment error codes (#9499) (a6f4dc3) (Mariusz Nowak)
- Report resource types for user configured resources at
- CLI Onboarding: Add
historyandstepHistorytocontext(#9481) (9eea885) (Piotr Grzesik) - Add
create-from-local-templateutil (#9471) (03011ba) (Piotr Grzesik) - Ensure to propagate as is stack monitoring error (#9499) (a46abe3) (Mariusz Nowak)
2.41.2 (2021-05-13)
Bug Fixes
- CLI:
- In error handler fallback to local version only if we're not in its context (fix infinite recursion issue which put
serverlessprocess on stall) (#9472) (7047c34) (Mariusz Nowak) - Ensure resolved CLI params are correct in local fallback (#9472) (65a1f38) (Mariusz Nowak)
- In error handler fallback to local version only if we're not in its context (fix infinite recursion issue which put
- Telemetry: If global & local fallback versions are recent enough to report outcome, report with global (#9472) (eeddf9f) (Mariusz Nowak)
Templates
- Templates: Add
google-nodejs-typescripttemplate (#9445) (9cc05ad) (Corentin Doue)
Maintenance Improvements
- CLI Onboarding:
- Seclude from internal Framework logic (#9410) (7864f4d) (Mariusz Nowak)
- Integrate steps from dashboard plugin (#9410) (105807a) (Mariusz Nowak)
- Refactor to async/await (#9410) (1060d14) (Mariusz Nowak)
- Simplify tabcompletion support check (#9410) (c13586e) (Mariusz Nowak)
- Telemetry: Make
generatePayloadserverlessindependent (#9410) (4f6a50a) (Mariusz Nowak) - CLI: Rely internally on
@serverless/utils/log(#9410) (05588f7) (Mariusz Nowak) - Refactor
isNpmPackageWritableto not depend onserverless(b915cc4) (Mariusz Nowak)
2.41.1 (2021-05-11)
Bug Fixes
- CLI: Correctly resolve version during local fallback (#9463) (bbfe742) (Piotr Grzesik)
2.41.0 (2021-05-11)
Features
- AWS API Gateway: Support disabling default endpoint (#9404) (ec90945) (lyndoh)
- AWS Lambda: Deprecate
nodejs12.xas default runtime (#9416) (9e558ee) (Jaakko Lappalainen)
Bug Fixes
- AWS API Gateway: Support
Fn::SplitforvpcEndpointIdsschema (#9455) (56f8587) (Piotr Grzesik) - AWS Lambda: Ensure that docker image is build and pushed only once (#9446) (277f4e8) (Piotr Grzesik)
- CLI:
- Ensure to report only unrecognized sources as unrecognized (#9449) (27e21e8) (Mariusz Nowak)
- Fix local installation fallback (#9454) (fa8c076) (Mariusz Nowak)
- Packaging: Fix support of the artifact S3 uri with region (#9411) (40e56fc) (Zach Whaley)
Maintenance Improvements
- Telemetry:
- Ensure telemetry only matches js stacktrace paths (#9447) (7361e04) (Piotr Grzesik)
- For local fallback ensure to report locally used version (#9454) (096ed96) (Mariusz Nowak)
- Let old versions report telemetry old way (#9454) (4d077d1) (Mariusz Nowak)
2.40.0 (2021-05-06)
Features
- AWS Lambda: Add
ecr.scanOnPushconfiguration option (#9379) (078ec59) (Nicholas Wehr)
Bug Fixes
- CLI: Do not validate command when falling back to old version (#9437) (9624338) (Mariusz Nowak)
2.39.2 (2021-05-04)
Bug Fixes
- CLI:
- Fix internal command resolution in case of a fallback to local version from older global version (#9429) (b7a113d) (Mariusz Nowak)
- Ensure to support
disableDeprecationssetting when validating not supported options (#9429) (da476ad) (Mariusz Nowak)
- Telemetry:
- Do not attempt to report unrecognized commands (#9427) (2c2c77f) (Piotr Grzesik)
- Do not share telemetry cache folder with old versions (#9429) (ae9442e) (Mariusz Nowak)
- AWS Deploy: Fix changes detection when VPC with intrinsic CF functions is involved (#9425) (2c7f024) (Piotr Grzesik)
- Fix
provider.vpcconfiguration schema (#9425) (7338358) (Piotr Grzesik)
2.39.1 (2021-05-03)
Bug Fixes
- AWS HTTP API: Ensure to apply tags to stage (#9407) (80511a4) (Filip Golonka)
Maintenance Improvements
- Telemetry:
- Handle error locations not enclosed in parens (#9419) (3ab0628) (Piotr Grzesik)
- Properly resolve location when for only relative paths (#9418) (3ccf6a3) (Piotr Grzesik)
- Split stack lines properly on all OS-es (#9419) (bdbf154) (Piotr Grzesik)
2.39.0 (2021-04-30)
Features
- AWS IAM: Support
provider.iam.role.path(#9363) (c8adc0c) (Android3000) - Variables: Expose variable resolver function to variable sources (#9368) (2ff58b1) (Mariusz Nowak)
Bug Fixes
- AWS API Gateway: Ensure unique name for request validator (#9382) (a05e88d) (Piotr Grzesik)
- AWS S3: Fix parsing of the artifact S3 url (#9380) (360925d) (Stephen)
- CLI: Ensure no general help is listed under interactive setup help (#9406) (132c830) (Mariusz Nowak)
Maintenance Improvements
- Telemetry:
- Report failures via telemetry (#9396) (5861d08) (Piotr Grzesik)
- Ensure that container commands do not trigger telemetry (#9397) (85b9e53) (Mariusz Nowak)
- Add
commandDurationMsto payload (#9401) (d647125) (Piotr Grzesik) - Add
commandOptionNamesto payload (#9387) (f5b2b9b) (Piotr Grzesik)
- Ensure
codetoServerlessErrorinstances (#9357) (822a7cf) (Piotr Grzesik)
Templates
2.38.0 (2021-04-23)
Features
- AWS CloudFormation: Add default export names to outputs (#9313) (7e139bb) (Joseph Cha)
Bug Fixes
- AWS API Gateway: Create one request validator and reuse (#9319) (154351f) (Jacques)
- Variables: Fix unresolved sources notifications (#9356) (53a7872) (Mariusz Nowak)
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)
