Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 2.67 KB

v0-v1.md

File metadata and controls

36 lines (29 loc) · 2.67 KB

Differences of lambroll v0 and v1.

See also issues and pull requests labeled v1.

Breaking changes

  • lambroll archive outputs zip binaries into the function.zip file instead of STDOUT. #327
    • If you want to output to STDOUT like v1, use lambroll archive --dest -.
  • lambroll diff shows a short unified diff always. #328
    • --unified option is removed.

New features

  • Add status command. #336, #344, #349.
    • status command shows the status of the Lambda function.
  • Add Lambda Function URLs features. #330
    • See README - Lambda Function URLs support.
    • deploy --function-url option deploys a Lambda funtion URLs related resources.
    • Even if your Lambda function already has a Function URL, without --function-url option, lambroll deploy does not touch the Function URLs resources.
    • lambroll init --function-url creates a file to deploy the Function URL related resources.
  • Add a SSM template function. #319
    • {{ ssm "/path/to/parameter" }} is replaced with the value of the SSM parameter.
  • Add the render subcommand. #326
    • lambroll render renders the function.json file and outputs to STDOUT.
  • Accept LAMBROLL_* environment variables as flag values. #345
    • For example, lambroll deploy --tfstate=s3://example/terraform.tfstate is equivalent to LAMBROLL_TFSTATE=s3://example/terraform.tfstate lambroll deploy.
  • Add --ignore option to deploy and diff command. #281
    • --ignore option ignores the specified elements when comparing the local and remote functions.
    • For example, lambroll diff --ignore ".Timeout, .Environment" ignores the Timeout and Environment elements when comparing the local and remote functions.
    • For example, lambroll deploy --ignore ".Timeout, .Environment" does not update the Timeout and Environment elements of the function.

Internal changes

  • Switch AWS SDK Go v2 from v1. #306
  • Switch CLI parser to kong from kingpin. #315
  • Switch to goreleaser. #346