Skip to content

Latest commit

ย 

History

History
339 lines (238 loc) ยท 13.2 KB

File metadata and controls

339 lines (238 loc) ยท 13.2 KB

Changes

5.0.2

  • ๐Ÿ›ก๏ธ 06c78c6 npm audit
  • โœจ 4ce9011 Update lint-staged and husky
  • โœจ ff0f750 Update prettier
  • โœจ b8e8fd6 Update mocha
  • โœจ 005b7b7 Update Studio Log
  • โœจ 4ebb5a3 Configure packaged files

Released by Maximilian Antoni on 2024-08-28.

5.0.1

  • ๐Ÿ› 446db5c Fix max idle overtaking lambda timeout
  • ๐Ÿ“š 16953a0 Add missing documentation for timeout option
  • ๐Ÿ“š e582183 Remove bad link to apex

Released by Maximilian Antoni on 2024-08-28.

5.0.0

Released by Maximilian Antoni on 2024-01-17.

4.0.1

  • โœจ cca2e48 Support node 20 and update GitHub action
  • โœจ d64d9ff Upgrade prettier to v3
  • โœจ 2670491 Update eslint config and eslint
  • โœจ c27072b Update Studio ndjson
  • โœจ 06c894f Upgrade Studio Changes
  • โœจ 4e929c7 Upgrade @sinonjs/referee-sinon

Released by Maximilian Antoni on 2024-01-11.

4.0.0

  • ๐Ÿ’ฅ 8be1398 Require node 16
  • ๐Ÿ’ฅ 496cc52 Use dynamic import to support loading es modules
  • ๐Ÿ’ฅ d458059 Change generic destroy error code to E_FAILED
  • ๐Ÿ›ก 8a6a3b3 npm audit
  • โœจ 6814ed2 Update Studio Changes
  • โœจ 0d942b9 Upgrade referee-sinon
  • โœจ 673cc02 Update prettier
  • โœจ 5c264ff Upgrade mocha
  • โœจ bf9897b Upgrade eslint-config and eslint

Released by Maximilian Antoni on 2023-01-19.

3.0.2

  • ๐Ÿ› 5b7e59e Fix region and account config via env

Released by Maximilian Antoni on 2021-06-23.

3.0.1

  • ๐Ÿ› e1be0d4 Handler JSON.stringify error in lambda response
  • โœจ 526574b Upgrade @sinonjs/referee-sinon to latest (Morgan Roderick)
  • โœจ 2f25018 Set required node version in package-lock.json (Morgan Roderick)

Released by Maximilian Antoni on 2021-05-21.

3.0.0

  • ๐Ÿ’ฅ b5a53ad Require node 12
  • ๐Ÿ 21b2d2c Return promise in lambda.invoke if no callback is given
  • ๐Ÿ c37577a Support async lambda functions
  • ๐Ÿ“š 4de3f74 Document usage with async await
  • ๐Ÿ› 2111a8f Fix error handling if lambda throws while launching
  • โœจ 957d2e6 Avoid else by returning early
  • โœจ e6879f2 Configure GitHub actions
  • โœจ 64de260 Run lint, test and prettier checks separately
  • โœจ b9db826 Update Studio Changes
  • โœจ 0af1d4e Upgrade referee-sinon to latest
  • โœจ f2000dd Upgrade mocha to latest
  • โœจ c466a9d Setup prettier
  • โœจ e0469bb Upgrade eslint and eslint-config
  • โœจ 94c71c6 Use npm 7
  • โœจ b121728 Add .gitignore
  • โœจ 883ba54 Fix memory limit tests for node 12
  • โœจ 0914a38 Upgrade referee-sinon to v6
  • โœจ eb41ede Upgrade Studio Changes to v2
  • โœจ 570c069 Make eslint-config a dev dependency

Released by Maximilian Antoni on 2021-04-21.

2.0.2

  • ๐Ÿ› 6a70c3c Revert "Do not prepend forwarded log namespace with name"

    This reverts commit 7082da34f64146db43402d40835bfb2ffbb934f7.

2.0.1

  • ๐Ÿ› 7082da3 Do not prepend forwarded log namespace with name

2.0.0

  • ๐Ÿ’ฅ 82e917a BREAKING: Upgrade Studio Log to v2
  • โœจ e0669ea Use Sinon + Referee and use Sinon default sandbox
  • ๐Ÿ“š 8362816 Add commit links with --commits

1.14.1

  • ๐Ÿ› Pass error cause in logs through to lambda logger

1.14.0

  • ๐Ÿ Implement more AWS environment variables for lambda functions
  • ๐Ÿ Change log topic for new lambdas from "launch" to "spawn"
  • โœจ Add tests for AWS_REGION and AWS_PROFILE environment variables
  • โœจ Refactor setting getRemainingTimeInMillis on context

1.13.0

  • ๐Ÿ Add shutdown and stats APIs
  • ๐Ÿ› Improve lambda function error handling
  • ๐Ÿ› Handle ndjson transform errors

1.12.0

  • ๐Ÿ Use configured memory and improve process exit handling

1.11.1

  • ๐Ÿ› Improve generated awsRequestId

1.11.0

  • ๐Ÿ Add support for functionName.
  • ๐Ÿ Add support for awsRequestId.
  • ๐Ÿ Add support for memoryLimitInMB.
  • ๐Ÿ Add support for getRemainingTimeInMillis().
  • ๐Ÿ› Build the function ARN within the Lambda function instead of injecting it. The STUDIO_AWS_ACCOUNT environment variable was not picket up correctly.

1.10.1

  • โœจ Use @studio/ndjson to parse log output from Lambdas

1.10.0

  • โš ๏ธ Remove hack to filter log data

    Log data should be filtered where it's created. With the new @studio/log-x module and the updated @studio/wrap this hack can be removed.

  • โœจ Add package-lock.json

1.9.1

  • ๐Ÿ› Add invokedFunctionArn to given context if missing

1.9.0

  • ๐Ÿ Generate invokedFunctionArn in default context
  • ๐Ÿ“š Use upper case Lambda module name in examples

1.8.2

  • ๐Ÿ› Fix entries cleanup in kill handler

    The entries array is not necessarily cleaned up in reverse insertion order. With this patch, the kill handler does not expect the entry at a fixed position, but queries the entry to remove by ID instead.

1.8.1

  • ๐Ÿ› Fail on missing environment variables

    • Throw an error if a variable replacement fails.
    • Handle launch exceptions by logging an error and invoking the callback with an error message.

1.8.0

  • ๐Ÿ Support environment variable replacement in Lambda config files

    If a config file contains placeholders in the form ${ENV_VAR}, they are replaced with the corresponding environment variable. This feature is not supported by Apex. Use it to configure secret variables in local configs.

1.7.0

  • ๐Ÿ™Š Do not log Lambda input and output

    The new @studio/wrap implementation already do logging within the Lambda function. Log filtering should also be applied there.

1.6.2

  • ๐Ÿ› Pass on parent process execArgv

    This allows to invoke the parent process with v8 options like --stack-trace-limit=50 and have them passed on to the Lambda processes. This restores the default behavior for child processes.

1.6.1

Log output improvements:

  • ๐Ÿ”ข Include the Lambda execution time in the stats log message
  • ๐Ÿ™ˆ Set config_file to "<defaults>" if not found
  • ๐Ÿ™ˆ Remove messages to streamline log output

1.6.0

  • ๐Ÿ”ข Log Lambda process memory usage

1.5.0

  • ๐Ÿ Add Lamdba debugging option

1.4.0

  • ๐Ÿ Pass on process.env.DEBUG

1.3.3

  • ๐Ÿ Improve log output filtering
  • ๐Ÿ Handle Lambda logs on stdout
  • ๐Ÿ™ˆ Do not log authorizationToken
  • ๐Ÿ› Fix log message with string event

1.3.2

  • ๐Ÿ› Reduce duplication in log messages

1.3.1

  • ๐Ÿ› Rename logger

1.3.0

  • ๐Ÿ Use @studio/log

1.2.2

  • ๐Ÿ› Handle invalid lambda response

1.2.1

  • ๐Ÿ› Timeouts are defined in seconds

1.2.0

  • ๐Ÿ Add base_dir config option

1.1.2

  • ๐Ÿ Pass HOME environment variable for the aws-sdk module to find the credentials file
  • โœจ Change log emoji for send and receive events

1.1.1

A few bug fixes and minor improvements:

  • ๐Ÿ› Preserve configured env if config file is loaded
  • ๐Ÿ› Do not log authorization and token header values
  • ๐Ÿ› Prefix log messages with "Lambda"
  • ๐Ÿ› Log lambda error response

1.1.0

  • ๐Ÿ Allow to pass an optional context object to the Lambda handler function. If no context is given, it defaults to an empty object, retaining the previous behavior.

1.0.0

  • โœจ Inception